diff --git a/src/views/inventory/DialogInvProduct.vue b/src/views/inventory/DialogInvProduct.vue index 67fc741..bdebe4a 100644 --- a/src/views/inventory/DialogInvProduct.vue +++ b/src/views/inventory/DialogInvProduct.vue @@ -109,7 +109,7 @@ export default { relIdFk: null, batchNo: null, page: 1, - limit: 20, + limit: 10, customerId: null, supId: null, unitFk: null, @@ -154,12 +154,13 @@ export default { unitFk: null, supId: null, page: 1, - limit: 20, + limit: 10, }; this.getList(); }, onSubmit() { this.loading = true; + this.filterQuery.page = 1; this.getList(); }, handleSizeChange(val) { @@ -183,7 +184,6 @@ export default { this.filterQuery.customerId = store.getters.customerId; filterProducts(this.filterQuery) .then((response) => { - console.log(response) this.showSup = response.data.showSup; this.loading = false; this.list = response.data.list || []; @@ -231,7 +231,6 @@ export default { }); }, findMethod(query) { - console.log(query); this.fromOptions = []; let cQuery = { key: query, diff --git a/src/views/warehouse/stockOrderNewSelectProduct.vue b/src/views/warehouse/stockOrderNewSelectProduct.vue index 2b48e48..b079843 100644 --- a/src/views/warehouse/stockOrderNewSelectProduct.vue +++ b/src/views/warehouse/stockOrderNewSelectProduct.vue @@ -38,7 +38,7 @@ - 查询 + 查询 确定 @@ -112,6 +112,7 @@ @current-change="handleErpPageChange" layout="prev, pager, next" :total="pageTotal" + :current-page="listQuery.page" > @@ -241,7 +242,6 @@ export default { this.getList(); }, handleChange(val) { - console.log(val); this.currentRow = val; }, handleDetailClick(row) { @@ -258,12 +258,15 @@ export default { this.getList(); event.target.select(); }, + search() { + this.listQuery.page = 1; + this.getList(); + }, getList() { this.loading = true; this.listQuery.customerId = store.getters.customerId; stockOrderDetailFilterProduct(this.listQuery) .then((response) => { - console.log(response) this.loading = false; if (response.code === 20000) { this.dataList = response.data.list || []; @@ -292,7 +295,6 @@ export default { let ids = []; selection.forEach((obj, index) => { - console.log("obj:===" + obj + "==" + obj.relIdFk) let data = { relId: obj.rlId, }