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
588a8dfc
Commit
588a8dfc
authored
Mar 03, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
4c2fb3dd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
111 additions
and
129 deletions
+111
-129
SupplierHandFee.vue
src/components/Hotel/SupplierHandFee.vue
+111
-129
No files found.
src/components/Hotel/SupplierHandFee.vue
View file @
588a8dfc
...
@@ -19,10 +19,7 @@
...
@@ -19,10 +19,7 @@
<li>
<li>
<span>
<span>
<em>
供应商
</em>
<em>
供应商
</em>
<el-select
<el-select
filterable
v-model=
"msg.Supplier"
>
filterable
v-model=
"msg.Supplier"
>
<el-option
:label=
"$t('system.ph_buxian')"
:value=
"0"
></el-option>
<el-option
:label=
"$t('system.ph_buxian')"
:value=
"0"
></el-option>
<el-option
v-for=
"(item,index) in SupplierList"
:key=
"index"
:label=
"item.Name"
:value=
"item.ID"
>
<el-option
v-for=
"(item,index) in SupplierList"
:key=
"index"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-option>
...
@@ -30,12 +27,7 @@
...
@@ -30,12 +27,7 @@
</span>
</span>
</li>
</li>
<li>
<li>
<input
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"getSearch()"
>
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"getSearch()"
>
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
>
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
>
</li>
</li>
</ul>
</ul>
...
@@ -43,28 +35,24 @@
...
@@ -43,28 +35,24 @@
<div
class=
"clearfix"
></div>
<div
class=
"clearfix"
></div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<tr>
<th>
做账主体
</th>
<th
width=
"170"
>
做账主体
</th>
<th
width=
"300"
>
团号
</th>
<th
width=
"170"
>
团号
</th>
<th>
单号
</th>
<th
width=
"150"
>
手配定团号
</th>
<th>
日元
</th>
<th
width=
"170"
>
单价(日元)
</th>
<th>
人民币
</th>
<th>
泊数/日期
</th>
<th
width=
"300"
>
手配定团号
</th>
<th
width=
"170"
>
小计
</th>
<th>
泊数
</th>
<th>
单价(日元)
</th>
<th>
小计
</th>
</tr>
</tr>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<template
v-for=
"(subItem,subIndex) in item.SubList"
>
<template
v-for=
"(subItem,subIndex) in item.SubList"
>
<tr
:key=
"subIndex"
>
<tr
:key=
"subIndex"
>
<td>
{{
subItem
.
OutBranchName
}}
</td>
<td>
{{
subItem
.
OutBranchName
}}
</td>
<td
v-if=
"subIndex==0"
:rowspan=
"item.SubList.length"
>
{{
item
.
TCIDS
}}
</td>
<td>
{{
subItem
.
TCNUM
}}
(
{{
subItem
.
TCID
}}
)
</td>
<td>
{{
subItem
.
TCNUM
}}
</td>
<td>
{{
subItem
.
UnitPrice
}}
</td>
<td>
{{
subItem
.
UnitPrice
}}
</td>
<td
v-if=
"subIndex==0"
:rowspan=
"item.SubList.length"
>
{{
item
.
DMCNum
}}
</td>
<td
v-if=
"subIndex==0"
:rowspan=
"item.SubList.length"
>
{{
item
.
DMCNum
}}
</td>
<td>
{{
subItem
.
DayCount
}}
</td>
<td>
{{
subItem
.
UnitPrice
}}
</td>
<td>
{{
subItem
.
UnitPrice
}}
</td>
<td>
{{
subItem
.
GuestNum
}}
</td>
<td>
{{
subItem
.
DayCount
}}
<br/>
{{
subItem
.
UseTime
}}
</td>
<td>
{{
subItem
.
SubtotalMoney
}}
</td>
</tr>
</tr>
</
template
>
</
template
>
</tbody>
</tbody>
...
@@ -73,36 +61,30 @@
...
@@ -73,36 +61,30 @@
<i
class=
"iconfont icon-kong"
></i>
<i
class=
"iconfont icon-kong"
></i>
<p>
{{$t("active.ld_noData")}}
</p>
<p>
{{$t("active.ld_noData")}}
</p>
</div>
</div>
<el-pagination
<el-pagination
background
@
current-change=
"handleCurrentChange"
v-if=
"dataList.length>0"
background
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.PageSize"
@
current-change=
"handleCurrentChange"
:total=
"total"
></el-pagination>
v-if=
"dataList.length>0"
</div>
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.PageSize"
:total=
"total"
></el-pagination>
</div>
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
//请求
//请求
msg
:
{
msg
:
{
StartDate
:
"2020-01-01"
,
StartDate
:
"2020-01-01"
,
EndDate
:
"2020-02-29
"
,
EndDate
:
"2020-01-31
"
,
Supplier
:
30
,
Supplier
:
30
,
PageIndex
:
1
,
PageIndex
:
1
,
PageSize
:
15
,
PageSize
:
15
,
},
},
loading
:
false
,
loading
:
false
,
currentPage
:
1
,
currentPage
:
1
,
total
:
0
,
total
:
0
,
dataList
:[],
dataList
:
[],
//供应商
//供应商
SupplierList
:[],
SupplierList
:
[],
pickerBeginDateBefore
:
{
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
if
(
this
.
msg
.
EndDate
==
null
)
{
if
(
this
.
msg
.
EndDate
==
null
)
{
...
@@ -125,31 +107,30 @@ export default {
...
@@ -125,31 +107,30 @@ export default {
this
.
initSupplier
();
this
.
initSupplier
();
this
.
getList
();
this
.
getList
();
},
},
filters
:
{
filters
:
{},
},
methods
:
{
methods
:
{
//点击查询
//点击查询
getSearch
()
{
getSearch
()
{
var
isA
,
isB
,
isC
var
isA
,
isB
,
isC
if
(
this
.
msg
.
Supplier
==
0
)
{
if
(
this
.
msg
.
Supplier
==
0
)
{
this
.
Error
(
'请选择供应商'
);
this
.
Error
(
'请选择供应商'
);
isA
=
false
isA
=
false
}
else
{
}
else
{
isA
=
true
;
isA
=
true
;
}
}
if
(
this
.
msg
.
StartDate
==
''
||
this
.
msg
.
StartDate
==
null
)
{
if
(
this
.
msg
.
StartDate
==
''
||
this
.
msg
.
StartDate
==
null
)
{
this
.
Error
(
'请选择开始日期'
);
this
.
Error
(
'请选择开始日期'
);
isB
=
false
isB
=
false
}
else
{
}
else
{
isB
=
true
;
isB
=
true
;
}
}
if
(
this
.
msg
.
EndDate
==
''
||
this
.
msg
.
EndDate
==
null
)
{
if
(
this
.
msg
.
EndDate
==
''
||
this
.
msg
.
EndDate
==
null
)
{
this
.
Error
(
'请选择结束日期'
);
this
.
Error
(
'请选择结束日期'
);
isC
=
false
isC
=
false
}
else
{
}
else
{
isC
=
true
;
isC
=
true
;
}
}
if
(
isA
&&
isB
&&
isC
)
{
if
(
isA
&&
isB
&&
isC
)
{
this
.
getList
();
this
.
getList
();
}
}
},
},
...
@@ -157,14 +138,14 @@ export default {
...
@@ -157,14 +138,14 @@ export default {
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipost
(
this
.
apipost
(
'dmcstatistics_get_GetDmcSupplierHotelPageListService'
,
this
.
msg
,
'dmcstatistics_get_GetDmcSupplierHotelPageListService'
,
this
.
msg
,
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
console
.
log
(
res
,
'resss'
);
console
.
log
(
res
.
data
.
data
.
pageData
,
'resss'
);
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
this
.
total
=
res
.
data
.
data
.
count
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
},
},
...
@@ -186,5 +167,6 @@ export default {
...
@@ -186,5 +167,6 @@ export default {
},
err
=>
{});
},
err
=>
{});
},
},
}
}
};
};
</
script
>
</
script
>
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