Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
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
marketing-web
marketing
Commits
1fa7c5ab
Commit
1fa7c5ab
authored
Mar 10, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix' into dev
parents
8d05f5bd
67546122
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
form.js
src/views/card/form.js
+7
-4
No files found.
src/views/card/form.js
View file @
1fa7c5ab
...
...
@@ -901,10 +901,7 @@ export default {
// sale_limit.fee 消费金额满,sale_limit.goods 消费指定商品; goods.ok 适用商品, goods.no 不适应商品, only: 1 不与其他优惠共享(不勾选only不传)
}
else
if
(
this
.
form
.
cardType
===
2
)
{
card
.
useCondition
=
{
sale_limit
:
{
fee
:
this
.
sale_limit
.
fee
,
goods
:
this
.
sale_limit
.
goods
},
sale_limit
:
{},
goods
:
{
ok
:
this
.
goods
.
ok
,
no
:
this
.
goods
.
no
...
...
@@ -913,6 +910,12 @@ export default {
proNo
:
this
.
form
.
proNoList
.
length
?
this
.
form
.
proNoList
[
0
].
id
:
''
,
products_exchange_number
:
this
.
form
.
proNoList
.
length
?
this
.
form
.
products_exchange_number
:
0
};
// 兑换券的使用条件参数只能传一个,不能同时传
if
(
this
.
sale_limit
.
type
==
1
)
{
card
.
useCondition
.
sale_limit
=
{
fee
:
this
.
sale_limit
.
fee
};
}
else
if
(
this
.
sale_limit
.
type
==
2
)
{
card
.
useCondition
.
sale_limit
=
{
goods
:
this
.
sale_limit
.
goods
};
}
if
(
this
.
only
)
{
card
.
useCondition
.
only
=
Number
(
this
.
only
);
}
...
...
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