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
9700b32b
Commit
9700b32b
authored
Mar 15, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 卡券调整
parent
e25c55c0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
form.js
src/views/card/form.js
+0
-2
form.vue
src/views/card/form.vue
+1
-1
status-render.js
src/views/card/partials/status-render.js
+2
-1
No files found.
src/views/card/form.js
View file @
9700b32b
...
...
@@ -134,7 +134,6 @@ export default {
const
that
=
this
;
return
{
requestProject
:
'marketing'
,
isOutCoupon
:
false
,
creatorId
:
''
,
uuid
:
''
,
canEdit
:
false
,
...
...
@@ -514,7 +513,6 @@ export default {
if
(
res
.
result
.
card
)
{
const
card
=
res
.
result
.
card
;
// 3、4为外部券,不显示保存按钮
this
.
isOutCoupon
=
card
.
gicCouponType
==
3
||
card
.
gicCouponType
==
4
;
this
.
storeMode
=
card
.
storeMode
===
0
?
0
:
1
;
this
.
form
.
cardApplyChannel
=
card
.
cardApplyChannel
?
card
.
cardApplyChannel
.
split
(
','
)
:
[];
this
.
form
.
auditingStatus
=
card
.
auditingStatus
||
''
;
...
...
src/views/card/form.vue
View file @
9700b32b
...
...
@@ -348,7 +348,7 @@
<
div
class
=
"btn-wrap_fixed"
:
class
=
"{ on: asideShow
}
"
>
<
el
-
button
v
-
if
=
"form.useCustomCode === 0 && form.giveFlag"
:
disabled
=
"!preview.disabled"
@
click
=
"preview.visible = true"
>
转赠预览
<
/el-button
>
<
el
-
button
type
=
"primary"
@
click
=
"submitForm('form')"
v
-
loading
=
"submitLoading"
v
-
show
=
"!is
OutCoupon && !is
Info && canEdit && $store.state.marketing.appletEnable"
>
保存
<
/el-button
>
<
el
-
button
type
=
"primary"
@
click
=
"submitForm('form')"
v
-
loading
=
"submitLoading"
v
-
show
=
"!isInfo && canEdit && $store.state.marketing.appletEnable"
>
保存
<
/el-button
>
<
el
-
button
@
click
=
"$router.go(-1)"
>
返
回
<
/el-button
>
<
/div
>
<
/el-form
>
...
...
src/views/card/partials/status-render.js
View file @
9700b32b
...
...
@@ -32,7 +32,7 @@ export default Vue.component('render-temp', {
<
/a
>
);
const
bind3
=
isWeimo
||
isCommon
||
!
isApiCreate
?
(
!
isWeimo
&&
!
isCommon
&&
!
isApiCreate
?
(
<
a
title
=
"编辑"
onClick
=
{
this
.
handler
.
bind
(
null
,
3
)}
>
<
i
class
=
"el-icon-edit"
/>
<
/a
>
...
...
@@ -78,6 +78,7 @@ export default Vue.component('render-temp', {
{
bind2
}
{
bind3
}
{
bind4
}
{
isWeimo
||
isCommon
?
bind5
:
''
}
<
/span
>
);
const
overDateHtml
=
(
...
...
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