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
dd0a852e
Commit
dd0a852e
authored
Sep 15, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 奥莱抵金券
parent
8252ccd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
form.js
src/views/card/form.js
+9
-1
No files found.
src/views/card/form.js
View file @
dd0a852e
...
...
@@ -1093,7 +1093,15 @@ export default {
if
(
this
.
form
.
cardType
==
3
)
{
if
(
this
.
form
.
costValueProportionFlag
==
1
)
{
if
(
!
(
this
.
isEdit
&&
this
.
storeMode
==
0
)
&&
(
!
Array
.
isArray
(
this
.
originStoreList
)
||
this
.
originStoreList
.
length
==
0
))
{
// 编辑、复制
// 固定成本 有门店选择器id,没有costStoreList
// 门店成本 有门店选择器id,有costStoreList
// 新增、复制
// 导入时,无门店选择器id,有costStoreList
// 新增、复制时,有costStoreList即可保存
// 编辑时,有门店选择器id,即可保存
if
(
!
(
this
.
isEdit
&&
this
.
storeUuid
)
&&
!
((
this
.
isAdd
||
this
.
isCopy
)
&&
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