Browse Source

采购订单,计量单位

master_hella_20240701
yufei0306 5 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']
tableData.value.push(newRow)
})
const itemCodes = val.map(valItem=>valItem['itemCode'])
await ItembasicApi.getItembasicPage({
code: itemCodes.join(',')
}).then(res => {
row['uom'] = res.list[0].uom
})
// const itemCodes = val.map(valItem=>valItem['itemCode'])
// await ItembasicApi.getItembasicPage({
// code: itemCodes.join(',')
// }).then(res => {
// row['uom'] = res.list[0].uom
// })
}
}

Loading…
Cancel
Save