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
f7b30ffa
Commit
f7b30ffa
authored
Oct 13, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 卡券增加小程序文案
parent
9c80b2ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
form.js
src/views/card/form.js
+3
-0
form.vue
src/views/card/form.vue
+3
-0
No files found.
src/views/card/form.js
View file @
f7b30ffa
...
...
@@ -16,6 +16,7 @@ const initForm = {
cardType
:
0
,
// 1.卡券类型: 抵金券: 0; 折扣券: 1; 兑换券: 2
cardName
:
''
,
// 2.卡券名称
cardApplyChannel
:
[],
// 卡券适用渠道
channelTip
:
''
,
subName
:
''
,
// 3.备注名
subTitle
:
''
,
// 4.卡券副标题
erpDemoCode
:
''
,
// demo券号
...
...
@@ -527,6 +528,7 @@ export default {
this
.
storeMode
=
card
.
storeMode
===
0
?
0
:
1
;
this
.
gicCouponType
=
card
.
gicCouponType
;
this
.
form
.
cardApplyChannel
=
card
.
cardApplyChannel
?
card
.
cardApplyChannel
.
split
(
','
)
:
[];
this
.
form
.
channelTip
=
card
.
channelTip
;
this
.
form
.
auditingStatus
=
card
.
auditingStatus
||
''
;
this
.
form
.
giveFlag
=
card
.
giveFlag
;
this
.
form
.
refundFlag
=
card
.
refundFlag
||
0
;
...
...
@@ -896,6 +898,7 @@ export default {
let
card
=
{};
let
params
=
{};
card
.
channelTip
=
this
.
form
.
channelTip
;
card
.
cardApplyChannel
=
this
.
form
.
cardApplyChannel
.
join
(
','
);
card
.
coupCardId
=
this
.
form
.
coupCardId
;
card
.
cardType
=
this
.
form
.
cardType
;
...
...
src/views/card/form.vue
View file @
f7b30ffa
...
...
@@ -13,6 +13,9 @@
<el-option
v-for=
"item in cardApplyChannelOptions"
:key=
"item.value"
:label=
"item.name"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"展示适用渠道文案"
prop=
"channelTip"
>
<dm-input
v-model=
"form.channelTip"
class=
"w400"
placeholder=
"请输入小程序端展示的适用渠道文案"
:byteType=
"1"
:maxlength=
"18"
></dm-input>
</el-form-item>
<el-form-item
prop=
"cardName"
label=
"卡券名称"
>
<dm-input
v-model=
"form.cardName"
class=
"w400"
placeholder=
"请输入卡券名称"
:disabled=
"isEdit || isInfo"
:byteType=
"1"
:maxlength=
"30"
></dm-input>
</el-form-item>
...
...
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