| | |
| | | align="center" |
| | | label="保险方案"> |
| | | <template slot-scope="scope"> |
| | | <!-- :value="{ id:item.id, baseId: item.baseId }"--> |
| | | <el-select v-model="scope.row.solution.id" filterable @change="changeSolution($event, scope.$index)" placeholder="请选择"> |
| | | <el-select v-model="scope.row.solution.id" :disabled="scope.row.disabled" filterable @change="changeSolution($event, scope.$index)" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in programme" |
| | | :key="item.id" |
| | |
| | | align="center" |
| | | label="委托商户"> |
| | | <template slot-scope="scope"> |
| | | <el-select :ref="'shopSelect'+scope.$index" :disabled="scope.row.solution.type ==1" v-model="scope.row.shopId" clearable value-key="id" placeholder="请选择"> |
| | | <el-select :ref="'shopSelect'+scope.$index" disabled v-model="scope.row.shopId" clearable value-key="id" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in shops" |
| | | :key="item.id" |
| | |
| | | label="签署状态"> |
| | | <template slot-scope="{row}"> |
| | | <template v-if="row.signStatus === 0">待签章</template> |
| | | <template v-if="row.signStatus === 1">已签章</template> |
| | | <template v-else-if="row.signStatus === 1">已签章</template> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | align="center" |
| | | width="100"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="small" style="color: red;" @click="dele(scope.$index)" v-if="scope.row.signStatus === 0 || !scope.row.signStatus">删除</el-button> |
| | | <el-button type="text" size="small" style="color: red;" @click="dele(scope.$index)">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | .then(resa => { |
| | | resa.forEach(item => { |
| | | this.form.solutionList.push({ |
| | | disabled: true, |
| | | solution: { id: item.solutionId, baseId: item.solutionBaseId,type:item.solutionType }, |
| | | shopId: item.shopId, |
| | | canAdd: 1, |
| | | canReduce: 1 |
| | | canReduce: 1, |
| | | signStatus: item.signStatus |
| | | }) |
| | | }) |
| | | console.log(this.form.solutionList) |
| | | that.visible = true |
| | | }) |
| | | }, |
| | | add () { |
| | | this.form.solutionList.push({ |
| | | disabled: false, |
| | | solution: { id: null, baseId: null }, |
| | | shopId: null, |
| | | canAdd: 1, |