Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
82cd3fa9
Commit
82cd3fa9
authored
Sep 03, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
4b477051
78844909
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
HotelSalesBoard.vue
src/components/Hotel/HotelSalesBoard.vue
+19
-4
No files found.
src/components/Hotel/HotelSalesBoard.vue
View file @
82cd3fa9
...
...
@@ -258,7 +258,9 @@
</li>
<li
style=
"margin-right:50px;"
>
<button
class=
"normalBtn"
type=
"button"
@
click=
"GetHoltelInventory()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
@
click=
"DownLoadHotelSalesBoard()"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"下载(单个酒店)"
@
click=
"DownLoadHotelSalesBoard()"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"下载(全部)"
@
click=
"DownLoadAllHotelSalesBoard()"
/>
</li>
</ul>
</div>
...
...
@@ -335,7 +337,7 @@
loading
:
false
,
OutBranchId
:
-
1
,
//供应商编号
Supplier
:
0
,
Supplier
:
0
,
},
//分公司列表
companyList
:
[],
...
...
@@ -358,7 +360,7 @@
cityList
:
[],
district
:
[],
//供应商列表
SupplierList
:[]
SupplierList
:
[]
};
},
methods
:
{
...
...
@@ -546,7 +548,20 @@
this
.
Info
(
"请选择要下载的酒店!"
);
}
},
// 获取供应商
//全部下载
DownLoadAllHotelSalesBoard
()
{
this
.
msg
.
loading
=
true
;
let
qMsg
=
{
queryMsg
:
this
.
msg
,
uid
:
this
.
getLocalStorage
().
EmployeeId
};
let
fileName
=
"酒店统计"
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
;
this
.
GetLocalFile
(
"hotel_get_downloadAllHotel"
,
qMsg
,
fileName
,
res
=>
{
this
.
msg
.
loading
=
false
;
});
},
// 获取供应商
initSupplier
()
{
this
.
apipost
(
"supplier_post_GetAllList"
,
{
Type
:
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment