|
@@ -659,7 +659,7 @@
|
|
|
item.sourceType = 'Sale' + item.childId;
|
|
|
item.sourceCode = item.billCode;
|
|
|
item.taxPrice = item.taxPriceGys;
|
|
|
- item.taxAmount = item.taxPrice * item.quantity;
|
|
|
+ item.taxAmount = (item.taxPrice * item.quantity).toFixed(2);
|
|
|
// item.productClass =data[0].productClass
|
|
|
});
|
|
|
var xTable = purOrderFormShipFormProductTableRef.value!.getXTable();
|
|
@@ -790,6 +790,8 @@
|
|
|
if (prop.row.taxPrice) {
|
|
|
var num = prop.row.quantity * Number(prop.row.taxPrice);
|
|
|
prop.row.taxAmount = isNaN(num) ? '' : num.toFixed(2);
|
|
|
+ var nowTaxPriceOriginal = prop.row.taxPrice /(1-Number(prop.row.discount)/100);
|
|
|
+ prop.row.taxPriceOriginal = isNaN(nowTaxPriceOriginal) ? '' : nowTaxPriceOriginal.toFixed(2);
|
|
|
purOrderFormShipFormProductTable.dataSource[prop.rowIndex].taxAmount = Number(prop.row.taxAmount);
|
|
|
}
|
|
|
}
|