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
72f18976
Commit
72f18976
authored
Jul 23, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车修改
parent
55b84043
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
778 additions
and
742 deletions
+778
-742
productInfor1.vue
pages/teamLeader/components/report/productInfor1.vue
+25
-11
itineraryDetails.vue
pages/teamLeader/itineraryDetails.vue
+752
-730
reimbursementInfor.vue
pages/teamLeader/reimbursementInfor.vue
+1
-1
No files found.
pages/teamLeader/components/report/productInfor1.vue
View file @
72f18976
...
...
@@ -166,7 +166,7 @@
</view>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UserNum"
@
input=
"handleInput($event, item,
'UserNum')"
@
blur=
"handleBlur(item
, 'UserNum')"
/>
@
input=
"handleInput($event, item,
1, 'UserNum')"
@
blur=
"handleBlur(item,1
, 'UserNum')"
/>
</view>
</view>
<view
class=
"inputBox row justify-between"
>
...
...
@@ -175,7 +175,7 @@
</view>
<view
class=
"inputBoxRight"
>
<input
class=
"text-right"
type=
"number"
v-model=
"item.UnitPrice"
@
input=
"handleInput($event, item,
'UnitPrice')"
@
blur=
"handleBlur(item
, 'UnitPrice')"
/>
@
input=
"handleInput($event, item,
2, 'UnitPrice')"
@
blur=
"handleBlur(item,2
, 'UnitPrice')"
/>
</view>
</view>
<view
class=
"inputBox row justify-between noBorder"
>
...
...
@@ -249,7 +249,6 @@
watch
:
{
data
:
{
handler
(
newVal
,
oldVal
)
{
console
.
log
(
"newVal"
,
newVal
);
if
(
oldVal
.
dataIndex1
!=
newVal
.
dataIndex1
)
{
this
.
initData
();
}
else
{
...
...
@@ -263,22 +262,39 @@
deep
:
true
,
immediate
:
false
},
datas
:
{
handler
(
newVal
,
oldVal
)
{
this
.
updateData
();
},
deep
:
true
,
immediate
:
false
},
},
mounted
()
{
this
.
initData
();
},
methods
:
{
// 在模板中的使用示例
handleInput
(
e
,
item
,
field
)
{
handleInput
(
e
,
item
,
type
,
field
)
{
const
value
=
e
.
detail
.
value
;
const
validValue
=
this
.
$utils
.
checkInteger
(
value
,
true
);
var
validValue
=
0
;
if
(
type
==
1
)
{
validValue
=
this
.
$utils
.
checkInteger
(
value
,
true
);
}
else
{
validValue
=
this
.
$utils
.
checkPrice
(
value
,
true
);
}
// 更新数据
item
[
field
]
=
validValue
;
// 触发其他逻辑(如计算)
this
.
getTotal
();
},
handleBlur
(
item
,
field
)
{
const
formattedValue
=
this
.
$utils
.
checkPrice
(
item
[
field
],
true
);
handleBlur
(
item
,
type
,
field
)
{
var
formattedValue
=
0
;
if
(
type
==
1
)
{
formattedValue
=
this
.
$utils
.
checkInteger
(
item
[
field
],
true
);
}
else
{
formattedValue
=
this
.
$utils
.
checkPrice
(
item
[
field
],
true
);
}
// 更新数据
item
[
field
]
=
formattedValue
;
this
.
$set
(
item
,
field
,
formattedValue
);
...
...
@@ -296,12 +312,10 @@
},
getTotal
()
{
let
total
=
0
;
this
.
datas
.
ReimburseList
.
ReimburseDetailsList
.
forEach
(
x
=>
{
total
+=
x
.
UserNum
*
x
.
UnitPrice
})
this
.
datas
.
TotalMoney
=
total
this
.
updateData
()
},
delInfor
(
index
)
{
this
.
datas
.
ReimburseList
.
ReimburseDetailsList
.
splice
(
index
,
1
)
...
...
@@ -312,7 +326,7 @@
},
getSettlementType
(
item
)
{
this
.
datas
.
ReimburseList
.
SettlementType
=
item
.
id
this
.
updateData
()
this
.
$forceUpdate
()
},
updateData
()
{
...
...
@@ -342,7 +356,7 @@
let
findIndex
=
this
.
optionList
.
findIndex
(
x
=>
x
.
id
==
value
)
this
.
optionObj
=
this
.
optionList
[
findIndex
]
this
.
datas
.
ReimburseList
.
ReimburseDetailsList
[
this
.
ReimIndex
].
UserTypeStr
=
this
.
optionObj
.
name
this
.
datas
.
ReimburseList
.
ReimburseDetailsList
[
this
.
ReimIndex
].
UserType
=
this
.
optionObj
.
id
this
.
datas
.
ReimburseList
.
ReimburseDetailsList
[
this
.
ReimIndex
].
UserType
=
this
.
optionObj
.
id
;
},
previewImage
(
src
)
{
uni
.
previewImage
({
...
...
pages/teamLeader/itineraryDetails.vue
View file @
72f18976
<
style
lang=
"scss"
>
@import
url("@/asset/css/flex.css")
;
.backBox
{
.backBox
{
width
:
45rpx
;
height
:
45rpx
;
background
:
rgba
(
23
,
23
,
23
,
.
5
);
height
:
45rpx
;
background
:
rgba
(
23
,
23
,
23
,
.5
);
border-radius
:
50%
;
margin-top
:
22rpx
;
}
.backIcon
{
}
.backIcon
{
display
:
inline-block
;
margin-top
:
6rpx
;
}
.backBox
img
{
}
.backBox
img
{
width
:
19rpx
;
height
:
24rpx
;
display
:
inline-block
;
margin-top
:
10rpx
;
}
.itiner-title
{
}
.itiner-title
{
line-height
:
45px
!
important
;
font-size
:
16px
;
position
:
fixed
;
...
...
@@ -28,50 +32,62 @@
z-index
:
5
;
background-color
:
#0072FF
;
padding-left
:
6rpx
;
}
.itiner-titles
{
}
.itiner-titles
{
color
:
#fff
;
}
.bjLine
{
}
.bjLine
{
background
:
#F5F5F5
;
height
:
30rpx
;
}
.itiner-c-title
{
}
.itiner-c-title
{
font-weight
:
bold
;
}
.itiner-xincheng
img
{
}
.itiner-xincheng
img
{
width
:
31rpx
;
height
:
33rpx
;
}
.itiner-xincheng-left
{
}
.itiner-xincheng-left
{
color
:
#838383
;
}
.itiner-xincheng-right
view
{
}
.itiner-xincheng-right
view
{
border
:
1rpx
solid
#3581DA
;
color
:
#3581DA
;
border-radius
:
8rpx
;
padding
:
0
8rpx
;
}
.itiner-left-line
{
}
.itiner-left-line
{
width
:
9rpx
;
height
:
25rpx
;
border-radius
:
100rpx
;
background
:
#000
;
}
.itiner-titleBox
{
}
.itiner-titleBox
{
border-bottom
:
1px
solid
#eee
;
}
.itiner-title-c
{
}
.itiner-title-c
{
padding
:
25rpx
20rpx
;
}
.itiner-title-c.itiner-title-c-top
{
}
.itiner-title-c.itiner-title-c-top
{
padding
:
0rpx
20rpx
;
}
.itiner-title-c.active
{
}
.itiner-title-c.active
{
position
:
relative
;
color
:
#327FDE
;
}
.
itiner-title-c
.
active
:
:
after
{
}
.
itiner-title-c
.
active
:
:
after
{
content
:
''
;
position
:
absolute
;
left
:
0
;
...
...
@@ -79,17 +95,20 @@
width
:
100%
;
height
:
5rpx
;
background
:
#3581DA
;
}
.itiner-feiyong
{
}
.itiner-feiyong
{
background
:
#FF9702
;
color
:
#fff
;
border-radius
:
10rpx
;
padding
:
0rpx
20rpx
;
}
.media
{
}
.media
{
position
:
relative
;
}
.detailsType
{
}
.detailsType
{
position
:
absolute
;
left
:
20rpx
;
bottom
:
10rpx
;
...
...
@@ -98,33 +117,25 @@
border-radius
:
25rpx
;
padding
:
3rpx
20rpx
7rpx
20rpx
;
z-index
:
2
;
}
.richText
{
}
.richText
{
// white-space: pre-wrap;
}
.name-ali
{
}
.name-ali
{
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
margin-right
:
200rpx
;
}
}
</
style
>
<
template
>
<scroll-view
ref=
"scrollView"
scroll-y=
"true"
style=
"width: 100%; height: 100vh;"
@
scroll=
"scroll"
<scroll-view
ref=
"scrollView"
scroll-y=
"true"
style=
"width: 100%; height: 100vh;"
@
scroll=
"scroll"
:scroll-top=
"scrollTop"
>
<view
class=
"media"
:style=
"
{ opacity: 100 - boxOption + '%' }"
@click="openPicture">
<u-swiper
:list=
"dataList.tempImgCover"
:effect3d=
"false"
:height=
"545"
:interval=
"5000"
:border-radius=
"0"
name=
"Url"
mode=
"number"
indicatorPos=
"bottomRight"
>
<view
class=
"media"
:style=
"
{ opacity: 100 - boxOption + '%' }" @click="openPicture">
<u-swiper
:list=
"dataList.tempImgCover"
:effect3d=
"false"
:height=
"545"
:interval=
"5000"
:border-radius=
"0"
name=
"Url"
mode=
"number"
indicatorPos=
"bottomRight"
>
</u-swiper>
<view
@
click=
"goback"
:style=
"[titleStyle,
{ opacity: '100% !important' }]"
style="position: fixed; top: 0; left: 0; padding-left: 6rpx">
...
...
@@ -150,11 +161,8 @@
</view>
</view>
<view
class=
"PX30 itiner-titleBox bgFFF row items-center justify-between"
>
<view
class=
"itiner-title-c itiner-title-c-top fz30"
:class=
"[current==item.ID?'active':'']"
v-for=
"(item,index) in titlesList"
:key=
"index"
@
click=
"goTop(item)"
>
<view
class=
"itiner-title-c itiner-title-c-top fz30"
:class=
"[current==item.ID?'active':'']"
v-for=
"(item,index) in titlesList"
:key=
"index"
@
click=
"goTop(item)"
>
{{
item
.
Name
}}
</view>
</view>
...
...
@@ -167,32 +175,39 @@
</view>
<view
class=
"row justify-between items-center"
>
<view
class=
"row items-center"
>
<view
class=
"row items-center"
><view
class=
"fz28 color9C9C9C"
>
同业价:
</view>
<text
class=
"fontBold fz38 colorF99710"
>
{{
priceList
&&
priceList
.
length
>
0
?
priceList
[
0
].
b2BPrice
:
0
}}
</text><text
class=
"fz24 ML10"
>
/ 人
</text></view>
<view
class=
"row items-center ML30"
><view
class=
"fz28 color9C9C9C"
>
统一售价:
</view>
<text
class=
"fontBold fz38 colorF99710"
>
{{
priceList
&&
priceList
.
length
>
0
?
priceList
[
0
].
b2CPrice
:
0
}}
</text><text
class=
"fz24 ML10"
>
/ 人
</text></view>
</view>
<!--
<view>
<u-icon
class=
"backIcon"
name=
"arrow-down"
size=
"32"
color=
"#9D9D9D"
></u-icon>
<u-icon
class=
"backIcon"
name=
"arrow-up"
size=
"32"
color=
"#9D9D9D"
></u-icon>
<!--
<view
class=
"row items-center"
>
<view
class=
"fz28 color9C9C9C"
>
同业价:
</view>
<text
class=
"fontBold fz38 colorF99710"
>
{{
priceList
&&
priceList
.
length
>
0
?
priceList
[
0
].
b2BPrice
:
0
}}
</text><text
class=
"fz24 ML10"
>
/ 人
</text>
</view>
-->
<view
class=
"row items-center ML30"
>
<view
class=
"fz28 color9C9C9C"
>
统一售价:
</view>
<text
class=
"fontBold fz38 colorF99710"
>
{{
priceList
&&
priceList
.
length
>
0
?
priceList
[
0
].
b2CPrice
:
0
}}
</text><text
class=
"fz24 ML10"
>
/ 人
</text>
</view>
</view>
</view>
<!--
<view
class=
"colorE1432E fz28 PT10"
>
op备注:
</view>
-->
</view>
<view
class=
"bjLine"
></view>
<view
class=
"PX30 PB20"
>
<view
class=
"MT15 itiner-xincheng row items-center"
>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875112655075900.png"
/>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875112655075900.png"
/>
<view
class=
"itiner-xincheng-left ML30 MR30 fz26"
>
行程天数
</view>
<view
class=
"itiner-xincheng-right fz28 row items-center"
>
{{
dataList
.
dayNum
>=
0
?
dataList
.
dayNum
:
''
}}
<text
class=
"ML10 MR10"
>
天
</text>
{{
dataList
.
nightNum
>=
0
?
dataList
.
nightNum
:
''
}}
<tetx
class=
"ML10 MR10"
>
晚
</tetx>
<view
class=
"itiner-xincheng-right fz28 row items-center"
>
{{
dataList
.
dayNum
>=
0
?
dataList
.
dayNum
:
''
}}
<text
class=
"ML10 MR10"
>
天
</text>
{{
dataList
.
nightNum
>=
0
?
dataList
.
nightNum
:
''
}}
<tetx
class=
"ML10 MR10"
>
晚
</tetx>
{{
dataList
.
teamType
==
0
?
'跟团游'
:
dataList
.
teamType
==
1
?
'小包团'
:
'一日游'
}}
<view
class=
"ML30 MR10"
@
click=
"downloadTripPlanHandler"
>
行程下载
</view></view>
<view
class=
"ML30 MR10"
@
click=
"downloadTripPlanHandler"
>
行程下载
</view>
</view>
</view>
<view
class=
"MT10 itiner-xincheng row items-center"
>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875112698474332.png"
/>
<img
src=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638875112698474332.png"
/>
<view
class=
"itiner-xincheng-left ML30 MR30 fz26"
>
出发城市
</view>
<view
class=
"itiner-xincheng-right fz28 row items-center"
>
{{
dataList
.
startCityName
?
dataList
.
startCityName
:
''
}}
</view>
<view
class=
"itiner-xincheng-right fz28 row items-center"
>
{{
dataList
.
startCityName
?
dataList
.
startCityName
:
''
}}
</view>
</view>
</view>
<view
class=
"bjLine"
></view>
...
...
@@ -203,7 +218,8 @@
<text
class=
"fz32 fontBold ML20"
>
报名清单
</text>
</view>
<view>
<u-icon
class=
"backIcon"
:name=
"!showQinDan?'arrow-down':'arrow-up'"
size=
"32"
color=
"#9D9D9D"
></u-icon>
<u-icon
class=
"backIcon"
:name=
"!showQinDan?'arrow-down':'arrow-up'"
size=
"32"
color=
"#9D9D9D"
></u-icon>
</view>
</view>
<view
class=
""
v-if=
"showQinDan"
>
...
...
@@ -216,7 +232,8 @@
</
template
>
</view>
<view
class=
"fz28 PT15 PB20"
>
报名人数:
<
template
v-if=
"priceList&&priceList.length>0"
>
{{
priceList
[
0
].
offerFSeat
+
priceList
[
0
].
offerCSeat
+
priceList
[
0
].
offerYSeat
}}
</
template
>
<
template
v-if=
"priceList&&priceList.length>0"
>
{{
priceList
[
0
].
offerFSeat
+
priceList
[
0
].
offerCSeat
+
priceList
[
0
].
offerYSeat
}}
</
template
>
</view>
</view>
</view>
...
...
@@ -228,7 +245,8 @@
<text
class=
"fz32 fontBold ML20"
>
本团卖点
</text>
</view>
<view>
<u-icon
class=
"backIcon"
:name=
"!showMaiDian?'arrow-down':'arrow-up'"
size=
"32"
color=
"#9D9D9D"
></u-icon>
<u-icon
class=
"backIcon"
:name=
"!showMaiDian?'arrow-down':'arrow-up'"
size=
"32"
color=
"#9D9D9D"
></u-icon>
</view>
</view>
<view
v-if=
"showMaiDian"
class=
""
>
...
...
@@ -246,7 +264,8 @@
<text
class=
"fz32 fontBold ML20"
>
航班信息
</text>
</view>
<view>
<u-icon
class=
"backIcon"
:name=
"!showHangBan?'arrow-down':'arrow-up'"
size=
"32"
color=
"#9D9D9D"
></u-icon>
<u-icon
class=
"backIcon"
:name=
"!showHangBan?'arrow-down':'arrow-up'"
size=
"32"
color=
"#9D9D9D"
></u-icon>
</view>
</view>
<view
v-if=
"showHangBan"
class=
""
>
...
...
@@ -257,7 +276,8 @@
<view
class=
"flex1"
>
起飞时间
</view>
<view
class=
"flex1"
>
到达时间
</view>
</view>
<view
class=
"priceFlightText fz28 row color666 MT20"
v-for=
"(item,index) in priceList[0].priceFlight"
>
<view
class=
"priceFlightText fz28 row color666 MT20"
v-for=
"(item,index) in priceList[0].priceFlight"
>
<view
class=
"flex1"
>
<view
class=
"fz24"
>
{{
item
.
flightNumber
}}
</view>
{{
item
.
alName
}}
...
...
@@ -281,11 +301,8 @@
</view>
<view
class=
"bjLine"
></view>
<view
class=
"PX30 itiner-titleBox row items-center justify-between"
>
<view
class=
"itiner-title-c fz30"
:class=
"[current==item.ID?'active':'']"
v-for=
"(item,index) in titlesList"
:key=
"index"
@
click=
"goTop(item)"
>
<view
class=
"itiner-title-c fz30"
:class=
"[current==item.ID?'active':'']"
v-for=
"(item,index) in titlesList"
:key=
"index"
@
click=
"goTop(item)"
>
{{ item.Name }}
</view>
</view>
...
...
@@ -295,10 +312,10 @@
<view
class=
"itiner-left-line"
>
</view>
<text
class=
"fz32 fontBold ML20"
>
行程特色
</text>
</view>
<view
v-if=
"dataList.feature&&dataList.feature.tripImageList&&dataList.feature.tripImageList.length>0"
>
<view
v-if=
"dataList.feature&&dataList.feature.tripImageList&&dataList.feature.tripImageList.length>0"
>
<image
v-for=
"x in dataList.feature.tripImageList"
:src=
"x"
mode=
"widthFix"
@
click=
'previewTravelPicHandler(x,dataList.feature.tripImageList)'
style=
"width: 100%"
>
@
click=
'previewTravelPicHandler(x,dataList.feature.tripImageList)'
style=
"width: 100%"
>
</image>
</view>
</view>
...
...
@@ -318,20 +335,19 @@
</view>
<
template
v-for=
"(y,yi) in x.dayArray"
>
<view
v-if=
"y.childItem&&y.childItem.imaArray&&y.childItem.imaArray.length>0&&y.type==2"
class=
"MB20"
style=
"border: 1px solid #ddd;"
>
<view
v-if=
"y.childItem&&y.childItem.imaArray&&y.childItem.imaArray.length>0&&y.type==2"
class=
"MB20"
style=
"border: 1px solid #ddd;"
>
<view
v-for=
"(z,zi) in y.childItem.imaArray"
>
<image
@
click=
"previewImages(y.childItem.imaArray,zi)"
:src=
"z.url"
mode=
"aspectFill"
:key=
"zi"
style=
"width: 100%;"
v-if=
"y.type==2"
></image>
<image
@
click=
"previewImages(y.childItem.imaArray,zi)"
:src=
"z.url"
mode=
"aspectFill"
:key=
"zi"
style=
"width: 100%;"
v-if=
"y.type==2"
>
</image>
</view>
<view
:key=
"yi"
v-if=
"y.type==2"
class=
"PA20"
>
<view
class=
"fz30 fontBold PB20"
>
{{
`${y.childItem.couponsName
}
`
}}
<
/view
>
<
view
class
=
"fz28 color666"
>
<
rich
-
text
:
nodes
=
"y.childItem.description"
class
=
"richText"
><
/rich-text
>
<
rich
-
text
:
nodes
=
"y.childItem.description"
class
=
"richText"
><
/rich-text
>
<
/view
>
<
/view
>
<
/view
>
...
...
@@ -344,24 +360,24 @@
<
/template
>
<
view
class
=
"row"
v
-
if
=
"x.canshi"
>
<
view
>
<
image
style
=
"width: 45rpx;height: 45rpx;display: block;"
mode
=
"aspectFill"
src
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638876765053973357.png"
/>
<
image
style
=
"width: 45rpx;height: 45rpx;display: block;"
mode
=
"aspectFill"
src
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638876765053973357.png"
/>
<
/view
>
<
view
class
=
"PL20"
>
<
view
class
=
"row PB20"
v
-
for
=
"item in x.canshi"
>
<
view
class
=
"fz34 fontBold MR20 flexS"
>
{{
`${item.childItem.timeStr
}
${item.childItem.dinnerTypeName
}
`
}}
<
/view
>
<
view
class
=
"fz28 MR20 color666"
>
{{
item
.
childItem
.
dinnerName
?
item
.
childItem
.
dinnerName
:
'方便游玩敬请自理'
}}
<
/view
>
<
view
class
=
"fz28 MR20 color666"
>
{{
item
.
childItem
.
dinnerName
?
item
.
childItem
.
dinnerName
:
'方便游玩敬请自理'
}}
<
/view
>
<
/view
>
<
/view
>
<
/view
>
<
view
class
=
"row"
v
-
if
=
"x.zhusu"
>
<
view
>
<
image
style
=
"width: 45rpx;height: 45rpx;display: block;"
mode
=
"aspectFill"
src
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638876765089861843.png"
/>
<
image
style
=
"width: 45rpx;height: 45rpx;display: block;"
mode
=
"aspectFill"
src
=
"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638876765089861843.png"
/>
<
/view
>
<
view
class
=
"PL20"
>
<
view
class
=
"row"
v
-
for
=
"item in x.zhusu"
>
...
...
@@ -375,9 +391,10 @@
<
/view
>
<
/view
>
<
view
class
=
"PB20 bgFFF"
v
-
if
=
"dataList.feature&&dataList.feature.detailsImageList.length>0"
>
<
image
class
=
"MB20"
:
src
=
"x"
@
click
=
'previewTravelPicHandler(x,dataList.feature.detailsImageList)'
mode
=
"widthFix"
style
=
"width: 100%;height: auto;"
v
-
for
=
"x in dataList.feature.detailsImageList"
><
/image
>
<
image
class
=
"MB20"
:
src
=
"x"
@
click
=
'previewTravelPicHandler(x,dataList.feature.detailsImageList)'
mode
=
"widthFix"
style
=
"width: 100%;height: auto;"
v
-
for
=
"x in dataList.feature.detailsImageList"
>
<
/image
>
<
/view
>
<
/view
>
<
/view
>
...
...
@@ -391,7 +408,8 @@
<
/view
>
<
view
class
=
"PB20"
>
<
view
class
=
"fz26 color666"
>
<
rich
-
text
:
nodes
=
"dataList.feature.feeInclude?dataList.feature.feeInclude:'暂无'"
class
=
"richText"
><
/rich-text
>
<
rich
-
text
:
nodes
=
"dataList.feature.feeInclude?dataList.feature.feeInclude:'暂无'"
class
=
"richText"
><
/rich-text
>
<
/view
>
<
/view
>
<
view
class
=
"PB20"
>
...
...
@@ -399,7 +417,8 @@
<
/view
>
<
view
class
=
"PB20"
>
<
view
class
=
"fz26 color666"
>
<
rich
-
text
:
nodes
=
"dataList.feature.feeNonInclude?dataList.feature.feeNonInclude:'暂无'"
class
=
"richText"
><
/rich-text>
<
rich
-
text
:
nodes
=
"dataList.feature.feeNonInclude?dataList.feature.feeNonInclude:'暂无'"
class
=
"richText"
><
/rich-text
>
<
/view
>
<
/view
>
...
...
@@ -414,7 +433,8 @@
<
/view
>
<
view
class
=
"PB20"
>
<
view
class
=
"fz26"
>
<
rich
-
text
:
nodes
=
"dataList.feature.importantTipText?dataList.feature.importantTipText:'暂无'"
class
=
"richText"
><
/rich-text>
<
rich
-
text
:
nodes
=
"dataList.feature.importantTipText?dataList.feature.importantTipText:'暂无'"
class
=
"richText"
><
/rich-text
>
<
/view
>
<
/view
>
<
view
class
=
"PB20"
>
...
...
@@ -422,7 +442,8 @@
<
/view
>
<
view
class
=
"PB20"
>
<
view
class
=
"fz26"
>
<
rich
-
text
:
nodes
=
"dataList.feature.warmTip?dataList.feature.warmTip:'暂无'"
class
=
"richText"
><
/rich-text>
<
rich
-
text
:
nodes
=
"dataList.feature.warmTip?dataList.feature.warmTip:'暂无'"
class
=
"richText"
><
/rich-text
>
<
/view
>
<
/view
>
<
template
v
-
if
=
"dataList.feature.b2BRemarkText"
>
...
...
@@ -431,7 +452,8 @@
<
/view
>
<
view
class
=
"PB20"
>
<
view
class
=
"fz26"
>
<
rich
-
text
:
nodes
=
"dataList.feature.b2BRemarkText?dataList.feature.b2BRemarkText:'暂无'"
class
=
"richText"
><
/rich-text>
<
rich
-
text
:
nodes
=
"dataList.feature.b2BRemarkText?dataList.feature.b2BRemarkText:'暂无'"
class
=
"richText"
><
/rich-text
>
<
/view
>
<
/view
>
<
/template
>
...
...
@@ -441,7 +463,8 @@
<
/view
>
<
view
class
=
"PB20"
>
<
view
class
=
"fz26"
>
<
rich
-
text
:
nodes
=
"dataList.feature.shopRemarkText?dataList.feature.shopRemarkText:'暂无'"
class
=
"richText"
><
/rich-text>
<
rich
-
text
:
nodes
=
"dataList.feature.shopRemarkText?dataList.feature.shopRemarkText:'暂无'"
class
=
"richText"
><
/rich-text
>
<
/view
>
<
/view
>
<
/template
>
...
...
@@ -451,7 +474,7 @@
<
/scroll-view
>
<
/template
>
<
script
>
export
default
{
export
default
{
data
()
{
return
{
scrollTop
:
0
,
...
...
@@ -462,8 +485,7 @@ export default {
titleStyle
:
{
opacity
:
0
,
}
,
imgsList
:
[
{
imgsList
:
[{
url
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638874829612454395.png'
,
Path
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638874829612454395.png'
,
}
,
...
...
@@ -472,7 +494,7 @@ export default {
Path
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638874829612454395.png'
,
}
,
],
titlesList
:
[{
titlesList
:
[{
Name
:
'行程特色'
,
ID
:
1
,
val
:
'title1'
,
...
...
@@ -520,11 +542,11 @@ export default {
}
,
onLoad
(
options
)
{
if
(
options
.
configId
)
{
if
(
options
.
configId
)
{
this
.
msg
.
configId
=
options
.
configId
this
.
init
()
}
if
(
options
.
TCID
)
{
if
(
options
.
TCID
)
{
this
.
msg
.
tcid
=
options
.
TCID
}
this
.
Up
=
uni
.
getStorageSync
(
"mall_UserInfo"
)
?
...
...
@@ -544,23 +566,23 @@ export default {
}
);
}
,
watch
:
{
d
:
{
handler
(
newVal
,
oldVal
)
{
if
(
this
.
d
&&
this
.
d
.
length
>
0
)
{
setTimeout
(()
=>
{
this
.
titlesList
.
forEach
((
x
,
index
)
=>
{
if
(
index
==
1
)
x
.
Name
=
`${this.dataList.dayNum
}
日行程`
d
:
{
handler
(
newVal
,
oldVal
)
{
if
(
this
.
d
&&
this
.
d
.
length
>
0
)
{
setTimeout
(()
=>
{
this
.
titlesList
.
forEach
((
x
,
index
)
=>
{
if
(
index
==
1
)
x
.
Name
=
`${this.dataList.dayNum
}
日行程`
const
query
=
uni
.
createSelectorQuery
().
select
(
`#${x.val
}
`
);
if
(
query
)
query
.
boundingClientRect
((
rect
)
=>
{
x
.
top
=
rect
.
top
-
130
;
if
(
query
)
query
.
boundingClientRect
((
rect
)
=>
{
x
.
top
=
rect
.
top
-
130
;
}
).
exec
();
if
(
index
==
3
)
uni
.
hideLoading
()
if
(
index
==
3
)
uni
.
hideLoading
()
}
)
}
,
10000
)
}
,
10000
)
}
}
,
deep
:
true
,
immediate
:
false
deep
:
true
,
immediate
:
false
}
,
}
,
mounted
()
{
...
...
@@ -595,11 +617,11 @@ export default {
t
[
parseInt
(
y
.
childItem
.
useDinnerType
)
-
1
];
}
}
);
x
.
dayArray
=
x
.
dayArray
.
sort
((
a
,
b
)
=>
{
x
.
dayArray
=
x
.
dayArray
.
sort
((
a
,
b
)
=>
{
return
new
Date
(
a
.
type
)
-
new
Date
(
b
.
type
)
}
)
x
.
zhusu
=
x
.
dayArray
.
filter
(
z
=>
z
.
type
==
3
)
x
.
canshi
=
x
.
dayArray
.
filter
(
z
=>
z
.
type
==
4
)
x
.
zhusu
=
x
.
dayArray
.
filter
(
z
=>
z
.
type
==
3
)
x
.
canshi
=
x
.
dayArray
.
filter
(
z
=>
z
.
type
==
4
)
}
);
}
}
,
...
...
@@ -622,7 +644,7 @@ export default {
}
);
return
txt
;
}
,
init
()
{
init
()
{
uni
.
showLoading
({
title
:
'加载中...'
,
}
)
...
...
@@ -668,7 +690,7 @@ export default {
openPicture
()
{
let
imgObj
=
JSON
.
stringify
(
this
.
dataList
.
tempImgCover
);
uni
.
navigateTo
({
url
:
"/pages/hotel/picture?imgObj="
+
imgObj
+
"&isLine=1"
,
url
:
"/pages/hotel/picture?imgObj="
+
imgObj
+
"&isLine=1"
,
}
);
}
,
scroll
(
e
)
{
...
...
@@ -680,18 +702,18 @@ export default {
Math
.
floor
(
e
.
detail
.
scrollTop
-
650
)
/
100
>
1
?
1
:
Math
.
floor
(
e
.
detail
.
scrollTop
-
650
)
/
100
;
this
.
titlesList
.
forEach
((
x
,
index
)
=>
{
this
.
titlesList
.
forEach
((
x
,
index
)
=>
{
let
pev
let
nex
pev
=
this
.
titlesList
[
index
-
1
]
nex
=
this
.
titlesList
[
index
+
1
]
if
(
this
.
old
.
scrollTop
>
x
.
top
&&
nex
!=
undefined
&&
this
.
old
.
scrollTop
<
nex
.
top
)
{
pev
=
this
.
titlesList
[
index
-
1
]
nex
=
this
.
titlesList
[
index
+
1
]
if
(
this
.
old
.
scrollTop
>
x
.
top
&&
nex
!=
undefined
&&
this
.
old
.
scrollTop
<
nex
.
top
)
{
this
.
current
=
nex
.
ID
}
else
if
(
this
.
old
.
scrollTop
>
x
.
top
&&
nex
==
undefined
)
{
}
else
if
(
this
.
old
.
scrollTop
>
x
.
top
&&
nex
==
undefined
)
{
this
.
current
=
4
}
else
if
(
this
.
old
.
scrollTop
<
x
.
top
&&
pev
!=
undefined
&&
this
.
old
.
scrollTop
>
pev
.
top
)
{
}
else
if
(
this
.
old
.
scrollTop
<
x
.
top
&&
pev
!=
undefined
&&
this
.
old
.
scrollTop
>
pev
.
top
)
{
this
.
current
=
pev
.
ID
}
else
if
(
this
.
old
.
scrollTop
<
x
.
top
&&
pev
==
undefined
)
{
}
else
if
(
this
.
old
.
scrollTop
<
x
.
top
&&
pev
==
undefined
)
{
this
.
current
=
1
}
}
)
...
...
@@ -778,7 +800,7 @@ export default {
"&configId="
+
this
.
msg
.
configId
+
"&cityId="
+
this
.
msg
.
cityId
+
this
.
$uiConfig
.
DIRECT_PARAMETER
,
this
.
msg
.
cityId
+
this
.
$uiConfig
.
DIRECT_PARAMETER
,
imageUrl
:
imageUrl
,
}
;
}
,
...
...
@@ -809,7 +831,7 @@ export default {
"&configId="
+
this
.
msg
.
configId
+
"&cityId="
+
this
.
msg
.
cityId
+
this
.
$uiConfig
.
DIRECT_PARAMETER
,
this
.
msg
.
cityId
+
this
.
$uiConfig
.
DIRECT_PARAMETER
,
imageUrl
:
""
,
// imageUrl:
// this.dataList.tempImgCover && this.dataList.tempImgCover.length > 0
...
...
@@ -818,5 +840,5 @@ export default {
}
;
}
,
}
,
}
}
<
/script>
\ No newline at end of file
pages/teamLeader/reimbursementInfor.vue
View file @
72f18976
...
...
@@ -542,8 +542,8 @@
title
:
'保存中...'
})
this
.
apipost
(
"dmcstatistics_post_SetNewLeaderApplyList_V2"
,
this
.
params
,
(
res
)
=>
{
this
.
loading
=
false
;
if
(
res
.
resultCode
==
1
)
{
this
.
loading
=
false
uni
.
showToast
({
title
:
'操作成功!'
,
icon
:
'success'
,
...
...
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