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
85c96719
Commit
85c96719
authored
Sep 14, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 奥莱抵金券
parent
6c9d76f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
form.js
src/views/card/form.js
+3
-3
No files found.
src/views/card/form.js
View file @
85c96719
...
...
@@ -869,9 +869,9 @@ export default {
this
.
form
.
costValueProportionFlag
=
card
.
costValueProportionFlag
||
0
;
// 卡券成本比例 1:开 0:关
this
.
form
.
costValueType
=
card
.
costValueType
||
0
;
//成本费用0固定成本1门店成本
this
.
form
.
costValueProportion
=
card
.
costValueProportion
;
//成本比例
this
.
form
.
costStoreList
=
(
this
.
isEdit
||
this
.
isInfo
||
this
.
isCopy
)
&&
Array
.
isArray
(
card
.
costStoreList
)
?
card
.
costStoreList
:
[];
this
.
form
.
costStoreList
=
(
this
.
isEdit
||
this
.
isInfo
||
this
.
isCopy
)
&&
card
.
storeWidgetKey
&&
Array
.
isArray
(
card
.
costStoreList
)
?
card
.
costStoreList
:
[];
this
.
originStoreList
=
this
.
form
.
costStoreList
;
if
(
this
.
isCopy
)
{
if
(
this
.
isCopy
&&
card
.
storeWidgetKey
)
{
this
.
onStoreChange
(
card
.
storeWidgetKey
);
}
}
...
...
@@ -1084,7 +1084,7 @@ export default {
if
(
this
.
form
.
cardType
==
3
)
{
if
(
this
.
form
.
costValueProportionFlag
==
1
)
{
if
(
!
this
.
storeUuid
||
(
!
(
this
.
isEdit
&&
this
.
storeMode
==
0
)
&&
(
!
Array
.
isArray
(
this
.
originStoreList
)
||
this
.
originStoreList
.
length
==
0
)
))
{
if
(
!
(
this
.
isEdit
&&
this
.
storeMode
==
0
)
&&
(
!
Array
.
isArray
(
this
.
originStoreList
)
||
this
.
originStoreList
.
length
==
0
))
{
this
.
$tips
({
type
:
'warning'
,
message
:
'请选择卡券适用门店'
});
const
body
=
document
.
getElementsByClassName
(
'dm-layout-page'
)[
0
];
toTop
(
body
,
this
.
$refs
.
useStore
.
$el
.
offsetTop
-
body
.
offsetTop
);
...
...
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