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
bb0e1caa
Commit
bb0e1caa
authored
Mar 04, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
a0035239
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
3 deletions
+30
-3
SupplierHandFee.vue
src/components/Hotel/SupplierHandFee.vue
+30
-3
No files found.
src/components/Hotel/SupplierHandFee.vue
View file @
bb0e1caa
...
...
@@ -22,7 +22,7 @@
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"查询"
@
click=
"getSearch()"
>
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
>
<input
type=
"button"
class=
"normalBtn"
value=
"下载"
@
click=
"DownLoadFile()"
>
</li>
</ul>
</div>
...
...
@@ -60,9 +60,9 @@
<td>
{{subItem.Frids}}
</td>
<td>
<td
v-if=
"subIndex==0"
:rowspan=
"item.SubList.length"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"生成单据"
placement=
"top-start"
>
<el-button
type=
"success"
icon=
"el-icon-check"
circle
></el-button>
<el-button
type=
"success"
icon=
"el-icon-check"
circle
@
click=
"CreateSupplierBill(item)"
></el-button>
</el-tooltip>
</td>
</tr>
...
...
@@ -103,6 +103,33 @@
},
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
);
});
},
//报价单下载
DownLoadFile
()
{
var
fileName
=
"供应商手配费下载.xls"
;
this
.
loading
=
true
;
this
.
GetLocalFile
(
"dmc_get_DowmLoadDmcSupplierHote"
,
this
.
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
});
},
//点击查询
getSearch
()
{
if
(
this
.
msg
.
QMonthStr
==
''
||
this
.
msg
.
QMonthStr
==
null
)
{
...
...
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