|
@@ -429,7 +429,7 @@
|
|
this.dataForm.detailFormList[0].checkInPersonList.splice(index, 1)
|
|
this.dataForm.detailFormList[0].checkInPersonList.splice(index, 1)
|
|
},
|
|
},
|
|
confirmOrder(orderStatus) {
|
|
confirmOrder(orderStatus) {
|
|
- console.log('0000000', orderStatus);
|
|
|
|
|
|
+
|
|
if (!this.dataForm.guestName) {
|
|
if (!this.dataForm.guestName) {
|
|
this.$showToast('请输入姓名');
|
|
this.$showToast('请输入姓名');
|
|
return
|
|
return
|
|
@@ -454,8 +454,14 @@
|
|
// return
|
|
// return
|
|
// }
|
|
// }
|
|
//orderStatus//预约入住 1,直接入住2
|
|
//orderStatus//预约入住 1,直接入住2
|
|
- if (orderStatus) {
|
|
|
|
- this.dataForm.orderStatus = orderStatus;
|
|
|
|
|
|
+
|
|
|
|
+ // if (orderStatus) {
|
|
|
|
+ // this.dataForm.orderStatus = orderStatus ;
|
|
|
|
+ // }
|
|
|
|
+ if (!this.dataForm.orderStatus) {
|
|
|
|
+ this.dataForm.orderStatus = orderStatus || 1;
|
|
|
|
+ } else {
|
|
|
|
+ this.dataForm.orderStatus = orderStatus || this.dataForm.orderStatus;
|
|
}
|
|
}
|
|
let url = '';
|
|
let url = '';
|
|
if (this.dataForm.id) {
|
|
if (this.dataForm.id) {
|