|
|
@@ -182,8 +182,8 @@
|
|
|
<view class="list_con g_color">¥{{ userinfo.user_money }}</view>
|
|
|
</view>
|
|
|
<view class="order_list flex_r flex_ac flex_jb" v-if="['2','3', '4', '5', '7', '8'].includes(Data.type) && isAct">
|
|
|
- <view class="list_name">我的余额</view>
|
|
|
- <view class="list_con g_color">¥{{ localInfo.property }}</view>
|
|
|
+ <view class="list_name">我的茶币</view>
|
|
|
+ <view class="list_con g_color">{{ localInfo.property }}</view>
|
|
|
</view>
|
|
|
<view class="order_list flex_r flex_ac flex_jb" v-if="Data.type == 1">
|
|
|
<view class="list_name">可用TeaC</view>
|
|
|
@@ -194,13 +194,13 @@
|
|
|
<view class="list_con g_color">{{ userinfo.cha_bao }}</view>
|
|
|
</view>
|
|
|
<view class="order_list flex_r flex_ac flex_jb" v-if="Data.type == 1">
|
|
|
- <view class="list_name">余额</view>
|
|
|
+ <view class="list_name">茶币</view>
|
|
|
<view class="list_con g_color">¥{{ localInfo.property }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="msginfo" v-if="Data.type == 1">
|
|
|
<view class="title">特别提示</view>
|
|
|
- <view>1、寄卖服务费只能使用您的余额抵扣或微信支付</view>
|
|
|
+ <view>1、寄卖服务费只能使用您的茶币抵扣或微信支付</view>
|
|
|
</view>
|
|
|
<!-- 订单信息-end -->
|
|
|
<!-- 底部操作栏 -->
|
|
|
@@ -344,9 +344,9 @@ export default {
|
|
|
this.amountTotal = this.$h.Add(wpt,this.amountTotal)
|
|
|
ps = this.$h.Add(ps, wp);
|
|
|
}
|
|
|
- let um = 0; //数智生活余额
|
|
|
- if (this.isAct) um = this.localInfo.property; //数智生活余额
|
|
|
- let userBalance = this.$h.Add(this.userinfo.user_money, um); //用户总余额(数智生活余额+云宝)
|
|
|
+ let um = 0; //可用茶币
|
|
|
+ if (this.isAct) um = this.localInfo.property; //可用茶币
|
|
|
+ let userBalance = this.$h.Add(this.userinfo.user_money, um); //用户总余额(可用茶币+云宝)
|
|
|
|
|
|
let b = this.$h.Sub(a, userBalance); //待支付金额
|
|
|
let b1 = this.$h.Sub(ps, userBalance); //待支付金额 - 零售&批发&云宝货易 运费必须现金支付
|
|
|
@@ -355,7 +355,7 @@ export default {
|
|
|
if (type == 1) {
|
|
|
// b1 = this.$h.Sub(ps, this.userinfo.user_money); //用云宝计算后 待支付价格
|
|
|
b1 = this.$h.Sub(ps,um); // 寄卖服务待支付价格不使用云宝
|
|
|
- let sp = this.$h.Sub(wy,um); //寄卖服务费只能用数智生活余额支付或微信支付
|
|
|
+ let sp = this.$h.Sub(wy,um); //寄卖服务费只能用数智生活茶币抵扣或微信支付
|
|
|
obligation = b1 > 0 ? b1 : 0;
|
|
|
obligation = this.$h.Add(obligation,sp > 0 ? sp : 0);
|
|
|
}
|