张延森 3 years ago
parent
commit
b63b230dcb
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      src/pages/resumeWorkForm/index.vue

+ 6
- 1
src/pages/resumeWorkForm/index.vue View File

13
           label="企  业"
13
           label="企  业"
14
           placeholder="点击选择企业"
14
           placeholder="点击选择企业"
15
           :rules="[{ required: true, message: '请选择企业' }]"
15
           :rules="[{ required: true, message: '请选择企业' }]"
16
-          @click="showPicker = true"
16
+          @click="handleOrgClick"
17
         />
17
         />
18
         <Popup v-model:show="showPicker" position="left" :style="{ height: '100%', width: '80%' }" >
18
         <Popup v-model:show="showPicker" position="left" :style="{ height: '100%', width: '80%' }" >
19
           <org-picker v-model="formData.orgId" @change="onConfirm" />
19
           <org-picker v-model="formData.orgId" @change="onConfirm" />
156
   text: 'orgName',
156
   text: 'orgName',
157
 }
157
 }
158
 
158
 
159
+const handleOrgClick = () => {
160
+  if (disableOrg.value) return
161
+  showPicker.value = true;
162
+}
163
+
159
 const onConfirm = (value) => {
164
 const onConfirm = (value) => {
160
   formData.orgId = value.orgId
165
   formData.orgId = value.orgId
161
   formData.orgName = value.orgName
166
   formData.orgName = value.orgName