From 4c54c82b4aa35eb8f875a4542c850d4b7d7a8336 Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Mon, 26 Nov 2018 15:48:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E6=95=B0=E6=8D=AE=E7=BB=B4?= =?UTF-8?q?=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OutsourcingDataMaintenance/index.vue | 37 ++++++------------- 1 file changed, 12 insertions(+), 25 deletions(-) diff --git a/src/views/Outsourcing/OutsourcingDataMaintenance/index.vue b/src/views/Outsourcing/OutsourcingDataMaintenance/index.vue index 674b7b24..bd0a5c6e 100644 --- a/src/views/Outsourcing/OutsourcingDataMaintenance/index.vue +++ b/src/views/Outsourcing/OutsourcingDataMaintenance/index.vue @@ -22,6 +22,7 @@ :data="tableData3" border stripe + size="small" tooltip-effect="dark" style="width: 100%;" height="650"> @@ -43,30 +44,31 @@ {{ scope.row.工艺名称简称 }} + + + 工时 + 重量 + 面积 + + + - - {{ scope.row.外协价格1 }} - + {{ scope.row.外协价格1 }} - - {{ scope.row.重量价格1 }} - + {{ scope.row.重量价格1 }} - - {{ scope.row.面积价格1 }} - + {{ scope.row.面积价格1 }} - { this.total = parseInt(response.data.total) if (response.data.rows.length !== 0) { - for (let i = 0; i < response.data.rows.length; i++) { - if (response.data.rows[i].外协价格计算标准流水号 === '1') { - this.colorCode1.push('mianji') - this.colorCode2.push('') - this.colorCode3.push('') - } else if (response.data.rows[i].外协价格计算标准流水号 === '2') { - this.colorCode1.push('') - this.colorCode2.push('mianji') - this.colorCode3.push('') - } else { - this.colorCode1.push('') - this.colorCode2.push('') - this.colorCode3.push('mianji') - } - } this.tableData3 = response.data.rows } })