From a4e1114925aaa833270cefc6b299473cdcb749a9 Mon Sep 17 00:00:00 2001 From: xhj Date: Mon, 28 Oct 2024 11:11:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/jhzxgl/sljhD.vue | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/views/jhzxgl/sljhD.vue b/src/views/jhzxgl/sljhD.vue index 7459f82..f4b293d 100644 --- a/src/views/jhzxgl/sljhD.vue +++ b/src/views/jhzxgl/sljhD.vue @@ -189,7 +189,7 @@ - + 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 !==''){ selectRecords[i].zych = this.inParam.dcch } - if(this.inParam.pl !==''){ - selectRecords[i].zypl = this.inParam.pl + if(this.inParam.dcpl !==''){ + selectRecords[i].zypl = this.inParam.dcpl } if(this.inParam.lx !==''){ selectRecords[i].zylx = this.inParam.lx @@ -1224,8 +1227,8 @@ export default { kcAdnSlBd1( // "data1":this.$refs.xGrid.getTableData().visibleData, // "data2":this.$refs.xGrid1.getTableData().visibleData - this.$refs.xGrid.getUpdateRecords(), + this.$refs.xGrid.getCheckboxRecords() ).then((res) => { // if(res.success){ this.initList()