|
@@ -380,6 +380,30 @@ export default {
|
|
|
this.loadingOrderStatus = true
|
|
|
this.loadingOrderText = result.msg
|
|
|
this.paymentMethods()
|
|
|
+ } else if(result.code == 100) {
|
|
|
+ Dialog.confirm({
|
|
|
+ title: '提示',
|
|
|
+ message: result.msg,
|
|
|
+ confirmButtonColor: '#269a93',
|
|
|
+ cancelButtonText: '已完成支付',
|
|
|
+ confirmButtonText: '重新下单支付'
|
|
|
+ }).then(() => {
|
|
|
+ axios.post('/yqpay/rePay', qs.stringify(resultParams)).then(repay => {
|
|
|
+ let repayResult = repay.data
|
|
|
+ if(repayResult.code == 200) {
|
|
|
+ this.form = repayResult.data
|
|
|
+ this.onSubmit()
|
|
|
+ } else {
|
|
|
+ Dialog.alert({
|
|
|
+ title: '提示',
|
|
|
+ message: repayResult.msg,
|
|
|
+ confirmButtonColor: '#269a93'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }).catch(() => {
|
|
|
+ Dialog.close()
|
|
|
+ })
|
|
|
} else {
|
|
|
if(result.data) {
|
|
|
this.form = result.data
|