fix: 修改部分失败
This commit is contained in:
parent
f14d17cf95
commit
616a786c9f
|
@ -343,7 +343,12 @@
|
||||||
|
|
||||||
// 部分失败
|
// 部分失败
|
||||||
if (self.goods.send_status === 4) {
|
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);
|
console.log("all_product_voucher =>", all_product_voucher);
|
||||||
|
|
||||||
let is_err_length = all_product_voucher.filter(item => item.voucher.status === 9).length;
|
let is_err_length = all_product_voucher.filter(item => item.voucher.status === 9).length;
|
||||||
|
|
|
@ -342,7 +342,12 @@
|
||||||
|
|
||||||
// 部分失败
|
// 部分失败
|
||||||
if (self.goods.send_status === 4) {
|
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);
|
console.log("all_product_voucher =>", all_product_voucher);
|
||||||
|
|
||||||
let is_err_length = all_product_voucher.filter(item => item.voucher.status === 9).length;
|
let is_err_length = all_product_voucher.filter(item => item.voucher.status === 9).length;
|
||||||
|
|
Loading…
Reference in New Issue