| | |
| | | <div class="list"> |
| | | <el-form :inline="true" ref="form" :model="form" :rules="rules" class="demo-form-inline"> |
| | | <el-form-item label="保险方案" prop="solutionId"> |
| | | <el-select v-model="form.solutionId" filterable @change="changeSolution" placeholder="请选择"> |
| | | <el-select v-model="form.solutionId" :disabled="title === '续保'" filterable @change="changeSolution" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in company" |
| | | :key="item.id" |
| | |
| | | }, |
| | | // 获取投保详情 |
| | | getDetails () { |
| | | findList({ applyId: this.form.id }) |
| | | findList({ applyId: this.form.id, applyStatus: 1 }) |
| | | .then(res => { |
| | | res.forEach(item => { |
| | | console.log(item) |
| | |
| | | this.$message.warning('请先选择保险方案') |
| | | return |
| | | } |
| | | this.$refs.addEmployee.open('添加员工', { arr: this.tableData, price: this.price, solutionId: this.form.solutionId, companyId: this.form.companyId }) |
| | | this.$refs.addEmployee.open('添加员工', { arr: this.tableData, price: this.price, solutionId: this.form.solutionId, hasDispatchUnit: this.item.hasDispatchUnit, companyId: this.userInfo.type === 1 ? this.userInfo.companyId : this.form.companyId }) |
| | | }, |
| | | uploadUser () { |
| | | if (!this.form.solutionId) { |