diff --git a/src/views/basic/invWarehouse.vue b/src/views/basic/invWarehouse.vue index 3a8691a..4ea7707 100644 --- a/src/views/basic/invWarehouse.vue +++ b/src/views/basic/invWarehouse.vue @@ -1610,7 +1610,7 @@ export default { }, intentSelect(row) { - if (row != null) + if (row != null && row.sysId != undefined) this.currentSysId = row.sysId; //加载第三方仓库数据 this.thirdQuery.thirdSysFk = this.currentSysId; diff --git a/src/views/business/stockOrderNewDistribution.vue b/src/views/business/stockOrderNewDistribution.vue index f69b31b..fe15ff5 100644 --- a/src/views/business/stockOrderNewDistribution.vue +++ b/src/views/business/stockOrderNewDistribution.vue @@ -164,7 +164,7 @@ - +
当前仓库: @@ -247,7 +247,7 @@ - +
diff --git a/src/views/business/stockOrderSearch.vue b/src/views/business/stockOrderSearch.vue index f78eaae..2bbaae9 100644 --- a/src/views/business/stockOrderSearch.vue +++ b/src/views/business/stockOrderSearch.vue @@ -699,7 +699,7 @@ export default { } }, detailHandleCurrentChange(val) { - this.query.page = val; + this.detailQuery.page = val; this.getStockOrderDetailList(); }, // 刷新表单 diff --git a/src/views/business/stockOrderWaitCheck.vue b/src/views/business/stockOrderWaitCheck.vue index e0a0d02..bf21e55 100644 --- a/src/views/business/stockOrderWaitCheck.vue +++ b/src/views/business/stockOrderWaitCheck.vue @@ -504,7 +504,7 @@ export default { this.getList(); }, detailHandleCurrentChange(val) { - this.query.page = val; + this.detailQuery.page = val; this.getStockOrderDetailList(); }, // 刷新表单 diff --git a/src/views/inventory/InvPreInProductsDetail.vue b/src/views/inventory/InvPreInProductsDetail.vue index fba3ae4..c015a27 100644 --- a/src/views/inventory/InvPreInProductsDetail.vue +++ b/src/views/inventory/InvPreInProductsDetail.vue @@ -170,6 +170,7 @@ export default { path: "", query: this.query, }); + this.query.page = 1; this.getCodeList(); }, handleSizeChange(val) { diff --git a/src/views/thrsys/ThrInvWarehouse.vue b/src/views/thrsys/ThrInvWarehouse.vue index 2132d06..f25ba0e 100644 --- a/src/views/thrsys/ThrInvWarehouse.vue +++ b/src/views/thrsys/ThrInvWarehouse.vue @@ -481,6 +481,7 @@ export default { // 显示表单 handleForm(node, data, formName) { this.formVisible = true; + this.resetForm(); let no = Math.floor(Math.random() * 10000000) this.pidData = data || null; formJson.pid = (data && parseInt(data.id)) || ""; @@ -689,7 +690,6 @@ export default { getBasicThirdSys(query) .then((response) => { this.thirdSys = response.data.list || []; - this.query.thirdSysFk = this.thirdSys[0].thirdId; this.getThirdSysDetail(); }) .catch(() => { diff --git a/src/views/thrsys/thrOrderNew.vue b/src/views/thrsys/thrOrderNew.vue index 33b2bac..67caa87 100644 --- a/src/views/thrsys/thrOrderNew.vue +++ b/src/views/thrsys/thrOrderNew.vue @@ -526,7 +526,6 @@ export default { filterAllByUser() .then((response) => { this.storageList = response.data || []; - this.findSubInvs(); }) .catch(() => { }); @@ -947,6 +946,7 @@ export default { this.$forceUpdate(); this.getBusType(item); this.findStorageMethod(); + this.findSubInvs(); }, findSubInvs() { this.subInvList = [];