Commit 6d56b3e9 by LJM

PPD端取消到货登记后未刷新已登记列表

parent cb24aad4
Showing with 4 additions and 3 deletions
......@@ -262,7 +262,7 @@ export default {
* 获取列表数据
*/
getData() {
this.request(API.stockInMobileRegisterList, 'POST', { page: this.page, limit: this.limit, is_register: 1, ...this.searchParams }, false).then(res => {
this.request(API.stockInMobileRegisterList, 'POST', { page: this.page, limit: this.limit, is_register: 1, ...this.searchParams }, true).then(res => {
if (res.code === 0) {
if (res.data.total > 0) {
this.hasMoreData = true;
......@@ -328,9 +328,10 @@ export default {
icon: 'success'
});
setTimeout(() => {
this.getData();
this.closeDrawer();
this.filter_id = [];
this.resetChange();
this.closeDrawer();
this.getData();
}, 2000);
} else {
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