From b4b6e58cf98eccaa2572aaa491eb43d68c6b3bc6 Mon Sep 17 00:00:00 2001 From: x_z Date: Wed, 3 Aug 2022 17:34:28 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E5=BC=82=E5=B8=B8=E5=8D=95?= =?UTF-8?q?=E6=8D=AE=E8=AF=A6=E6=83=85=E6=95=B0=E9=87=8F=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98=202.=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=B8=80=E4=BA=9B=E9=A1=B5=E9=9D=A2=E7=9A=84=E5=88=86=E9=A1=B5?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inventory/invPreInProducts.vue | 3 +-- src/views/warehouse/IOCheckErrOrder.vue | 4 ++-- src/views/warehouse/errorCode.vue | 2 +- src/views/warehouse/stockOrderDelSearch.vue | 4 +--- src/views/warehouse/stockOrderNew.vue | 2 ++ src/views/warehouse/stockOrderSearch.vue | 4 +--- 6 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/views/inventory/invPreInProducts.vue b/src/views/inventory/invPreInProducts.vue index 0c27593..d6ddc9f 100644 --- a/src/views/inventory/invPreInProducts.vue +++ b/src/views/inventory/invPreInProducts.vue @@ -207,6 +207,7 @@ export default { }, onSubmit() { this.loading = true; + this.filterQuery.page = 1; this.getList(); }, handleSizeChange(val) { @@ -233,7 +234,6 @@ export default { this.filterQuery.customerId = store.getters.customerId; filterProducts(this.filterQuery) .then((response) => { - console.log(response) this.loading = false; this.showSup = response.data.showSup; this.list = response.data.list || []; @@ -311,7 +311,6 @@ export default { }); }, findMethod(query) { - console.log(query); this.fromOptions = []; let cQuery = { key: query, diff --git a/src/views/warehouse/IOCheckErrOrder.vue b/src/views/warehouse/IOCheckErrOrder.vue index 7e2e8a5..7c47f02 100644 --- a/src/views/warehouse/IOCheckErrOrder.vue +++ b/src/views/warehouse/IOCheckErrOrder.vue @@ -308,13 +308,13 @@ > diff --git a/src/views/warehouse/errorCode.vue b/src/views/warehouse/errorCode.vue index a11868d..ced106c 100644 --- a/src/views/warehouse/errorCode.vue +++ b/src/views/warehouse/errorCode.vue @@ -232,6 +232,7 @@ export default { path: "", query: this.query, }); + this.query.page = 1; this.getCodeList(); }, handleSizeChange(val) { @@ -280,7 +281,6 @@ export default { getCodeList() { this.loading = true; this.query.orderId = this.idQuery.id; - console.log(this.idQuery.id) errorCodeList(this.query) //查找该单号下的所有条码 .then((response) => { this.loading = false; diff --git a/src/views/warehouse/stockOrderDelSearch.vue b/src/views/warehouse/stockOrderDelSearch.vue index 34497ec..20a48f4 100644 --- a/src/views/warehouse/stockOrderDelSearch.vue +++ b/src/views/warehouse/stockOrderDelSearch.vue @@ -689,9 +689,7 @@ export default { .then((response) => { this.detailLoading = false; this.detailList = response.data.list || []; - /*this.detailList.forEach(data => { - data['edit'] = false; - });*/ + this.detailTotal = response.data.total; }) .catch(() => { this.detailLoading = false; diff --git a/src/views/warehouse/stockOrderNew.vue b/src/views/warehouse/stockOrderNew.vue index 1f2eab9..c842466 100644 --- a/src/views/warehouse/stockOrderNew.vue +++ b/src/views/warehouse/stockOrderNew.vue @@ -600,6 +600,7 @@ export default { this.query.startTime = null; this.query.endTime = null; } + this.query.page = 1; this.getList(); if (this.query.status === "502") { this.haveNewDistributionVisible = true; @@ -702,6 +703,7 @@ export default { .then((response) => { this.detailLoading = false; this.detailList = response.data.list || []; + this.detailTotal = response.data.total; }) .catch(() => { this.detailLoading = false; diff --git a/src/views/warehouse/stockOrderSearch.vue b/src/views/warehouse/stockOrderSearch.vue index e6e9e35..b2e8eca 100644 --- a/src/views/warehouse/stockOrderSearch.vue +++ b/src/views/warehouse/stockOrderSearch.vue @@ -618,7 +618,6 @@ export default { }, handleEdit(index, row) { this.currentCheckIndex = index; - console.log(this.currentCheckIndex) }, handleSave(index, row) { this.currentCheckIndex = -1; @@ -635,7 +634,6 @@ export default { row.forEach((item) => { _this.multipId.push(item.id); }) - console.log(this.multipId); }, batchSetParams(flag, type) { if (flag == '1' && type == 'salesListNo') { @@ -807,9 +805,9 @@ export default { this.detailLoading = true; stockOrderDetail(this.detailQuery) .then((response) => { - console.log(response) this.detailLoading = false; this.detailList = response.data.list || []; + this.detailTotal = response.data.total; }) .catch(() => { this.detailLoading = false;