From fb017413c0dc25f3d21f50dcbf0d99f8f221ba11 Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Mon, 26 Nov 2018 14:50:39 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E4=BB=98=E6=AC=BE?= =?UTF-8?q?=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OutsourcingPaymentPlanManagement/index.vue | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue b/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue index 331a9933..5e895597 100644 --- a/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue +++ b/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue @@ -56,12 +56,18 @@ - + + + + 已付款 + 未付款 + + {{ scope.row.表单号 }} @@ -425,14 +431,6 @@ export default { this.dialogFormVisible2 = false this.$refs[formName].resetFields() }, - // 表格颜色 - tableRowClassName({ row }) { - if (row.实际付款时间 !== '') { - return 'fukuan' - } else { - return '' - } - }, // 获取表格2数据 getParts(row) { this.loading2 = true From 626147f9352bb02e112025e7a843b8247105957c Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Mon, 26 Nov 2018 15:21:25 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E4=BB=98=E6=AC=BE?= =?UTF-8?q?=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Inventory/InventoryManagement/index.vue | 4 ++-- .../Outsourcing/OutsourcingPaymentPlanManagement/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/Inventory/InventoryManagement/index.vue b/src/views/Inventory/InventoryManagement/index.vue index 7f1fa79d..f875f3bf 100644 --- a/src/views/Inventory/InventoryManagement/index.vue +++ b/src/views/Inventory/InventoryManagement/index.vue @@ -347,7 +347,7 @@ export default { 不可用量: response.data[i].不可用量, 仓库名称: response.data[i].仓库名称 }) - this.useqrcode () + this.useqrcode() } }) }, @@ -547,7 +547,7 @@ export default { // 生成的二维码内容,可以添加变量 this.QueryDetail = this.num var canvas = document.getElementById('canvas') - QRCode.toCanvas(canvas, this.QueryDetail, function (error) { + QRCode.toCanvas(canvas, this.QueryDetail, function(error) { if (error) console.error(error) console.log('success!') }) diff --git a/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue b/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue index 5e895597..7c85ec31 100644 --- a/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue +++ b/src/views/Outsourcing/OutsourcingPaymentPlanManagement/index.vue @@ -62,7 +62,7 @@ type="index" align="center" width="50"/> - + 已付款 未付款 From 868d6cbe9f33f486bed6fd0c50054d59885d2ad2 Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Mon, 26 Nov 2018 15:28:05 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E5=BA=8F=E9=97=B4=E5=A4=96=E5=8D=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Outsourcing/PreorderAssociation/index.vue | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/src/views/Outsourcing/PreorderAssociation/index.vue b/src/views/Outsourcing/PreorderAssociation/index.vue index eb16c1cf..782c0d46 100644 --- a/src/views/Outsourcing/PreorderAssociation/index.vue +++ b/src/views/Outsourcing/PreorderAssociation/index.vue @@ -16,11 +16,9 @@ align="center" width="50"/> - {{ scope.row.零件图号 }} - @@ -57,19 +55,23 @@ - + - 选择 - + + + 外协 + 自制 + + {{ scope.row.工艺名称 }} @@ -252,14 +254,6 @@ export default { handleCurrentChange1(val) { this.pageCurrent1 = val this.searchTable() - }, - // 表格颜色 - tableRowClassName({ row }) { - if (row.工序间是否外协 === 2) { - return 'waixie' - } else { - return '' - } } } } From 0e225784a4f150ac736267dfe7cffdebad52cef2 Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Mon, 26 Nov 2018 15:32:49 +0800 Subject: [PATCH 4/6] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../OutsourcingTaskExecution/index.vue | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue index 620fa278..91ad0e0b 100644 --- a/src/views/Outsourcing/OutsourcingTaskExecution/index.vue +++ b/src/views/Outsourcing/OutsourcingTaskExecution/index.vue @@ -19,7 +19,13 @@ - + + + + 成交 + 未成交 + + {{ scope.row.表单号 }} @@ -1542,14 +1548,6 @@ export default { return '' } }, - // 表格颜色 - tableRowClassName2({ row }) { - if (row.单据状态 === '成交') { - return 'chengjiao' - } else { - return '' - } - }, // 分页 handleSizeChange(val) { this.pageList = 1 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 5/6] =?UTF-8?q?=E5=A4=96=E5=8D=8F=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=BB=B4=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 } }) From 0113ef27dba73ebfc55212d5c39e3d8d170b33fa Mon Sep 17 00:00:00 2001 From: zhangdingyu <974548713@qq.com> Date: Mon, 26 Nov 2018 15:59:25 +0800 Subject: [PATCH 6/6] =?UTF-8?q?=E5=88=9D=E6=AC=A1=E6=8A=95=E4=BA=A7=20?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=83=BD=E5=8A=9B=E5=B9=B3=E8=A1=A1=20?= =?UTF-8?q?=E5=B1=8F=E8=94=BD=E4=B8=80=E5=A0=86=E5=A4=96=E5=8D=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InitialProduction/index.vue | 64 +++++++--------- .../ProductionCapacityBalance/index.vue | 76 +++++++++---------- 2 files changed, 67 insertions(+), 73 deletions(-) diff --git a/src/views/ManufacturingCenter/InitialProduction/index.vue b/src/views/ManufacturingCenter/InitialProduction/index.vue index 16eeca05..8a6617ee 100644 --- a/src/views/ManufacturingCenter/InitialProduction/index.vue +++ b/src/views/ManufacturingCenter/InitialProduction/index.vue @@ -143,24 +143,24 @@ {{ scope.row.零件类型名称 }} - - - - 外协 - - - - - - 带料 - - - - - - 着急 - - + + + + + + + + + + + + + + + + + + @@ -176,7 +176,7 @@ 打回档案 + @click="handleDele(scope.$index, scope.row, 'form1')">打回 @@ -190,16 +190,10 @@ layout="total, sizes, prev, pager, next, jumper" @size-change="handleSizeChange" @current-change="handleCurrentChange"/> - 是否白图 - 是否高难度 + + 投产 - - - - - - @@ -236,14 +230,14 @@ label="批次数量"> {{ scope.row.批次数量 }} - - {{ scope.row.是否外协 }} - - - {{ scope.row.是否带料 }} - + + + + + + + + {{ scope.row.机加工开始时间 }} diff --git a/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue b/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue index eaac00f1..22451047 100644 --- a/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue +++ b/src/views/ManufacturingCenter/ProductionCapacityBalance/index.vue @@ -73,12 +73,12 @@ type="selection" align="center" width="35"/> - + {{ scope.row.零件图号 }} - + {{ scope.row.零件名称 }} @@ -103,42 +103,42 @@ {{ scope.row.工序数量 }} - - - {{ scope.row.是否超负荷 }} - - - - - 外协 - - - - - - - - - - {{ scope.row.板焊 }} - - - - - 板焊 - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +