Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
zhengke
jz_Travel
Commits
a47c9888
Commit
a47c9888
authored
Jul 14, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
290145b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
74 additions
and
48 deletions
+74
-48
billDetails.vue
pages/teamLeader/billDetails.vue
+35
-28
schedule.vue
pages/teamLeader/schedule.vue
+39
-20
No files found.
pages/teamLeader/billDetails.vue
View file @
a47c9888
...
...
@@ -165,33 +165,35 @@
</view>
</view>
<view>
<!--
<template
v-for=
"(item,index) in TeamUsePriceList"
>
<view
v-if=
"item.TotalPrice>0"
class=
"billDetailsCTop one"
>
<view
class=
"billDetailsCHeader row justify-between items-center"
@
click=
"showTeamUse(index)"
>
<view
class=
"billDetailsCHeaderL"
>
<view
class=
"fz28"
>
{{
item
.
month
}}
月
{{
item
.
day
}}
日
</view>
<view
class=
"fz20 MT10"
>
{{
item
.
year
}}
年
</view>
</view>
<view
class=
"billDetailsCHeaderR row items-center fontBold"
>
<text>
¥
{{
item
.
TotalPrice
}}
</text>
<img
class=
"ML20"
:src=
"!item.showList?downImg[0]:downImg[1]"
/>
<template
v-if=
"TeamUsePriceList&&TeamUsePriceList.length>0"
>
<template
v-for=
"(item,index) in TeamUsePriceList"
>
<view
class=
"billDetailsCTop one"
>
<view
class=
"billDetailsCHeader row justify-between items-center"
@
click=
"showTeamUse(index)"
>
<view
class=
"billDetailsCHeaderL"
>
<view
class=
"fz28"
>
{{
item
.
month
}}
月
{{
item
.
day
}}
日
</view>
<view
class=
"fz20 MT10"
>
{{
item
.
year
}}
年
</view>
</view>
<view
class=
"billDetailsCHeaderR row items-center fontBold"
>
<text>
¥
{{
item
.
TotalPrice
}}
</text>
<img
class=
"ML20"
:src=
"!item.showList?downImg[0]:downImg[1]"
/>
</view>
</view>
</view
>
<view
v-if=
"item.showL
ist"
>
<template
v-for=
"child in item.list
"
>
<view
v-if=
"child.price>0"
class=
"billDetailsCCBox row items-center fz28"
>
<img
:src=
"typeImgs[child.index]"
/
>
<view
class=
"billDetailsCCR flex1 row justify-between items-center"
>
<view
class=
"ML23 fz28"
>
{{
child
.
name
}}
</view
>
<
text
class=
"fz28 fontWeight500"
>
¥
{{
child
.
price
}}
</text
>
<view
v-if=
"item.showList"
>
<template
v-for=
"child in item.l
ist"
>
<view
class=
"billDetailsCCBox row items-center fz28
"
>
<img
:src=
"typeImgs[child.index]"
/
>
<view
class=
"billDetailsCCR flex1 row justify-between items-center"
>
<view
class=
"ML23 fz28"
>
{{
child
.
name
}}
</view
>
<text
class=
"fz28 fontWeight500"
>
¥
{{
child
.
price
}}
</text
>
<
/view
>
</view>
</
view
>
</
template
>
<
u-empty
v-if=
"item.list.length==0||!item.list"
text=
"暂无数据"
mode=
"data"
paddingTop=
"0"
></u-empty
>
</
template
>
<u-empty
v-if=
"item.list.length==0||!item.list"
text=
"暂无数据"
mode=
"data"
paddingTop=
"0"
></u-empty
>
<
/view
>
</view>
</
view
>
</template>
-->
</
template
>
</template>
<view
class=
"billDetailsCTop"
>
<view
class=
"billDetailsCHeader billDetailsCHeaderOth row justify-between items-center"
@
click=
"showOther=!showOther"
>
...
...
@@ -264,7 +266,7 @@ export default {
date
:
''
,
year
:
''
,
month
:
''
,
showList
:
fals
e
,
showList
:
tru
e
,
list
:[]
},
showOther
:
false
,
...
...
@@ -348,6 +350,7 @@ export default {
price
:
x
.
DiningTotalPrice
,
index
:
3
,
})
this
.
TotalList
[
0
].
price
+=
x
.
BusTotalPrice
this
.
TotalList
[
1
].
price
+=
x
.
HouseTotalPrice
this
.
TotalList
[
2
].
price
+=
x
.
ScenicTotalPrice
...
...
@@ -368,9 +371,10 @@ export default {
this
.
apipost
(
"dmcstatistics_post_GetTotalPrice_V2"
,
this
.
msg
,
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
uni
.
hideLoading
()
this
.
dataList
=
res
.
data
.
sort
((
a
,
b
)
=>
{
return
new
Date
(
b
.
TeamUsePriceList
[
0
].
UseTime
)
-
new
Date
(
a
.
TeamUsePriceList
[
0
].
UseTime
)
})
this
.
dataList
=
res
.
data
//this.dataList = res.data.sort((a,b)=>{
// return new Date(b.TeamUsePriceList[0].UseTime) - new Date(a.TeamUsePriceList[0].UseTime)
// })
this
.
dataList
.
forEach
(
x
=>
{
if
(
x
.
TeamUsePriceList
)
x
.
TeamUsePriceList
.
forEach
(
y
=>
{
y
.
date
=
this
.
$utils
.
formatDates
(
new
Date
(
y
.
UseTime
),
'yyyy-MM-dd'
)
...
...
@@ -387,6 +391,9 @@ export default {
id
:
res
.
data
[
i
].
CurrencyId
,
})
}
if
(
this
.
dataList
[
this
.
currentIndex
].
OtherTotalPriceList
&&
this
.
dataList
[
this
.
currentIndex
].
OtherTotalPriceList
.
length
>
0
){
this
.
showOther
=
true
}
this
.
newTeamUsePrice
()
}
},
(
failed
)
=>
{
...
...
pages/teamLeader/schedule.vue
View file @
a47c9888
...
...
@@ -370,26 +370,45 @@ export default {
arrList
(
this
.
inforData1
.
PrincipalList
)
this
.
PrincipalList
.
forEach
((
item
,
index
)
=>
{
let
data
=
this
.
inforData1
.
PrincipalList
[
0
]
data
.
CreateByNameList
.
push
({
name
:
item
.
CreateByName
,
tel
:
item
.
CreateByMobile
})
data
.
HConfirmNameList
.
push
({
name
:
item
.
HConfirmName
,
tel
:
item
.
HConfirmMobile
})
data
.
BConfirmNameList
.
push
({
name
:
item
.
BConfirmName
,
tel
:
item
.
BConfirmMobile
})
data
.
DConfirmNameList
.
push
({
name
:
item
.
DConfirmName
,
tel
:
item
.
DConfirmMobile
})
data
.
TConfirmNameList
.
push
({
name
:
item
.
TConfirmName
,
tel
:
item
.
TConfirmMobile
})
let
findIndex1
=
data
.
CreateByNameList
.
findIndex
(
x
=>
x
.
name
==
item
.
CreateByName
)
if
(
findIndex1
==-
1
){
data
.
CreateByNameList
.
push
({
name
:
item
.
CreateByName
,
tel
:
item
.
CreateByMobile
})
}
let
findIndex2
=
data
.
HConfirmNameList
.
findIndex
(
x
=>
x
.
name
==
item
.
HConfirmName
)
if
(
findIndex2
==-
1
){
data
.
HConfirmNameList
.
push
({
name
:
item
.
HConfirmName
,
tel
:
item
.
HConfirmMobile
})
}
let
findIndex3
=
data
.
BConfirmNameList
.
findIndex
(
x
=>
x
.
name
==
item
.
BConfirmName
)
if
(
findIndex3
==-
1
){
data
.
BConfirmNameList
.
push
({
name
:
item
.
BConfirmName
,
tel
:
item
.
BConfirmMobile
})
}
let
findIndex4
=
data
.
DConfirmNameList
.
findIndex
(
x
=>
x
.
name
==
item
.
DConfirmName
)
if
(
findIndex4
==-
1
){
data
.
DConfirmNameList
.
push
({
name
:
item
.
DConfirmName
,
tel
:
item
.
DConfirmMobile
})
}
let
findIndex5
=
data
.
TConfirmNameList
.
findIndex
(
x
=>
x
.
name
==
item
.
TConfirmName
)
if
(
findIndex5
==-
1
){
data
.
TConfirmNameList
.
push
({
name
:
item
.
TConfirmName
,
tel
:
item
.
TConfirmMobile
})
}
})
uni
.
hideLoading
()
}
...
...
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