Authored by 郭成尧

jit-detail-url

@@ -288,10 +288,17 @@ const orderDetailData = (uid, orderCode) => { @@ -288,10 +288,17 @@ const orderDetailData = (uid, orderCode) => {
288 288
289 // 为支付的拆单配送信息 289 // 为支付的拆单配送信息
290 if (orderDetail.isMultiPackage && orderDetail.isMultiPackage === 'Y') { 290 if (orderDetail.isMultiPackage && orderDetail.isMultiPackage === 'Y') {
291 - orderDetail = _.assign(orderDetail, {  
292 - isJit: true 291 + let jitInfo = {
  292 + deliveryId: orderDetail.deliveryId,
  293 + paymentType: orderDetail.paymentType,
  294 + couponCode: orderDetail.couponCode,
  295 + yohoCoin: orderDetail.yohoCoin,
  296 + cartType: 'ordinary'
  297 + };
293 298
294 - // jitDetailUrl: '/cart/index/jitDetailUrl' 299 + orderDetail = _.assign(orderDetail, {
  300 + isJit: true,
  301 + jitDetailUrl: helpers.urlFormat('/cart/index/new/jitDetail', jitInfo)
295 }); 302 });
296 } 303 }
297 304