|
@ -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 |
|
|
}) |
|
|
// }) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|