|
@@ -429,7 +429,7 @@
|
|
|
this.dataForm.detailFormList[0].checkInPersonList.splice(index, 1)
|
|
|
},
|
|
|
confirmOrder(orderStatus) {
|
|
|
- console.log('0000000', orderStatus);
|
|
|
+
|
|
|
if (!this.dataForm.guestName) {
|
|
|
this.$showToast('请输入姓名');
|
|
|
return
|
|
@@ -454,8 +454,14 @@
|
|
|
// return
|
|
|
// }
|
|
|
//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 = '';
|
|
|
if (this.dataForm.id) {
|