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
c0259ef4
Commit
c0259ef4
authored
Mar 02, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加供应商手配费页面
parent
330fb033
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
153 additions
and
0 deletions
+153
-0
SupplierHandFee.vue
src/components/Hotel/SupplierHandFee.vue
+144
-0
config.js
src/router/config.js
+9
-0
No files found.
src/components/Hotel/SupplierHandFee.vue
0 → 100644
View file @
c0259ef4
<
template
>
<div
class=
"flexOne SupplierHandeFee"
>
<div
class=
"query-box"
>
<ul
class=
"user_time_picker"
>
<li>
<span>
<em>
{{
$t
(
'hotel.hotel_StartDate'
)
}}
</em>
<el-date-picker
type=
"date"
v-model=
"msg.StartDate"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</li>
<li>
<span>
<em>
{{
$t
(
'hotel.hotel_EndDate'
)
}}
</em>
<el-date-picker
type=
"date"
v-model=
"msg.EndDate"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</li>
<li>
<span>
<em>
供应商
</em>
<el-select
filterable
v-model=
"msg.Supplier"
>
<el-option
:label=
"$t('system.ph_buxian')"
:value=
"-1"
></el-option>
<!--
<el-option
v-for=
"item in companyList"
:label=
"item.BName"
:value=
"item.Id"
:key=
"item.Id"
></el-option>
-->
</el-select>
</span>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"getList()"
>
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
>
</li>
</ul>
</div>
<div
class=
"clearfix"
></div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th>
做账主体
</th>
<th>
团号
</th>
<th>
单号
</th>
<th>
日元
</th>
<th>
人民币
</th>
<th>
手配定团号
</th>
<th>
泊数
</th>
<th>
单价(日元)
</th>
<th>
小计
</th>
</tr>
<tr
v-for=
"item in dataList"
>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
>
<i
class=
"iconfont icon-kong"
></i>
<p>
{{
$t
(
"active.ld_noData"
)
}}
</p>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
v-if=
"dataList.length>0"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.PageSize"
:total=
"total"
></el-pagination>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
//请求
msg
:
{
StartDate
:
"2020-01-01"
,
EndDate
:
"2020-02-29"
,
Supplier
:
30
,
PageIndex
:
1
,
PageSize
:
15
,
},
loading
:
false
,
currentPage
:
1
,
total
:
0
,
dataList
:[],
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
let
endTime
=
new
Date
(
this
.
msg
.
EndDate
)
return
endTime
.
getTime
()
<
time
.
getTime
()
}
},
pickerBeginDateAfter
:
{
disabledDate
:
time
=>
{
let
startTime
=
new
Date
(
this
.
msg
.
StartDate
)
return
startTime
.
getTime
()
>=
time
.
getTime
()
}
},
}
},
mounted
()
{
//this.getList();
},
filters
:
{
},
methods
:
{
//获取数据
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
'dmcstatistics_get_GetDmcSupplierHotelPageListService'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
console
.
log
(
res
,
'resss'
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
)
},
handleCurrentChange
(
val
)
{
this
.
msg
.
PageIndex
=
val
;
this
.
getList
();
},
}
};
</
script
>
\ No newline at end of file
src/router/config.js
View file @
c0259ef4
...
@@ -879,6 +879,15 @@ export default {
...
@@ -879,6 +879,15 @@ export default {
title
:
'供应商管理'
title
:
'供应商管理'
},
},
},
},
{
path
:
'/SupplierHandFee'
,
//供应商手配费
name
:
'SupplierHandFee'
,
component
:
resolve
=>
require
([
'@/components/Hotel/SupplierHandFee'
],
resolve
),
meta
:
{
title
:
'供应商手配费'
},
},
{
{
path
:
'/hotelproductmanage'
,
//酒店产品管理
path
:
'/hotelproductmanage'
,
//酒店产品管理
name
:
'HotelProductManage'
,
name
:
'HotelProductManage'
,
...
...
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