Commit df36d911 by 吕海涛

bug

parent 9a824d80
...@@ -916,7 +916,7 @@ export default { ...@@ -916,7 +916,7 @@ export default {
this.driverStatus = true; this.driverStatus = true;
}, },
setpaystatusBtn() { setpaystatusBtn() {
var pattern = /^[A-Za-z0-9]{32}/ var pattern = /^[A-Za-z0-9_]{32}/
if (this.value < 1 && !pattern.test(this.input)) { if (this.value < 1 && !pattern.test(this.input)) {
this.$message({ this.$message({
...@@ -927,10 +927,9 @@ export default { ...@@ -927,10 +927,9 @@ export default {
} }
let data = this.payData; let data = this.payData;
let a = this.datainput; let a = this.datainput;
debugger
let json = { let json = {
orderId: data.orderId, orderId: data.orderId,
tPaymentId: this.value < 1 ? !!this.datainput?a.businessId:'' : "", tPaymentId: this.value < 1 ?this.input : "",
tPaymentStatus:2, tPaymentStatus:2,
tPaymentType: this.value < 1 ?!!this.datainput?a.executeStatus:'4': "4", tPaymentType: this.value < 1 ?!!this.datainput?a.executeStatus:'4': "4",
tRealMoney: tRealMoney:
...@@ -1015,7 +1014,7 @@ export default { ...@@ -1015,7 +1014,7 @@ export default {
// let json={ // let json={
// orderId:"20210301095247903_1H2wew42w7T2w" // orderId:"20210301095247903_1H2wew42w7T2w"
// } // }
getpayInfo(this.payData).then((res) => { getpayInfo(json).then((res) => {
if (res.status == 200) { if (res.status == 200) {
this.input = res.data[0].businessSerial; this.input = res.data[0].businessSerial;
this.datainput = res.data[0]; this.datainput = res.data[0];
......
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