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
1eee2e56
Commit
1eee2e56
authored
May 09, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增制作单据权限验证
parent
5548e5f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
14 deletions
+41
-14
TeamBalancePayment.vue
...omponents/TravelManager/TravelList/TeamBalancePayment.vue
+41
-14
No files found.
src/components/TravelManager/TravelList/TeamBalancePayment.vue
View file @
1eee2e56
...
...
@@ -102,7 +102,7 @@
}
.Team_Incontent
{
margin-left
:
35px
;
margin-left
:
35px
;
}
.Team_firstTitle
span
{
...
...
@@ -224,13 +224,13 @@
</div>
<div
class=
"Team_Incontent"
style=
"height:80px;overflow:auto;"
>
<div>
<div>
提
成
</div>
<div
style=
"margin-bottom:6px;"
>
<div>
提
成
</div>
<div
style=
"margin-bottom:6px;"
>
<template
v-for=
"subItem in DataList.ExpectedCutList"
>
<div
style=
"margin-bottom:10px;"
>
{{
subItem
.
BranchName
}}
¥
{{
subItem
.
expectedCut
}}
</div>
</
template
>
</div>
</div>
</div>
<div>
联运成本
<span>
¥{{DataList.LYCB}}
</span></div>
</div>
<div
class=
"Team_firstTitle"
>
...
...
@@ -263,8 +263,10 @@
<div
class=
"Team_collection"
v-loading=
"loading"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
收入
</div>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
<
template
v-if=
"IsHaveAuth"
>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddIncomeDetail"
/>
</
template
>
</div>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
团费收入:
...
...
@@ -575,7 +577,9 @@
<div
class=
"Team_collection"
v-loading=
"loading"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
成本
</div>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddOutDetail"
/>
<
template
v-if=
"IsHaveAuth"
>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddOutDetail"
/>
</
template
>
</div>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
邀请函:
...
...
@@ -1057,7 +1061,10 @@
<div
class=
"Team_collection"
v-loading=
"loading"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
非成本
</div>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddOutDetail"
/>
<
template
v-if=
"IsHaveAuth"
>
<input
type=
"button"
value=
"新增"
class=
"hollowFixedBtn TeamAddBtn"
v-show=
"ishowBtn"
@
click=
"AddOutDetail"
/>
</
template
>
</div>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
领队佣金:
...
...
@@ -1261,12 +1268,12 @@
</table>
</div>
</div>
<div
class=
"Team_BtnList"
>
<input
type=
"button"
@
click=
"zhaunBox"
value=
"单据转团"
class=
"hollowFixedBtn"
/>
<div
class=
"Team_BtnList"
v-if=
"IsHaveAuth"
>
<input
type=
"button"
@
click=
"zhaunBox"
value=
"单据转团"
class=
"hollowFixedBtn"
/>
<input
type=
"button"
v-if=
"!CloseIncomeBtn"
@
click=
"UpdateBrakeAccountStatus"
:value=
"(DataList&&DataList.TeamBalance&&DataList.TeamBalance.BrakeAccountStatus === 0) ? '关闭收支操作' : '开启收支操作'"
class=
"hollowFixedBtn"
/>
<input
type=
"button"
value=
"导出"
@
click=
"ExportExcle"
class=
"normalBtn"
/>
class=
"hollowFixedBtn"
/>
<input
type=
"button"
value=
"导出"
@
click=
"ExportExcle"
class=
"normalBtn"
/>
<input
type=
"button"
value=
"打印"
@
click
.
prevent=
"doPrint"
class=
"normalBtn"
/>
</div>
<el-dialog
custom-class=
'w350'
title=
"合并单据"
:visible
.
sync=
"zhuanLoading"
center
:before-close=
"initZhuanMsg"
>
...
...
@@ -1299,6 +1306,7 @@
TCNUM
:
''
,
FrIds
:
''
,
},
IsHaveAuth
:
false
,
//权限判断按钮是否显示
zhuanLoading
:
false
,
moneyAll
:
{
Moneyall
:
0
,
...
...
@@ -1582,7 +1590,7 @@
}
// 地接
if
((
that
.
isExists
(
item
.
CostTypeList
,
'地接费(领取)'
)
||
(
that
.
isExists
(
item
.
CostTypeList
,
'地接费(结算)'
)))
&&
item
.
Type
==
2
)
{
'地接费(结算)'
)))
&&
item
.
Type
==
2
)
{
this
.
moneyAll
.
dijieyf
+=
item
.
Money
;
this
.
moneyAll
.
dijiesf
+=
item
.
PayMoney
;
...
...
@@ -1713,12 +1721,31 @@
},
err
=>
{}
)
},
//权限验证
checkHasAuth
()
{
this
.
apipost
(
'travel_get_CheckBalancePaymentAuth'
,
{
TCID
:
this
.
TCID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
IsHaveAuth
=
true
;
}
else
{
this
.
IsHaveAuth
=
false
;
}
},
err
=>
{}
)
}
},
mounted
()
{
this
.
TCID
=
this
.
$route
.
query
.
id
;
this
.
OutBranchId
=
this
.
$route
.
query
.
OutBranchId
this
.
CloseIncomeBtn
=
this
.
$route
.
query
.
CloseIncomeBtn
this
.
OutBranchId
=
this
.
$route
.
query
.
OutBranchId
;
this
.
CloseIncomeBtn
=
this
.
$route
.
query
.
CloseIncomeBtn
;
this
.
checkHasAuth
();
this
.
getList
();
this
.
getAllCont
();
this
.
getHangingAccountByTCIDList
();
...
...
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