Commit 8c931cf6 by LJM

修改分页limit:50,优化

parent ead2e5c7
Showing with 3 additions and 2 deletions
......@@ -153,7 +153,7 @@
is_submit: true,
input_flag: false,
page: 1,
limit: 500,
limit: 50,
index: 0,
array: ['入库批次号', '全量搜索'],
list: [],
......@@ -322,6 +322,7 @@
* 清空数据
*/
clearInput() {
this.resetChange();
this.input_flag = false;
if (this.is_batch) {
this.search_keyword = '';
......@@ -435,7 +436,7 @@
* 获取列表数据
*/
getData(callback) {
this.request(API.getPendingShelfByBatchSn, 'POST', { page: this.page, limit: this.limit, ...this.searchParams }, false).then(res => {
this.request(API.getPendingShelfByBatchSn, 'POST', { page: this.page, limit: this.limit, ...this.searchParams }, true).then(res => {
if (res.code === 0) {
if (res.data.total > 0) {
this.hasMoreData = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment