bug修复

liujun-2024-06-06
liujun 2024-06-13 15:52:27 +08:00
parent ce7d33dc34
commit 1094bd3d82
1 changed files with 17 additions and 7 deletions

View File

@ -94,10 +94,10 @@
<u--input v-model="form.ISPAY_NAME" border="none" disabled disabledColor="#ffffff" <u--input v-model="form.ISPAY_NAME" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input> inputAlign="right"></u--input>
</u-form-item> </u-form-item>
<u-form-item v-if="form.ISPAY==='1'" label="商业保险单号" prop="PHONE" borderBottom required> <u-form-item v-if="form.ISPAY==='1'" label="商业保险单号" prop="ISPAY_NUMBER" borderBottom required>
<u--input border="none" v-model="form.ISPAY_NUMBER" :disabled="true"></u--input> <u--input border="none" v-model="form.ISPAY_NUMBER"></u--input>
</u-form-item> </u-form-item>
<u-form-item v-if="form.ISPAY==='1'" label="保险图片" prop="contractFile" borderBottom required class="form-item-block"> <u-form-item v-if="form.ISPAY==='1'" label="保险图片" prop="insuranceFile" borderBottom required class="form-item-block">
<u-upload class="mt-10" :fileList="form.insuranceFile" @afterRead="fnIsPayAdd" <u-upload class="mt-10" :fileList="form.insuranceFile" @afterRead="fnIsPayAdd"
@delete="fnIsPayDelete" multiple :maxCount="4" previewFullImage> @delete="fnIsPayDelete" multiple :maxCount="4" previewFullImage>
</u-upload> </u-upload>
@ -107,7 +107,7 @@
<u--input v-model="form.IS_INJURIES_PAY_NAME" border="none" disabled disabledColor="#ffffff" <u--input v-model="form.IS_INJURIES_PAY_NAME" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input> inputAlign="right"></u--input>
</u-form-item> </u-form-item>
<u-form-item label="工伤保险有效期" v-if="form.IS_INJURIES_PAY==='1'" prop="<strong>IS_INJURIES_PAY_TIME</strong>" borderBottom <u-form-item label="工伤保险有效期" v-if="form.IS_INJURIES_PAY==='1'" prop="IS_INJURIES_PAY_TIME" borderBottom
required @click="fnShowInjuriesPayTiemEducation"> required @click="fnShowInjuriesPayTiemEducation">
<u--input v-model="form.IS_INJURIES_PAY_TIME" border="none" disabled disabledColor="#ffffff" <u--input v-model="form.IS_INJURIES_PAY_TIME" border="none" disabled disabledColor="#ffffff"
inputAlign="right"></u--input> inputAlign="right"></u--input>
@ -349,6 +349,12 @@
message: '请上传劳动合同', message: '请上传劳动合同',
trigger: ['change'] trigger: ['change']
}, },
insuranceFile:{
type: 'array',
required: true,
message: '请上传保险图片',
trigger: ['change']
},
POST_ID:{ POST_ID:{
required: true, required: true,
message: '请填写岗位', message: '请填写岗位',
@ -364,7 +370,12 @@
required: true, required: true,
message: '请选择是否为三级人员', message: '请选择是否为三级人员',
trigger: ['change'] trigger: ['change']
} },
ISPAY_NUMBER:{
required: true,
message: '请填写商业保单号',
trigger: ['change']
},
} }
} }
}, },
@ -858,7 +869,6 @@
return return
} }
} }
let fileUrl = '' let fileUrl = ''
// //
for (let i = 0; i < this.prePhotoId.length; i++) { for (let i = 0; i < this.prePhotoId.length; i++) {