|
|
@ -163,8 +163,9 @@
|
|
|
|
<treeselect v-model="subData.parentCode" :options="invOptions" :normalizer="normalizer"
|
|
|
|
<treeselect v-model="subData.parentCode" :options="invOptions" :normalizer="normalizer"
|
|
|
|
:disabled="isShow"
|
|
|
|
:disabled="isShow"
|
|
|
|
style="width: 80%"
|
|
|
|
style="width: 80%"
|
|
|
|
placeholder="选择上级仓库"/>
|
|
|
|
placeholder="选择上级仓库">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</treeselect>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
@ -562,7 +563,7 @@ export default {
|
|
|
|
this.subData.advanceType = this.subData.advanceType.toString();
|
|
|
|
this.subData.advanceType = this.subData.advanceType.toString();
|
|
|
|
if (this.subData.parentCode != null && this.subData.parentCode != "") {
|
|
|
|
if (this.subData.parentCode != null && this.subData.parentCode != "") {
|
|
|
|
this.isAdvanceTypeShow = true;
|
|
|
|
this.isAdvanceTypeShow = true;
|
|
|
|
this.isShow = false;
|
|
|
|
this.isShow = true;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.isAdvanceTypeShow = false;
|
|
|
|
this.isAdvanceTypeShow = false;
|
|
|
|
this.isShow = true
|
|
|
|
this.isShow = true
|
|
|
@ -578,7 +579,6 @@ export default {
|
|
|
|
this.subData = {advanceType: data.advanceType.toString(), spUse: false, parentCode: data.code};
|
|
|
|
this.subData = {advanceType: data.advanceType.toString(), spUse: false, parentCode: data.code};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
debugger
|
|
|
|
|
|
|
|
this.subFormVisible = true;
|
|
|
|
this.subFormVisible = true;
|
|
|
|
this.getSubThrsysDetailData();
|
|
|
|
this.getSubThrsysDetailData();
|
|
|
|
if (this.subData.parentCode != null && this.subData.parentCode != "") {
|
|
|
|
if (this.subData.parentCode != null && this.subData.parentCode != "") {
|
|
|
@ -592,7 +592,6 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
filterSubAll(this.query)
|
|
|
|
filterSubAll(this.query)
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
debugger
|
|
|
|
|
|
|
|
let invList = response.data || [];
|
|
|
|
let invList = response.data || [];
|
|
|
|
//上级仓库中去除当前仓库节点
|
|
|
|
//上级仓库中去除当前仓库节点
|
|
|
|
if (invList.length > 0) {
|
|
|
|
if (invList.length > 0) {
|
|
|
|