|  |  | 
 |  |  |                 <el-table-column | 
 |  |  |                     prop="currentFee" | 
 |  |  |                     align="center" | 
 |  |  |                     label="当前费用(元)"> | 
 |  |  |                     label="已产生费用(元)"> | 
 |  |  |                 </el-table-column> | 
 |  |  |                 <el-table-column | 
 |  |  |                     prop="fee" | 
 |  |  | 
 |  |  |             <span v-if="item.ortherInfo">{{item.ortherInfo}}</span> | 
 |  |  |         </div> | 
 |  |  |         <!--    选择员工    --> | 
 |  |  |         <selectEmployees ref="selectEmployees" @result="getValue" /> | 
 |  |  |         <selectEmployees ref="selectEmployees" @result="getValue1" /> | 
 |  |  |         <!--    添加员工    --> | 
 |  |  |         <addEmployee ref="addEmployee" @result="getValue" /> | 
 |  |  |         <!--    导入名单    --> | 
 |  |  | 
 |  |  |                     applyEndTime: '', | 
 |  |  |                     factory: [] | 
 |  |  |                 }, | 
 |  |  |                 newVersionSolutionId: '', | 
 |  |  |                 pickerOptions: {}, | 
 |  |  |                 price: '', | 
 |  |  |                 endTime: '',    //    实际保险生效止期 | 
 |  |  | 
 |  |  |                 this.form.addDetailList = [] | 
 |  |  |                 this.form.delDetailList = [] | 
 |  |  |                 this.list = [] | 
 |  |  |                 this.form.factory = [] | 
 |  |  |                 this.form.id = null | 
 |  |  |                 this.item = null | 
 |  |  |                 this.form.solutionId = '' | 
 |  |  | 
 |  |  |                     }) | 
 |  |  |                 getDetail(this.form.id) | 
 |  |  |                     .then(res => { | 
 |  |  |                         console.log(res) | 
 |  |  |                         this.list.push(res) | 
 |  |  |                         this.endTime = res.endTime | 
 |  |  |                         this.form.solutionId = res.solutionId | 
 |  |  |                         this.newVersionSolutionId = res.newVersionSolutionId | 
 |  |  |                         this.form.solutionsName = res.solutionsName | 
 |  |  |                         this.pickerOptions = { | 
 |  |  |                             disabledDate(time) { | 
 |  |  |                                 // - 8.64e7 | 
 |  |  |                                 return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date().getTime() | 
 |  |  |                                 return time.getTime() > new Date(res.endTime).getTime() || time.getTime() < new Date(res.lastChangeDate ? res.lastChangeDate : res.startTime).getTime() | 
 |  |  |                             } | 
 |  |  |                         }; | 
 |  |  |                         this.changeSolution1(res.solutionId) | 
 |  |  | 
 |  |  |                     this.$message.warning('请先选择保险方案') | 
 |  |  |                     return | 
 |  |  |                 } | 
 |  |  |                 this.$refs.selectEmployees.open('选取员工', { arr: this.form.delDetailList, price: this.price, insuranceApplyId: this.form.id }) | 
 |  |  |                 if (!this.form.applyStartTime) { | 
 |  |  |                     this.$message.warning('请先选择批单生效起期') | 
 |  |  |                     return | 
 |  |  |                 } | 
 |  |  |                 this.$refs.selectEmployees.open('选取员工', { arr: this.form.delDetailList, price: this.price, insuranceApplyId: this.form.id, validTime: this.form.applyStartTime }) | 
 |  |  |             }, | 
 |  |  |             addUser() { | 
 |  |  |                 if (!this.form.solutionId) { | 
 |  |  | 
 |  |  |                     this.$message.warning('请选择员工') | 
 |  |  |                     return | 
 |  |  |                 } | 
 |  |  |                 this.$refs.confirmJobType.open('确认工种', { solutionId: this.form.solutionId }) | 
 |  |  |                 this.$refs.confirmJobType.open('确认工种', { solutionId: this.newVersionSolutionId }) | 
 |  |  |             }, | 
 |  |  |             // 查询全部方案 | 
 |  |  |             getCompany() { | 
 |  |  | 
 |  |  |             handleSelectionChange (e) { | 
 |  |  |                 this.seleData = e.map(item => item.memberName) | 
 |  |  |             }, | 
 |  |  |             // 选取员工 | 
 |  |  |             getValue1 (list) { | 
 |  |  |                 let arr = JSON.parse(JSON.stringify(list)) | 
 |  |  |  | 
 |  |  |                 arr.forEach(item => { | 
 |  |  |                     item.oldDuId = item.duId | 
 |  |  |                     item.oldDuName = item.duName | 
 |  |  |                     item.oldWorkTypeName = item.workTypeName | 
 |  |  |                     item.oldWorktypeId = item.worktypeId | 
 |  |  |  | 
 |  |  |                     item.duId = '' | 
 |  |  |                     item.duName = '' | 
 |  |  |                     item.workTypeName = '' | 
 |  |  |                     item.worktypeId = '' | 
 |  |  |                 }) | 
 |  |  |  | 
 |  |  |                 for (let a = 0; a < arr.length; a++) { | 
 |  |  |                     for (let b = 0; b < this.form.factory.length; b++) { | 
 |  |  |                         if (arr[a].id === this.form.factory[b].id) { | 
 |  |  |                             this.$message.warning(`${arr[a].companyName}员工重复!`) | 
 |  |  |                             return | 
 |  |  |                         } | 
 |  |  |                     } | 
 |  |  |                 } | 
 |  |  |  | 
 |  |  |                 this.form.factory.push(...arr) | 
 |  |  |             }, | 
 |  |  |             getValue(list) { | 
 |  |  |                 let arr = JSON.parse(JSON.stringify(list)) | 
 |  |  |  |