zhengjinyi před 4 roky
rodič
revize
22821fc2ca

+ 3 - 3
components/cm-module/orderDetails/orderInformation.vue

@@ -33,16 +33,16 @@
 					<view class="view-num" v-if="orderData.freePostFlag == '-1'">运费:<label class="label">到付</label></view>
 					<view class="view-num" v-if="orderData.freePostFlag == '1'">运费:<label class="label">¥{{ orderData.freight | NumFormat}}</label></view>
 				</view>
-				<view class="information-view same">
+				<view class="information-view same" v-show="orderData.userBeans>0">
 					<view class="view-man" >采美豆抵用运费:<label class="label">{{ orderData.userBeans }}</label></view>
 				</view>
-				<view class="information-view">
+				<view class="information-view" v-show="orderData.discountFee>0">
 					<view class="view-num">经理折扣:<label class="label">¥{{ orderData.discountFee =='undefined' ? '' : orderData.discountFee | NumFormat}}</label></view>
 				</view>
 				<view class="information-view same" v-show="orderData.promotionFullReduction>0">
 					<view class="view-man" >促销满减:<label class="label">¥{{ orderData.promotionFullReduction | NumFormat}}</label></view>
 				</view>
-				<view class="information-view">
+				<view class="information-view" v-show="(orderData.presentCount + orderData.promotionalGiftsCount)>0">
 					<view class="view-man">赠品总数:<label class="label">{{ orderData.presentCount + orderData.promotionalGiftsCount}}</label></view>
 				</view>
 				<view class="information-view same">