Browse Source

清空问题修复

master_hella_20240701
yufei0306 6 months ago
parent
commit
8ce306b63f
  1. 10
      src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue

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

@ -208,12 +208,15 @@ const searchTableSuccessLabel = (formField, searchField, val, formRef, type, row
//
const searchTableSuccess = async(formField, searchField, val, formRef, type, row) => {
console.log('searchTableSuccess',)
nextTick(async () => {
console.log('searchTableSuccess',formField, searchField, val, formRef, type, row)
nextTick( async () => {
if (type == 'tableForm') {
//
row[formField] = val[0][searchField]
if(formField=='purchaseReceiptRecordNumber'){
row['supplierCode'] = val[0]['supplierCode']
row['poNumber'] = val[0]['poNumber']
row['poLine'] = val[0]['poLine']
@ -249,8 +252,7 @@ const searchTableSuccess = async(formField, searchField, val, formRef, type, row
row['singlePrice'] = val[0]['singlePrice']
row['amount'] = val[0]['amount']
row['projectCode'] = val[0]['projectCode']
if(formField == 'itemCode'){
}else if(formField == 'itemCode'){
row['batch'] = val[0]['toBatch']
row['containerNumber'] = val[0]['toContainerNumber']
row['containerNumber'] = val[0]['containerNumber']

Loading…
Cancel
Save