解决机构树和商品类别选择自己的逻辑bug

This commit is contained in:
季圣华
2022-04-16 17:45:09 +08:00
parent 9d673964f7
commit 029ce91c5f
4 changed files with 45 additions and 23 deletions

View File

@@ -20,8 +20,8 @@
</a-form-item>
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="上级机构">
<a-tree-select style="width:100%" :dropdownStyle="{maxHeight:'200px',overflow:'auto'}"
allow-clear treeDefaultExpandAll="true"
:treeData="departTree" v-model="model.parentId" placeholder="请选择上级机构">
allow-clear :treeDefaultExpandAll="true"
:treeData="departTree" v-decorator="[ 'parentId' ]" placeholder="请选择上级机构">
</a-tree-select>
</a-form-item>
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="排序">