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') { if (type == 'tableForm') {
// //
row[formField] = val[0][searchField] row[formField] = val[0][searchField]
if(formField=='purchaseReceiptRecordNumber'){ if(formField=='purchaseReceiptRecordNumber'){//--
row['supplierCode'] = val[0]['supplierCode'] row['supplierCode'] = val[0]['supplierCode']
row['poNumber'] = val[0]['poNumber'] row['poNumber'] = val[0]['poNumber']
row['poLine'] = val[0]['poLine'] row['poLine'] = val[0]['poLine']
@ -314,9 +314,9 @@ const searchTableSuccess = async(formField, searchField, val, formRef, type, row
if (item.field == 'qty') { if (item.field == 'qty') {
item.tableForm.disabled = false item.tableForm.disabled = false
} }
if (item.field == 'returnedQty') { // if (item.field == 'returnedQty') {
item.tableForm.disabled = false // item.tableForm.disabled = false
} // }
if (item.field == 'reason') { if (item.field == 'reason') {
item.tableForm.disabled = false 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 precision: 6
} }
}, },
{ // { //与国强联调的时候发现退货数量用的是qty
label: '退货数量', // label: '退货数量',
field: 'returnedQty', // field: 'returnedQty',
sort: 'custom', // sort: 'custom',
table: { // table: {
width: 150 // width: 150
}, // },
form: { // form: {
component: 'InputNumber', // component: 'InputNumber',
componentProps: { // componentProps: {
min: 0, // min: 0,
precision: 6, // precision: 6,
disabled:false // disabled:false
} // }
}, // },
isTable: false, // isTable: false,
isTableForm: false, // isTableForm: false,
isForm:false, // isForm:false,
tableForm:{ // tableForm:{
type:'InputNumber', // type:'InputNumber',
min:0, // min:0,
precision: 6, // precision: 6,
disabled:false // disabled:false
} // }
}, // },
{ {
label: '库存余额', label: '库存余额',
field: 'inventoryBalance', field: 'inventoryBalance',

Loading…
Cancel
Save