mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 16:26:44 +08:00
feature GFRS-3716 调用支付获取参数接口 增加运行环境逻辑判断的代码
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<img :src="vxSrc" class="vximg" />
|
||||
<van-cell title="微信支付" clickable>
|
||||
<van-radio-group v-model="radio" class="flex justify-content-fe">
|
||||
<van-radio name="WXJSAPI" @click="vxVerify"></van-radio>
|
||||
<van-radio name="3" @click="vxVerify"></van-radio>
|
||||
</van-radio-group>
|
||||
</van-cell>
|
||||
</van-cell-group>
|
||||
@@ -77,7 +77,7 @@
|
||||
>去支付</van-button
|
||||
>
|
||||
</div>
|
||||
<div class="bg-white bottom-btn" v-if="radio == 'WXJSAPI' && !isWeixin">
|
||||
<div class="bg-white bottom-btn" v-if="radio == '3' && !isWeixin">
|
||||
<van-button type="danger" style="width: 50vw" @click="payMent" v-no-more-click="1000" :disabled="payStatus == '1' || payStatus == '2' || payStatus == '8'"
|
||||
>去支付</van-button
|
||||
>
|
||||
@@ -165,7 +165,7 @@ export default {
|
||||
},
|
||||
created() {
|
||||
if (this.isWeixin) {
|
||||
this.radio = 'WXJSAPI'
|
||||
this.radio = '3'
|
||||
this.isLoading = true
|
||||
}
|
||||
},
|
||||
@@ -245,6 +245,9 @@ export default {
|
||||
orderNo: this.orderNo,
|
||||
payType: this.radio
|
||||
}
|
||||
if(that.isWeixin){
|
||||
data.payType = 'WXJSAPI'
|
||||
}
|
||||
acceptInsurance(data).then(res => {
|
||||
console.log('----取支付参数结果:', JSON.stringify(res))
|
||||
// res = {'result':'0','resultMessage':'','content':null,'prtNo':'8186270000000008','payStatus':'4','amnt':'63700.00','appntName':'投保人','message':null,'brPayReturnData':{'result':'','resultMessage':'','content':null,'businessId':'1569125393518','businessNo':'8186270000000008','tradeSubType':'COMM','businessType':'SALE','systemType':'GF','money':63700,'businessSubType':'XDCB','thirdType':'0002','thirdName':null,'bankCode':'ABC','epayOrderNo':'1909221209536259999900','companyAccount':null,'tradeState':'TRADING','standardCode':'DEALING','standardMsg':null,'thirdOrderNo':null,'respRemark':null,'tradeTime':'2019-09-22T04:09:53.518+0000','description':'','version':'1','sourceNotecode':'8186270000000008','payType':'MIT01','expireDate':'20191010101010','transSeq':'20190922120953782','transSource':'MIT','applyEntity':'11860000','paymentCode':'8186270000000008','transDate':'20190922','rdSeq':'1909221209536259999900','settleMode':null,'cur':'CNY','transTime':'120953','ourAmount':63700,'fixUser':'1','insurer':'投保人','certType':'0','certNum':'110101199009210011','oppBank':'ABC','oppAct':'6228481200290317812','oppActName':'投保人','cellPhone':null,'purpose':null,'memo':null,'returnURL':'http://139.199.50.151/#/sale/payResult','notifyURL':'http://139.199.50.151:7000/api/v1/epay/epay/payResult','s3Sign':'e3f0581ec6b751337e8eca360a0746bc'}}
|
||||
@@ -485,7 +488,7 @@ export default {
|
||||
const bankCode = JSON.parse(window.localStorage.getItem('underWriteData')).bankCode;
|
||||
// 1.微信支付方式 2.银行卡支付 且 招商银行卡 需要签约 20220426 招商银行不走官微签约,同其他银行签约流程
|
||||
// if (!((this.radio == '' && ('CMB' == bankCode || '308' == bankCode)) || this.radio == '3')){
|
||||
if (!(this.radio == 'WXJSAPI')){
|
||||
if (!(this.radio == '3')){
|
||||
isNeedSignFlag = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user