Commit 474d5337 by LJM

bug

parent 4b355020
Showing with 5 additions and 12 deletions
......@@ -2,7 +2,7 @@
"name" : "wms",
"appid" : "__UNI__655E80D",
"description" : "供应链仓储App",
"versionName" : "2.2.4",
"versionName" : "2.2.5",
"versionCode" : 100000000,
"transformPx" : false,
/* 5+App特有相关 */
......
......@@ -240,7 +240,7 @@
input_flag: false,
input_position: false,
page: 1,
limit: 100,
limit: 200,
index: 0,
list: [],
info: {},
......@@ -252,13 +252,6 @@
}
};
},
onReachBottom() {
if (!this.hasMoreData) {
return;
}
this.page++;
this.getData();
},
onNavigationBarButtonTap(e) {
console.log(e);
if (e.index == 0) {
......@@ -284,7 +277,6 @@
* 清空数据
*/
clearInput(type) {
this.resetChange();
if (type == 1) {
//容器
this.input_flag = false;
......@@ -293,6 +285,7 @@
//库位
this.input_position = false;
this.searchParams.position_code = '';
this.is_submit = true;
this.clearInputAndFocus(); //再次获取焦点
}
this.getData();
......@@ -303,7 +296,6 @@
*/
handleInput: debounce(function(type, event) {
var val = event.target.value;
this.resetChange();
if (val) {
if (type == 1) {
this.searchParams.container_sn = val;
......@@ -396,7 +388,9 @@
icon: 'success'
});
setTimeout(() => {
this.resetChange();
this.getData();
this.clearInputAndFocus();
}, 2000);
} else {
uni.showModal({
......@@ -411,7 +405,6 @@
* 重置
*/
resetChange() {
this.filter_id = []; //清空选中状态
this.list = [];
this.page = 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