Authored by shuaiguo

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

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