fix: 部分失败
This commit is contained in:
parent
ee0bf1aa22
commit
e2a99a8e53
|
@ -343,9 +343,11 @@
|
|||
|
||||
// 部分失败
|
||||
if (self.goods.send_status === 4) {
|
||||
let all_product_length = res.data.product.length;
|
||||
let is_err_length = res.data.product.filter(item => item.voucher.status === 9).length;
|
||||
self.isOKLength = all_product_length - is_err_length;
|
||||
let all_product_voucher = res.data.product.filter(item => item.voucher);
|
||||
console.log("all_product_voucher =>", all_product_voucher);
|
||||
|
||||
let is_err_length = all_product_voucher.filter(item => item.voucher.status === 9).length;
|
||||
self.isOKLength = all_product_voucher.length - is_err_length;
|
||||
self.isErrLength = is_err_length;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue