Showing
1 changed file
with
2 additions
and
1 deletions
@@ -778,7 +778,8 @@ class CartModel | @@ -778,7 +778,8 @@ class CartModel | ||
778 | if ($isMulti) { | 778 | if ($isMulti) { |
779 | $packageList = $cartInfo['package_list']; | 779 | $packageList = $cartInfo['package_list']; |
780 | foreach ($packageList as $pk => $pv) { | 780 | foreach ($packageList as $pk => $pv) { |
781 | - $packages[$pk]['title'] = ($pv['supplier_id'] == 0) ? '包裹1:总仓库' : '包裹2:异地调拨'; //仓库 | 781 | + $pIndex = $pk+1; |
782 | + $packages[$pk]['title'] = ($pv['supplier_id'] == 0) ? '包裹'.$pIndex.':总仓库' : '包裹'.$pIndex.':异地调拨'; //仓库 | ||
782 | $goodList = $pv['goods_list']; | 783 | $goodList = $pv['goods_list']; |
783 | foreach ($goodList as $glk => $glv) { | 784 | foreach ($goodList as $glk => $glv) { |
784 | $packages[$pk]['goodlist'][$glk]['src'] = Images::getImageUrl($glv['goods_images'], 90, 90); | 785 | $packages[$pk]['goodlist'][$glk]['src'] = Images::getImageUrl($glv['goods_images'], 90, 90); |
-
Please register or login to post a comment