|
@@ -181,6 +181,9 @@ export default {
|
|
|
this.createOrder(this.params)
|
|
this.createOrder(this.params)
|
|
|
},
|
|
},
|
|
|
submit: debounce(1000, true, function (qrcode, cardInfo) {
|
|
submit: debounce(1000, true, function (qrcode, cardInfo) {
|
|
|
|
|
+ this.handleSubmit(qrcode, cardInfo)
|
|
|
|
|
+ }),
|
|
|
|
|
+ handleSubmit (qrcode, cardInfo) {
|
|
|
console.log(this.payType)
|
|
console.log(this.payType)
|
|
|
// 西宁景区储值卡支付预留
|
|
// 西宁景区储值卡支付预留
|
|
|
if (this.payType === 'VALUECARD' && this.scenicName === '西宁景区') {
|
|
if (this.payType === 'VALUECARD' && this.scenicName === '西宁景区') {
|
|
@@ -246,7 +249,7 @@ export default {
|
|
|
|
|
|
|
|
this.$log.warn(this.pageName + '支付下单')
|
|
this.$log.warn(this.pageName + '支付下单')
|
|
|
this.createOrder(this.params)
|
|
this.createOrder(this.params)
|
|
|
- }),
|
|
|
|
|
|
|
+ },
|
|
|
handleValueCardPay (cardInfo) {
|
|
handleValueCardPay (cardInfo) {
|
|
|
console.log('储值卡信息', cardInfo)
|
|
console.log('储值卡信息', cardInfo)
|
|
|
this.$log.info('储值卡信息', JSON.stringify(cardInfo))
|
|
this.$log.info('储值卡信息', JSON.stringify(cardInfo))
|
|
@@ -264,7 +267,8 @@ export default {
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
this.payCodeDialogVisible = false
|
|
this.payCodeDialogVisible = false
|
|
|
- this.submit(this.payCode)
|
|
|
|
|
|
|
+ // 直接调用 handleSubmit,避免被 submit 的 1000ms 前置节流吞掉(扫码盒子输入极快时必现)
|
|
|
|
|
+ this.handleSubmit(this.payCode)
|
|
|
// this.createOrder(this.params, true)
|
|
// this.createOrder(this.params, true)
|
|
|
},
|
|
},
|
|
|
cancelOnlinePay () {
|
|
cancelOnlinePay () {
|