Commit ecebdf9e by LJM

打印效果优化

parent 09e4cd70
Showing with 8 additions and 15 deletions
......@@ -802,24 +802,17 @@
});
return false;
}
this.request(API.padTallyPrint, 'POST', { tally_ids: this.filter_id.join(','), warehouse_id: warehouse_id.join(',') }, true).then(res => {
uni.showLoading({
title: '正在打印中...'
});
if (res.code === 0) {
uni.showToast({
title: '打印成功',
icon: 'success'
});
setTimeout(() => {
uni.hideLoading();
uni.showToast({
title: '打印成功',
icon: 'success'
});
setTimeout(() => {
this.resetChange();
this.filter_id = [];
this.getData();
}, 2000)
}, 5000);
this.resetChange();
this.filter_id = [];
this.getData();
}, 2000)
} else {
uni.showModal({
title: '提示',
......
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