Commit a821af40 authored by youjie's avatar youjie

no message

parent f3992fd7
...@@ -929,6 +929,7 @@ export default { ...@@ -929,6 +929,7 @@ export default {
}, },
// 上传旅客名单 // 上传旅客名单
uploadHandleChange(){ uploadHandleChange(){
if(this.loading) return
let msg = { let msg = {
OrderId: this.uploadOrderId, OrderId: this.uploadOrderId,
GuestFileList: [this.GuestFile] GuestFileList: [this.GuestFile]
...@@ -937,8 +938,8 @@ export default { ...@@ -937,8 +938,8 @@ export default {
this.apipost( this.apipost(
"dict_post_SetSaleOrderGuestFile",msg, "dict_post_SetSaleOrderGuestFile",msg,
res => { res => {
this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.loading = false;
this.Success(res.data.message); this.Success(res.data.message);
this.uploadOrderId=0 this.uploadOrderId=0
this.GuestFile='' this.GuestFile=''
......
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
<div class="content-header"> <div class="content-header">
<span>{{ x.key }}</span> <span>{{ x.key }}</span>
<div> <div>
<i class="el-icon-plus"></i> <i class="el-icon-plus" @click="chosenNewHotel(x.key)"></i>
<i class="el-icon-delete-solid" @click="removeHotelHandler(xi, -1)"></i> <i class="el-icon-delete-solid" @click="removeHotelHandler(xi, -1)"></i>
</div> </div>
</div> </div>
...@@ -320,7 +320,7 @@ ...@@ -320,7 +320,7 @@
</div> </div>
<div class="content-Car content-picker-text"> <div class="content-Car content-picker-text">
<div> <div>
<span @click="showChoose">选择酒店</span> <span @click="chosenNewHotel('')">选择酒店</span>
</div> </div>
<div v-if="!newDate"> <div v-if="!newDate">
<span>*<span>请先选择需要预定的日期</span></span> <span>*<span>请先选择需要预定的日期</span></span>
...@@ -637,8 +637,10 @@ ...@@ -637,8 +637,10 @@
} }
this.cancelHotelCount() this.cancelHotelCount()
}, },
chosenNewHotel(key) {
showChoose(){ if(key){
this.newDate = key
}
if(!this.newDate) return this.Error('请先选择日期') if(!this.newDate) return this.Error('请先选择日期')
this.showChosenHotel = true this.showChosenHotel = true
}, },
......
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