|  |  | 
 |  |  |                 align="center" | 
 |  |  |                 label="保险方案"> | 
 |  |  |                 <template slot-scope="scope"> | 
 |  |  |                   <el-select  v-model="scope.row.solution"  value-key="id" placeholder="请选择" change="changeSolution($event,scope.$index)"> | 
 |  |  |                   <el-select v-model="scope.row.solution.id" @change="changeSolution($event, scope.$index)" placeholder="请选择"> | 
 |  |  |                     <el-option | 
 |  |  |                         v-for="item in programme" | 
 |  |  |                         :key="item.id" | 
 |  |  |                         :label="item.name" | 
 |  |  |                         :value="item"> | 
 |  |  |                         :value="item.id"> | 
 |  |  |                     </el-option> | 
 |  |  |                   </el-select> | 
 |  |  |                 </template> | 
 |  |  | 
 |  |  |                 align="center" | 
 |  |  |                 label="委托商户"> | 
 |  |  |                 <template slot-scope="scope"> | 
 |  |  |                   <el-select  v-model="scope.row.shopId" clearable value-key="id" placeholder="请选择" > | 
 |  |  |                   <el-select  v-model="scope.row.shopId"  :disabled="scope.row.solution.type ==1" clearable value-key="id" placeholder="请选择" > | 
 |  |  |                     <el-option | 
 |  |  |                         v-for="item in shops" | 
 |  |  |                         :key="item.id" | 
 |  |  | 
 |  |  |                 align="center" | 
 |  |  |                 label="加减保功能"> | 
 |  |  |                 <template slot-scope="{row}"> | 
 |  |  |                     <el-checkbox :true-label="1" :false-label="0" v-model="row.canAdd">加保</el-checkbox> | 
 |  |  |                     <el-checkbox :true-label="1" :false-label="0" v-model="row.canReduce">减保</el-checkbox> | 
 |  |  |                     <el-checkbox :true-label="1" :false-label="0" disabled v-model="row.canAdd">加保</el-checkbox> | 
 |  |  |                     <el-checkbox :true-label="1" :false-label="0" disabled v-model="row.canReduce">减保</el-checkbox> | 
 |  |  |                 </template> | 
 |  |  |             </el-table-column> | 
 |  |  |             <el-table-column | 
 |  |  | 
 |  |  |         }, | 
 |  |  |         solutionList: [ | 
 |  |  |           { | 
 |  |  |             solution: null, | 
 |  |  |             shop: null, | 
 |  |  |             canAdd: 0, | 
 |  |  |             canReduce: 0 | 
 |  |  |             solution: { id: null, baseId: null,type:0 }, | 
 |  |  |             canAdd: 1, | 
 |  |  |             shopId:null, | 
 |  |  |             canReduce: 1 | 
 |  |  |           } | 
 |  |  |         ], | 
 |  |  |         type: '0', | 
 |  |  | 
 |  |  |     } | 
 |  |  |   }, | 
 |  |  |   methods: { | 
 |  |  |     changeSolution(row,index){ | 
 |  |  |      this.form.solutionList[index].solution=row | 
 |  |  |     changeSolution(e,index){ | 
 |  |  |       let baseId = '' | 
 |  |  |       this.programme.forEach(item => { | 
 |  |  |         if (item.id === e) { | 
 |  |  |           baseId = item.baseId | 
 |  |  |           this.form.solutionList[index].solution.type = item.type | 
 |  |  |           if(item.type == 1){ | 
 |  |  |             this.form.solutionList[index].shopId =item.shopId | 
 |  |  |           } | 
 |  |  |         } | 
 |  |  |       }) | 
 |  |  |  | 
 |  |  |       this.form.solutionList[index].solution.baseId = baseId | 
 |  |  |  | 
 |  |  |      // this.form.solutionList[index].solution=row | 
 |  |  |     }, | 
 |  |  |     send () { | 
 |  |  |       if (!this.form.phone) { | 
 |  |  | 
 |  |  |         solutionId: null, | 
 |  |  |         solution: {}, | 
 |  |  |         shopId: null, | 
 |  |  |         canAdd: '', | 
 |  |  |         canReduce: '' | 
 |  |  |         canAdd: 1, | 
 |  |  |         canReduce: 1 | 
 |  |  |       }) | 
 |  |  |     }, | 
 |  |  |     handleRemove (file, fileList) { |