Browse Source

回显

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

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

@ -109,7 +109,16 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if (type == 'tableForm') { if (type == 'tableForm') {
// //
row[formField] = val[0][searchField] row[formField] = val[0][searchField]
row['uom'] = val[0]['uom'] 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 { } else {
const setV = {} const setV = {}
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]

Loading…
Cancel
Save