fix: 修改错误状态

This commit is contained in:
zhangds 2024-04-10 23:00:14 +08:00
parent 76cfd8b401
commit 0efb985239
4 changed files with 4 additions and 4 deletions

View File

@ -344,7 +344,7 @@
// 部分失败 // 部分失败
if (self.goods.send_status === 4) { if (self.goods.send_status === 4) {
let all_product_length = res.data.product.length; let all_product_length = res.data.product.length;
let is_err_length = res.data.product.filter(item => item.voucher.status === 5).length; let is_err_length = res.data.product.filter(item => item.voucher.status === 9).length;
self.isOKLength = all_product_length - is_err_length; self.isOKLength = all_product_length - is_err_length;
self.isErrLength = is_err_length; self.isErrLength = is_err_length;
} }

View File

@ -344,7 +344,7 @@
// 部分失败 // 部分失败
if (self.goods.send_status === 4) { if (self.goods.send_status === 4) {
let all_product_length = res.data.product.length; let all_product_length = res.data.product.length;
let is_err_length = res.data.product.filter(item => item.voucher.status === 5).length; let is_err_length = res.data.product.filter(item => item.voucher.status === 9).length;
self.isOKLength = all_product_length - is_err_length; self.isOKLength = all_product_length - is_err_length;
self.isErrLength = is_err_length; self.isErrLength = is_err_length;
} }

View File

@ -343,7 +343,7 @@
// 部分失败 // 部分失败
if (self.goods.send_status === 4) { if (self.goods.send_status === 4) {
let all_product_length = res.data.product.length; let all_product_length = res.data.product.length;
let is_err_length = res.data.product.filter(item => item.voucher.status === 5).length; let is_err_length = res.data.product.filter(item => item.voucher.status === 9).length;
self.isOKLength = all_product_length - is_err_length; self.isOKLength = all_product_length - is_err_length;
self.isErrLength = is_err_length; self.isErrLength = is_err_length;
} }

View File

@ -343,7 +343,7 @@
// 部分失败 // 部分失败
if (self.goods.send_status === 4) { if (self.goods.send_status === 4) {
let all_product_length = res.data.product.length; let all_product_length = res.data.product.length;
let is_err_length = res.data.product.filter(item => item.voucher.status === 5).length; let is_err_length = res.data.product.filter(item => item.voucher.status === 9).length;
self.isOKLength = all_product_length - is_err_length; self.isOKLength = all_product_length - is_err_length;
self.isErrLength = is_err_length; self.isErrLength = is_err_length;
} }