Commit c2731f7b authored by 卢均锐's avatar 卢均锐

fix: [19933] 选择售后完成生成的订单,本次对账金额需显示负数

parent 6b496dc9
......@@ -196,7 +196,7 @@ const Add = () => {
const _i = _dataSource.findIndex((item) => item.productId === record.productId);
let _item = { ..._dataSource[_i] };
_item.currentReconciliationQuantity = Number(_val);
_item.currentMoney = _val * Number(record.price);
_item.currentMoney = _val * Number(record.billType === 3 ? (-record.price) : record.price);
_dataSource[_i] = _item;
setTabelSource(_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