|
|
|
@ -125,7 +125,6 @@
|
|
|
|
|
<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="选择上级仓库"/>
|
|
|
|
|
|
|
|
|
@ -373,7 +372,6 @@ export default {
|
|
|
|
|
// page: 1,
|
|
|
|
|
// limit: 10,
|
|
|
|
|
},
|
|
|
|
|
isShow: null,
|
|
|
|
|
loading: true,
|
|
|
|
|
list: [],
|
|
|
|
|
isExpandAll: true,
|
|
|
|
@ -462,10 +460,8 @@ export default {
|
|
|
|
|
this.formName = formName;
|
|
|
|
|
if (formName === "edit") {
|
|
|
|
|
this.subData = JSON.parse(JSON.stringify(data));
|
|
|
|
|
this.isShow = true;
|
|
|
|
|
} else if (formName === "add") {
|
|
|
|
|
this.subData = {advanceType: false,};
|
|
|
|
|
this.isShow = false;
|
|
|
|
|
}
|
|
|
|
|
this.subFormVisible = true;
|
|
|
|
|
this.getSubThrsysDetailData();
|
|
|
|
|