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

页面修改

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