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
67b9db33
Commit
67b9db33
authored
Jul 18, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d7c6ef10
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
112 additions
and
18 deletions
+112
-18
otherInfor1.vue
pages/teamLeader/components/report/otherInfor1.vue
+4
-2
otherInfor2.vue
pages/teamLeader/components/report/otherInfor2.vue
+2
-2
otherInfor3.vue
pages/teamLeader/components/report/otherInfor3.vue
+2
-2
otherInfor4.vue
pages/teamLeader/components/report/otherInfor4.vue
+5
-2
otherInfor5.vue
pages/teamLeader/components/report/otherInfor5.vue
+3
-2
otherInfor6.vue
pages/teamLeader/components/report/otherInfor6.vue
+4
-4
reimbursementInfor.vue
pages/teamLeader/reimbursementInfor.vue
+92
-4
No files found.
pages/teamLeader/components/report/otherInfor1.vue
View file @
67b9db33
...
...
@@ -249,7 +249,7 @@ export default {
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
newVal
))
this
.
OtherList
=
this
.
params
.
OtherOrderInfo
.
OtherList
this
.
OtherList
.
forEach
(
x
=>
{
x
.
UseDate
=
x
.
UseDate
?
this
.
$utils
.
formatDates
(
new
Date
(
x
.
UseDate
),
'yyyy-MM-dd'
):
''
x
.
UseDate
=
x
.
UseDate
?
this
.
$utils
.
formatDates
(
new
Date
(
x
.
UseDate
),
'yyyy-MM-dd'
):
null
let
findIndex
=
this
.
options
.
findIndex
(
y
=>
y
.
id
==
x
.
CostProject
&&
x
.
ID
>
0
)
if
(
findIndex
!=-
1
)
x
.
CostProjectStr
=
this
.
options
[
findIndex
].
name
let
findIndex2
=
this
.
currencyList
.
findIndex
(
y
=>
y
.
id
==
x
.
Currency
)
...
...
@@ -354,7 +354,8 @@ export default {
addData
(){
this
.
ReimDatas
=
{
...
this
.
ReimDatas
,
CostProject
:
0
,
ID
:
0
,
CostProject
:
null
,
CostProjectStr
:
''
,
CurrencyName
:
''
,
Currency
:
0
,
...
...
@@ -362,6 +363,7 @@ export default {
UnitPrice
:
0
,
Remark
:
''
,
VoucherPicList
:
[],
UseDate
:
null
}
this
.
OtherList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
ReimDatas
)))
},
...
...
pages/teamLeader/components/report/otherInfor2.vue
View file @
67b9db33
...
...
@@ -347,10 +347,10 @@ export default {
addData
(){
this
.
ReimDatas
=
{
...
this
.
ReimDatas
,
CostProject
:
0
,
CostProject
:
null
,
CostProjectStr
:
''
,
CurrencyName
:
''
,
Currency
:
0
,
Currency
:
null
,
Rebate
:
0
,
UnitPrice
:
0
,
Remark
:
''
,
...
...
pages/teamLeader/components/report/otherInfor3.vue
View file @
67b9db33
...
...
@@ -351,10 +351,10 @@ export default {
addData
(){
this
.
ReimDatas
=
{
...
this
.
ReimDatas
,
CostProject
:
0
,
CostProject
:
null
,
CostProjectStr
:
''
,
CurrencyName
:
''
,
Currency
:
0
,
Currency
:
null
,
Rebate
:
0
,
UnitPrice
:
0
,
Remark
:
''
,
...
...
pages/teamLeader/components/report/otherInfor4.vue
View file @
67b9db33
...
...
@@ -250,7 +250,9 @@ export default {
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
newVal
))
this
.
SelfPlayingIncomeList
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingIncomeList
this
.
SelfPlayingIncomeList
.
forEach
(
x
=>
{
x
.
UseDate
=
x
.
UseDate
?
this
.
$utils
.
formatDates
(
new
Date
(
x
.
UseDate
),
'yyyy-MM-dd'
):
''
x
.
UseDate
=
x
.
UseDate
?
this
.
$utils
.
formatDates
(
new
Date
(
x
.
UseDate
),
'yyyy-MM-dd'
):
null
let
findIndex
=
this
.
currencyList
.
findIndex
(
y
=>
y
.
id
==
x
.
Currency
)
if
(
findIndex
!=-
1
)
x
.
CurrencyName
=
this
.
currencyList
[
findIndex
].
name
})
},
deep
:
true
,
...
...
@@ -351,7 +353,7 @@ export default {
addData
(){
this
.
ReimDatas
=
{
...
this
.
ReimDatas
,
CostProject
:
0
,
CostProject
:
null
,
CostProjectStr
:
''
,
CurrencyName
:
''
,
Currency
:
0
,
...
...
@@ -359,6 +361,7 @@ export default {
UnitPrice
:
0
,
Remark
:
''
,
VoucherPicList
:
[],
UseDate
:
null
,
}
this
.
SelfPlayingIncomeList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
ReimDatas
)))
},
...
...
pages/teamLeader/components/report/otherInfor5.vue
View file @
67b9db33
...
...
@@ -250,7 +250,7 @@ export default {
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
newVal
))
this
.
SelfPlayingExpendList
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingExpendList
this
.
SelfPlayingExpendList
.
forEach
(
x
=>
{
x
.
UseDate
=
x
.
UseDate
?
this
.
$utils
.
formatDates
(
new
Date
(
x
.
UseDate
),
'yyyy-MM-dd'
):
''
x
.
UseDate
=
x
.
UseDate
?
this
.
$utils
.
formatDates
(
new
Date
(
x
.
UseDate
),
'yyyy-MM-dd'
):
null
let
findIndex
=
this
.
currencyList
.
findIndex
(
y
=>
y
.
id
==
x
.
Currency
)
if
(
findIndex
!=-
1
)
x
.
CurrencyName
=
this
.
currencyList
[
findIndex
].
name
})
...
...
@@ -353,7 +353,7 @@ export default {
addData
(){
this
.
ReimDatas
=
{
...
this
.
ReimDatas
,
CostProject
:
0
,
CostProject
:
null
,
CostProjectStr
:
''
,
CurrencyName
:
''
,
Currency
:
0
,
...
...
@@ -361,6 +361,7 @@ export default {
UnitPrice
:
0
,
Remark
:
''
,
VoucherPicList
:
[],
UseDate
:
null
,
}
this
.
SelfPlayingExpendList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
ReimDatas
)))
},
...
...
pages/teamLeader/components/report/otherInfor6.vue
View file @
67b9db33
...
...
@@ -249,7 +249,7 @@ export default {
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
newVal
))
this
.
LeaderShopList
=
this
.
params
.
LeaderShopList
this
.
LeaderShopList
.
forEach
(
x
=>
{
x
.
EnterTime
=
x
.
UseDate
?
this
.
$utils
.
formatDates
(
new
Date
(
x
.
EnterTime
),
'yyyy-MM-dd'
):
''
x
.
EnterTime
=
x
.
EnterTime
?
this
.
$utils
.
formatDates
(
new
Date
(
x
.
EnterTime
),
'yyyy-MM-dd'
):
null
let
findIndex
=
this
.
options
.
findIndex
(
y
=>
y
.
id
==
x
.
ShopId
)
if
(
findIndex
!=-
1
)
x
.
ShopStr
=
this
.
options
[
findIndex
].
name
let
findIndex2
=
this
.
currencyList
.
findIndex
(
y
=>
y
.
id
==
x
.
CurrencyId
)
...
...
@@ -355,11 +355,11 @@ export default {
ShopId
:
null
,
ShopStr
:
''
,
CurrencyName
:
''
,
CurrencyId
:
null
,
CurrencyId
:
0
,
ShopMoney
:
0
,
Remark
:
''
,
Remark
:
null
,
VoucherPicList
:
[],
EnterTime
:
''
,
EnterTime
:
null
,
}
this
.
LeaderShopList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
ReimDatas
)))
},
...
...
pages/teamLeader/reimbursementInfor.vue
View file @
67b9db33
...
...
@@ -325,7 +325,7 @@ export default {
for
(
let
j
=
0
;
j
<
obj
.
ReimburseList
.
ReimburseDetailsList
.
length
;
j
++
){
let
child
=
obj
.
ReimburseList
.
ReimburseDetailsList
[
j
]
if
(
msg
==
''
&&
(
obj
.
ReimburseList
.
CurrencyId
==
0
||
obj
.
ReimburseList
.
CurrencyId
==
''
)
&&
(
obj
.
ReimburseList
.
CurrencyId
==
0
||
obj
.
ReimburseList
.
CurrencyId
==
null
)
&&
(
obj
.
ReimburseList
.
SettlementType
>
0
||
obj
.
ReimburseList
.
Remarks
!=
''
||
obj
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
child
.
StartPlace
!=
''
||
child
.
EndPlace
!=
''
||
child
.
UserNum
>
0
||
child
.
UnitPrice
>
0
||
child
.
UserType
)
...
...
@@ -366,7 +366,7 @@ export default {
let
child
=
obj
.
HotelOrderList
[
j
]
for
(
let
x
=
0
;
x
<
child
.
ReimburseList
.
ReimburseDetailsList
.
length
;
x
++
){
let
grandson
=
child
.
ReimburseList
.
ReimburseDetailsList
[
x
]
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
''
)
&&
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
null
)
&&
(
child
.
ReimburseList
.
SettlementType
>
0
||
child
.
ReimburseList
.
Remarks
!=
''
||
child
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
grandson
.
UserNum
>
0
||
grandson
.
UnitPrice
>
0
||
grandson
.
UserType
)
...
...
@@ -393,7 +393,7 @@ export default {
let
child
=
obj
.
DiningSummaryList
[
j
]
for
(
let
x
=
0
;
x
<
child
.
ReimburseList
.
ReimburseDetailsList
.
length
;
x
++
){
let
grandson
=
child
.
ReimburseList
.
ReimburseDetailsList
[
x
]
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
''
)
&&
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
null
)
&&
(
child
.
ReimburseList
.
SettlementType
>
0
||
child
.
ReimburseList
.
Remarks
!=
''
||
child
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
grandson
.
UserNum
>
0
||
grandson
.
UnitPrice
>
0
||
grandson
.
UserType
)
...
...
@@ -420,7 +420,7 @@ export default {
let
child
=
obj
.
ScenicStatisticsList
[
j
]
for
(
let
x
=
0
;
x
<
child
.
ReimburseList
.
ReimburseDetailsList
.
length
;
x
++
){
let
grandson
=
child
.
ReimburseList
.
ReimburseDetailsList
[
x
]
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
''
)
&&
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
null
)
&&
(
child
.
ReimburseList
.
SettlementType
>
0
||
child
.
ReimburseList
.
Remarks
!=
''
||
child
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
grandson
.
UserNum
>
0
||
grandson
.
UnitPrice
>
0
||
grandson
.
UserType
)
...
...
@@ -439,12 +439,99 @@ export default {
}
return
msg
},
VerificationOther
(){
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
OtherOrderInfo
.
OtherList
.
length
;
i
++
){
let
obj
=
this
.
params
.
OtherOrderInfo
.
OtherList
[
i
]
if
(
msg
==
''
&&
obj
.
UseDate
==
null
&&
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
''
||
obj
.
CostProjectStr
!=
''
||
obj
.
Currency
)
){
msg
=
`请选择其他费用使用时间`
}
if
(
msg
==
''
&&
obj
.
CostProjectStr
==
''
&&
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
''
||
obj
.
Currency
||
obj
.
UseDate
!=
null
)
){
msg
=
`请选择其他费用费用项目`
}
if
(
msg
==
''
&&
(
obj
.
Currency
==
0
||
obj
.
Currency
==
null
)
&&
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
''
||
obj
.
CostProjectStr
!=
''
||
obj
.
UseDate
!=
null
)
){
msg
=
`请选择其他费用币种`
}
}
return
msg
},
VerificationIncome
(){
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
OtherOrderInfo
.
SelfPlayingIncomeList
.
length
;
i
++
){
let
obj
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingIncomeList
[
i
]
if
(
msg
==
''
&&
obj
.
UseDate
==
null
&&
(
obj
.
UnitPrice
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
''
||
obj
.
Currency
)
){
msg
=
`请选择自费收入使用时间`
}
if
(
msg
==
''
&&
(
obj
.
Currency
==
0
||
obj
.
Currency
==
null
)
&&
(
obj
.
UnitPrice
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
''
||
obj
.
UseDate
!=
null
)
){
msg
=
`请选择自费收入币种`
}
}
return
msg
},
VerificationExpend
(){
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
OtherOrderInfo
.
SelfPlayingExpendList
.
length
;
i
++
){
let
obj
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingExpendList
[
i
]
if
(
msg
==
''
&&
obj
.
UseDate
==
null
&&
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
''
)
){
msg
=
`请选择自费支出使用时间`
}
}
return
msg
},
VerificationShop
(){
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
LeaderShopList
.
length
;
i
++
){
let
obj
=
this
.
params
.
LeaderShopList
[
i
]
if
(
msg
==
''
&&
obj
.
EnterTime
==
null
&&
(
obj
.
ShopMoney
>
0
||
obj
.
ShopId
!=
null
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
null
||
obj
.
CurrencyId
)
){
msg
=
`请选择购物报账进店时间`
}
if
(
msg
==
''
&&
obj
.
ShopId
==
null
&&
(
obj
.
ShopMoney
>
0
||
obj
.
CurrencyId
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
null
||
obj
.
EnterTime
!=
null
)
){
msg
=
`请选择购物名称`
}
if
(
msg
==
''
&&
(
obj
.
CurrencyId
==
0
||
obj
.
CurrencyId
==
null
)
&&
(
obj
.
ShopMoney
>
0
||
obj
.
ShopId
!=
null
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
null
||
obj
.
EnterTime
!=
null
)
){
msg
=
`请选择购物报账币种`
}
}
return
msg
},
saveData
(){
let
msg
=
''
if
(
msg
==
''
)
msg
=
this
.
VerificationBusList
()
if
(
msg
==
''
)
msg
=
this
.
VerificationHotel
()
if
(
msg
==
''
)
msg
=
this
.
VerificationDining
()
if
(
msg
==
''
)
msg
=
this
.
VerificationScenic
()
if
(
msg
==
''
)
msg
=
this
.
VerificationOther
()
if
(
msg
==
''
)
msg
=
this
.
VerificationIncome
()
if
(
msg
==
''
)
msg
=
this
.
VerificationExpend
()
if
(
msg
==
''
)
msg
=
this
.
VerificationShop
()
if
(
msg
)
{
return
uni
.
showToast
({
title
:
msg
,
...
...
@@ -452,6 +539,7 @@ export default {
})
}
// console.log(this.params,'-----')
// return
if
(
this
.
loading
)
return
this
.
loading
=
true
uni
.
showLoading
()
...
...
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