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
06b3152d
Commit
06b3152d
authored
Nov 17, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 卡券营销同步微盟调整
parent
a191f883
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
form.js
src/views/card/form.js
+3
-1
form.vue
src/views/card/form.vue
+1
-1
No files found.
src/views/card/form.js
View file @
06b3152d
...
...
@@ -69,7 +69,8 @@ const initForm = {
useJumpFlag
:
0
,
// (0: 不跳转, 1: 跳转)
bannerJumpUrl
:
{},
giveRule
:
'1.卡券新老用户同享。
\
n2.用户使用卡券下单,订单取消后,卡券将自动失效'
,
wmCouponJson
:
{}
wmCouponJson
:
{},
wmCouponFlag
:
0
};
const
sale_limit
=
{
fee
:
0
,
goods
:
''
,
flag
:
false
,
type
:
0
};
//最低消费
const
goods
=
{
ok
:
''
,
no
:
''
,
flag
:
false
};
...
...
@@ -524,6 +525,7 @@ export default {
this
.
couponAutoGetFlag
=
manualGetFlagSettingRes
.
result
.
couponAutoGetFlag
||
0
;
this
.
couponAutoGetStock
=
manualGetFlagSettingRes
.
result
.
couponAutoGetStock
;
this
.
wmCouponJson
=
JSON
.
parse
(
manualGetFlagSettingRes
.
result
.
wmCouponJson
||
'{}'
);
this
.
wmCouponFlag
=
manualGetFlagSettingRes
.
result
.
wmCouponFlag
;
let
res
=
null
;
if
(
this
.
isCopy
)
{
res
=
await
copyCardDetailService
({
coupCardId
:
this
.
$route
.
params
.
id
});
...
...
src/views/card/form.vue
View file @
06b3152d
...
...
@@ -211,7 +211,7 @@
<li>
开启后可与其它卡券叠加或在门店活动中使用(需要单独对接)
</li>
<li>
修改后请注意调整卡券使用说明
</li>
</ul>
<el-alert
v-if=
"form.cardApplyChannel.some(el => el == 'WMmicroMall') && wmCouponJson.couponOnlyFlag == 1"
class=
"f-alert"
type=
"warning"
show-icon
:closable=
"false"
title=
"开启后,当此券同步至微盟侧,可在微盟侧修改调整卡券相应配置,比如修改使用规则等。注意,微盟侧修改后不会同步给达摩,请谨慎操作。"
></el-alert>
<el-alert
v-if=
"
wmCouponFlag &&
form.cardApplyChannel.some(el => el == 'WMmicroMall') && wmCouponJson.couponOnlyFlag == 1"
class=
"f-alert"
type=
"warning"
show-icon
:closable=
"false"
title=
"开启后,当此券同步至微盟侧,可在微盟侧修改调整卡券相应配置,比如修改使用规则等。注意,微盟侧修改后不会同步给达摩,请谨慎操作。"
></el-alert>
</div>
</el-form-item>
<el-form-item
prop=
"cardLimit"
label=
"领券限制"
>
...
...
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