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
4351a5d2
Commit
4351a5d2
authored
Apr 22, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
a8e85582
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
100 deletions
+51
-100
jz_LineDetail.vue
pages/jiuzhai/jz_LineDetail.vue
+26
-50
jz_Reserve.vue
pages/jiuzhai/jz_Reserve.vue
+2
-2
visaDetail.vue
pages/visa/visaDetail.vue
+23
-48
No files found.
pages/jiuzhai/jz_LineDetail.vue
View file @
4351a5d2
...
...
@@ -1025,7 +1025,7 @@
"
><
/text
>
<
view
class
=
"SaleNameTetx"
>
<
view
>
<
text
v
-
if
=
"
SaleName"
>
{{
SaleName
}}
<
/text
>
<
text
v
-
if
=
"
parametersMsg.SaleName"
>
{{
parametersMsg
.
SaleName
}}
<
/text
>
<
text
v
-
else
style
=
"color: #999"
>
请选择
<
/text
>
...
...
@@ -1134,36 +1134,7 @@
<
/view
>
<
/u-popup
>
<
u
-
popup
v
-
model
=
"showSalePreviwe"
mode
=
"bottom"
border
-
radius
=
"50"
length
=
"60%"
:
safe
-
area
-
inset
-
bottom
=
"true"
>
<
view
>
<
view
style
=
"font-size: 17px;text-align: center;padding: 20px 0;"
>
选择服务人员
<
/view
>
<
scroll
-
view
scroll
-
x
=
"true"
style
=
"width: 100%;height: 43vh;"
>
<
view
class
=
"SaleBox"
>
<
view
v
-
for
=
"(item,index) in SaleList"
:
key
=
"index"
class
=
"SaleText"
@
click
=
"SelectSales(item)"
>
<
view
>
{{
item
.
EmName
}}
<
/view
>
<
view
>
<
u
-
radio
-
group
v
-
model
=
"SaleId"
style
=
"position: relative;top:10rpx;"
>
<
u
-
radio
shape
=
"circle"
:
name
=
"item.CreateBy"
:
icon
-
size
=
"36"
:
active
-
color
=
"mc"
><
/u-radio
>
<
/u-radio-group>
<
/view
>
<
/view
>
<
/view
>
<
/scroll-view
>
<
u
-
button
size
=
"80"
:
ripple
=
"true"
shape
=
"circle"
:
custom
-
style
=
"{
backgroundColor: '#333',
height: '80rpx',
color: '#fff',
fontSize: '14px',
margin: '0 auto',
width: '90vw',
}
"
@
click
=
"goReserce()"
>
确定
<
/u-button
>
<
/view
>
<
orderService
:
msg
=
"parametersMsg"
:
list
=
"SaleList"
@
goReserce
=
"getService"
><
/orderService
>
<
/u-popup
>
<
auth
v
-
if
=
"showAuth"
@
changeuserinfo
=
"reloadUserinfo"
@
gbAuth
=
"gbAuth"
><
/auth
>
<
/view
>
...
...
@@ -1173,12 +1144,14 @@
import
canlendar
from
"./components/sign/index.vue"
;
import
auth
from
"@/components/auth/index.vue"
;
import
vip
from
"../../components/vip/vip.vue"
;
import
orderService
from
"@/components/serviceStaff/orderService"
;
export
default
{
components
:
{
canlendar
,
auth
,
vip
vip
,
orderService
}
,
data
()
{
return
{
...
...
@@ -1232,8 +1205,6 @@
showSalePreviwe
:
false
,
SaleList
:
[],
customer
:
{
}
,
SaleName
:
''
,
SaleId
:
0
,
mc
:
''
,
couponList
:[],
numList
:
[{
...
...
@@ -1286,7 +1257,11 @@
discountPrice
:
0
,
//优惠后金额
Discounts
:
1
,
//福利项
vipInfo
:
null
,
userVipRights
:
null
userVipRights
:
null
,
parametersMsg
:{
SaleName
:
''
,
SaleId
:
0
,
}
}
;
}
,
computed
:{
...
...
@@ -1406,10 +1381,6 @@
}
}
)
}
,
SelectSales
(
item
){
this
.
SaleName
=
item
.
EmName
this
.
SaleId
=
item
.
CreateBy
}
,
getUserCouponList
()
{
if
(
!
this
.
customer
.
accountId
)
return
let
couponParams
=
{
...
...
@@ -1465,12 +1436,12 @@
if
(
res
.
data
.
length
>
0
){
this
.
SaleList
=
res
.
data
if
(
res
.
data
.
length
==
1
&&
this
.
createBy
==
0
){
this
.
SaleName
=
res
.
data
[
0
].
EmName
this
.
SaleId
=
res
.
data
[
0
].
CreateBy
this
.
parametersMsg
.
SaleName
=
res
.
data
[
0
].
EmName
this
.
parametersMsg
.
SaleId
=
res
.
data
[
0
].
CreateBy
}
}
else
{
this
.
SaleName
=
''
this
.
SaleId
=
0
this
.
parametersMsg
.
SaleName
=
''
this
.
parametersMsg
.
SaleId
=
0
}
}
else
{
...
...
@@ -1846,6 +1817,11 @@
this
.
showDateChosen
=
true
;
}
}
,
getService
(
item
){
this
.
parametersMsg
=
item
this
.
showSalePreviwe
=
false
;
this
.
goReserce
()
}
,
//立即预定
goReserce
()
{
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
...
...
@@ -1870,11 +1846,11 @@
return
;
}
// #ifdef MP-AG
if
(
this
.
SaleList
&&
this
.
SaleList
.
length
>
1
&&
this
.
SaleId
==
0
&&
this
.
createBy
==
0
)
{
uni
.
showToast
({
title
:
"请选择服务人员"
,
icon
:
"none"
,
}
);
if
(
this
.
SaleList
&&
this
.
SaleList
.
length
>
1
&&
this
.
parametersMsg
.
SaleId
==
0
&&
this
.
createBy
==
0
)
{
//
uni.showToast(
{
//
title: "请选择服务人员",
//
icon: "none",
//
}
);
this
.
showSalePreviwe
=
true
;
return
;
}
...
...
@@ -1912,9 +1888,9 @@
createBy
=
this
.
createBy
>
0
?
this
.
createBy
:
employeeId
// #endif
// #ifdef MP-AG
if
(
this
.
createBy
>
0
||
this
.
SaleId
)
createBy
=
this
.
createBy
>
0
?
this
.
createBy
:
this
.
SaleId
if
(
this
.
createBy
>
0
||
this
.
parametersMsg
.
SaleId
)
createBy
=
this
.
createBy
>
0
?
this
.
createBy
:
this
.
parametersMsg
.
SaleId
// #endif
console
.
log
(
"createBy-------"
,
createBy
)
let
tParams
=
"&tcid="
+
this
.
delMsg
.
tcid
+
"&cityId="
+
...
...
pages/jiuzhai/jz_Reserve.vue
View file @
4351a5d2
...
...
@@ -663,8 +663,8 @@
}
let
startCityName
=
this
.
realCurrentPriceInfo
.
priceUnion
&&
this
.
realCurrentPriceInfo
.
priceUnion
.
startCityName
?
this
.
realCurrentPriceInfo
.
priceUnion
.
startCityName
:
this
.
currentPriceInfo
.
startCityName
let
msg
=
{
SurName
:
this
.
customer
.
SurName
,
Name
:
this
.
customer
.
n
ame
,
SurName
:
this
.
orderMsg
.
SurName
,
Name
:
this
.
orderMsg
.
N
ame
,
ContactNumber
:
this
.
customer
.
contactNumber
,
Mailbox
:
this
.
customer
.
Mailbox
,
GoodsId
:
this
.
currentPriceInfo
.
tcid
,
...
...
pages/visa/visaDetail.vue
View file @
4351a5d2
...
...
@@ -106,7 +106,7 @@
"
></text>
<view
class=
"SaleNameTetx"
>
<view>
<text
v-if=
"
SaleName"
>
{{
SaleName }}
</text>
<text
v-if=
"
parametersMsg.SaleName"
>
{{ parametersMsg.
SaleName }}
</text>
<text
v-else
style=
"color: #999"
>
请选择
</text>
...
...
@@ -214,36 +214,7 @@
</view>
<auth
v-if=
"showAuth&&is_show_auth==1"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
"gbAuth"
></auth>
<u-popup
v-model=
"showSalePreviwe"
mode=
"bottom"
border-radius=
"50"
length=
"60%"
:safe-area-inset-bottom=
"true"
>
<view>
<view
style=
"font-size: 17px;text-align: center;padding: 20px 0;"
>
选择服务人员
</view>
<scroll-view
scroll-x=
"true"
style=
"width: 100%;height: 43vh;"
>
<view
class=
"SaleBox"
>
<view
v-for=
"(item,index) in SaleList"
:key=
"index"
class=
"SaleText"
@
click=
"SelectSales(item)"
>
<view>
{{ item.EmName }}
</view>
<view>
<u-radio-group
v-model=
"SaleId"
style=
"position: relative;top:10rpx;"
>
<u-radio
shape=
"circle"
:name=
"item.CreateBy"
:icon-size=
"36"
:active-color=
"mc"
></u-radio>
</u-radio-group>
</view>
</view>
</view>
</scroll-view>
<u-button
size=
"80"
:ripple=
"true"
shape=
"circle"
:custom-style=
"{
backgroundColor: '#333',
height: '80rpx',
color: '#fff',
fontSize: '14px',
margin: '0 auto',
width: '90vw',
}"
@
click=
"goReserce()"
>
确定
</u-button>
</view>
<orderService
:msg=
"parametersMsg"
:list=
"SaleList"
@
goReserce=
"getService"
></orderService>
</u-popup>
<u-popup
v-model=
"showDownload"
mode=
"bottom"
border-radius=
"50"
length=
"60%"
:safe-area-inset-bottom=
"true"
>
<view>
...
...
@@ -283,9 +254,11 @@
import
parseHtml
from
"@/plugin/htmlparse.js"
;
// #endif
import
auth
from
"@/components/auth/index.vue"
;
import
orderService
from
"@/components/serviceStaff/orderService"
;
export
default
{
components
:
{
auth
,
orderService
,
},
data
()
{
return
{
...
...
@@ -333,8 +306,6 @@
showSalePreviwe
:
false
,
SaleList
:
[],
customer
:
{},
SaleName
:
''
,
SaleId
:
0
,
mc
:
''
,
couponList
:[],
maxCouponDiscount
:
0
,
...
...
@@ -389,6 +360,10 @@
discountPrice
:
0
,
//优惠后金额
Discounts
:
1
,
//福利项
TotalDiscount
:
0
,
//合计优惠金额
parametersMsg
:{
SaleName
:
''
,
SaleId
:
0
,
}
};
},
watch
:
{
...
...
@@ -517,10 +492,6 @@
}
})
},
SelectSales
(
item
){
this
.
SaleName
=
item
.
EmName
this
.
SaleId
=
item
.
CreateBy
},
getUserCouponList
()
{
let
couponParams
=
{
"lineId"
:
''
,
//线路ID
...
...
@@ -585,12 +556,12 @@
if
(
res
.
data
.
length
>
0
){
this
.
SaleList
=
res
.
data
if
(
res
.
data
.
length
==
1
&&
this
.
createBy
==
0
){
this
.
SaleName
=
res
.
data
[
0
].
EmName
this
.
SaleId
=
res
.
data
[
0
].
CreateBy
this
.
parametersMsg
.
SaleName
=
res
.
data
[
0
].
EmName
this
.
parametersMsg
.
SaleId
=
res
.
data
[
0
].
CreateBy
}
}
else
{
this
.
SaleName
=
''
this
.
SaleId
=
0
this
.
parametersMsg
.
SaleName
=
''
this
.
parametersMsg
.
SaleId
=
0
}
}
else
{
...
...
@@ -695,6 +666,11 @@
htmlstr
=
htmlstr
.
replace
(
regex2
,
"$2display:block;max-width:100%;height:auto;$3"
);
return
htmlstr
;
},
getService
(
item
){
this
.
parametersMsg
=
item
this
.
showSalePreviwe
=
false
;
this
.
goReserce
()
},
//立即预定
goReserce
()
{
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
...
...
@@ -720,11 +696,11 @@
}
// #ifdef MP-AG
if
(
this
.
SaleList
&&
this
.
SaleList
.
length
>
1
&&
this
.
SaleId
==
0
&&
this
.
createBy
==
0
)
{
uni
.
showToast
({
title
:
"请选择服务人员"
,
icon
:
"none"
,
});
if
(
this
.
SaleList
&&
this
.
SaleList
.
length
>
1
&&
this
.
parametersMsg
.
SaleId
==
0
&&
this
.
createBy
==
0
)
{
//
uni.showToast({
//
title: "请选择服务人员",
//
icon: "none",
//
});
this
.
showSalePreviwe
=
true
;
return
;
}
...
...
@@ -735,9 +711,8 @@
createBy
=
this
.
createBy
>
0
?
this
.
createBy
:
employeeId
// #endif
// #ifdef MP-AG
if
(
this
.
createBy
>
0
||
this
.
SaleId
)
createBy
=
this
.
createBy
>
0
?
this
.
createBy
:
this
.
SaleId
if
(
this
.
createBy
>
0
||
this
.
parametersMsg
.
SaleId
)
createBy
=
this
.
createBy
>
0
?
this
.
createBy
:
this
.
parametersMsg
.
SaleId
// #endif
uni
.
navigateTo
({
url
:
"/pages/visa/visa_Reserve?id="
+
this
.
delMsg
.
Pid
+
'&CreateBy='
+
createBy
,
});
...
...
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