| | |
| | | <span>更换派遣单位 <i :class="form.canChangeUnit ==1?'el-icon-circle-check':'el-icon-circle-close'" :style="form.canChangeUnit ==1?'color:green;font-weight:bold':'color:red;font-weight:bold'"></i></span> |
| | | </div> |
| | | </div> |
| | | <div class="info_list_item"> |
| | | <div class="info_list_item" v-if="(form.timeUnit===2 && (form.insureCycleUnit===2||form.insureCycleUnit===0)) || form.timeUnit===2 && (form.insureCycleUnit===2||form.insureCycleUnit===0))"> |
| | | <div class="info_list_item_label">批改仅支持替换:</div> |
| | | <div class="info_list_item_val" v-if="form.delOnlyReplace == 1">是</div> |
| | | <div class="info_list_item_val" v-else>否</div> |
| | |
| | | <el-checkbox :true-label="1" :false-label="0" v-model="form.canChangeUnit">更换派遣单位</el-checkbox> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="批减只支持替换(减保批改仅支持替换人员,即减保人员不少于加保人员数量)" prop="delOnlyReplace" v-if="form.timeUnit===2 && (form.insureCycleUnit===2||form.insureCycleUnit===0)"> |
| | | <el-form-item label="批减只支持替换(减保批改仅支持替换人员,即减保人员不少于加保人员数量)" prop="delOnlyReplace" v-if="form.insureCycleUnit===0 || (form.insureCycleUnit===form.timeUnit)"> |
| | | <div style="width: 100%; display: flex; align-items: center;"> |
| | | <el-radio-group v-model="form.delOnlyReplace"> |
| | | <el-radio :label="1">是</el-radio> |
| | |
| | | ){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST); |
| | | } |
| | | if(!(Constants.equalsInteger(solutions.getTimeUnit(),Constants.TWO) |
| | | &&(Constants.equalsInteger(solutions.getInsureCycleUnit(),Constants.TWO) |
| | | ||Constants.equalsInteger(solutions.getInsureCycleUnit(),Constants.TWO)))){ |
| | | if(!(Constants.equalsInteger(solutions.getInsureCycleUnit(),Constants.ZERO) |
| | | ||Constants.equalsInteger(solutions.getInsureCycleUnit(),solutions.getInsureCycleUnit()))){ |
| | | solutions.setDelOnlyReplace(Constants.ZERO); |
| | | } |
| | | } |