Browse Source

与国强调试的时候发现,退货数量去掉returnedQty,用的是qty

master_hella_20240701
yufei0306 4 months ago
parent
commit
b422d5473c
  1. 8
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue
  2. 50
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

8
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue

@ -216,7 +216,7 @@ const searchTableSuccess = async(formField, searchField, val, formRef, type, row
if (type == 'tableForm') {
//
row[formField] = val[0][searchField]
if(formField=='purchaseReceiptRecordNumber'){
if(formField=='purchaseReceiptRecordNumber'){//--
row['supplierCode'] = val[0]['supplierCode']
row['poNumber'] = val[0]['poNumber']
row['poLine'] = val[0]['poLine']
@ -314,9 +314,9 @@ const searchTableSuccess = async(formField, searchField, val, formRef, type, row
if (item.field == 'qty') {
item.tableForm.disabled = false
}
if (item.field == 'returnedQty') {
item.tableForm.disabled = false
}
// if (item.field == 'returnedQty') {
// item.tableForm.disabled = false
// }
if (item.field == 'reason') {
item.tableForm.disabled = false
}

50
src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts

@ -855,31 +855,31 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
precision: 6
}
},
{
label: '退货数量',
field: 'returnedQty',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
min: 0,
precision: 6,
disabled:false
}
},
isTable: false,
isTableForm: false,
isForm:false,
tableForm:{
type:'InputNumber',
min:0,
precision: 6,
disabled:false
}
},
// { //与国强联调的时候发现退货数量用的是qty
// label: '退货数量',
// field: 'returnedQty',
// sort: 'custom',
// table: {
// width: 150
// },
// form: {
// component: 'InputNumber',
// componentProps: {
// min: 0,
// precision: 6,
// disabled:false
// }
// },
// isTable: false,
// isTableForm: false,
// isForm:false,
// tableForm:{
// type:'InputNumber',
// min:0,
// precision: 6,
// disabled:false
// }
// },
{
label: '库存余额',
field: 'inventoryBalance',

Loading…
Cancel
Save