lilei 4 months ago
parent
commit
3414fca9e9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pagesB/procureOrder/creatOrder.vue

+ 2 - 2
pagesB/procureOrder/creatOrder.vue

@@ -34,7 +34,7 @@
 					<!-- 商品总计,优惠金额、代金券,抵扣至少有一个时显示 -->
 					<view class="product-price">
 						<view>
-							<view class="product-price-item" v-if="totalDiscount||totalCoupon||subsidyAmount">
+							<view class="product-price-item" v-if="totalDiscount||totalCoupon||showBalanceAuth&&subsidyAmount">
 								<text>总金额</text>
 								<text class="price">¥{{Number(totalAmount).toFixed(2)}}</text>
 							</view>
@@ -164,7 +164,7 @@
 			},
 			// 结算金额
 			settleAmount(){
-				return Number(this.hasKdk?this.totalAmount-this.subsidyAmount:this.totalAmount).toFixed(2).toString().split('.')
+				return Number(this.hasKdk&&this.showBalanceAuth?this.totalAmount-this.subsidyAmount:this.totalAmount).toFixed(2).toString().split('.')
 			},
 			// 货架经销商信息
 			shelfInfo(){