Commit eb62546d authored by tanjunxin's avatar tanjunxin

fix: 领料申请总数量统计增加已发放数量的统计

parent 8a6f4054
......@@ -278,6 +278,11 @@
return prev + Number(curr.applyNum);
}, 0)
sums[index] = Number.isInteger(temp) ? temp : temp.toFixed(3);
} else if (column.label === '已发放数量') {
const temp = data.reduce((prev, curr) => {
return prev + Number(curr.grantNum);
}, 0)
sums[index] = Number.isInteger(temp) ? temp : temp.toFixed(3);
} else {
sums[index] = ''
}
......
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