Commit 2c5e3f95 authored by FE-安焕焕's avatar FE-安焕焕 👣

支付流水缺失问题

parent 6015ace2
......@@ -125,7 +125,6 @@ import {
queryPayInfo,
kaGetNextUrl
} from '@/api/pay.api.js';
import Cookies from '@/service/cookieStorage.service';
const VCC_CHANNEL = localStorage.get('vccChannel');
let Current_Url = null;
export default {
......@@ -210,6 +209,7 @@ export default {
cookies.set('orderNo', { orderNo: this.orderNo });
if (this.$route?.query?.ocrflag || cookies.get('ocrflag')) {
this.payInfo = cookies.get('info') || {};
this.flowOrderNo = this.payInfo?.paramsData?.flowOrderNo || '';
cookies.remove('ocrflag');
cookies.remove('info');
// 先支付再查询信息
......@@ -225,7 +225,7 @@ export default {
async queryPayInfo() {
const [data, error] = await queryPayInfo({ orderNo: this.orderNo });
if (error && codeArr.indexOf(error?.response?.businessCode) < 0) {
// this.payResult('Fail');
this.payResult('Fail');
return;
}
this.isReady = true;
......@@ -403,6 +403,7 @@ export default {
this.retrieveLink();
return;
}
console.log(params, 'params');
const paramsData = {
...params,
quitUrl: Current_Url,
......@@ -483,6 +484,7 @@ export default {
isCheckAgreement: this.isCheckAgreement,
mergePayPretreatmentId: this.mergePayPretreatmentId
});
this.close();
this.goOcr();
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment