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;*/ - /*}*/