修改 编辑仓库 只筛选出自己的上级仓库

prod
wangwei 2 years ago
parent 9edca47d15
commit 507f2965bd

@ -559,6 +559,7 @@ export default {
if (formName === "edit") {
this.subData = JSON.parse(JSON.stringify(data));
this.subData.advanceType = this.subData.advanceType.toString();
this.query.advanceType=1;
if (this.subData.parentCode != null && this.subData.parentCode != "") {
this.isAdvanceTypeShow = true;
this.isShow = false;
@ -612,6 +613,7 @@ export default {
},
hideForm() { // ---
this.query.advanceType=null;
this.formVisible = false;
this.subFormVisible = false;
this.resetForm();
@ -628,6 +630,7 @@ export default {
}
},
forInvSubmit() { // ---
this.subData.advanceType=1;
this.$refs["dataForm"].validate(valid => {
if (valid) {
saveSubWarehouse(this.subData, this.formName).then((response) => {

Loading…
Cancel
Save