Commit 3ec59152 authored by 华国豪's avatar 华国豪 🙄

旅客名单录制

parent 0a631c31
......@@ -1644,35 +1644,40 @@
this.addMsg.Marriage = "0";
}
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: '确认',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.apipost(
"sellorder_post_SetTravelGuestInfo_V2",
this.addMsg,
res => {
if (res.data.resultCode == 1) {
this.$message.success(res.data.message);
if (type == 1) {
history.go(-1);
} else {
this.btnState = true
this.ClearData();
}
} else {
this.btnState = true
this.$message.error(res.data.message);
}
},
err => {}
);
this.seveInfo(type)
}).catch(() => {
this.btnState = true
});
} else {
this.seveInfo(type)
}
},
seveInfo(type){
this.apipost(
"sellorder_post_SetTravelGuestInfo_V2",
this.addMsg,
res => {
if (res.data.resultCode == 1) {
this.$message.success(res.data.message);
if (type == 1) {
history.go(-1);
} else {
this.btnState = true
this.ClearData();
}
} else {
this.btnState = true
this.$message.error(res.data.message);
}
},
err => {}
);
},
getEconomicCapability() {
//获取经济能力
this.apipost(
......
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