Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
ybf
Project
Project
Details
Activity
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
xulili
ybf
Commits
e31c7a45
Commit
e31c7a45
authored
Apr 20, 2020
by
xd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠券ID写死
parent
eafb8c60
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
addCoupon.vue
wx_application/src/views/coupon/addCoupon.vue
+6
-6
index.vue
wx_application/src/views/mainSale/active/main/index.vue
+2
-0
No files found.
wx_application/src/views/coupon/addCoupon.vue
View file @
e31c7a45
...
@@ -145,12 +145,12 @@
...
@@ -145,12 +145,12 @@
class=
"right noborder"
class=
"right noborder"
readonly
readonly
clickable
clickable
:value=
"addForm.couponId"
:value=
"addForm.couponId
s
"
placeholder=
"请输入优惠券ID"
placeholder=
"请输入优惠券ID"
@
touchstart
.
native
.
stop=
"unitShow = true"
@
touchstart
.
native
.
stop=
"unitShow = true"
/>
/>
<van-number-keyboard
<van-number-keyboard
v-model=
"addForm.couponId "
v-model=
"addForm.couponId
s
"
:show=
"unitShow"
:show=
"unitShow"
@
blur=
"unitShow = false"
@
blur=
"unitShow = false"
/>
/>
...
@@ -228,13 +228,14 @@ export default {
...
@@ -228,13 +228,14 @@ export default {
unit
:
''
,
unit
:
''
,
instruction
:
''
,
instruction
:
''
,
limitOfUse
:
''
,
limitOfUse
:
''
,
couponId
:
''
,
couponId
s
:
''
,
remind
:
''
,
remind
:
''
,
usageMax
:
''
,
usageMax
:
''
,
salesAmount
:
''
,
salesAmount
:
''
,
usageAmount
:
''
,
usageAmount
:
''
,
deptId
:
''
,
deptId
:
''
,
cxcode
:
''
cxcode
:
''
,
couponId
:
126
},
},
typeList
:
[
'现金券'
],
typeList
:
[
'现金券'
],
storeList
:
[
storeList
:
[
...
@@ -326,7 +327,7 @@ export default {
...
@@ -326,7 +327,7 @@ export default {
this
.
$toast
(
"请输入结束时间"
)
this
.
$toast
(
"请输入结束时间"
)
return
false
return
false
}
}
if
(
!
this
.
addForm
.
couponId
){
if
(
!
this
.
addForm
.
couponId
s
){
this
.
$toast
(
"请输入优惠券ID"
)
this
.
$toast
(
"请输入优惠券ID"
)
return
false
return
false
}
}
...
@@ -351,7 +352,6 @@ export default {
...
@@ -351,7 +352,6 @@ export default {
this
.
$toast
(
"请输入用券金额"
)
this
.
$toast
(
"请输入用券金额"
)
return
false
return
false
}
}
addCoupon
(
this
.
addForm
).
then
(
res
=>
{
addCoupon
(
this
.
addForm
).
then
(
res
=>
{
console
.
log
(
res
,
'res'
)
console
.
log
(
res
,
'res'
)
if
(
res
.
errorCode
==
"fail"
)
{
if
(
res
.
errorCode
==
"fail"
)
{
...
...
wx_application/src/views/mainSale/active/main/index.vue
View file @
e31c7a45
...
@@ -375,6 +375,7 @@ export default {
...
@@ -375,6 +375,7 @@ export default {
})
})
},
},
// 获取店铺新增粉丝
getAllNewFans
()
{
getAllNewFans
()
{
let
params
=
{
let
params
=
{
oyStallCode
:
this
.
oyStallCode
oyStallCode
:
this
.
oyStallCode
...
@@ -386,6 +387,7 @@ export default {
...
@@ -386,6 +387,7 @@ export default {
console
.
log
(
err
);
console
.
log
(
err
);
})
})
},
},
// 获取新增粉丝
getAddFans
(
flag
,
userId
)
{
getAddFans
(
flag
,
userId
)
{
let
JsonStr
=
{}
let
JsonStr
=
{}
if
(
flag
==
1
)
{
if
(
flag
==
1
)
{
...
...
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