Commit 8b66de2a authored by 黄奎's avatar 黄奎

页面修改

parent 5f6086d5
......@@ -1165,19 +1165,20 @@
if (this.addMsg.Marriage == "") {
this.addMsg.Marriage = "0";
}
if (this.ppAge <= 10 && this.addMsg.IsBed == 1) {
this.$confirm(this.$t('该游客未满十岁确认占床?'), this.$t('tips.tips'), {
confirmButtonText: '确认',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
// if (this.ppAge <= 10 && this.addMsg.IsBed == 1) {
// this.$confirm(this.$t('该游客未满十岁确认占床?'), this.$t('tips.tips'), {
// confirmButtonText: '确认',
// cancelButtonText: '取消',
// type: 'warning'
// }).then(() => {
// this.seveInfo(type)
// }).catch(() => {
// this.btnState = true
// });
// } else {
// this.seveInfo(type)
// }
this.seveInfo(type)
}).catch(() => {
this.btnState = true
});
} else {
this.seveInfo(type)
}
},
seveInfo(type) {
this.apipost(
......@@ -1543,7 +1544,7 @@
if (res.data.resultCode == 1) {
this.roomlist = res.data.data;
if (this.roomlist.length<1) {
if (this.roomlist.length < 1) {
this.UpdateOrderHouseBtn = true
}
} else {
......@@ -1596,7 +1597,7 @@
addhouse() {
let orderId = this.addMsg.OrderId;
let sex = this.addMsg.Sex;
if(!sex){
if (!sex) {
this.$message.error('请选择性别');
return
}
......
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