Authored by shuaiguo

fix(购物车): 修改尺码和颜色

... ... @@ -83,6 +83,7 @@ ColorPanelAction = {
var promotionId = $item.data('promotionid');
var poolId = $item.data('pool-id');
var batchNo = $item.data('batch-no');
var poolType = $item.data('pool-type');
// 没有重新选择颜色-尺码,则不用重新请求显示
if (!oldSku || !newSku || oldSku === newSku) {
... ... @@ -103,7 +104,7 @@ ColorPanelAction = {
};
// 套餐编辑尺码
if (poolId) {
if (poolId && +poolType === 3) {
$.extend(swapData, {
activity_id: poolId,
batch_no: batchNo
... ...