1
This commit is contained in:
1 parent
d19a037f5b
commit
02f3d39825
1 file changed
+1
-1
@@ -330,7 +330,7 @@ const getSelectedRows = (selectionRows: any) => {
|
||||
// if (index !== -1) return state.erpSpuItemsMemo[index]
|
||||
return {
|
||||
...addItem,
|
||||
// erpUnitVos: addItem.erpUnitVos.map((item: any) => ({ ...item, realPrice: displayPrice(item.purchasePrice, "") })),
|
||||
erpUnitVos: addItem.erpUnitVos.map((item: any) => ({ ...item, realPrice: Number(displayPrice(item.purchasePrice, "")) })),
|
||||
selectedUnitObj: {
|
||||
...addItem.erpUnitVos[0],
|
||||
realPrice: parseFloat(displayPrice(addItem.erpUnitVos[0].purchasePrice, "")),
|
||||
|
||||
Reference in new issue
Block a user