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
c138e214
Commit
c138e214
authored
Dec 27, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
机票
parent
947b0e5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
3 deletions
+53
-3
TeamBalancePayment.vue
...omponents/TravelManager/TravelList/TeamBalancePayment.vue
+53
-3
No files found.
src/components/TravelManager/TravelList/TeamBalancePayment.vue
View file @
c138e214
...
...
@@ -725,6 +725,8 @@
<span
class=
"span_all"
>
应付:¥{{moneyFormat(moneyAll.ticketyf)}}
</span>
<span
class=
"span_all"
>
实付:¥{{moneyFormat(moneyAll.ticketsf)}}
</span>
</span>
<input
v-if=
"DataList.TeamBalance.ShouldReceive==0"
type=
"button"
class=
"hollowFixedBtn"
value=
"设为机票损失"
@
click=
"Setloss('','all')"
style=
"height:24px;padding:0 10px"
/>
</div>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
...
...
@@ -745,6 +747,7 @@
<td>
<el-checkbox
v-model=
"item.checked"
></el-checkbox>
<span
class=
"Team_income"
@
click=
"goUrl('FinancialDocumentsDetail',item.FrID)"
>
{{
item
.
FrID
}}
</span>
<input
v-if=
"DataList.TeamBalance.ShouldReceive==0 && isContain(item.CostTypeList)"
type=
"button"
class=
"hollowFixedBtn"
value=
"设为损失"
@
click=
"Setloss(item.FrID,'sigal')"
style=
"height:24px;padding:0 10px"
/>
</td>
<td><span
v-for=
"subItem in item.CostTypeList"
:key=
"subItem.subCode"
>
{{
subItem
}}
<br
/></span></td>
<td>
...
...
@@ -1450,11 +1453,16 @@
export
default
{
data
()
{
return
{
ticketList
:[],
tipdialog
:
false
,
gridData
:
[],
TCID
:
0
,
//数据列表
DataList
:
[],
DataList
:
{
TeamBalance
:{
ShouldReceive
:
0
}
},
OutBranchId
:
0
,
ishowBtn
:
true
,
CloseIncomeBtn
:
false
,
...
...
@@ -1539,6 +1547,44 @@
};
},
methods
:
{
isContain
(
list
){
if
(
list
.
CostTypeList
&&
list
.
CostTypeList
.
length
==
1
&&
list
.
CostTypeList
[
0
]
==
"机票罚金"
){
return
false
;
}
else
{
return
true
;
}
},
Setloss
(
ID
,
type
)
{
var
that
=
this
;
let
msg
=
{
FrIDList
:[]
};
let
FrIDList
=
[];
if
(
type
==
'all'
){
FrIDList
=
this
.
ticketList
;
}
else
{
FrIDList
.
push
(
ID
)
}
msg
.
FrIDList
=
FrIDList
;
that
.
Confirm
(
'是否设为损失,一旦设置,将无法修改?'
,
function
()
{
that
.
apipost
(
'Financial_get_SetFinanceAirLossCostType'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
res
.
data
.
message
)
that
.
getList
()
}
else
{
that
.
Error
(
res
.
data
.
message
)
}
},
null
)
})
},
gourlTip
(
path
,
id
){
this
.
$router
.
push
({
name
:
path
,
...
...
@@ -1808,6 +1854,7 @@ this.moneyAll.otheryTotalsf+=item.PayMoney;
})
this
.
ticketList
=
[];
this
.
DataList
.
FinicePayList
.
forEach
(
item
=>
{
// 邀请函:
if
(
that
.
isExists
(
item
.
CostTypeList
,
'邀请函费用'
)
||
that
.
isExists
(
item
.
CostTypeList
,
'名单表费'
))
{
...
...
@@ -1821,14 +1868,17 @@ this.moneyAll.otheryTotalsf+=item.PayMoney;
this
.
moneyAll
.
cheziyf
+=
item
.
Money
;
this
.
moneyAll
.
chezisf
+=
item
.
PayMoney
;
}
// 机票款
// 机票款 数组
if
(
that
.
isExists
(
item
.
CostTypeList
,
'国际段机票'
)
||
item
.
OrderSource
===
4
||
that
.
isExists
(
item
.
CostTypeList
,
'机票退税'
)
||
that
.
isExists
(
item
.
CostTypeList
,
'机票罚金'
)
||
that
.
isExists
(
item
.
CostTypeList
,
'机票税金'
)
||
that
.
isExists
(
item
.
CostTypeList
,
'国内联运段机票'
))
{
this
.
ticketList
.
push
(
item
.
FrID
);
this
.
moneyAll
.
ticketyf
+=
item
.
Money
;
this
.
moneyAll
.
ticketsf
+=
item
.
PayMoney
;
}
// 签证
if
(
that
.
isExists
(
item
.
CostTypeList
,
'签证费'
)
||
that
.
isExists
(
item
.
CostTypeList
,
'签证佣金'
))
{
...
...
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