修改打印单据总计求和方法
This commit is contained in:
@@ -151,7 +151,8 @@ const summaryList = computed(() => {
|
||||
props.billAllObj.forEach(item => {
|
||||
if (map.has(item.wlNo)) {
|
||||
const existing = map.get(item.wlNo);
|
||||
existing.totalQty = (parseFloat(existing.totalQty) + parseFloat(item.realQty));
|
||||
const total = (parseFloat(existing.totalQty) + parseFloat(item.realQty)) * 100*10000
|
||||
existing.totalQty = total / ( 100 * 10000);
|
||||
} else {
|
||||
map.set(item.wlNo, {
|
||||
...item,
|
||||
|
||||
Reference in New Issue
Block a user