BUG优化

dev
xiepeng 2024-06-21 17:58:09 +08:00
parent 628ed4d47a
commit 8f01a16562
3 changed files with 15 additions and 8 deletions

View File

@ -20,11 +20,19 @@
</view> </view>
<view class="cu-form-group margin-top-xs"> <view class="cu-form-group margin-top-xs">
<view class="title is-required">人员类型</view> <view class="title is-required">人员类型</view>
<picker @change="pickerChangeData($event,'PERSONNEL_TYPE')" disabled :value="dictData.PERSONNEL_TYPE.index" :range="dictData.PERSONNEL_TYPE.list" range-key="NAME"> <zqs-select
<view class="picker" style="color: #cccccc"> :multiple="true"
{{formData.PERSONNEL_TYPE.join()}} :list="dictData.PERSONNEL_TYPE.list"
</view> :show-search="false"
</picker> v-model="formData.PERSONNEL_TYPE"
disabled
label-key="NAME"
value-key="DICTIONARIES_ID"
placeholder="请选择人员类型"
title="选择人员类型"
clearable
@change="changeSelect($event, 'PERSONNEL_TYPE')"
></zqs-select>
</view> </view>
<!-- 入职申请 --> <!-- 入职申请 -->

View File

@ -606,7 +606,7 @@ export default {
}, },
validateData() { validateData() {
// //
if (!this.formData.ID_CARD_FRONT) { if (!this.fileData.idCardFront) {
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: '请上传身份证(正面)', title: '请上传身份证(正面)',
@ -614,7 +614,7 @@ export default {
}); });
return false; return false;
} }
if (!this.formData.ID_CARD_BACK) { if (!this.fileData.idCardBack) {
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: '请上传身份证(反面)', title: '请上传身份证(反面)',

View File

@ -337,7 +337,6 @@
}); });
return false; return false;
} }
// //
if (this.fileData.idCardFront.length < 1) { if (this.fileData.idCardFront.length < 1) {
uni.showToast({ uni.showToast({