Commit 9ef0160d authored by 卢均锐's avatar 卢均锐

fix: 业务对账-编辑对账单/新增对账单 对账总金额(含税)字段计算逻辑修改

parent b51e0171
......@@ -334,7 +334,7 @@ const Add = () => {
let _amount = 0;
for (let value of tabelSource) {
const _currentQuantity = value?.currentReconciliationQuantity || 0;
const _price = value?.price || 0;
const _price = Number(value.billType === 3 ? (-value.price) : value.price) || 0;
_amount += Number(_currentQuantity) * Number(_price);
}
const _dataSource = { ...dataSource };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment