Commit 43e4c9cf authored by youjie's avatar youjie

no message

parent c4fd531d
......@@ -91,6 +91,10 @@
// #ifdef MP-AG
this.getEnumList()
// #endif
if (this.params.OrderTypeStr) {
let item = this.orderTypeList.find(x => x.Id == this.params.OrderTypeStr)
this.$emit('change', item)
}
},
methods: {
getEnumList() {
......
......@@ -409,6 +409,7 @@
PhoneCode: '86',// 国家区号
peoples: 1,
PeopleNum: 0,
TotalPeopl: 0,
},
showtime: false,
timeType: 0,
......@@ -795,6 +796,7 @@
} else {
this.orderMsg.Num++;
}
this.orderMsg.TotalPeopl = this.orderMsg.Num * this.orderMsg.PeopleNum;
this.CalTotalPrice();
setTimeout(() => {
this.calcMaxCouponHandle()
......@@ -836,8 +838,8 @@
|| !this.orderMsg.ManNum
|| this.orderMsg.ManNum <= 0) {
msg = '请输入至少 1 个成人人数'
}else if (this.orderMsg.peoples>this.orderMsg.PeopleNum) {
msg = `总人数不能大于${this.orderMsg.PeopleNum}`
}else if (this.orderMsg.peoples>this.orderMsg.TotalPeopl) {
msg = `总人数不能大于${this.orderMsg.TotalPeopl}`
}
}else if (this.orderMsg.SurName == '') {
msg = '请输入姓'
......
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