主管部门单选变多选
parent
ab5e191a53
commit
14a067c473
|
@ -50,10 +50,13 @@
|
|||
<el-form-item label="股份主管部门" prop="MAIN_DEPARTMENT">
|
||||
<Treeselect
|
||||
:options="treeData"
|
||||
:normalizer="normalizer"
|
||||
:normalizer="normalizergfjg"
|
||||
:flat="true"
|
||||
:default-expand-level="0"
|
||||
:props="defaultProps"
|
||||
v-model="form.MAIN_DEPARTMENT"
|
||||
multiple
|
||||
placeholder="请选择部门"
|
||||
multiple
|
||||
no-options-text="暂无数据"
|
||||
no-children-text="暂无数据"
|
||||
style="width: 100%;"
|
||||
|
@ -353,7 +356,7 @@ export default {
|
|||
COMPETENT_DEPT_ID: null,
|
||||
MANAGER_DEPARTMENT_ID: null,
|
||||
SUPERVISE_CORPINFO_ID: '',
|
||||
MAIN_DEPARTMENT: '',
|
||||
MAIN_DEPARTMENT: null,
|
||||
RELEVANT_UNIT_NAME: '',
|
||||
SOCIAL_CODE: '',
|
||||
LOCAL: '',
|
||||
|
@ -536,6 +539,7 @@ export default {
|
|||
).then((data) => {
|
||||
const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes')
|
||||
this.treeData = this.removeEmptyChildren(treeData)
|
||||
console.log(this.treeData)
|
||||
}).catch((e) => {
|
||||
})
|
||||
resolve()
|
||||
|
|
Loading…
Reference in New Issue