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()