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
7df0861c
Commit
7df0861c
authored
Jul 16, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a47411bf
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 @
7df0861c
...
@@ -456,7 +456,7 @@
...
@@ -456,7 +456,7 @@
style=
"display:inline-block;margin:5px 0 0 5px;font-size:12px;"
>
{{item.PriceTeamTypeName}}
</label>
style=
"display:inline-block;margin:5px 0 0 5px;font-size:12px;"
>
{{item.PriceTeamTypeName}}
</label>
</div>
</div>
<div
class=
"TCL-OutBranchName"
title=
"销售公司"
>
<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>
<div
class=
"TCL-TOPTCNUM"
>
({{item.TCID}}) {{item.TCNUM}}
</div>
<div
class=
"TCL-TOPTCNUM"
>
({{item.TCID}}) {{item.TCNUM}}
</div>
<div
class=
"d12"
style=
"float:none;margin:3px auto;"
>
<div
class=
"d12"
style=
"float:none;margin:3px auto;"
>
...
@@ -2086,6 +2086,7 @@
...
@@ -2086,6 +2086,7 @@
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
;
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
;
if
(
!
this
.
isCommissionDetails
)
return
if
(
!
this
.
isCommissionDetails
)
return
this
.
getDetailsOfRoyalty
()
this
.
getDetailsOfRoyalty
()
this
.
getTravelAccountStatus
()
}
}
},
},
err
=>
{}
err
=>
{}
...
@@ -2116,6 +2117,31 @@
...
@@ -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
)
{
checkTeamNum
(
queryMsg
)
{
var
TeamMinNum
=
parseInt
(
queryMsg
.
TeamMinNum
);
var
TeamMinNum
=
parseInt
(
queryMsg
.
TeamMinNum
);
...
...
src/components/TravelManager/TravelList/TravelControlListSale.vue
View file @
7df0861c
...
@@ -380,7 +380,9 @@
...
@@ -380,7 +380,9 @@
{{
item
.
PriceTeamTypeName
&&
item
.
PriceTeamTypeName
==
'单地接'
?
item
.
PriceTeamTypeName
:
'单团'
}}
{{
item
.
PriceTeamTypeName
&&
item
.
PriceTeamTypeName
==
'单地接'
?
item
.
PriceTeamTypeName
:
'单团'
}}
</label>
</label>
</div>
</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=
"TCL-TOPTCNUM"
>
(
{{
item
.
TCID
}}
)
{{
item
.
TCNUM
}}
</div>
<div
class=
"d12"
style=
"float:none;margin:3px auto;"
>
<div
class=
"d12"
style=
"float:none;margin:3px auto;"
>
<p>
<p>
...
@@ -1539,6 +1541,7 @@
...
@@ -1539,6 +1541,7 @@
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
;
this
.
queryMsg
.
noData
=
!
this
.
queryMsg
.
total
>
0
;
if
(
!
this
.
isCommissionDetails
)
return
if
(
!
this
.
isCommissionDetails
)
return
this
.
getDetailsOfRoyalty
()
this
.
getDetailsOfRoyalty
()
this
.
getTravelAccountStatus
()
}
}
},
},
err
=>
{}
err
=>
{}
...
@@ -1569,6 +1572,31 @@
...
@@ -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
)
{
checkTeamNum
(
queryMsg
)
{
var
TeamMinNum
=
parseInt
(
queryMsg
.
TeamMinNum
);
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