Commit 9a824d80 by 吕海涛

修改bug

parent 83e5b053
......@@ -916,7 +916,8 @@ export default {
this.driverStatus = true;
},
setpaystatusBtn() {
var pattern = /([a-fA-F0-9]{32})/;
var pattern = /^[A-Za-z0-9]{32}/
if (this.value < 1 && !pattern.test(this.input)) {
this.$message({
type: "info",
......@@ -926,14 +927,15 @@ export default {
}
let data = this.payData;
let a = this.datainput;
debugger
let json = {
orderId: data.orderId,
tPaymentId: this.value < 1 ? a.businessId : "",
tPaymentId: this.value < 1 ? !!this.datainput?a.businessId:'' : "",
tPaymentStatus:2,
tPaymentType: this.value < 1 ? a.executeStatus : "4",
tPaymentType: this.value < 1 ?!!this.datainput?a.executeStatus:'4': "4",
tRealMoney:
this.value < 1
? a.businessInfo.totalFee
? !!this.datainput?a.businessInfo.totalFee:data.trealMoney
: !!data.trealMoney && data.runType != 6
? data.trealMoney
: data.estimateMoney,
......
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