|
@@ -31,6 +31,7 @@
|
|
请选择以下一家银行进行付款<span>(请在倒计时时间内使用</span><i>企业网银</i><span>完成本次支付)</span>
|
|
请选择以下一家银行进行付款<span>(请在倒计时时间内使用</span><i>企业网银</i><span>完成本次支付)</span>
|
|
</div>
|
|
</div>
|
|
<pay-bank
|
|
<pay-bank
|
|
|
|
+ ref="payBank"
|
|
:data="orderInfo"
|
|
:data="orderInfo"
|
|
:show-price="false"
|
|
:show-price="false"
|
|
:copy-status="false"
|
|
:copy-status="false"
|
|
@@ -113,9 +114,10 @@ export default {
|
|
this.redirectUrlQuery = {
|
|
this.redirectUrlQuery = {
|
|
payAmount: e.data.payAmount
|
|
payAmount: e.data.payAmount
|
|
}
|
|
}
|
|
- checkedUnionPaySuccess({ mbOrderId: e.data.mbOrderId }).then((res) => {
|
|
|
|
|
|
+ checkedUnionPaySuccess({ mbOrderId: e.data.mbOrderId, orderFlag: 0 }).then((res) => {
|
|
res = JSON.parse(res.data)
|
|
res = JSON.parse(res.data)
|
|
- if (res.data.status === '1') {
|
|
|
|
|
|
+ console.log(res)
|
|
|
|
+ if (res.rt10_orderStatus.toLocaleLowerCase() === 'success') {
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: '/share/pay-success',
|
|
path: '/share/pay-success',
|
|
query: this.redirectUrlQuery
|
|
query: this.redirectUrlQuery
|
|
@@ -130,13 +132,7 @@ export default {
|
|
},
|
|
},
|
|
// 跳转支付
|
|
// 跳转支付
|
|
onSubmit() {
|
|
onSubmit() {
|
|
- if (this.submitInfo.data && this.submitInfo.data.payUrl) {
|
|
|
|
- this.confirmVisiable = true
|
|
|
|
- window.open(this.submitInfo.data.payUrl, '_blank')
|
|
|
|
- } else {
|
|
|
|
- this.$message.warning('请选择银行')
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
|
|
+ this.$refs.payBank.onSubmit()
|
|
},
|
|
},
|
|
// 倒计时
|
|
// 倒计时
|
|
countDown() {
|
|
countDown() {
|