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
1565a036
Commit
1565a036
authored
Nov 16, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/11月迭代' of
http://git.gicdev.com/marketing-web/marketing
into feature/11月迭代
parents
9b11cfa8
ef14931e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
form.js
src/views/card/form.js
+3
-1
form.vue
src/views/card/form.vue
+2
-1
No files found.
src/views/card/form.js
View file @
1565a036
...
...
@@ -67,7 +67,8 @@ const initForm = {
bannerImageField
:
'015f1e5a-3b2f-42f5-b638-6a29c17e8f7e'
,
useJumpFlag
:
0
,
// (0: 不跳转, 1: 跳转)
bannerJumpUrl
:
{},
giveRule
:
'1.卡券新老用户同享。
\
n2.用户使用卡券下单,订单取消后,卡券将自动失效'
giveRule
:
'1.卡券新老用户同享。
\
n2.用户使用卡券下单,订单取消后,卡券将自动失效'
,
wmCouponJson
:
{}
};
const
sale_limit
=
{
fee
:
0
,
goods
:
''
,
flag
:
false
,
type
:
0
};
//最低消费
const
goods
=
{
ok
:
''
,
no
:
''
,
flag
:
false
};
...
...
@@ -481,6 +482,7 @@ export default {
let
manualGetFlagSettingRes
=
await
getCardManualSetting
();
// 获取商户卡券自动领取配置
this
.
couponAutoGetFlag
=
manualGetFlagSettingRes
.
result
.
couponAutoGetFlag
||
0
;
this
.
couponAutoGetStock
=
manualGetFlagSettingRes
.
result
.
couponAutoGetStock
;
this
.
wmCouponJson
=
JSON
.
parse
(
manualGetFlagSettingRes
.
result
.
wmCouponJson
||
'{}'
);
let
res
=
null
;
if
(
this
.
isCopy
)
{
res
=
await
copyCardDetailService
({
coupCardId
:
this
.
$route
.
params
.
id
});
...
...
src/views/card/form.vue
View file @
1565a036
...
...
@@ -211,6 +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>
</div>
</el-form-item>
<el-form-item
prop=
"cardLimit"
label=
"领券限制"
>
...
...
@@ -397,7 +398,7 @@ export default cardForm;
<
style
lang
=
"scss"
scoped
>
.
f
-
alert
{
width
:
78
0
px
!
important
;
width
:
90
0
px
!
important
;
/deep/
.
el
-
alert__content
{
height
:
18
px
;
line
-
height
:
18
px
;
...
...
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