| | |
| | | <el-table-column label="弃检" prop="type2" width="86" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-checkbox |
| | | @change="handelcheckbox" |
| | | @change="handelcheckbox(scope.row)" |
| | | v-model="scope.row.type2" |
| | | :disabled="leave" |
| | | > |
| | |
| | | <el-table-column label="延期" prop="type3" width="86" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-checkbox |
| | | @change="handelcheck" |
| | | @change="handelcheck(scope.row)" |
| | | v-model="scope.row.type3" |
| | | :disabled="leave" |
| | | > |
| | |
| | | // } |
| | | // }) |
| | | for (let i = 0; i <= this.numberList.length; i++) { |
| | | if(val.proId == this.numberList[i].proId){ |
| | | if (this.numberList[i].type2 === true) { |
| | | this.numberList[i].type3 = false; |
| | | this.tcShow = false; |
| | | return; |
| | | }else{ |
| | | return |
| | | } |
| | | } |
| | | } |
| | | // this.type2 = val |
| | | // this.numberList.forEach(item => { |
| | |
| | | }, |
| | | |
| | | handelcheck(val) { |
| | | |
| | | // this.numberList.forEach(item => { |
| | | // if(item.type3 === true){ |
| | | // item.type2 = false |
| | |
| | | // this.tcShow = false |
| | | // } |
| | | // }) |
| | | |
| | | for (let i = 0; i <= this.numberList.length; i++) { |
| | | if (this.numberList[i].type3 === true) { |
| | | if(val.proId == this.numberList[i].proId){ |
| | | if(this.numberList[i].type3){ |
| | | if (this.numberList[i].type3 === true) { |
| | | this.numberList[i].type2 = false; |
| | | this.tcShow = true; |
| | | return; |
| | | } |
| | | }else{ |
| | | return |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | // this.numberList.forEach(item => { |
| | | // if (item.type === true) { |