Browse Source

采购订单,计量单位

master_hella_20240701
yufei0306 3 months ago
parent
commit
0d902388dd
  1. 12
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue

12
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue

@ -173,12 +173,12 @@ console.log('PurchaseMain.allSchemas.searchSchema',PurchaseMain.allSchemas.searc
newRow['uom'] = item['supplierUom'] newRow['uom'] = item['supplierUom']
tableData.value.push(newRow) tableData.value.push(newRow)
}) })
const itemCodes = val.map(valItem=>valItem['itemCode']) // const itemCodes = val.map(valItem=>valItem['itemCode'])
await ItembasicApi.getItembasicPage({ // await ItembasicApi.getItembasicPage({
code: itemCodes.join(',') // code: itemCodes.join(',')
}).then(res => { // }).then(res => {
row['uom'] = res.list[0].uom // row['uom'] = res.list[0].uom
}) // })
} }
} }

Loading…
Cancel
Save