Commit 68021581 by LJM

移动端--按货品上架--批量扫描模式上架完成,已操作上架任务未去掉还保留着

parent b7ac2d11
Showing with 3 additions and 10 deletions
...@@ -200,10 +200,7 @@ ...@@ -200,10 +200,7 @@
// 重置全局变量或执行其他操作 // 重置全局变量或执行其他操作
getApp().globalData.fromPage = null; getApp().globalData.fromPage = null;
//再次获取焦点 //再次获取焦点
that.is_focus = false; this.clearInputAndFocus();
setTimeout(() => {
that.is_focus = true;
}, 1000);
} }
this.resetChange(); this.resetChange();
this.getData(); this.getData();
...@@ -550,20 +547,16 @@ ...@@ -550,20 +547,16 @@
icon: 'success' icon: 'success'
}); });
setTimeout(() => { setTimeout(() => {
this.resetChange(); //清空
this.filter_id = []; this.filter_id = [];
this.formParams.position_code = ''; //清空一键上架输入的库位 this.formParams.position_code = ''; //清空一键上架输入的库位
this.is_submit = true; this.is_submit = true;
this.search_keyword = ''; this.search_keyword = '';
this.searchParams.search_keyword = ''; this.searchParams.search_keyword = '';
this.history_id = []; this.history_id = [];
this.closeDrawer(); this.closeDrawer();
this.getData(); this.getData();
//再次获取焦点 this.clearInputAndFocus(); //再次获取焦点
this.is_focus = false;
setTimeout(() => {
this.is_focus = true;
}, 500);
}, 2000); }, 2000);
} else { } else {
uni.showModal({ uni.showModal({
......
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