From d7c7b79fc4765ba5791c54d630adbf070f3afb56 Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Fri, 21 Feb 2020 15:54:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E4=BB=BB=E5=8A=A1=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E5=90=88=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Outsourcing/OutsourcingTaskExecution/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }, // 查询未选入零件