|
|
|
@ -132,6 +132,7 @@
|
|
|
|
|
<el-col :span="12" class="el-col">
|
|
|
|
|
<el-form-item label="上级仓库" prop="parentCode">
|
|
|
|
|
<treeselect v-model="subData.parentCode" :options="invOptions" :normalizer="normalizer"
|
|
|
|
|
:disabled="isShow"
|
|
|
|
|
style="width: 80%"
|
|
|
|
|
placeholder="选择上级仓库"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -355,6 +356,7 @@ export default {
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
},
|
|
|
|
|
isShow:null,
|
|
|
|
|
loading: true,
|
|
|
|
|
list: [],
|
|
|
|
|
isExpandAll: true,
|
|
|
|
@ -442,8 +444,10 @@ export default {
|
|
|
|
|
this.formName = formName;
|
|
|
|
|
if (formName === "edit") {
|
|
|
|
|
this.subData = JSON.parse(JSON.stringify(data));
|
|
|
|
|
this.isShow=true;
|
|
|
|
|
} else if (formName === "add") {
|
|
|
|
|
this.subData = {};
|
|
|
|
|
this.isShow=false;
|
|
|
|
|
}
|
|
|
|
|
this.subFormVisible = true;
|
|
|
|
|
this.getSubThrsysDetailData();
|
|
|
|
@ -477,6 +481,7 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
findDeptMethod() { //新增,编辑---获取部门信息
|
|
|
|
|
let query = {
|
|
|
|
|