mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
下拉列表框 名称帅选
This commit is contained in:
@@ -309,8 +309,16 @@
|
|||||||
v-model:value="formParam.sourceBelongId"
|
v-model:value="formParam.sourceBelongId"
|
||||||
v-model:name="formParam.sourceBelongFullName"
|
v-model:name="formParam.sourceBelongFullName"
|
||||||
></OrgClass> -->
|
></OrgClass> -->
|
||||||
<a-select :disabled="formParam.createFrom == 0" v-model:value="formParam.trainOrgId"
|
<!-- TODO GX02 -->
|
||||||
placeholder="请选择培训发生组织" allowClear :options="orgList" @change="changeOrg">
|
<a-select
|
||||||
|
:disabled="formParam.createFrom == 0"
|
||||||
|
v-model:value="formParam.trainOrgId"
|
||||||
|
placeholder="请选择培训发生组织"
|
||||||
|
allowClear
|
||||||
|
showSearch
|
||||||
|
:options="filterOrgListSearch"
|
||||||
|
@search="handleOrgSearch"
|
||||||
|
@change="changeOrg">
|
||||||
</a-select>
|
</a-select>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@@ -1202,6 +1210,11 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
const changeOrg = (e, l) => {
|
const changeOrg = (e, l) => {
|
||||||
|
console.log("changeOrg e",e);
|
||||||
|
console.log("changeOrg l",l);
|
||||||
|
if(l == undefined || l == null){
|
||||||
|
state.filterOrgListSearch = state.orgListSearch;
|
||||||
|
}
|
||||||
state.formParam.trainOrgName = l?.label
|
state.formParam.trainOrgName = l?.label
|
||||||
}
|
}
|
||||||
//保存
|
//保存
|
||||||
|
|||||||
Reference in New Issue
Block a user