From c1f31c93c31c2685b4cd499c59427c2944b82b4a Mon Sep 17 00:00:00 2001 From: xhj Date: Thu, 31 Oct 2024 15:16:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/jhzxgl/sljhD.vue | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/src/views/jhzxgl/sljhD.vue b/src/views/jhzxgl/sljhD.vue index 2538485..ac57733 100644 --- a/src/views/jhzxgl/sljhD.vue +++ b/src/views/jhzxgl/sljhD.vue @@ -884,21 +884,34 @@ export default { if(selectRecords.length>0){ for(let i = 0; i < selectRecords.length; i++) { console.log(selectRecords[i].ydid) - if(selectRecords[i].ydid!==null){ - this.$message({ message: '改数据已经匹配生产计划', type: 'warning' }) - return - } + if(this.inParam.dcch !==''){ + if(selectRecords[i].ydid!==null){ + this.$message({ message: '改数据已经匹配生产计划', type: 'warning' }) + return + } selectRecords[i].zych = this.inParam.dcch } if(this.inParam.dcpl !==''){ + if(selectRecords[i].ydid!==null){ + this.$message({ message: '改数据已经匹配生产计划', type: 'warning' }) + return + } selectRecords[i].zypl = this.inParam.dcpl } if(this.inParam.lx !==''){ + if(selectRecords[i].ydid!==null){ + this.$message({ message: '改数据已经匹配生产计划', type: 'warning' }) + return + } selectRecords[i].zylx = this.inParam.lx } if(this.inParam.qgkw !==''){ + if(selectRecords[i].ydid!==null){ + this.$message({ message: '改数据已经匹配生产计划', type: 'warning' }) + return + } selectRecords[i].sldw = this.inParam.qgkw } if(this.inParam.pwwz!==''){ @@ -1266,9 +1279,9 @@ export default { }, saveOne(){ - if(this.queryParam.rqopt!=='01'){ - return - } + // if(this.queryParam.rqopt!=='01'){ + // return + // } kcAdnSlBd1(