jiangping
2025-06-27 30e622e971b73c6a80d5534a34ac8962ea1c45eb
company/src/components/enterprise/OperaInsuranceApplyAddWindow.vue
@@ -10,7 +10,7 @@
    <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"
@@ -331,7 +331,7 @@
    },
    // 获取投保详情
    getDetails () {
      findList({ applyId: this.form.id })
      findList({ applyId: this.form.id, applyStatus: 1 })
        .then(res => {
          res.forEach(item => {
            console.log(item)
@@ -544,14 +544,14 @@
        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) {
        this.$message.warning('请先选择保险方案')
        return
      }
      this.$refs.importEmployees.open('上传名单', { arr: this.tableData, solutionId: this.form.solutionId, type: 1, price: this.price })
      this.$refs.importEmployees.open('上传名单', { arr: this.tableData, solutionId: this.form.solutionId, type: 1, hasDispatchUnit: this.item.hasDispatchUnit, price: this.price })
    },
    // 切换方案
    changeSolution (e) {