|
@@ -602,6 +602,7 @@ class CartModel |
|
@@ -602,6 +602,7 @@ class CartModel |
602
|
//传递相关参数
|
602
|
//传递相关参数
|
603
|
$param = array_merge(array('cartType' => $cartType, 'skuList' => $skuList), $jitInfo);
|
603
|
$param = array_merge(array('cartType' => $cartType, 'skuList' => $skuList), $jitInfo);
|
604
|
$result['jitDetailUrl'] = Helpers::url('/cart/index/jitDetail', $param);
|
604
|
$result['jitDetailUrl'] = Helpers::url('/cart/index/jitDetail', $param);
|
|
|
605
|
+ $result['packageTitle'] = $payReturn['shopping_cart_data']['package_title'];
|
605
|
}
|
606
|
}
|
606
|
$result['cartPayData'] = isset($orderCompute['promotion_formula_list']) ? $orderCompute['promotion_formula_list'] : $payReturn['shopping_cart_data']['promotion_formula_list'];
|
607
|
$result['cartPayData'] = isset($orderCompute['promotion_formula_list']) ? $orderCompute['promotion_formula_list'] : $payReturn['shopping_cart_data']['promotion_formula_list'];
|
607
|
$price = isset($orderCompute['last_order_amount']) ? $orderCompute['last_order_amount'] : $payReturn['shopping_cart_data']['last_order_amount'];
|
608
|
$price = isset($orderCompute['last_order_amount']) ? $orderCompute['last_order_amount'] : $payReturn['shopping_cart_data']['last_order_amount'];
|
|
@@ -1189,8 +1190,8 @@ class CartModel |
|
@@ -1189,8 +1190,8 @@ class CartModel |
1189
|
}
|
1190
|
}
|
1190
|
// 拆单数据
|
1191
|
// 拆单数据
|
1191
|
foreach ($packageList as $pk => $pv) {
|
1192
|
foreach ($packageList as $pk => $pv) {
|
1192
|
- $result['packages'][$pk]['packageType'] = $pk + 1;
|
|
|
1193
|
- $result['packages'][$pk]['dispatchType'] = ($pv['supplier_id'] == 0) ? '总仓发货' : '异地调拨'; //仓库
|
1193
|
+ $result['packages'][$pk]['packageType'] = '包裹' . ($pk + 1) . ':' . $pv['title'];
|
|
|
1194
|
+// $result['packages'][$pk]['dispatchType'] = $pv['title'];
|
1194
|
$goodList = $pv['goods_list'];
|
1195
|
$goodList = $pv['goods_list'];
|
1195
|
foreach ($goodList as $glk => $glv) {
|
1196
|
foreach ($goodList as $glk => $glv) {
|
1196
|
$result['packages'][$pk]['goods'][$glk]['thumb'] = Images::getImageUrl($glv['goods_images'], 235, 314);
|
1197
|
$result['packages'][$pk]['goods'][$glk]['thumb'] = Images::getImageUrl($glv['goods_images'], 235, 314);
|