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 class="cu-form-group margin-top-xs">
<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">
<view class="picker" style="color: #cccccc">
{{formData.PERSONNEL_TYPE.join()}}
</view>
</picker>
<zqs-select
:multiple="true"
:list="dictData.PERSONNEL_TYPE.list"
:show-search="false"
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 File

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

View File

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