Authored by hf

code review by hf: fixes bug refs YW-1720

@@ -196,7 +196,7 @@ class DetailModel @@ -196,7 +196,7 @@ class DetailModel
196 ); 196 );
197 $colorStorageNum += intval($size['goodsSizeStorageNum']); 197 $colorStorageNum += intval($size['goodsSizeStorageNum']);
198 $sizeStorageStr .= $size['goodsSizeStorageNum'] . '/'; 198 $sizeStorageStr .= $size['goodsSizeStorageNum'] . '/';
199 - $colorStorageGroup[$size['sizeName']][$value['colorId']] = $size['goodsSizeStorageNum']; 199 + $colorStorageGroup[$size['sizeName']][$value['productSkc']] = $size['goodsSizeStorageNum'];
200 } 200 }
201 201
202 // 颜色分组 202 // 颜色分组