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
0a8f6cc2
Commit
0a8f6cc2
authored
Mar 04, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
bb0e1caa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
28 deletions
+48
-28
SupplierHandFee.vue
src/components/Hotel/SupplierHandFee.vue
+48
-28
No files found.
src/components/Hotel/SupplierHandFee.vue
View file @
0a8f6cc2
<
style
>
.SupplierTable
td
{
padding
:
0
8px
;
}
</
style
>
<
template
>
<div
class=
"flexOne SupplierHandeFee"
>
<div
class=
"query-box"
>
...
...
@@ -27,18 +32,18 @@
</ul>
</div>
<div
class=
"clearfix"
></div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<table
class=
"singeRowTable
SupplierTable
"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th
width=
"130"
>
做账主体
</th>
<th
width=
"1
6
0"
>
团号
</th>
<th
width=
"1
8
0"
>
团号
</th>
<th
width=
"150"
>
手配定团号
</th>
<th
width=
"
10
0"
>
订单人数
</th>
<th
width=
"
7
0"
>
订单人数
</th>
<th
width=
"100"
>
单价(日元)
</th>
<th>
泊数/日期
</th>
<th
width=
"1
5
0"
>
小计(日元)
</th>
<th
width=
"1
5
0"
>
小计(人民币)
</th>
<th
width=
"
20
0"
>
单号
</th>
<th
width=
"
10
0"
>
生成单据
</th>
<th
width=
"300"
>
泊数/日期
</th>
<th
width=
"1
2
0"
>
小计(日元)
</th>
<th
width=
"1
2
0"
>
小计(人民币)
</th>
<th
width=
"
15
0"
>
单号
</th>
<th
width=
"
8
0"
>
生成单据
</th>
</tr>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<template
v-for=
"(subItem,subIndex) in item.SubList"
>
...
...
@@ -48,7 +53,7 @@
<td
v-if=
"subIndex==0"
:rowspan=
"item.SubList.length"
>
{{
item
.
DMCNum
}}
</td>
<td>
{{
subItem
.
GuestNum
}}
</td>
<td>
{{
subItem
.
UnitPrice
}}
</td>
<td>
<td
style=
"text-align:left;"
>
<span
style=
"color:red;"
>
{{
subItem
.
DayCount
}}
泊
</span>
<br
/>
{{
subItem
.
UseTime
}}
...
...
@@ -103,28 +108,43 @@
},
filters
:
{},
methods
:
{
//生成手配费单据
CreateSupplierBill
(
item
)
{
var
that
=
this
;
this
.
Confirm
(
"是否要生成财务单据?"
,
function
()
{
that
.
loading
=
true
;
that
.
apipost
(
"dmcstatistics_get_GetDmcSupplierHotelPageListService"
,
{
TCID
:
item
.
TCIDs
},
res
=>
{
that
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
'生成单据成功!'
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
data
);
}
},
null
);
});
//生成手配费单据
CreateSupplierBill
(
item
)
{
var
that
=
this
;
this
.
Confirm
(
"是否要生成财务单据?"
,
function
()
{
that
.
loading
=
true
;
that
.
apipost
(
"dmcstatistics_get_CreateDmcSupplierHotelBillService"
,
{
TCID
:
item
.
TCIDS
,
Supplier
:
that
.
msg
.
Supplier
},
res
=>
{
that
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
'生成单据成功!'
);
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
data
);
}
},
null
);
});
},
//报价单下载
DownLoadFile
()
{
var
fileName
=
"供应商手配费下载.xls"
;
if
(
this
.
msg
.
QMonthStr
==
''
||
this
.
msg
.
QMonthStr
==
null
)
{
this
.
Error
(
'请选择月份'
);
return
;
}
if
(
this
.
msg
.
Supplier
==
0
)
{
this
.
Error
(
'请选择供应商'
);
return
;
}
var
SupplierName
=
''
this
.
SupplierList
.
forEach
(
x
=>
{
if
(
this
.
msg
.
Supplier
==
x
.
ID
){
SupplierName
=
x
.
Name
}
})
var
fileName
=
SupplierName
+
this
.
msg
.
QMonthStr
;
this
.
loading
=
true
;
this
.
GetLocalFile
(
"dmc_get_DowmLoadDmcSupplierHote"
,
this
.
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
...
...
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