Authored by 郭成尧

jit-detail-url

... ... @@ -288,10 +288,17 @@ const orderDetailData = (uid, orderCode) => {
// 为支付的拆单配送信息
if (orderDetail.isMultiPackage && orderDetail.isMultiPackage === 'Y') {
orderDetail = _.assign(orderDetail, {
isJit: true
let jitInfo = {
deliveryId: orderDetail.deliveryId,
paymentType: orderDetail.paymentType,
couponCode: orderDetail.couponCode,
yohoCoin: orderDetail.yohoCoin,
cartType: 'ordinary'
};
// jitDetailUrl: '/cart/index/jitDetailUrl'
orderDetail = _.assign(orderDetail, {
isJit: true,
jitDetailUrl: helpers.urlFormat('/cart/index/new/jitDetail', jitInfo)
});
}
... ...