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;