From 7fb1360f327738dcc18d15d567bfbf5a94002fa8 Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Mon, 18 May 2020 14:05:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E6=96=99=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MaterialArrival/index.vue | 8 +- .../WorkshopEquipmentManagement/index.vue | 95 ++----------------- .../PartDrawingMaintenance/index.vue | 12 +-- 3 files changed, 18 insertions(+), 97 deletions(-) diff --git a/src/views/ManufacturingCenter/MaterialArrival/index.vue b/src/views/ManufacturingCenter/MaterialArrival/index.vue index f6c86bc1..51e73312 100644 --- a/src/views/ManufacturingCenter/MaterialArrival/index.vue +++ b/src/views/ManufacturingCenter/MaterialArrival/index.vue @@ -140,7 +140,7 @@ export default { pageCurrent: 1, pageSize: 50, total: 0, - Name: 0, + Name: 1, Partpaint: '', tableData1: [], // 工序表 radio: '', @@ -345,7 +345,11 @@ export default { }, getRow(row) { this.processSerialNumber = row.工序流水号 - row.完成日期 ? this.Name = 1 : this.Name = 0 + if (row.工艺名称 === '备料' && !row.完成日期) { + this.Name = 0 + } else { + this.Name = 1 + } }, handleSizeChange(val) { this.pageSize = val diff --git a/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue b/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue index 74c66678..4582acb7 100644 --- a/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue +++ b/src/views/ManufacturingCenter/WorkshopEquipmentManagement/index.vue @@ -2,114 +2,42 @@
- 查询 设备 - - - - - - - - - - - - - - - - - - + + - + - + - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - @@ -259,7 +187,6 @@ export default { } getData(this.check, this.equipmentName, this.pageCurrent, this.pageSize).then(response => { this.List = response.data - // this.total = response.data.total }) }, initialization() { @@ -430,16 +357,6 @@ export default { .el-card{ margin-bottom: 1px; } - /*.el-button--success {*/ - /* background: #ecf5ff;*/ - /* border-color: #2d72d5;*/ - /* color: #2d72d5;*/ - /*}*/ - /*.el-button--primary {*/ - /* background: #fdf6ec;*/ - /* border-color: #ff9759;*/ - /* color: #ff9759;*/ - /*}*/