Commit 26cbadf8 authored by youjie's avatar youjie

no message

parent efa69c6a
......@@ -83,8 +83,8 @@
console.log(!x.err || x.err=='订单金额不满足')
if(!x.err || x.err=='订单金额不满足'){
x.err = x.useCondition>this.price?'订单金额不满足':null
}else if(!x.err || x.err=='订单人数不满足'){
x.err = x.orderGuestNum>this.numberPeople?'订单金额不满足':null
}else if(!x.err || x.err==`订单人数不满足,至少${x.orderGuestNum}人`){
x.err = x.orderGuestNum>this.numberPeople?`订单人数不满足,至少${x.orderGuestNum}人`:null
}
})
this.OverlayCalculation()
......@@ -142,7 +142,7 @@
if(!x.err && x.useCondition>this.price){
x.err = '订单金额不满足'
}else if(!x.err && x.orderGuestNum>this.numberPeople){
x.err = '订单人数不满足'
x.err = `订单人数不满足,至少${x.orderGuestNum}人`
}
})
},
......@@ -214,7 +214,7 @@
if(!x.check&&x.denomination>this.money){
x.err = '订单金额不满足'
}else if(!x.check&&x.orderGuestNum>this.numberPeople){
x.err = '订单人数不满足'
x.err = `订单人数不满足,至少${x.orderGuestNum}人`
} else {
x.err = null
}
......
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