Authored by shuaiguo

fix(buyer-confirm): 登陆后价格展示问题 reviewed by 黄涛

@@ -73,10 +73,10 @@ @@ -73,10 +73,10 @@
73 73
74 <!-- <img class="ref-img" v-lazy="prdDetailImage"/> --> 74 <!-- <img class="ref-img" v-lazy="prdDetailImage"/> -->
75 75
  76 + <GrassArtilces :productId="productId" :listdata="articleData"></GrassArtilces>
  77 +
76 <!--尺码图片--> 78 <!--尺码图片-->
77 <size-image :brand-id="brandId" :product-id="productId"></size-image> 79 <size-image :brand-id="brandId" :product-id="productId"></size-image>
78 - <!--九宫格社区图-->  
79 - <GrassArtilces :productId="productId" :listdata="articleData"></GrassArtilces>  
80 80
81 <div class="recommend" v-if="recommend"><h2>相关推荐</h2> 81 <div class="recommend" v-if="recommend"><h2>相关推荐</h2>
82 <product-list ref="recommendList" :list="recommend" priceKey="price" :yas-params="recommendYasParams"/> 82 <product-list ref="recommendList" :list="recommend" priceKey="price" :yas-params="recommendYasParams"/>
@@ -124,14 +124,7 @@ export default function() { @@ -124,14 +124,7 @@ export default function() {
124 state.address = null; 124 state.address = null;
125 }, 125 },
126 [Types.UPDATE_ORDER](state, { amount, couponInfo, couponList, promotionFormulaList, promotionList, promotionTips }) { 126 [Types.UPDATE_ORDER](state, { amount, couponInfo, couponList, promotionFormulaList, promotionList, promotionTips }) {
127 - state.orderDetail.amount = amount;  
128 - state.orderDetail.promotionFormulaList = promotionFormulaList;  
129 -  
130 - state.orderDetail.recommendedCouponInfo = couponInfo;  
131 - state.orderDetail.couponList = couponList;  
132 -  
133 - state.orderDetail.promotionList = promotionList;  
134 - state.orderDetail.promotionTips = promotionTips; 127 + state.orderDetail = { ...state.orderDetail, promotionTips, promotionList, couponList, amount, promotionFormulaList, recommendedCouponInfo: couponInfo };
135 }, 128 },
136 [Types.CHANGE_SELECT_COUPON_LIST](state, { couponCode, couponType }) { 129 [Types.CHANGE_SELECT_COUPON_LIST](state, { couponCode, couponType }) {
137 const item = find(get(state.orderDetail, 'couponList', []), { coupon_code: couponCode }); 130 const item = find(get(state.orderDetail, 'couponList', []), { coupon_code: couponCode });
1 { 1 {
2 "name": "xianyu-ufo-app-web", 2 "name": "xianyu-ufo-app-web",
3 - "version": "1.2.3", 3 + "version": "1.2.4",
4 "private": true, 4 "private": true,
5 "description": "Xianyu Project With Express", 5 "description": "Xianyu Project With Express",
6 "repository": { 6 "repository": {