组合立即领取
This commit is contained in:
parent
9a2af6e202
commit
58263a3524
|
@ -417,7 +417,7 @@
|
||||||
voucher: {
|
voucher: {
|
||||||
denomination: item.voucher.denomination,
|
denomination: item.voucher.denomination,
|
||||||
reduce_amount: item.voucher.reduce_amount,
|
reduce_amount: item.voucher.reduce_amount,
|
||||||
status: el.order_voucher.length ? self.statusSort(el.order_voucher)[0] : 1,
|
status: el.order_voucher.length ? self.statusSort(el.order_voucher)[0] : item.voucher.status,
|
||||||
num: el.order_voucher.length ? self.statusSort(el.order_voucher)[1] : item.voucher.num,
|
num: el.order_voucher.length ? self.statusSort(el.order_voucher)[1] : item.voucher.num,
|
||||||
send_num: el.order_voucher.length ? el.order_voucher.length : item.voucher.send_num,
|
send_num: el.order_voucher.length ? el.order_voucher.length : item.voucher.send_num,
|
||||||
}
|
}
|
||||||
|
@ -470,9 +470,11 @@
|
||||||
// 领取失败数,小于全部数量 -> send_status 4 部分失败
|
// 领取失败数,小于全部数量 -> send_status 4 部分失败
|
||||||
// 错误去重
|
// 错误去重
|
||||||
self.goods.err_msg = [...new Set(all_err)];
|
self.goods.err_msg = [...new Set(all_err)];
|
||||||
|
if(self.goods.period_type != 2 && self.goods.period_type != 3) {
|
||||||
self.isOKLength = product_all.length - errLength.length;
|
self.isOKLength = product_all.length - errLength.length;
|
||||||
self.isErrLength = errLength.length;
|
self.isErrLength = errLength.length;
|
||||||
self.goods.send_status = 4;
|
self.goods.send_status = 4;
|
||||||
|
}
|
||||||
|
|
||||||
self.popMsg = true;
|
self.popMsg = true;
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -419,7 +419,7 @@
|
||||||
voucher: {
|
voucher: {
|
||||||
denomination: item.voucher.denomination,
|
denomination: item.voucher.denomination,
|
||||||
reduce_amount: item.voucher.reduce_amount,
|
reduce_amount: item.voucher.reduce_amount,
|
||||||
status: el.order_voucher.length ? self.statusSort(el.order_voucher)[0] : 1,
|
status: el.order_voucher.length ? self.statusSort(el.order_voucher)[0] : item.voucher.status,
|
||||||
num: el.order_voucher.length ? self.statusSort(el.order_voucher)[1] : item.voucher.num,
|
num: el.order_voucher.length ? self.statusSort(el.order_voucher)[1] : item.voucher.num,
|
||||||
send_num: el.order_voucher.length ? el.order_voucher.length : item.voucher.send_num,
|
send_num: el.order_voucher.length ? el.order_voucher.length : item.voucher.send_num,
|
||||||
}
|
}
|
||||||
|
@ -472,9 +472,11 @@
|
||||||
// 领取失败数,小于全部数量 -> send_status 4 部分失败
|
// 领取失败数,小于全部数量 -> send_status 4 部分失败
|
||||||
// 错误去重
|
// 错误去重
|
||||||
self.goods.err_msg = [...new Set(all_err)];
|
self.goods.err_msg = [...new Set(all_err)];
|
||||||
|
if(self.goods.period_type != 2 && self.goods.period_type != 3) {
|
||||||
self.isOKLength = product_all.length - errLength.length;
|
self.isOKLength = product_all.length - errLength.length;
|
||||||
self.isErrLength = errLength.length;
|
self.isErrLength = errLength.length;
|
||||||
self.goods.send_status = 4;
|
self.goods.send_status = 4;
|
||||||
|
}
|
||||||
|
|
||||||
self.popMsg = true;
|
self.popMsg = true;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue