Commit 0953b476 by LJM

add

parent e3a5cd02
Showing with 10 additions and 2 deletions
...@@ -657,7 +657,7 @@ ...@@ -657,7 +657,7 @@
filter_id: [], //过滤处理的id filter_id: [], //过滤处理的id
company_id: uni.getStorageSync('company_id') || 1, //公司组织 company_id: uni.getStorageSync('company_id') || 1, //公司组织
page: 1, page: 1,
limit: 1000, limit: 100,
curr: 0, curr: 0,
itemArr: ['按货品拣货', '按容器拣货'], itemArr: ['按货品拣货', '按容器拣货'],
list: [], list: [],
...@@ -759,6 +759,14 @@ ...@@ -759,6 +759,14 @@
this.old_Label = e.detail.value; this.old_Label = e.detail.value;
} else { } else {
this.is_batch = e.detail.value; this.is_batch = e.detail.value;
//批量模式下分页显示为20条
if (this.is_batch) {
this.limit = 20;
} else {
this.limit = 100;
}
//重置相关数据 //重置相关数据
this.history_id = []; this.history_id = [];
this.list = []; this.list = [];
...@@ -828,7 +836,7 @@ ...@@ -828,7 +836,7 @@
content: msg, content: msg,
confirmText: '关闭', confirmText: '关闭',
showCancel: false, showCancel: false,
success: res => { success: () => {
let index_history_id = this.history_id.indexOf(val); let index_history_id = this.history_id.indexOf(val);
this.history_id.splice(index_history_id, 1); this.history_id.splice(index_history_id, 1);
......
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