Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
4f529597
Commit
4f529597
authored
Nov 06, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a2cb267c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
9 deletions
+37
-9
subscribe.vue
pages/reserve/subscribe.vue
+37
-9
No files found.
pages/reserve/subscribe.vue
View file @
4f529597
...
@@ -650,18 +650,19 @@
...
@@ -650,18 +650,19 @@
this
.
selectDay
=
this
.
dayList
[
0
].
DayDateStr
;
this
.
selectDay
=
this
.
dayList
[
0
].
DayDateStr
;
this
.
timeList
=
this
.
dayList
[
0
].
TimeList
;
this
.
timeList
=
this
.
dayList
[
0
].
TimeList
;
this
.
selecttime
=
this
.
timeList
[
0
];
this
.
selecttime
=
this
.
timeList
[
0
];
this
.
designerList
=
res
.
data
.
goods
.
persionList
;
this
.
getServerpersionListInfo
()
var
richtext
=
this
.
goods
.
detail
;
var
richtext
=
this
.
goods
.
detail
;
this
.
detailContent
=
richtext
;
this
.
detailContent
=
richtext
;
let
obj
=
{
//
let obj = {
ServiceLogo
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/timeisup.png'
,
//
ServiceLogo:'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/timeisup.png',
Name
:
'到点分配'
,
//
Name:'到点分配',
ServiceId
:
0
,
//
ServiceId:0,
}
//
}
this
.
designerList
.
unshift
(
obj
)
//
this.designerList.unshift(obj)
this
.
selectdesigner
=
this
.
designerList
[
0
].
ServiceId
;
//
this.selectdesigner= this.designerList[0].ServiceId;
let
set
=
uni
.
getStorageSync
(
"basedata"
)
?
uni
.
getStorageSync
(
"basedata"
).
mall
.
offlineServiceSetting
.
offlineServicePayType
:
[];
let
set
=
uni
.
getStorageSync
(
"basedata"
)
?
uni
.
getStorageSync
(
"basedata"
).
mall
.
offlineServiceSetting
.
offlineServicePayType
:
[];
if
(
set
.
length
>
0
){
if
(
set
.
length
>
0
){
...
@@ -686,7 +687,7 @@
...
@@ -686,7 +687,7 @@
}
}
this
.
payname
=
this
.
paymentList
[
0
].
name
;
this
.
payname
=
this
.
paymentList
[
0
].
name
;
this
.
PaymentWay
=
this
.
paymentList
[
0
].
Id
;
this
.
PaymentWay
=
this
.
paymentList
[
0
].
Id
;
this
.
this
.
schoolCoupon
();
//获取套餐卡
this
.
schoolCoupon
();
//获取套餐卡
this
.
Nosubmit
=
false
;
this
.
Nosubmit
=
false
;
}
}
...
@@ -695,6 +696,33 @@
...
@@ -695,6 +696,33 @@
}
}
);
);
},
},
getServerpersionListInfo
(){
uni
.
showLoading
({
title
:
'加载中'
,
});
this
.
request2
({
url
:
'/api/AppletGoods/GetServerpersionListInfo'
,
data
:
{
GoodsId
:
this
.
GoodsId
,
StoreId
:
this
.
id
,
servicePersionId
:
this
.
servicePersionId
,
chooseDate
:
this
.
selectDay
}
},
res
=>
{
uni
.
hideLoading
();
if
(
res
.
resultCode
==
1
&&
res
.
data
!=
null
)
{
if
(
res
.
data
&&
res
.
data
.
persionList
){
this
.
designerList
=
res
.
data
.
persionList
let
obj
=
{
ServiceLogo
:
'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/timeisup.png'
,
Name
:
'到点分配'
,
ServiceId
:
0
,
}
this
.
designerList
.
unshift
(
obj
)
this
.
selectdesigner
=
this
.
designerList
[
0
].
ServiceId
;
this
.
Nosubmit
=
false
;
}
}
}
);
},
submitOrderHandler
(){
//提交订单
submitOrderHandler
(){
//提交订单
let
that
=
this
;
let
that
=
this
;
if
(
that
.
Mobile
==
''
){
if
(
that
.
Mobile
==
''
){
...
...
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