Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
李智书
xzf_uniapp-wechat-web
Commits
213e139a
Commit
213e139a
authored
Aug 25, 2023
by
袁玲利
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
8feaa579
2714536b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
src/pages/ApplyConsumption/ConsumptionQuota/ConsumptionQuota.vue
...es/ApplyConsumption/ConsumptionQuota/ConsumptionQuota.vue
+1
-1
src/pages/ApplyConsumption/Home/Home.vue
src/pages/ApplyConsumption/Home/Home.vue
+14
-8
No files found.
src/pages/ApplyConsumption/ConsumptionQuota/ConsumptionQuota.vue
View file @
213e139a
...
@@ -340,7 +340,7 @@
...
@@ -340,7 +340,7 @@
},
},
async
switchChange
(
e
)
{
async
switchChange
(
e
)
{
console
.
warn
(
"
开启限额
"
,
e
.
detail
.
value
)
console
.
warn
(
"
开启限额
"
,
e
.
detail
.
value
)
await
this
.
QueryProductContractItem
()
//
await this.QueryProductContractItem()
this
.
parentConsumeLimit
.
switch
=
e
.
detail
.
value
this
.
parentConsumeLimit
.
switch
=
e
.
detail
.
value
if
(
this
.
parentConsumeLimit
.
singleLimit
==
0
)
{
if
(
this
.
parentConsumeLimit
.
singleLimit
==
0
)
{
this
.
parentConsumeLimit
.
singleLimit
=
'
50.00
'
;
this
.
parentConsumeLimit
.
singleLimit
=
'
50.00
'
;
...
...
src/pages/ApplyConsumption/Home/Home.vue
View file @
213e139a
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
</view>
</view>
</view>
</view>
<!-- 会员尊享权益 -->
<!-- 会员尊享权益 -->
<view
class=
"menberImg"
v-if=
"HomeDataInfo['vipStatus']!=1"
>
<view
class=
"menberImg"
v-if=
"HomeDataInfo['vipStatus']!=1
&&HomeDataInfo['membershipStatus']==1
"
>
<image
:src=
"this.$ImgUrl + 'applyCons/menberImg.png'"
mode=
"aspectFit"
></image>
<image
:src=
"this.$ImgUrl + 'applyCons/menberImg.png'"
mode=
"aspectFit"
></image>
<view
class=
"tomenber"
@
tap=
"openAzMenber"
></view>
<view
class=
"tomenber"
@
tap=
"openAzMenber"
></view>
</view>
</view>
...
@@ -162,7 +162,11 @@
...
@@ -162,7 +162,11 @@
// 刷脸消费会员到期时间
// 刷脸消费会员到期时间
"
vipExpiredDt
"
:
""
,
"
vipExpiredDt
"
:
""
,
// 刷脸消费会员开通状态 1已开通并生效 2未开通 3已过期 4未生效
// 刷脸消费会员开通状态 1已开通并生效 2未开通 3已过期 4未生效
"
vipStatus
"
:
1
"
vipStatus
"
:
1
,
// 学校是否开通消费会员
"
membershipStatus
"
:
0
,
// 学生id
"
schoolId
"
:
0
},
},
// 学校 学生id
// 学校 学生id
userInfo
:
{
userInfo
:
{
...
@@ -298,12 +302,14 @@
...
@@ -298,12 +302,14 @@
if
(
!
item
.
path
)
{
if
(
!
item
.
path
)
{
return
return
}
}
if
(
item
[
'
auth
'
]
&&
item
[
'
serviceItemCode
'
])
{
if
(
this
.
HomeDataInfo
[
'
membershipStatus
'
]
==
1
)
{
// 查询消费会员权益项
if
(
item
[
'
auth
'
]
&&
item
[
'
serviceItemCode
'
])
{
const
result
=
await
this
.
QueryProductContractItem
(
item
[
'
serviceItemCode
'
])
// 查询消费会员权益项
if
(
result
==
"
fail
"
)
{
const
result
=
await
this
.
QueryProductContractItem
(
item
[
'
serviceItemCode
'
])
this
.
contractMenber
=
true
if
(
result
==
"
fail
"
)
{
throw
(
'
您还未开通消费会员,
'
)
this
.
contractMenber
=
true
throw
(
'
您还未开通消费会员,
'
)
}
}
}
}
}
const
query
=
const
query
=
...
...
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