|
|
@ -64,7 +64,7 @@ |
|
|
|
<view class="width100 height60"></view> |
|
|
|
<view class="width100 height60"></view> |
|
|
|
<view class="footer"> |
|
|
|
<view class="footer"> |
|
|
|
<view class="settlement"> |
|
|
|
<view class="settlement"> |
|
|
|
<view class="sum">实付:<view class="money" v-if="paytype == 'weixin'">¥{{orderPrice}}</view> |
|
|
|
<view class="sum">实付:<view class="money" v-if="paytype == 'weixin' || paytype == 'gonghuika' ">¥{{orderPrice}}</view> |
|
|
|
<view class="money aliitem" v-else> |
|
|
|
<view class="money aliitem" v-else> |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" src="../../static/img/jfx.png"> |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" src="../../static/img/jfx.png"> |
|
|
|
</image>{{orderPrice*100}} |
|
|
|
</image>{{orderPrice*100}} |
|
|
@ -93,7 +93,8 @@ |
|
|
|
findUser, |
|
|
|
findUser, |
|
|
|
orderToGoldPay, |
|
|
|
orderToGoldPay, |
|
|
|
orderToGoldPayunion, |
|
|
|
orderToGoldPayunion, |
|
|
|
hltUnionCardPay |
|
|
|
hltUnionCardPayUnion, |
|
|
|
|
|
|
|
getHuiLianTongCardBalance |
|
|
|
} from '../../Utils/Api.js'; |
|
|
|
} from '../../Utils/Api.js'; |
|
|
|
import ssPaymentPassword from '../../components/sanshui-payment-password'; |
|
|
|
import ssPaymentPassword from '../../components/sanshui-payment-password'; |
|
|
|
let app = getApp(); |
|
|
|
let app = getApp(); |
|
|
@ -163,7 +164,7 @@ |
|
|
|
if (res.return_code == '000000') { |
|
|
|
if (res.return_code == '000000') { |
|
|
|
app.globalData.userInfo = res.return_data; |
|
|
|
app.globalData.userInfo = res.return_data; |
|
|
|
this.user = res.return_data; |
|
|
|
this.user = res.return_data; |
|
|
|
// this.getHuiLianTongCardBalance(); |
|
|
|
this.getHuiLianTongCardBalance(); |
|
|
|
uni.setStorage({ |
|
|
|
uni.setStorage({ |
|
|
|
key: "user", |
|
|
|
key: "user", |
|
|
|
data: res.return_data |
|
|
|
data: res.return_data |
|
|
@ -406,15 +407,15 @@ |
|
|
|
"cardNo": this.user.hltCardNo.cardNo, |
|
|
|
"cardNo": this.user.hltCardNo.cardNo, |
|
|
|
"password": this.PaymentPassword |
|
|
|
"password": this.PaymentPassword |
|
|
|
} |
|
|
|
} |
|
|
|
hltUnionCardPay(params).then(res => { |
|
|
|
hltUnionCardPayUnion(params).then(res => { |
|
|
|
uni.hideLoading(); |
|
|
|
uni.hideLoading(); |
|
|
|
if (res.return_code == '000000') { |
|
|
|
if (res.return_code == '000000') { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
title: '支付成功' |
|
|
|
title: '支付成功' |
|
|
|
}) |
|
|
|
}) |
|
|
|
uni.reLaunch({ |
|
|
|
uni.switchTab({ |
|
|
|
url: '../pay/success/success?id=' + this.couponId |
|
|
|
url:'../../pages/tabBar/user/user' |
|
|
|
}); |
|
|
|
}) |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
if (res.return_code == '102130') { |
|
|
|
if (res.return_code == '102130') { |
|
|
|