Commit 9a824d80 by 吕海涛

修改bug

parent 83e5b053
...@@ -916,7 +916,8 @@ export default { ...@@ -916,7 +916,8 @@ export default {
this.driverStatus = true; this.driverStatus = true;
}, },
setpaystatusBtn() { setpaystatusBtn() {
var pattern = /([a-fA-F0-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({
type: "info", type: "info",
...@@ -926,14 +927,15 @@ export default { ...@@ -926,14 +927,15 @@ 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 ? a.businessId : "", tPaymentId: this.value < 1 ? !!this.datainput?a.businessId:'' : "",
tPaymentStatus:2, tPaymentStatus:2,
tPaymentType: this.value < 1 ? a.executeStatus : "4", tPaymentType: this.value < 1 ?!!this.datainput?a.executeStatus:'4': "4",
tRealMoney: tRealMoney:
this.value < 1 this.value < 1
? a.businessInfo.totalFee ? !!this.datainput?a.businessInfo.totalFee:data.trealMoney
: !!data.trealMoney && data.runType != 6 : !!data.trealMoney && data.runType != 6
? data.trealMoney ? data.trealMoney
: data.estimateMoney, : 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