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