diff --git a/packkey/wx-combining.html b/packkey/wx-combining.html
index 1b2c037..e51a442 100644
--- a/packkey/wx-combining.html
+++ b/packkey/wx-combining.html
@@ -343,7 +343,12 @@
// 部分失败
if (self.goods.send_status === 4) {
- let all_product_voucher = res.data.product.filter(item => item.voucher);
+ let all_product_voucher = [];
+
+ new_data.product.forEach(item => {
+ all_product_voucher.concat(item.voucher)
+ })
+
console.log("all_product_voucher =>", all_product_voucher);
let is_err_length = all_product_voucher.filter(item => item.voucher.status === 9).length;
diff --git a/wx-combining.html b/wx-combining.html
index eeaf2df..2093af6 100644
--- a/wx-combining.html
+++ b/wx-combining.html
@@ -342,7 +342,12 @@
// 部分失败
if (self.goods.send_status === 4) {
- let all_product_voucher = res.data.product.filter(item => item.voucher);
+ let all_product_voucher = [];
+
+ new_data.product.forEach(item => {
+ all_product_voucher.concat(item.voucher)
+ })
+
console.log("all_product_voucher =>", all_product_voucher);
let is_err_length = all_product_voucher.filter(item => item.voucher.status === 9).length;