Browse Source

选不上

hella_online_20240829
wangyufei 5 months ago
parent
commit
a4ae440dfc
  1. 4
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue
  2. 2
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue

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

@ -136,10 +136,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
// //
row[formField] = val[0][searchField] row[formField] = val[0][searchField]
row['balancePackUnit'] = val[0]['packUnit'] row['balancePackUnit'] = val[0]['packUnit']
}else{
row[formField] = val[0][searchField]
} }
} else { } else {
const setV = {} const setV = {}
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]
//setV['supplierCode'] = val[0]['supplierCode'] //setV['supplierCode'] = val[0]['supplierCode']
formRef.setValues(setV) formRef.setValues(setV)

2
src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue

@ -235,6 +235,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow[formField] = item[searchField] newRow[formField] = item[searchField]
tableData.value.push(newRow) tableData.value.push(newRow)
}) })
}else{
row[formField] = val[0][searchField]
} }
} else { } else {

Loading…
Cancel
Save