Browse Source

回显

master_hella_20240701
yufei0306 5 months ago
parent
commit
1c10b8d6cd
  1. 9
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue

9
src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue

@ -109,7 +109,16 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if (type == 'tableForm') {
//
row[formField] = val[0][searchField]
if(formField=='itemCode'){
//
row['uom'] = val[0]['uom']
}else if(formField=='packUnit'){
//1
row['packQty'] = val[0]['packQty']
}else if(formField=='secondPackUnit'){
//2
row['secondPackQty'] = val[0]['packQty']
}
} else {
const setV = {}
setV[formField] = val[0][searchField]

Loading…
Cancel
Save