|
|
|
@ -170,7 +170,7 @@ |
|
|
|
|
油卡支付<text class="font14 fcor666 margle">余额: {{oilPirce}}元</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="flright width30 fotct" v-if="isUse"> |
|
|
|
|
<radio :checked="paytype=='6'" @click="changeRiado()" color="#0083f5" /> |
|
|
|
|
<radio :checked="paytype=='6'" color="#0083f5" /> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
@ -182,20 +182,19 @@ |
|
|
|
|
<view class="flright width30 fotct" v-if="isUse"> |
|
|
|
|
<radio :checked="paytype=='3'" @click="changeRiado()" color="#0083f5" /> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="line1" v-if="item ==7"></view> |
|
|
|
|
<view class="heightl60 paddleft10 fcor666 width100 backcorfff" v-if="item ==7" |
|
|
|
|
@tap="paytype='7'"> |
|
|
|
|
<view class="width60 flleft font14"> |
|
|
|
|
车队油卡<text class="font14 fcor666 margle">余额: {{oilUserNoPrice}}元</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="flright width30 fotct" v-if="isUse"> |
|
|
|
|
<radio :checked="paytype=='7'" color="#0083f5" /> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="line1" v-if="item ==7"></view> |
|
|
|
|
<view class="heightl60 paddleft10 fcor666 width100 backcorfff" v-if="item ==7" @tap="paytype='7'"> |
|
|
|
|
<view class="width60 flleft font14"> |
|
|
|
|
车队油卡<text class="font14 fcor666 margle">余额: {{oilUserNoPrice}}元</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="flright width30 fotct" v-if="isUse"> |
|
|
|
|
<radio :checked="paytype=='7'" color="#0083f5" /> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view v-if="paytype=='7'" class="backcorfff"> |
|
|
|
|
<view class="heightl60 paddleft10 fcor333 fontwig6 font16 width100 backcorfff flleft">车队油卡列表</view> |
|
|
|
@ -249,7 +248,7 @@ |
|
|
|
|
<view class="width80p"> |
|
|
|
|
<view class="font16 fontwig6 fcor333 text1">{{items.discountName}}</view> |
|
|
|
|
<view class="font13 fcor999 mart5"> |
|
|
|
|
有效期:{{items.salesEndTime | timeFormat('yyyy-mm-dd hh:mm:ss')}} |
|
|
|
|
有效期:{{items.useEndTime | timeFormat('yyyy-mm-dd hh:mm:ss')}} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width20 fotrt"> |
|
|
|
@ -400,6 +399,7 @@ |
|
|
|
|
} |
|
|
|
|
this.canUseDiscount(); |
|
|
|
|
this.oilPriceDiscountCompute(); |
|
|
|
|
this.getHuiLianTongCardBalance(); |
|
|
|
|
uni.setStorage({ |
|
|
|
|
key: "user", |
|
|
|
|
data: res.return_data |
|
|
|
@ -680,10 +680,21 @@ |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (this.paytype == '3' || this.paytype == '6' || this.paytype == '7') { |
|
|
|
|
let cardNo; |
|
|
|
|
if (this.paytype == 3) { |
|
|
|
|
cardNo = this.user.hltCardNo.cardNo; |
|
|
|
|
} |
|
|
|
|
if (this.paytype == 6) { |
|
|
|
|
cardNo = this.user.oilCard.cardNo; |
|
|
|
|
} |
|
|
|
|
if (this.paytype == 7) { |
|
|
|
|
cardNo = this.oilUserno; |
|
|
|
|
} |
|
|
|
|
let params = { |
|
|
|
|
"orderNo": this.orderNo, |
|
|
|
|
"cardNo": this.user.hltCardNo.cardNo, |
|
|
|
|
"password": this.PaymentPassword |
|
|
|
|
"cardNo": cardNo, |
|
|
|
|
"password": this.PaymentPassword, |
|
|
|
|
"carLicensePlate": this.cardNoNumber |
|
|
|
|
} |
|
|
|
|
cardPay(params).then(res => { |
|
|
|
|
uni.hideLoading(); |
|
|
|
@ -743,7 +754,7 @@ |
|
|
|
|
}, |
|
|
|
|
//获取选择支付方式 |
|
|
|
|
changeRiado() { |
|
|
|
|
if (!this.user.isSetOilCard) { |
|
|
|
|
if (!this.user.setHltCard) { |
|
|
|
|
uni.showToast({ |
|
|
|
|
icon: 'none', |
|
|
|
|
title: '当前账号还未绑定,前往绑定', |
|
|
|
@ -926,7 +937,7 @@ |
|
|
|
|
}) |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (!that.user.isSetOilCard) { |
|
|
|
|
if (!that.user.setHltCard) { |
|
|
|
|
uni.showToast({ |
|
|
|
|
icon: 'none', |
|
|
|
|
title: '当前账号还未绑定,前往绑定', |
|
|
|
@ -960,7 +971,7 @@ |
|
|
|
|
}) |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if (!that.user.isSetHltCard) { |
|
|
|
|
if (!that.user.isSetOilCard) { |
|
|
|
|
uni.showToast({ |
|
|
|
|
icon: 'none', |
|
|
|
|
title: '当前账号还未绑定,前往绑定', |
|
|
|
@ -978,15 +989,6 @@ |
|
|
|
|
that.$refs.paymentPassword.modalFun('show'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (that.paytype == 'jifen') { |
|
|
|
|
if (!that.user.isSetPayPwd) { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '../../login/updatePas/updatePas' |
|
|
|
|
}) |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
that.$refs.paymentPassword.modalFun('show'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
payRequest: function(self) { |
|
|
|
|