Commit 8adac34e by LJM

add

parent 094a0da5
...@@ -546,7 +546,10 @@ ...@@ -546,7 +546,10 @@
content: '打印成功,请查看打印机', content: '打印成功,请查看打印机',
showCancel: false showCancel: false
}); });
this.updateTagPrintTimes(this.box_sn);
setTimeout(() => {
this.updateTagPrintTimes(this.box_sn);
}, 2000)
} else { } else {
uni.showToast({ uni.showToast({
title: res.err_msg, title: res.err_msg,
......
...@@ -379,8 +379,8 @@ ...@@ -379,8 +379,8 @@
title: '打印箱号成功', title: '打印箱号成功',
icon: 'success' icon: 'success'
}) })
this.updateTagPrintTimes(data.join(','));
setTimeout(() => { setTimeout(() => {
this.updateTagPrintTimes(data.join(','));
this.close(); this.close();
this.flag = false; this.flag = false;
this.resetChange(); this.resetChange();
......
...@@ -1250,8 +1250,8 @@ ...@@ -1250,8 +1250,8 @@
title: '打印箱号成功', title: '打印箱号成功',
icon: 'success' icon: 'success'
}) })
this.updateTagPrintTimes(data.join(','));
setTimeout(() => { setTimeout(() => {
this.updateTagPrintTimes(data.join(','));
this.close(); this.close();
}, 2000) }, 2000)
} else { } else {
......
...@@ -42,7 +42,9 @@ ...@@ -42,7 +42,9 @@
content: '打印成功,请查看打印机', content: '打印成功,请查看打印机',
showCancel: false showCancel: false
}); });
this.updateTagPrintTimes(this.box_sn); setTimeout(() => {
this.updateTagPrintTimes(this.box_sn);
}, 2000)
} else { } else {
uni.showToast({ uni.showToast({
title: res.err_msg, title: res.err_msg,
......
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