diff --git a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue index d468574a..0654c076 100644 --- a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue +++ b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue @@ -314,7 +314,7 @@ export default { // 表3合计 getSummaries(param) { const { data } = param - const sums = ['', '', 0, 0, '', ''] + const sums = ['', '', '', 0, 0, ''] sums[0] = '合计' for (let i = 0; i < data.length; i++) { sums[3] += parseInt(data[i].批次数量) @@ -322,7 +322,7 @@ export default { for (let i = 0; i < data.length; i++) { sums[4] += Math.round(parseFloat(data[i].加工价格_成交) * 100) / 100 } - sums[4] = Math.round(sums[3] * 100) / 100 + ' 元' + sums[4] = Math.round(sums[4] * 100) / 100 + ' 元' return sums }, // 查询未选入零件