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
2aa10059
Commit
2aa10059
authored
Jul 21, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4a44d3fd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
713 additions
and
677 deletions
+713
-677
reimbursementInfor.vue
pages/teamLeader/reimbursementInfor.vue
+713
-677
No files found.
pages/teamLeader/reimbursementInfor.vue
View file @
2aa10059
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
@import
url("@/asset/css/flex.css")
;
@import
url("@/asset/css/flex.css")
;
.reimbursementInfor
{
.reimbursementInfor
{
height
:
100vh
;
height
:
100vh
;
}
}
.reimbursementInforHeaderBox
{
.reimbursementInforHeaderBox
{
background
:
linear-gradient
(
-30deg
,
#4FA9FF
,
#4779FF
);
background
:
linear-gradient
(
-30deg
,
#4FA9FF
,
#4779FF
);
}
}
.reimbursementInforTitle
{
.reimbursementInforTitle
{
position
:
relative
;
position
:
relative
;
z-index
:
3
z-index
:
3
}
}
.reimbursementInforTitle.fixed
{
.reimbursementInforTitle.fixed
{
position
:
fixed
;
position
:
fixed
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
...
@@ -18,10 +22,12 @@
...
@@ -18,10 +22,12 @@
z-index
:
3
;
z-index
:
3
;
background
:
linear-gradient
(
-30deg
,
#4FA9FF
,
#4779FF
);
background
:
linear-gradient
(
-30deg
,
#4FA9FF
,
#4779FF
);
}
}
.reimbursementInforTitle.fixed
.reimbursementInforTsBox
{
.reimbursementInforTitle.fixed
.reimbursementInforTsBox
{
// top: 22rpx;
// top: 22rpx;
}
}
.reimbursementInforTsBox
{
.reimbursementInforTsBox
{
width
:
60%
;
width
:
60%
;
position
:
absolute
;
position
:
absolute
;
top
:
118rpx
;
top
:
118rpx
;
...
@@ -29,29 +35,32 @@
...
@@ -29,29 +35,32 @@
right
:
300rpx
;
right
:
300rpx
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.reimbursementInforT-text
{
}
.reimbursementInforT-text
{}
.reimbursementInforText
{
.reimbursementInforText
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
32rpx
;
font-size
:
32rpx
;
color
:
#FFFFFF
;
color
:
#FFFFFF
;
white-space
:
nowrap
;
white-space
:
nowrap
;
margin
:
0
22rpx
20rpx
;
margin
:
0
22rpx
20rpx
;
}
}
.reimbursementInforText.active
{
.reimbursementInforText.active
{
color
:
#257BF1
;
color
:
#257BF1
;
background
:
#FFFFFF
;
background
:
#FFFFFF
;
border-radius
:
6rpx
;
border-radius
:
6rpx
;
padding
:
5rpx
20rpx
;
padding
:
5rpx
20rpx
;
}
}
.saveBox
{
.saveBox
{
position
:
fixed
;
position
:
fixed
;
right
:
50rpx
;
right
:
50rpx
;
bottom
:
50rpx
;
bottom
:
50rpx
;
z-index
:
2
;
z-index
:
2
;
}
}
.saveBox
view
{
.saveBox
view
{
background
:
#257BF2
;
background
:
#257BF2
;
box-shadow
:
0rpx
0rpx
10rpx
#fff
;
box-shadow
:
0rpx
0rpx
10rpx
#fff
;
color
:
#fff
;
color
:
#fff
;
...
@@ -62,48 +71,53 @@
...
@@ -62,48 +71,53 @@
</
style
>
</
style
>
<
template
>
<
template
>
<view
style=
"height: 100vh;"
>
<view
style=
"height: 100vh;"
>
<scroll-view
class=
"reimbursementInforBox"
scroll-y=
"true"
<scroll-view
class=
"reimbursementInforBox"
scroll-y=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
@
scroll=
"scroll"
style=
"height: 100vh;"
>
@
scroll=
"scroll"
style=
"height: 100vh;"
>
<view
class=
"reimbursementInforHeaderBox"
>
<view
class=
"reimbursementInforHeaderBox"
>
<view
class=
"reimbursementInforTitle"
<view
class=
"reimbursementInforTitle"
:class=
"[boxOption>0?'fixed':'']"
:class=
"[boxOption>0?'fixed':'']"
:style=
"[boxOption>0?'titleStyle':'']"
>
:style=
"[boxOption>0?'titleStyle':'']"
>
<headers
textAlign=
"left"
:title=
"pageTitle"
color=
"#fff"
></headers>
<headers
textAlign=
"left"
:title=
"pageTitle"
color=
"#fff"
></headers>
<scroll-view
class=
"reimbursementInforTsBox"
:scroll-x=
"true"
<scroll-view
class=
"reimbursementInforTsBox"
:scroll-x=
"true"
:scroll-left=
"scrollLeft"
>
:scroll-left=
"scrollLeft"
>
<view
class=
"reimbursementInforT-text row-aic-n"
>
<view
class=
"reimbursementInforT-text row-aic-n"
>
<view
class=
"reimbursementInforText"
<view
class=
"reimbursementInforText"
:class=
"[params.type==item.id?'active':'']"
:class=
"[params.type==item.id?'active':'']"
v-for=
"(item,index) in titles"
:id=
"`refs_$
{index+1}`" :key="index"
v-for=
"(item,index) in titles"
:id=
"`refs_$
{index+1}`"
:key="index"
@click="getType(item)">
{{
item
.
name
}}
</view>
@click="getType(item)">
{{
item
.
name
}}
</view>
</view>
</view>
</scroll-view>
</scroll-view>
</view>
</view>
<headeDatas
v-show=
"params.type
<5
"
:currencyList=
"currencyList"
:data=
"params"
@
change=
"getNewData"
></headeDatas>
<headeDatas
v-show=
"params.type
<5
"
:currencyList=
"currencyList"
:data=
"params"
@
change=
"getNewData"
>
</headeDatas>
</view>
</view>
<!-- 车信息-->
<!-- 车信息-->
<productInfor1
:data=
"params"
v-show=
"params.type==1"
@
change=
"getNewData"
:optionList=
"busTypeList"
></productInfor1>
<productInfor1
:data=
"params"
v-show=
"params.type==1"
@
change=
"getNewData"
:optionList=
"busTypeList"
>
</productInfor1>
<!-- 酒店信息-->
<!-- 酒店信息-->
<productInfor2
:data=
"params"
v-if=
"params.type==2"
@
change=
"getNewData"
:optionList=
"hotelTypeList"
></productInfor2>
<productInfor2
:data=
"params"
v-if=
"params.type==2"
@
change=
"getNewData"
:optionList=
"hotelTypeList"
>
</productInfor2>
<!-- 餐食信息-->
<!-- 餐食信息-->
<productInfor3
:data=
"params"
v-else-if=
"params.type==3"
@
change=
"getNewData"
:optionList=
"diningTypeList"
></productInfor3>
<productInfor3
:data=
"params"
v-else-if=
"params.type==3"
@
change=
"getNewData"
:optionList=
"diningTypeList"
>
</productInfor3>
<!-- 门票信息-->
<!-- 门票信息-->
<productInfor4
:data=
"params"
v-else-if=
"params.type==4"
@
change=
"getNewData"
:optionList=
"scenicTypeList"
></productInfor4>
<productInfor4
:data=
"params"
v-else-if=
"params.type==4"
@
change=
"getNewData"
:optionList=
"scenicTypeList"
>
</productInfor4>
<!-- 其它信息-->
<!-- 其它信息-->
<otherInfor1
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==5"
@
change=
"getNewData"
:options=
"otherTypeList"
></otherInfor1>
<otherInfor1
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==5"
@
change=
"getNewData"
:options=
"otherTypeList"
></otherInfor1>
<!-- 小费收入-->
<!-- 小费收入-->
<otherInfor2
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==6"
@
change=
"getNewData"
></otherInfor2>
<otherInfor2
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==6"
@
change=
"getNewData"
>
</otherInfor2>
<!-- 团费小计-->
<!-- 团费小计-->
<otherInfor3
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==7"
@
change=
"getNewData"
></otherInfor3>
<otherInfor3
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==7"
@
change=
"getNewData"
>
</otherInfor3>
<!-- 自费收入-->
<!-- 自费收入-->
<otherInfor4
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==8"
@
change=
"getNewData"
></otherInfor4>
<otherInfor4
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==8"
@
change=
"getNewData"
>
</otherInfor4>
<!-- 自费支出-->
<!-- 自费支出-->
<otherInfor5
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==9"
@
change=
"getNewData"
></otherInfor5>
<otherInfor5
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==9"
@
change=
"getNewData"
>
</otherInfor5>
<!-- 购物报账-->
<!-- 购物报账-->
<otherInfor6
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==10"
@
change=
"getNewData"
:options=
"shopTypeList"
></otherInfor6>
<otherInfor6
:currencyList=
"currencyList"
:data=
"params"
v-else-if=
"params.type==10"
@
change=
"getNewData"
:options=
"shopTypeList"
></otherInfor6>
</scroll-view>
</scroll-view>
<view
v-if=
"params.IsOperation==0"
class=
"saveBox"
@
click=
"saveData"
>
<view
v-if=
"params.IsOperation==0"
class=
"saveBox"
@
click=
"saveData"
>
<view
class=
"row justify-center items-center"
>
<view
class=
"row justify-center items-center"
>
...
@@ -113,19 +127,19 @@
...
@@ -113,19 +127,19 @@
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
import
headers
from
"@/components/header/header"
;
import
headers
from
"@/components/header/header"
;
import
headeDatas
from
"./components/headeDatas"
;
import
headeDatas
from
"./components/headeDatas"
;
import
productInfor1
from
"./components/report/productInfor1"
;
import
productInfor1
from
"./components/report/productInfor1"
;
import
productInfor2
from
"./components/report/productInfor2"
;
import
productInfor2
from
"./components/report/productInfor2"
;
import
productInfor3
from
"./components/report/productInfor3"
;
import
productInfor3
from
"./components/report/productInfor3"
;
import
productInfor4
from
"./components/report/productInfor4"
;
import
productInfor4
from
"./components/report/productInfor4"
;
import
otherInfor1
from
"./components/report/otherInfor1"
;
import
otherInfor1
from
"./components/report/otherInfor1"
;
import
otherInfor2
from
"./components/report/otherInfor2"
;
import
otherInfor2
from
"./components/report/otherInfor2"
;
import
otherInfor3
from
"./components/report/otherInfor3"
;
import
otherInfor3
from
"./components/report/otherInfor3"
;
import
otherInfor4
from
"./components/report/otherInfor4"
;
import
otherInfor4
from
"./components/report/otherInfor4"
;
import
otherInfor5
from
"./components/report/otherInfor5"
;
import
otherInfor5
from
"./components/report/otherInfor5"
;
import
otherInfor6
from
"./components/report/otherInfor6"
;
import
otherInfor6
from
"./components/report/otherInfor6"
;
export
default
{
export
default
{
components
:
{
components
:
{
headers
,
headers
,
headeDatas
,
headeDatas
,
...
@@ -151,63 +165,62 @@ export default {
...
@@ -151,63 +165,62 @@ export default {
old
:
{
old
:
{
scrollTop
:
0
scrollTop
:
0
},
},
titles
:[
titles
:
[{
{
name
:
'车辆'
,
name
:
'车辆'
,
id
:
1
,
id
:
1
,
val
:
'refs1'
,
val
:
'refs1'
,
left
:
0
,
left
:
0
,
},
},
{
{
name
:
'酒店'
,
name
:
'酒店'
,
id
:
2
,
id
:
2
,
val
:
'refs2'
,
val
:
'refs2'
,
left
:
0
,
left
:
0
,
},
},
{
{
name
:
'餐食'
,
name
:
'餐食'
,
id
:
3
,
id
:
3
,
val
:
'refs3'
,
val
:
'refs3'
,
left
:
0
,
left
:
0
,
},
},
{
{
name
:
'门票'
,
name
:
'门票'
,
id
:
4
,
id
:
4
,
val
:
'refs4'
,
val
:
'refs4'
,
left
:
0
,
left
:
0
,
},
},
{
{
name
:
'其他费用'
,
name
:
'其他费用'
,
id
:
5
,
id
:
5
,
val
:
'refs5'
,
val
:
'refs5'
,
left
:
0
,
left
:
0
,
},
},
{
{
name
:
'小费收入'
,
name
:
'小费收入'
,
id
:
6
,
id
:
6
,
val
:
'refs6'
,
val
:
'refs6'
,
left
:
0
,
left
:
0
,
},
},
{
{
name
:
'团费小计'
,
name
:
'团费小计'
,
id
:
7
,
id
:
7
,
val
:
'refs7'
,
val
:
'refs7'
,
left
:
0
,
left
:
0
,
},
},
{
{
name
:
'自费收入'
,
name
:
'自费收入'
,
id
:
8
,
id
:
8
,
val
:
'refs8'
,
val
:
'refs8'
,
left
:
0
,
left
:
0
,
},
},
{
{
name
:
'自费支出'
,
name
:
'自费支出'
,
id
:
9
,
id
:
9
,
val
:
'refs9'
,
val
:
'refs9'
,
left
:
0
,
left
:
0
,
},
},
{
{
name
:
'购物报账'
,
name
:
'购物报账'
,
id
:
10
,
id
:
10
,
val
:
'refs10'
,
val
:
'refs10'
,
left
:
0
,
left
:
0
,
...
@@ -216,54 +229,53 @@ export default {
...
@@ -216,54 +229,53 @@ export default {
currencyVisible
:
false
,
currencyVisible
:
false
,
oldDataIndex
:
1
,
oldDataIndex
:
1
,
loading
:
false
,
loading
:
false
,
msg
:
{
msg
:
{
TCIDs
:
''
TCIDs
:
''
},
},
datas
:
{},
datas
:
{},
params
:
{
params
:
{
IsOperation
:
0
,
//0-可以操作,1-已制单,不能操作
IsOperation
:
0
,
//0-可以操作,1-已制单,不能操作
IsEditHotel
:
0
,
//是否有修改酒店价格、付款方式权限
IsEditHotel
:
0
,
//是否有修改酒店价格、付款方式权限
IsEditHotelPeople
:
0
,
//是否有修改酒店人数权限
IsEditHotelPeople
:
0
,
//是否有修改酒店人数权限
CreateBy
:
null
,
//线路负责人
CreateBy
:
null
,
//线路负责人
CreateByName
:
null
,
//线路负责人
CreateByName
:
null
,
//线路负责人
CreateByPhoto
:
null
,
//电话
CreateByPhoto
:
null
,
//电话
CreateByAccount
:
null
,
//联系方式
CreateByAccount
:
null
,
//联系方式
BusOrderState
:
0
,
//车订单信息
BusOrderState
:
0
,
//车订单信息
Complain_Extend
:
null
,
//供应商投诉信息
Complain_Extend
:
null
,
//供应商投诉信息
HotelOrderListReport
:
[],
//酒店信息,合团
HotelOrderListReport
:
[],
//酒店信息,合团
BusPlanListReport
:
null
,
//车信息
BusPlanListReport
:
null
,
//车信息
HotelList
:
[],
//酒店列表
HotelList
:
[],
//酒店列表
PriceHotelResult
:
[],
//酒店团情况
PriceHotelResult
:
[],
//酒店团情况
ScenicList
:
[],
//景点
ScenicList
:
[],
//景点
DiningList
:
[],
//餐厅
DiningList
:
[],
//餐厅
PriceShopList
:
null
,
//购物店列表
PriceShopList
:
null
,
//购物店列表
HouseStatistics
:
{},
//房间信息
HouseStatistics
:
{},
//房间信息
BusList
:
[],
//车
BusList
:
[],
//车
OtherOrderInfo
:
{
OtherOrderInfo
:
{
OtherList
:[],
//其他费用
OtherList
:
[],
//其他费用
TipList
:[],
//小费收入
TipList
:
[],
//小费收入
TeamList
:[],
//团费小计
TeamList
:
[],
//团费小计
SelfPlayingIncomeList
:[],
//自费收入
SelfPlayingIncomeList
:
[],
//自费收入
SelfPlayingExpendList
:[],
//自费支出
SelfPlayingExpendList
:
[],
//自费支出
},
//其他订单信息
},
//其他订单信息
LeaderApply
:
{},
//领队用款
LeaderApply
:
{},
//领队用款
LeaderShopList
:
[],
// 购物店信息(领队报账的时候填写)
LeaderShopList
:
[],
// 购物店信息(领队报账的时候填写)
},
},
busTypeList
:[],
busTypeList
:
[],
hotelTypeList
:[],
hotelTypeList
:
[],
diningTypeList
:[],
diningTypeList
:
[],
scenicTypeList
:[],
scenicTypeList
:
[],
otherTypeList
:[
otherTypeList
:
[{
{
name
:
'导游津贴'
,
name
:
'导游津贴'
,
id
:
1
,
id
:
1
,
},
},
{
{
name
:
'司机津贴'
,
name
:
'司机津贴'
,
id
:
2
,
id
:
2
,
},
},
{
{
name
:
'其他支出'
,
name
:
'其他支出'
,
id
:
0
,
id
:
0
,
},
},
],
],
...
@@ -272,8 +284,8 @@ export default {
...
@@ -272,8 +284,8 @@ export default {
shopTypeList
:
[],
shopTypeList
:
[],
}
}
},
},
onLoad
(
option
)
{
onLoad
(
option
)
{
if
(
option
.
TCIDs
)
{
if
(
option
.
TCIDs
)
{
this
.
msg
.
TCIDs
=
option
.
TCIDs
this
.
msg
.
TCIDs
=
option
.
TCIDs
}
}
this
.
b2b_user_info
=
uni
.
getStorageSync
(
'b2b_user'
)
this
.
b2b_user_info
=
uni
.
getStorageSync
(
'b2b_user'
)
...
@@ -306,10 +318,15 @@ export default {
...
@@ -306,10 +318,15 @@ export default {
})
})
.
exec
((
res
)
=>
{
.
exec
((
res
)
=>
{
if
(
res
[
0
])
{
if
(
res
[
0
])
{
const
{
left
,
top
,
width
,
height
}
=
res
[
0
];
const
{
left
,
top
,
width
,
height
}
=
res
[
0
];
// console.log(`元素 ${index} 的横向位置(left):`, left); // 单位:px
// console.log(`元素 ${index} 的横向位置(left):`, left); // 单位:px
// console.log(`元素 ${index} 的宽度:`, width);
// console.log(`元素 ${index} 的宽度:`, width);
x
.
left
=
width
*
(
index
)
x
.
left
=
width
*
(
index
)
}
else
{
}
else
{
console
.
log
(
`未找到元素 refs_
${
index
+
1
}
`
);
console
.
log
(
`未找到元素 refs_
${
index
+
1
}
`
);
}
}
...
@@ -318,19 +335,19 @@ export default {
...
@@ -318,19 +335,19 @@ export default {
});
});
},
},
methods
:
{
methods
:
{
VerificationBusList
()
{
VerificationBusList
()
{
let
msg
=
''
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
BusList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
params
.
BusList
.
length
;
i
++
)
{
let
obj
=
this
.
params
.
BusList
[
i
]
let
obj
=
this
.
params
.
BusList
[
i
]
for
(
let
j
=
0
;
j
<
obj
.
ReimburseList
.
ReimburseDetailsList
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
obj
.
ReimburseList
.
ReimburseDetailsList
.
length
;
j
++
)
{
let
child
=
obj
.
ReimburseList
.
ReimburseDetailsList
[
j
]
let
child
=
obj
.
ReimburseList
.
ReimburseDetailsList
[
j
]
if
(
msg
==
''
&&
if
(
msg
==
''
&&
(
obj
.
ReimburseList
.
CurrencyId
==
0
||
obj
.
ReimburseList
.
CurrencyId
==
null
)
&&
(
obj
.
ReimburseList
.
CurrencyId
==
0
||
obj
.
ReimburseList
.
CurrencyId
==
null
)
&&
(
obj
.
ReimburseList
.
SettlementType
>
0
||
obj
.
ReimburseList
.
Remarks
!=
''
||
(
obj
.
ReimburseList
.
SettlementType
>
0
||
obj
.
ReimburseList
.
Remarks
!=
''
||
obj
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
child
.
StartPlace
!=
''
||
obj
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
child
.
StartPlace
!=
''
||
child
.
EndPlace
!=
''
||
child
.
UserNum
>
0
||
child
.
UnitPrice
>
0
||
child
.
UserType
)
child
.
EndPlace
!=
''
||
child
.
UserNum
>
0
||
child
.
UnitPrice
>
0
||
child
.
UserType
)
)
{
)
{
msg
=
`请选择车辆币种`
//日期:${obj.PlanDateStr}
msg
=
`请选择车辆币种`
//日期:${obj.PlanDateStr}
}
}
// if(msg==''&&child.UserType==0&&
// if(msg==''&&child.UserType==0&&
// (obj.ReimburseList.SettlementType>0||obj.ReimburseList.Remarks!=''||
// (obj.ReimburseList.SettlementType>0||obj.ReimburseList.Remarks!=''||
...
@@ -340,37 +357,38 @@ export default {
...
@@ -340,37 +357,38 @@ export default {
// ){
// ){
// msg = `请输入车辆类型`
// msg = `请输入车辆类型`
// }
// }
if
(
msg
==
''
&&
child
.
StartPlace
==
''
&&
if
(
msg
==
''
&&
child
.
StartPlace
==
''
&&
(
obj
.
ReimburseList
.
SettlementType
>
0
||
obj
.
ReimburseList
.
Remarks
!=
''
||
(
obj
.
ReimburseList
.
SettlementType
>
0
||
obj
.
ReimburseList
.
Remarks
!=
''
||
obj
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
obj
.
ReimburseList
.
CurrencyId
||
obj
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
obj
.
ReimburseList
.
CurrencyId
||
child
.
EndPlace
!=
''
||
child
.
UserNum
>
0
||
child
.
UnitPrice
>
0
||
child
.
UserType
)
child
.
EndPlace
!=
''
||
child
.
UserNum
>
0
||
child
.
UnitPrice
>
0
||
child
.
UserType
)
)
{
)
{
msg
=
`请输入车辆出发地`
msg
=
`请输入车辆出发地`
}
}
if
(
msg
==
''
&&
child
.
EndPlace
==
''
&&
if
(
msg
==
''
&&
child
.
EndPlace
==
''
&&
(
obj
.
ReimburseList
.
SettlementType
>
0
||
obj
.
ReimburseList
.
Remarks
!=
''
||
(
obj
.
ReimburseList
.
SettlementType
>
0
||
obj
.
ReimburseList
.
Remarks
!=
''
||
obj
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
child
.
StartPlace
!=
''
||
obj
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
child
.
StartPlace
!=
''
||
obj
.
ReimburseList
.
CurrencyId
||
child
.
UserNum
>
0
||
child
.
UnitPrice
>
0
||
child
.
UserType
)
obj
.
ReimburseList
.
CurrencyId
||
child
.
UserNum
>
0
||
child
.
UnitPrice
>
0
||
child
.
UserType
)
)
{
)
{
msg
=
`请输入车辆目的地`
msg
=
`请输入车辆目的地`
}
}
}
}
}
}
return
msg
return
msg
},
},
VerificationHotel
()
{
VerificationHotel
()
{
let
msg
=
''
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
HotelOrderListReport
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
params
.
HotelOrderListReport
.
length
;
i
++
)
{
let
obj
=
this
.
params
.
HotelOrderListReport
[
i
]
let
obj
=
this
.
params
.
HotelOrderListReport
[
i
]
for
(
let
j
=
0
;
j
<
obj
.
HotelOrderList
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
obj
.
HotelOrderList
.
length
;
j
++
)
{
let
child
=
obj
.
HotelOrderList
[
j
]
let
child
=
obj
.
HotelOrderList
[
j
]
for
(
let
x
=
0
;
x
<
child
.
ReimburseList
.
ReimburseDetailsList
.
length
;
x
++
)
{
for
(
let
x
=
0
;
x
<
child
.
ReimburseList
.
ReimburseDetailsList
.
length
;
x
++
)
{
let
grandson
=
child
.
ReimburseList
.
ReimburseDetailsList
[
x
]
let
grandson
=
child
.
ReimburseList
.
ReimburseDetailsList
[
x
]
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
null
)
&&
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
(
child
.
ReimburseList
.
SettlementType
>
0
||
child
.
ReimburseList
.
Remarks
!=
''
||
null
)
&&
child
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
grandson
.
UserNum
>
0
||
(
child
.
ReimburseList
.
SettlementType
>
0
||
child
.
ReimburseList
.
Remarks
!=
''
||
grandson
.
UnitPrice
>
0
||
grandson
.
UserType
)
child
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
grandson
.
UserNum
>
0
||
){
grandson
.
UnitPrice
>
0
||
grandson
.
UserType
)
)
{
msg
=
`请选择酒店币种`
msg
=
`请选择酒店币种`
}
}
// if(msg==''&&grandson.UserType==0&&
// if(msg==''&&grandson.UserType==0&&
...
@@ -385,19 +403,20 @@ export default {
...
@@ -385,19 +403,20 @@ export default {
}
}
return
msg
return
msg
},
},
VerificationDining
()
{
VerificationDining
()
{
let
msg
=
''
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
DiningList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
params
.
DiningList
.
length
;
i
++
)
{
let
obj
=
this
.
params
.
DiningList
[
i
]
let
obj
=
this
.
params
.
DiningList
[
i
]
for
(
let
j
=
0
;
j
<
obj
.
DiningSummaryList
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
obj
.
DiningSummaryList
.
length
;
j
++
)
{
let
child
=
obj
.
DiningSummaryList
[
j
]
let
child
=
obj
.
DiningSummaryList
[
j
]
for
(
let
x
=
0
;
x
<
child
.
ReimburseList
.
ReimburseDetailsList
.
length
;
x
++
)
{
for
(
let
x
=
0
;
x
<
child
.
ReimburseList
.
ReimburseDetailsList
.
length
;
x
++
)
{
let
grandson
=
child
.
ReimburseList
.
ReimburseDetailsList
[
x
]
let
grandson
=
child
.
ReimburseList
.
ReimburseDetailsList
[
x
]
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
null
)
&&
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
(
child
.
ReimburseList
.
SettlementType
>
0
||
child
.
ReimburseList
.
Remarks
!=
''
||
null
)
&&
child
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
grandson
.
UserNum
>
0
||
(
child
.
ReimburseList
.
SettlementType
>
0
||
child
.
ReimburseList
.
Remarks
!=
''
||
grandson
.
UnitPrice
>
0
||
grandson
.
UserType
)
child
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
grandson
.
UserNum
>
0
||
){
grandson
.
UnitPrice
>
0
||
grandson
.
UserType
)
)
{
msg
=
`请选择餐币种`
msg
=
`请选择餐币种`
}
}
// if(msg==''&&grandson.UserType==0&&
// if(msg==''&&grandson.UserType==0&&
...
@@ -412,19 +431,20 @@ export default {
...
@@ -412,19 +431,20 @@ export default {
}
}
return
msg
return
msg
},
},
VerificationScenic
()
{
VerificationScenic
()
{
let
msg
=
''
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
ScenicList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
params
.
ScenicList
.
length
;
i
++
)
{
let
obj
=
this
.
params
.
ScenicList
[
i
]
let
obj
=
this
.
params
.
ScenicList
[
i
]
for
(
let
j
=
0
;
j
<
obj
.
ScenicStatisticsList
.
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<
obj
.
ScenicStatisticsList
.
length
;
j
++
)
{
let
child
=
obj
.
ScenicStatisticsList
[
j
]
let
child
=
obj
.
ScenicStatisticsList
[
j
]
for
(
let
x
=
0
;
x
<
child
.
ReimburseList
.
ReimburseDetailsList
.
length
;
x
++
)
{
for
(
let
x
=
0
;
x
<
child
.
ReimburseList
.
ReimburseDetailsList
.
length
;
x
++
)
{
let
grandson
=
child
.
ReimburseList
.
ReimburseDetailsList
[
x
]
let
grandson
=
child
.
ReimburseList
.
ReimburseDetailsList
[
x
]
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
null
)
&&
if
(
msg
==
''
&&
(
child
.
ReimburseList
.
CurrencyId
==
0
||
child
.
ReimburseList
.
CurrencyId
==
(
child
.
ReimburseList
.
SettlementType
>
0
||
child
.
ReimburseList
.
Remarks
!=
''
||
null
)
&&
child
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
grandson
.
UserNum
>
0
||
(
child
.
ReimburseList
.
SettlementType
>
0
||
child
.
ReimburseList
.
Remarks
!=
''
||
grandson
.
UnitPrice
>
0
||
grandson
.
UserType
)
child
.
ReimburseList
.
VoucherPicList
.
length
>
0
||
grandson
.
UserNum
>
0
||
){
grandson
.
UnitPrice
>
0
||
grandson
.
UserType
)
)
{
msg
=
`请选择门票币种`
msg
=
`请选择门票币种`
}
}
// if(msg==''&&grandson.UserType==0&&
// if(msg==''&&grandson.UserType==0&&
...
@@ -439,100 +459,101 @@ export default {
...
@@ -439,100 +459,101 @@ export default {
}
}
return
msg
return
msg
},
},
VerificationOther
()
{
VerificationOther
()
{
let
msg
=
''
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
OtherOrderInfo
.
OtherList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
params
.
OtherOrderInfo
.
OtherList
.
length
;
i
++
)
{
let
obj
=
this
.
params
.
OtherOrderInfo
.
OtherList
[
i
]
let
obj
=
this
.
params
.
OtherOrderInfo
.
OtherList
[
i
]
if
(
msg
==
''
&&
obj
.
UseDate
==
null
&&
console
.
log
(
"obj"
,
obj
)
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
if
(
msg
==
''
&&
obj
.
UseDate
==
null
&&
obj
.
Remark
!=
''
||
obj
.
CostProjectStr
!=
''
||
obj
.
Currency
)
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
){
obj
.
Remark
!=
''
||
obj
.
Currency
!=
0
)
)
{
msg
=
`请选择其他费用使用时间`
msg
=
`请选择其他费用使用时间`
}
}
if
(
msg
==
''
&&
obj
.
CostProjectStr
==
''
&&
if
(
msg
==
''
&&
obj
.
CostProjectStr
==
''
&&
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
''
||
obj
.
Currency
||
obj
.
UseDate
!=
null
)
obj
.
Remark
!=
''
||
obj
.
Currency
||
obj
.
UseDate
!=
null
)
)
{
)
{
msg
=
`请选择其他费用费用项目`
msg
=
`请选择其他费用费用项目`
}
}
if
(
msg
==
''
&&
(
obj
.
Currency
==
0
||
obj
.
Currency
==
null
)
&&
if
(
msg
==
''
&&
(
obj
.
Currency
==
0
||
obj
.
Currency
==
null
)
&&
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
''
||
obj
.
CostProjectStr
!=
''
||
obj
.
UseDate
!=
null
)
obj
.
Remark
!=
''
||
obj
.
UseDate
!=
null
)
)
{
)
{
msg
=
`请选择其他费用币种`
msg
=
`请选择其他费用币种`
}
}
}
}
return
msg
return
msg
},
},
VerificationIncome
()
{
VerificationIncome
()
{
let
msg
=
''
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
OtherOrderInfo
.
SelfPlayingIncomeList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
params
.
OtherOrderInfo
.
SelfPlayingIncomeList
.
length
;
i
++
)
{
let
obj
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingIncomeList
[
i
]
let
obj
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingIncomeList
[
i
]
if
(
msg
==
''
&&
obj
.
UseDate
==
null
&&
if
(
msg
==
''
&&
obj
.
UseDate
==
null
&&
(
obj
.
UnitPrice
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
(
obj
.
UnitPrice
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
''
||
obj
.
Currency
)
obj
.
Remark
!=
''
||
obj
.
Currency
)
)
{
)
{
msg
=
`请选择自费收入使用时间`
msg
=
`请选择自费收入使用时间`
}
}
if
(
msg
==
''
&&
(
obj
.
Currency
==
0
||
obj
.
Currency
==
null
)
&&
if
(
msg
==
''
&&
(
obj
.
Currency
==
0
||
obj
.
Currency
==
null
)
&&
(
obj
.
UnitPrice
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
(
obj
.
UnitPrice
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
''
||
obj
.
UseDate
!=
null
)
obj
.
Remark
!=
''
||
obj
.
UseDate
!=
null
)
)
{
)
{
msg
=
`请选择自费收入币种`
msg
=
`请选择自费收入币种`
}
}
}
}
return
msg
return
msg
},
},
VerificationExpend
()
{
VerificationExpend
()
{
let
msg
=
''
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
OtherOrderInfo
.
SelfPlayingExpendList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
params
.
OtherOrderInfo
.
SelfPlayingExpendList
.
length
;
i
++
)
{
let
obj
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingExpendList
[
i
]
let
obj
=
this
.
params
.
OtherOrderInfo
.
SelfPlayingExpendList
[
i
]
if
(
msg
==
''
&&
obj
.
UseDate
==
null
&&
if
(
msg
==
''
&&
obj
.
UseDate
==
null
&&
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
(
obj
.
UnitPrice
>
0
||
obj
.
Rebate
>
0
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
''
)
obj
.
Remark
!=
''
)
)
{
)
{
msg
=
`请选择自费支出使用时间`
msg
=
`请选择自费支出使用时间`
}
}
}
}
return
msg
return
msg
},
},
VerificationShop
()
{
VerificationShop
()
{
let
msg
=
''
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
params
.
LeaderShopList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
params
.
LeaderShopList
.
length
;
i
++
)
{
let
obj
=
this
.
params
.
LeaderShopList
[
i
]
let
obj
=
this
.
params
.
LeaderShopList
[
i
]
if
(
msg
==
''
&&
obj
.
EnterTime
==
null
&&
if
(
msg
==
''
&&
obj
.
EnterTime
==
null
&&
(
obj
.
ShopMoney
>
0
||
obj
.
ShopId
!=
null
||
obj
.
VoucherPicList
.
length
>
0
||
(
obj
.
ShopMoney
>
0
||
obj
.
ShopId
!=
null
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
null
||
obj
.
CurrencyId
)
obj
.
Remark
!=
null
||
obj
.
CurrencyId
)
)
{
)
{
msg
=
`请选择购物报账进店时间`
msg
=
`请选择购物报账进店时间`
}
}
if
(
msg
==
''
&&
obj
.
ShopId
==
null
&&
if
(
msg
==
''
&&
obj
.
ShopId
==
null
&&
(
obj
.
ShopMoney
>
0
||
obj
.
CurrencyId
||
obj
.
VoucherPicList
.
length
>
0
||
(
obj
.
ShopMoney
>
0
||
obj
.
CurrencyId
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
null
||
obj
.
EnterTime
!=
null
)
obj
.
Remark
!=
null
||
obj
.
EnterTime
!=
null
)
)
{
)
{
msg
=
`请选择购物名称`
msg
=
`请选择购物名称`
}
}
if
(
msg
==
''
&&
(
obj
.
CurrencyId
==
0
||
obj
.
CurrencyId
==
null
)
&&
if
(
msg
==
''
&&
(
obj
.
CurrencyId
==
0
||
obj
.
CurrencyId
==
null
)
&&
(
obj
.
ShopMoney
>
0
||
obj
.
ShopId
!=
null
||
obj
.
VoucherPicList
.
length
>
0
||
(
obj
.
ShopMoney
>
0
||
obj
.
ShopId
!=
null
||
obj
.
VoucherPicList
.
length
>
0
||
obj
.
Remark
!=
null
||
obj
.
EnterTime
!=
null
)
obj
.
Remark
!=
null
||
obj
.
EnterTime
!=
null
)
)
{
)
{
msg
=
`请选择购物报账币种`
msg
=
`请选择购物报账币种`
}
}
}
}
return
msg
return
msg
},
},
saveData
()
{
saveData
()
{
let
msg
=
''
let
msg
=
''
if
(
msg
==
''
)
msg
=
this
.
VerificationBusList
()
if
(
msg
==
''
)
msg
=
this
.
VerificationBusList
()
if
(
msg
==
''
)
msg
=
this
.
VerificationHotel
()
if
(
msg
==
''
)
msg
=
this
.
VerificationHotel
()
if
(
msg
==
''
)
msg
=
this
.
VerificationDining
()
if
(
msg
==
''
)
msg
=
this
.
VerificationDining
()
if
(
msg
==
''
)
msg
=
this
.
VerificationScenic
()
if
(
msg
==
''
)
msg
=
this
.
VerificationScenic
()
if
(
msg
==
''
)
msg
=
this
.
VerificationOther
()
if
(
msg
==
''
)
msg
=
this
.
VerificationOther
()
if
(
msg
==
''
)
msg
=
this
.
VerificationIncome
()
if
(
msg
==
''
)
msg
=
this
.
VerificationIncome
()
if
(
msg
==
''
)
msg
=
this
.
VerificationExpend
()
if
(
msg
==
''
)
msg
=
this
.
VerificationExpend
()
if
(
msg
==
''
)
msg
=
this
.
VerificationShop
()
if
(
msg
==
''
)
msg
=
this
.
VerificationShop
()
if
(
msg
)
{
if
(
msg
)
{
return
uni
.
showToast
({
return
uni
.
showToast
({
title
:
msg
,
title
:
msg
,
icon
:
"none"
,
icon
:
"none"
,
...
@@ -540,11 +561,11 @@ export default {
...
@@ -540,11 +561,11 @@ export default {
}
}
// console.log(this.params,'-----')
// console.log(this.params,'-----')
// return
// return
if
(
this
.
loading
)
return
if
(
this
.
loading
)
return
this
.
loading
=
true
this
.
loading
=
true
uni
.
showLoading
()
uni
.
showLoading
()
this
.
apipost
(
"dmcstatistics_post_SetNewLeaderApplyList_V2"
,
this
.
params
,
(
res
)
=>
{
this
.
apipost
(
"dmcstatistics_post_SetNewLeaderApplyList_V2"
,
this
.
params
,
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
if
(
res
.
resultCode
==
1
)
{
this
.
loading
=
false
this
.
loading
=
false
uni
.
hideLoading
()
uni
.
hideLoading
()
this
.
init
()
this
.
init
()
...
@@ -560,10 +581,10 @@ export default {
...
@@ -560,10 +581,10 @@ export default {
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
getNewData
(
params
)
{
getNewData
(
params
)
{
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
params
))
this
.
params
=
JSON
.
parse
(
JSON
.
stringify
(
params
))
},
},
getType
(
item
)
{
getType
(
item
)
{
this
.
params
.
type
=
item
.
id
this
.
params
.
type
=
item
.
id
this
.
oldDataIndex
=
item
.
id
this
.
oldDataIndex
=
item
.
id
this
.
scrollLeft
=
item
.
left
this
.
scrollLeft
=
item
.
left
...
@@ -573,33 +594,40 @@ export default {
...
@@ -573,33 +594,40 @@ export default {
this
.
apipost
(
"dmcstatistics_post_GetNewLeaderPayMoneyStatics"
,
this
.
msg
,
(
res
)
=>
{
this
.
apipost
(
"dmcstatistics_post_GetNewLeaderPayMoneyStatics"
,
this
.
msg
,
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
if
(
res
.
resultCode
==
1
)
{
this
.
params
=
res
.
data
;
this
.
params
=
res
.
data
;
for
(
let
i
=
1
;
i
<
5
;
i
++
)
{
for
(
let
i
=
1
;
i
<
5
;
i
++
)
{
this
.
$set
(
this
.
params
,
`dataIndex
${
i
}
`
,
0
);
this
.
$set
(
this
.
params
,
`dataIndex
${
i
}
`
,
0
);
}
}
this
.
$set
(
this
.
params
,
`type`
,
this
.
oldDataIndex
);
this
.
$set
(
this
.
params
,
`type`
,
this
.
oldDataIndex
);
for
(
let
i
=
0
;
i
<
this
.
params
.
ScenicList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
params
.
ScenicList
.
length
;
i
++
)
{
this
.
$set
(
this
.
params
.
ScenicList
[
i
],
`TotalMoney`
,
0
);
this
.
$set
(
this
.
params
.
ScenicList
[
i
],
`TotalMoney`
,
0
);
this
.
$set
(
this
.
params
.
ScenicList
[
i
],
`scenicIndex`
,
0
);
this
.
$set
(
this
.
params
.
ScenicList
[
i
],
`scenicIndex`
,
0
);
}
}
for
(
let
i
=
0
;
i
<
this
.
params
.
DiningList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
params
.
DiningList
.
length
;
i
++
)
{
this
.
$set
(
this
.
params
.
DiningList
[
i
],
`TotalMoney`
,
0
);
this
.
$set
(
this
.
params
.
DiningList
[
i
],
`TotalMoney`
,
0
);
this
.
$set
(
this
.
params
.
DiningList
[
i
],
`diningIndex`
,
0
);
this
.
$set
(
this
.
params
.
DiningList
[
i
],
`diningIndex`
,
0
);
}
}
for
(
let
i
=
0
;
i
<
this
.
params
.
HotelOrderListReport
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
params
.
HotelOrderListReport
.
length
;
i
++
)
{
this
.
$set
(
this
.
params
.
HotelOrderListReport
[
i
],
`TotalMoney`
,
0
);
this
.
$set
(
this
.
params
.
HotelOrderListReport
[
i
],
`TotalMoney`
,
0
);
this
.
$set
(
this
.
params
.
HotelOrderListReport
[
i
],
`hotelIndex`
,
0
);
this
.
$set
(
this
.
params
.
HotelOrderListReport
[
i
],
`hotelIndex`
,
0
);
}
}
if
(
res
.
data
.
CountryIds
)
this
.
getShoppingType
(
res
.
data
.
CountryIds
)
if
(
res
.
data
.
CountryIds
)
this
.
getShoppingType
(
res
.
data
.
CountryIds
)
// console.log(this.params.HotelOrderListReport,'-----酒店')
// console.log(this.params.HotelOrderListReport,'-----酒店')
// console.log(this.params.BusList,'-----车信息')
// console.log(this.params.BusList,'-----车信息')
// console.log(this.params.ScenicList,'-----景点')
// console.log(this.params.ScenicList,'-----景点')
// console.log(this.params.DiningList,'-----餐厅')
// console.log(this.params.DiningList,'-----餐厅')
// console.log(this.params.LeaderShopList ,'-----购物店信息')
// console.log(this.params.LeaderShopList ,'-----购物店信息')
// console.log(this.params.LeaderApply ,'-----领队用款申请信息')
// console.log(this.params.LeaderApply ,'-----领队用款申请信息')
// console.log(this.params.OtherOrderInfo,'-----其他信息')
console
.
log
(
this
.
params
.
OtherOrderInfo
,
'-----其他信息'
)
setTimeout
(()
=>
{
for
(
let
i
=
0
;
i
<
this
.
params
.
OtherOrderInfo
.
OtherList
.
length
;
i
++
)
{
let
obj
=
this
.
params
.
OtherOrderInfo
.
OtherList
[
i
]
console
.
log
(
"obj"
,
obj
)
if
(
obj
.
UseDate
==
null
&&
obj
.
UnitPrice
==
0
&&
obj
.
Rebate
==
0
&&
obj
.
VoucherPic
!=
""
&&
obj
.
Remark
==
''
&&
obj
.
Currency
==
0
)
{
obj
.
CostProject
=
-
1
}
}
setTimeout
(()
=>
{
uni
.
hideLoading
()
uni
.
hideLoading
()
},
1000
)
},
1000
)
}
}
},
(
failed
)
=>
{
},
(
failed
)
=>
{
uni
.
hideLoading
()
uni
.
hideLoading
()
...
@@ -611,13 +639,13 @@ export default {
...
@@ -611,13 +639,13 @@ export default {
uni
.
hideLoading
()
uni
.
hideLoading
()
})
})
},
},
getShoppingType
(
id
)
{
getShoppingType
(
id
)
{
this
.
apipost
(
"Shopping_Post_GetList"
,
{
this
.
apipost
(
"Shopping_Post_GetList"
,
{
QCountry
:
id
QCountry
:
id
},
(
res
)
=>
{
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
if
(
res
.
resultCode
==
1
)
{
this
.
shopTypeList
=
[]
this
.
shopTypeList
=
[]
res
.
data
.
forEach
(
x
=>
{
res
.
data
.
forEach
(
x
=>
{
this
.
shopTypeList
.
push
({
this
.
shopTypeList
.
push
({
id
:
x
.
ID
,
id
:
x
.
ID
,
name
:
x
.
Name
,
name
:
x
.
Name
,
...
@@ -638,7 +666,7 @@ export default {
...
@@ -638,7 +666,7 @@ export default {
this
.
$forceUpdate
();
this
.
$forceUpdate
();
},
},
getOptionData
()
{
getOptionData
()
{
this
.
apipost
(
"dmcstatistics_post_GetReimburseTypeList"
,
{
this
.
apipost
(
"dmcstatistics_post_GetReimburseTypeList"
,
{
Type
:
''
Type
:
''
},
(
res
)
=>
{
},
(
res
)
=>
{
...
@@ -647,10 +675,18 @@ export default {
...
@@ -647,10 +675,18 @@ export default {
x
.
name
=
x
.
TypeName
x
.
name
=
x
.
TypeName
x
.
id
=
x
.
ID
x
.
id
=
x
.
ID
});
});
this
.
busTypeList
=
res
.
data
.
filter
(
x
=>
{
return
x
.
UserTypeId
==
4
})
this
.
busTypeList
=
res
.
data
.
filter
(
x
=>
{
this
.
hotelTypeList
=
res
.
data
.
filter
(
x
=>
{
return
x
.
UserTypeId
==
1
})
return
x
.
UserTypeId
==
4
this
.
diningTypeList
=
res
.
data
.
filter
(
x
=>
{
return
x
.
UserTypeId
==
2
})
})
this
.
scenicTypeList
=
res
.
data
.
filter
(
x
=>
{
return
x
.
UserTypeId
==
3
})
this
.
hotelTypeList
=
res
.
data
.
filter
(
x
=>
{
return
x
.
UserTypeId
==
1
})
this
.
diningTypeList
=
res
.
data
.
filter
(
x
=>
{
return
x
.
UserTypeId
==
2
})
this
.
scenicTypeList
=
res
.
data
.
filter
(
x
=>
{
return
x
.
UserTypeId
==
3
})
}
}
},
(
failed
)
=>
{
},
(
failed
)
=>
{
uni
.
showToast
({
uni
.
showToast
({
...
@@ -661,12 +697,12 @@ export default {
...
@@ -661,12 +697,12 @@ export default {
})
})
},
},
getCurrencyList
()
{
getCurrencyList
()
{
this
.
apipost
(
"financeinfo_post_GetList"
,
{
this
.
apipost
(
"financeinfo_post_GetList"
,
{
Name
:
''
,
Name
:
''
,
},
(
res
)
=>
{
},
(
res
)
=>
{
if
(
res
.
resultCode
==
1
)
{
if
(
res
.
resultCode
==
1
)
{
for
(
let
i
=
0
;
i
<
res
.
data
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
res
.
data
.
length
;
i
++
)
{
let
data
=
res
.
data
[
i
]
let
data
=
res
.
data
[
i
]
this
.
currencyList
.
push
({
this
.
currencyList
.
push
({
name
:
data
.
Name
,
name
:
data
.
Name
,
...
@@ -684,5 +720,5 @@ export default {
...
@@ -684,5 +720,5 @@ export default {
})
})
}
}
}
}
}
}
</
script
>
</
script
>
\ No newline at end of file
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