Commit 4e154036 authored by 黄奎's avatar 黄奎

11

parent 56848617
...@@ -262,11 +262,9 @@ ...@@ -262,11 +262,9 @@
</li> </li>
<li style="margin-right:50px;"> <li style="margin-right:50px;">
<button class="normalBtn" type="button" @click="GetHoltelInventory()">{{$t('pub.searchBtn')}}</button> <button class="normalBtn" type="button" @click="GetHoltelInventory()">{{$t('pub.searchBtn')}}</button>
<!-- <input type="button" class="normalBtn" :value="$t('ground.xiazaidangejiud')"
@click="DownLoadHotelSalesBoard()" /> -->
<input type="button" class="normalBtn" value="下载" <input type="button" class="normalBtn" value="下载(地接OK)" @click="DownLoadAllHotelSalesBoard(1)" />
@click="DownLoadAllHotelSalesBoard()" /> <input type="button" class="normalBtn" value="下载" @click="DownLoadAllHotelSalesBoard(0)" />
</li> </li>
</ul> </ul>
</div> </div>
...@@ -353,7 +351,8 @@ ...@@ -353,7 +351,8 @@
OutBranchId: -1, OutBranchId: -1,
//供应商编号 //供应商编号
Supplier: 0, Supplier: 0,
HotelIdList:[], HotelIdList: [],
DMCState: 0, //地接OP操作状态(1-正常,其他-待定)
}, },
//分公司列表 //分公司列表
companyList: [], companyList: [],
...@@ -571,12 +570,13 @@ ...@@ -571,12 +570,13 @@
} }
}, },
//全部下载 //全部下载
DownLoadAllHotelSalesBoard() { DownLoadAllHotelSalesBoard(dmcState) {
this.msg.loading = true; this.msg.loading = true;
let qMsg = { let qMsg = {
queryMsg: this.msg, queryMsg: this.msg,
uid: this.getLocalStorage().EmployeeId uid: this.getLocalStorage().EmployeeId
}; };
qMsg.queryMsg.DMCState = dmcState;
let fileName = this.$t('objFill.v101.hote.jiudiantj') + this.$commonUtils.getCurrentDate() + ".xls"; let fileName = this.$t('objFill.v101.hote.jiudiantj') + this.$commonUtils.getCurrentDate() + ".xls";
this.GetLocalFile("hotel_get_downloadAllHotel", qMsg, fileName, this.GetLocalFile("hotel_get_downloadAllHotel", qMsg, fileName,
res => { res => {
......
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