diff --git a/src/views/oem/baseTemplate/components/maintenanceDialog.vue b/src/views/oem/baseTemplate/components/maintenanceDialog.vue index ad9b866..7c709a8 100644 --- a/src/views/oem/baseTemplate/components/maintenanceDialog.vue +++ b/src/views/oem/baseTemplate/components/maintenanceDialog.vue @@ -27,7 +27,7 @@ - + @@ -40,7 +40,7 @@ @@ -292,11 +292,17 @@ export default { return } if(type == 'batch'){ + let tmp = this.selectionList.find(item => item.approvalStatus != 2) + if(tmp){ + this.$message.error('请选择状态为【待审核】的数据!') + return + } this.woId = this.selectionList.map(item => item.id).join(',') + this.isOpen = true; }else{ this.woId = row.id + this.isOpen = true; } - this.isOpen = true; }, closeDialog(val) { this.isOpen = false; diff --git a/src/views/oem/oemApproval/index.vue b/src/views/oem/oemApproval/index.vue index 8113bff..959f109 100644 --- a/src/views/oem/oemApproval/index.vue +++ b/src/views/oem/oemApproval/index.vue @@ -22,7 +22,7 @@ @@ -292,11 +292,17 @@ export default { return } if(type == 'batch'){ + let tmp = this.selectionList.find(item => item.approvalStatus != 2) + if(tmp){ + this.$message.error("请选择状态为【待审核】的数据"); + return + } this.woId = this.selectionList.map(item => item.id).join(',') + this.isOpen = true; }else{ this.woId = row.id + this.isOpen = true; } - this.isOpen = true; }, closeDialog(val) { this.isOpen = false; diff --git a/src/views/oem/oemOrder/index.vue b/src/views/oem/oemOrder/index.vue index 5c7e35f..2a6ef69 100644 --- a/src/views/oem/oemOrder/index.vue +++ b/src/views/oem/oemOrder/index.vue @@ -398,7 +398,7 @@ export default { overHidden: true, width: 120, headerAlign: "center", - align: "left", + // align: "left", }, { label: "流程卡号", @@ -446,7 +446,7 @@ export default { width: 120, type: "select", headerAlign: "center", - align: "left", + // align: "left", dicUrl:"/api/blade-system/dict/dictionary?code=orderPriority", props:{ label:"dictValue", diff --git a/src/views/productionTesting/productionQuality.vue b/src/views/productionTesting/productionQuality.vue index 3d1b0d2..d3caf3e 100644 --- a/src/views/productionTesting/productionQuality.vue +++ b/src/views/productionTesting/productionQuality.vue @@ -162,49 +162,49 @@ @@ -248,49 +248,49 @@ @@ -345,13 +345,14 @@ 测厚数据 -
+
测试值填写
- + +
@@ -363,7 +364,7 @@ align="center" > @@ -387,7 +388,7 @@ 合格 不合格 @@ -1002,7 +1003,7 @@ export default { this.expandedRowKeys = [...this.expandedRowKeys, row.id]; } if((row.checkUserId != -1 || row.checkUserRealName != '')){ - this.thicknessData = row.wpItemDetailList + this.thicknessData = row.wpItemDetailList ? row.wpItemDetailList : [] return } }, @@ -1223,7 +1224,7 @@ export default { item.wpItemDetailList = [...this.thicknessData] } }) - console.log('detailInfo------------------',this.detailInfo) + console.log('detailInfo------------------',this.detailInfo) fillInspection(this.detailInfo).then(res =>{ if(res.data.code == 200){ this.$message.success('保存成功') @@ -1343,6 +1344,8 @@ export default { // standardValue:null, // downValue:null // } + // res.data.data.wpItemList[0].item.name = '厚度检测' + // res.data.data.wpItemList[0].checkUserRealName = null this.vxeTableData = res.data.data.wpItemList; this.getSameList(row.id) if(this.dialogData.ppsName != '烧结包装防护'){ @@ -1361,7 +1364,7 @@ export default { } if(item.item.name == '厚度检测'){ console.log('item------------------',item) - this.thicknessData = item.wpItemDetailList + this.thicknessData = item.wpItemDetailList ? item.wpItemDetailList : [] } }) }