Authored by 郭成尧

Merge branch 'feature/jitmodified' into release/5.4.1

... ... @@ -14,7 +14,7 @@
}
.help {
padding: 30px 30px;
font-size: 26px;
font-size: 20px;
line-height: 1.5;
color: #444;
}
... ...
... ... @@ -15,6 +15,9 @@
.top {
margin-bottom: 1PX;
font-size: 34px;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
.bottom {
... ...
... ... @@ -2,8 +2,9 @@
<div class="jit-detail-page yoho-page">
{{#each packages}}
<div class="top">
<span class="package-type">包裹{{packageType}}:</span>
<span class="package-title">{{dispatchType}}</span>
{{packageType}}
<!-- <span class="package-type">包裹{{packageType}}:</span>-->
<!-- <span class="package-title">{{dispatchType}}</span>-->
</div>
<div class="middle">
<div class="swiper-container">
... ...
<section class="block more-jit">
<a href="{{jitDetailUrl}}">
<div class="more-jit">
<span>商品需要分仓调拨</span>
<span>{{packageTitle}}</span>
<span class="iconfont icon-right-arrow">&#xe614;</span>
</div>
</a>
... ...
... ... @@ -602,6 +602,7 @@ class CartModel
//传递相关参数
$param = array_merge(array('cartType' => $cartType, 'skuList' => $skuList), $jitInfo);
$result['jitDetailUrl'] = Helpers::url('/cart/index/jitDetail', $param);
$result['packageTitle'] = $payReturn['shopping_cart_data']['package_title'];
}
$result['cartPayData'] = isset($orderCompute['promotion_formula_list']) ? $orderCompute['promotion_formula_list'] : $payReturn['shopping_cart_data']['promotion_formula_list'];
$price = isset($orderCompute['last_order_amount']) ? $orderCompute['last_order_amount'] : $payReturn['shopping_cart_data']['last_order_amount'];
... ... @@ -1189,8 +1190,8 @@ class CartModel
}
// 拆单数据
foreach ($packageList as $pk => $pv) {
$result['packages'][$pk]['packageType'] = $pk + 1;
$result['packages'][$pk]['dispatchType'] = ($pv['supplier_id'] == 0) ? '总仓发货' : '异地调拨'; //仓库
$result['packages'][$pk]['packageType'] = '包裹' . ($pk + 1) . ':' . $pv['title'];
// $result['packages'][$pk]['dispatchType'] = $pv['title'];
$goodList = $pv['goods_list'];
foreach ($goodList as $glk => $glv) {
$result['packages'][$pk]['goods'][$glk]['thumb'] = Images::getImageUrl($glv['goods_images'], 235, 314);
... ...