...
|
...
|
@@ -366,9 +366,12 @@ let goodObj = { |
|
|
},
|
|
|
url;
|
|
|
|
|
|
// 套餐需要 activity_id
|
|
|
// 套餐需要 activity_id batch_no
|
|
|
if (data.activity_id) {
|
|
|
Object.assign(goodData, {activity_id: data.activity_id});
|
|
|
Object.assign(goodData, {
|
|
|
activity_id: data.activity_id,
|
|
|
batch_no: data.batch_no
|
|
|
});
|
|
|
}
|
|
|
|
|
|
if (promotionId) {
|
...
|
...
|
@@ -492,6 +495,7 @@ let goodObj = { |
|
|
promotionId;
|
|
|
let isSelected = $(e.delegateTarget).find('.chk.select').hasClass('checked');
|
|
|
let activityId = $(e.delegateTarget).data('activityid');
|
|
|
let batchNo = $(e.delegateTarget).data('poolbatchno');
|
|
|
|
|
|
id = $(e.delegateTarget).data('id');
|
|
|
count = $(e.delegateTarget).find('.good-num').val();
|
...
|
...
|
@@ -517,7 +521,10 @@ let goodObj = { |
|
|
|
|
|
// 套餐需要传 activityId
|
|
|
if (activityId) {
|
|
|
Object.assign(data, {activity_id: activityId});
|
|
|
Object.assign(data, {
|
|
|
activity_id: activityId,
|
|
|
batch_no: batchNo
|
|
|
});
|
|
|
}
|
|
|
self.showEditPannelWithSku(data, id, isSelected, canEditNum, promotionId, e);
|
|
|
},
|
...
|
...
|
|