入账库切换上级仓库时,会显示预验收与寄售的仓库

dev
薛宇 2 years ago
parent ce01d6086d
commit 5e3900dc1c

@ -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) {

Loading…
Cancel
Save