fix: 修复轮循

This commit is contained in:
zhangds 2024-04-10 23:43:58 +08:00
parent 9402c600b9
commit 7d4115c6aa
4 changed files with 12 additions and 12 deletions

View File

@ -412,17 +412,17 @@
if (el) {
// 存储错误
el.voucher.forEach(row => {
el.order_voucher.forEach(row => {
if (row.receive_error !== "") {
all_err.push(row.receive_error);
}
});
// 合并所有数组 用于判断最终状态
new_voucher_all = new_voucher_all.concat(el.voucher);
new_voucher_all = new_voucher_all.concat(el.order_voucher);
// 替换 voucher
old_product_all[i].voucher = el.voucher;
old_product_all[i].voucher = el.order_voucher;
}
}

View File

@ -412,17 +412,17 @@
if (el) {
// 存储错误
el.voucher.forEach(row => {
el.order_voucher.forEach(row => {
if (row.receive_error !== "") {
all_err.push(row.receive_error);
}
});
// 合并所有数组 用于判断最终状态
new_voucher_all = new_voucher_all.concat(el.voucher);
new_voucher_all = new_voucher_all.concat(el.order_voucher);
// 替换 voucher
old_product_all[i].voucher = el.voucher;
old_product_all[i].voucher = el.order_voucher;
}
}

View File

@ -398,17 +398,17 @@
if (el) {
// 存储错误
el.voucher.forEach(row => {
el.order_voucher.forEach(row => {
if (row.receive_error !== "") {
all_err.push(row.receive_error);
}
});
// 合并所有数组 用于判断最终状态
new_voucher_all = new_voucher_all.concat(el.voucher);
new_voucher_all = new_voucher_all.concat(el.order_voucher);
// 替换 voucher
old_product_all[i].voucher = el.voucher;
old_product_all[i].voucher = el.order_voucher;
}
}

View File

@ -399,17 +399,17 @@
if (el) {
// 存储错误
el.voucher.forEach(row => {
el.order_voucher.forEach(row => {
if (row.receive_error !== "") {
all_err.push(row.receive_error);
}
});
// 合并所有数组 用于判断最终状态
new_voucher_all = new_voucher_all.concat(el.voucher);
new_voucher_all = new_voucher_all.concat(el.order_voucher);
// 替换 voucher
old_product_all[i].voucher = el.voucher;
old_product_all[i].voucher = el.order_voucher;
}
}