fix: 修复满减活动没有传递范围参数
parent
e5c25895a0
commit
c60a54b8f9
|
@ -447,11 +447,14 @@ export default {
|
||||||
delete params.promotionGoodsList;
|
delete params.promotionGoodsList;
|
||||||
params.number = -1;
|
params.number = -1;
|
||||||
} else {
|
} else {
|
||||||
|
let scopeId = [];
|
||||||
params.number = 1;
|
params.number = 1;
|
||||||
params.promotionGoodsList.forEach((e) => {
|
params.promotionGoodsList.forEach((e) => {
|
||||||
e.startTime = params.stratTime;
|
e.startTime = params.startTime;
|
||||||
e.endTime = params.endTime;
|
e.endTime = params.endTime;
|
||||||
|
scopeId.push(e.skuId);
|
||||||
});
|
});
|
||||||
|
params.scopeId = scopeId.toString();
|
||||||
}
|
}
|
||||||
if (params.discountType == "fullMinusFlag") {
|
if (params.discountType == "fullMinusFlag") {
|
||||||
params.fullMinusFlag = true;
|
params.fullMinusFlag = true;
|
||||||
|
|
Loading…
Reference in New Issue