Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-activity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7d85af85
authored
Jul 19, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复BUG
1 parent
fc7a4b7e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
src/views/coupon/goodsVerification.vue
src/views/coupon/verificationList.vue
src/views/coupon/goodsVerification.vue
View file @
7d85af8
...
@@ -139,8 +139,7 @@ export default {
...
@@ -139,8 +139,7 @@ export default {
},
},
methods
:
{
methods
:
{
setData
(
res
)
{
setData
(
res
)
{
let
_price_
=
i
.
activityPrice
?
i
.
activityPrice
:
e
.
retailPrice
res
.
orderGoods
.
map
(
e
=>
(
this
.
price
+=
e
.
activityPrice
?
e
.
activityPrice
:
e
.
retailPrice
))
res
.
orderGoods
.
map
(
e
=>
(
this
.
price
+=
_price_
))
this
.
detail
=
res
this
.
detail
=
res
this
.
flag
=
true
this
.
flag
=
true
this
.
total
=
this
.
price
+
res
.
expressFee
this
.
total
=
this
.
price
+
res
.
expressFee
...
...
src/views/coupon/verificationList.vue
View file @
7d85af8
...
@@ -469,7 +469,7 @@ export default {
...
@@ -469,7 +469,7 @@ export default {
}
}
},
},
scan
()
{
scan
()
{
// let resultStr = 't=
2&c=35504582860429107
20'
// let resultStr = 't=
1&c=5509021061446451
20'
wxConfig
.
scanQRCode
(
1
).
then
(({
resultStr
})
=>
{
wxConfig
.
scanQRCode
(
1
).
then
(({
resultStr
})
=>
{
let
name
=
'verificationDetail'
let
name
=
'verificationDetail'
let
[
t
,
c
]
=
resultStr
.
split
(
'&'
)
let
[
t
,
c
]
=
resultStr
.
split
(
'&'
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment