bug: 标准入库流程--圈住的字段应该是支持多选的
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
:size="width"
|
:size="width"
|
||||||
:append-to-body=true
|
:append-to-body=true
|
||||||
:before-close="cancelUserInfo"
|
:before-close="cancelUserInfo"
|
||||||
|
:show-checkbox="showCheckBox"
|
||||||
>
|
>
|
||||||
<el-tree class="common-tree" :style="style" ref="tree" :data="data" :props="defaultProps"
|
<el-tree class="common-tree" :style="style" ref="tree" :data="data" :props="defaultProps"
|
||||||
:load="loadNode"
|
:load="loadNode"
|
||||||
@@ -111,6 +112,12 @@
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
showCheckBox:{
|
||||||
|
type: Boolean,
|
||||||
|
default () {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
},
|
||||||
// 配置是否展开
|
// 配置是否展开
|
||||||
modalShowFlag: {
|
modalShowFlag: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|||||||
@@ -511,9 +511,11 @@
|
|||||||
width = "800"
|
width = "800"
|
||||||
:key="key1"
|
:key="key1"
|
||||||
:lazy=true
|
:lazy=true
|
||||||
:multiple=false
|
:multiple=true
|
||||||
|
:check-Strictly="false"
|
||||||
:modalShowFlag="modalShowFlag2"
|
:modalShowFlag="modalShowFlag2"
|
||||||
:drawerTitle="drawerTitle"
|
:drawerTitle="drawerTitle"
|
||||||
|
:show-checkBox="showCheckBox"
|
||||||
:url="url"
|
:url="url"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
|
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
|
||||||
@@ -525,9 +527,11 @@
|
|||||||
width = "800"
|
width = "800"
|
||||||
:key="key2"
|
:key="key2"
|
||||||
:lazy=true
|
:lazy=true
|
||||||
:multiple=false
|
:multiple=true
|
||||||
|
:check-Strictly="false"
|
||||||
:modalShowFlag="modalShowFlag3"
|
:modalShowFlag="modalShowFlag3"
|
||||||
:drawerTitle="drawerTitle"
|
:drawerTitle="drawerTitle"
|
||||||
|
:show-checkBox="showCheckBox"
|
||||||
:url="url"
|
:url="url"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2"
|
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2"
|
||||||
@@ -539,10 +543,12 @@
|
|||||||
width = "800"
|
width = "800"
|
||||||
:key="key3"
|
:key="key3"
|
||||||
:lazy=true
|
:lazy=true
|
||||||
:multiple=false
|
:multiple=true
|
||||||
|
:check-Strictly="false"
|
||||||
:modalShowFlag="modalShowFlag4"
|
:modalShowFlag="modalShowFlag4"
|
||||||
:drawerTitle="drawerTitle"
|
:drawerTitle="drawerTitle"
|
||||||
:url="url"
|
:url="url"
|
||||||
|
:show-checkBox="showCheckBox"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
||||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
||||||
@@ -1235,6 +1241,7 @@
|
|||||||
url:'',
|
url:'',
|
||||||
urlChild:'',
|
urlChild:'',
|
||||||
drawerTitle: '', //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
|
showCheckBox: true, // 树形控件是否展示多选框
|
||||||
nodeKey: 'id',
|
nodeKey: 'id',
|
||||||
defaultCheckedKeys: [],
|
defaultCheckedKeys: [],
|
||||||
nodeKeyCode: 'code',
|
nodeKeyCode: 'code',
|
||||||
|
|||||||
Reference in New Issue
Block a user