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
72f3db88
Commit
72f3db88
authored
Jul 16, 2024
by
youjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
59497f1a
4c88999a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
2 deletions
+56
-2
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+27
-1
TravelControlListSale.vue
...onents/TravelManager/TravelList/TravelControlListSale.vue
+29
-1
No files found.
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
72f3db88
...
...
@@ -456,7 +456,7 @@
style=
"display:inline-block;margin:5px 0 0 5px;font-size:12px;"
>
{{item.PriceTeamTypeName}}
</label>
</div>
<div
class=
"TCL-OutBranchName"
title=
"销售公司"
>
{{item.UnionBranchName}}
{{item.UnionBranchName}}
<span
v-if=
"item.BZStatus"
:style=
"{'background-color':item.BZStatus==1?'#ff99cc':item.BZStatus==2?'#bcd6ee':'#00c6ff','color':'#000000','margin-top':'3px'}"
>
{{(item.BZStatus==1?'未报账':item.BZStatus==2?'已报账':'报账中')}}
</span>
</div>
<div
class=
"TCL-TOPTCNUM"
>
({{item.TCID}}) {{item.TCNUM}}
</div>
<div
class=
"d12"
style=
"float:none;margin:3px auto;"
>
...
...
@@ -2086,6 +2086,7 @@
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
;
if
(
!
this
.
isCommissionDetails
)
return
this
.
getDetailsOfRoyalty
()
this
.
getTravelAccountStatus
()
}
},
err
=>
{}
...
...
@@ -2116,6 +2117,31 @@
}
)
},
getTravelAccountStatus
(){
let
Ids
=
this
.
queryCommonData
.
dataList
.
map
(
x
=>
{
return
x
.
TCID
})
let
msg
=
[...
new
Set
(
Ids
)]
this
.
apipost
(
"Financial_post_GetTravelAccountStatus"
,
{
TCIDStr
:
msg
.
join
(
','
)
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
RoyaltyList
=
[]
RoyaltyList
=
res
.
data
.
data
this
.
queryCommonData
.
dataList
.
forEach
(
x
=>
{
RoyaltyList
.
forEach
(
y
=>
{
if
(
x
.
TCID
==
y
.
TCID
)
{
x
.
BZStatus
=
y
.
State
}
})
})
this
.
$forceUpdate
()
}
}
)
},
//验证大小
checkTeamNum
(
queryMsg
)
{
var
TeamMinNum
=
parseInt
(
queryMsg
.
TeamMinNum
);
...
...
src/components/TravelManager/TravelList/TravelControlListSale.vue
View file @
72f3db88
...
...
@@ -380,7 +380,9 @@
{{
item
.
PriceTeamTypeName
&&
item
.
PriceTeamTypeName
==
'单地接'
?
item
.
PriceTeamTypeName
:
'单团'
}}
</label>
</div>
<div
class=
"TCL-OutBranchName"
:title=
"$t('visa.v_salecompany')"
>
{{
item
.
UnionBranchName
}}
</div>
<div
class=
"TCL-OutBranchName"
:title=
"$t('visa.v_salecompany')"
>
{{
item
.
UnionBranchName
}}
<span
v-if=
"item.BZStatus"
:style=
"
{'background-color':item.BZStatus==1?'#ff99cc':item.BZStatus==2?'#bcd6ee':'#00c6ff','color':'#000000','margin-top':'3px'}">
{{
(
item
.
BZStatus
==
1
?
'未报账'
:
item
.
BZStatus
==
2
?
'已报账'
:
'报账中'
)
}}
</span>
</div>
<div
class=
"TCL-TOPTCNUM"
>
(
{{
item
.
TCID
}}
)
{{
item
.
TCNUM
}}
</div>
<div
class=
"d12"
style=
"float:none;margin:3px auto;"
>
<p>
...
...
@@ -1539,6 +1541,7 @@
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
;
if
(
!
this
.
isCommissionDetails
)
return
this
.
getDetailsOfRoyalty
()
this
.
getTravelAccountStatus
()
}
},
err
=>
{}
...
...
@@ -1569,6 +1572,31 @@
}
)
},
getTravelAccountStatus
(){
let
Ids
=
this
.
queryCommonData
.
dataList
.
map
(
x
=>
{
return
x
.
TCID
})
let
msg
=
[...
new
Set
(
Ids
)]
this
.
apipost
(
"Financial_post_GetTravelAccountStatus"
,
{
TCIDStr
:
msg
.
join
(
','
)
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
RoyaltyList
=
[]
RoyaltyList
=
res
.
data
.
data
this
.
queryCommonData
.
dataList
.
forEach
(
x
=>
{
RoyaltyList
.
forEach
(
y
=>
{
if
(
x
.
TCID
==
y
.
TCID
)
{
x
.
BZStatus
=
y
.
State
}
})
})
this
.
$forceUpdate
()
}
}
)
},
//验证大小
checkTeamNum
(
queryMsg
)
{
var
TeamMinNum
=
parseInt
(
queryMsg
.
TeamMinNum
);
...
...
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