This commit is contained in:
zhouxinyu1029 2024-04-12 21:09:04 +08:00
parent 9d297db92c
commit f01b2e64b3
1 changed files with 26 additions and 20 deletions

View File

@ -340,6 +340,10 @@
// send_status 1发放中2全部成功 3全部失败4部分失败 5未领取
self.popMsg = self.goods.send_status === 2 || self.goods.send_status === 3 || self.goods.send_status === 4 ? true : false;
if (self.goods.send_status === 2 || self.goods.send_status === 3) {
clearInterval(self.timeGet);
self.timeGet = null;
}
// 部分失败
if (self.goods.send_status === 4) {
let all_product_voucher = [];
@ -350,6 +354,8 @@
let is_err_length = all_product_voucher.filter(item => item.status === 9).length;
self.isOKLength = all_product_voucher.length - is_err_length;
self.isErrLength = is_err_length;
clearInterval(self.timeGet);
self.timeGet = null;
}
// 1.发放中 轮循
if (res.data.send_status === 1) {