Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1f3143b8
authored
Feb 16, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复营销事件营销时间判断问题
1 parent
6e492a3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/baseInfo.vue
View file @
1f3143b
...
@@ -997,16 +997,21 @@ export default {
...
@@ -997,16 +997,21 @@ export default {
}
}
})
})
}
else
{
}
else
{
// 处理复制事件的营销时间
let
copyTimeFlag
=
this
.
editForm
.
eventList
.
every
(
its
=>
{
return
its
.
eventStartDate
&&
its
.
eventTime
})
if
(
!
copyTimeFlag
){
this
.
$message
({
message
:
'请选择营销事件的营销时间'
,
type
:
'error'
})
return
}
// 这边走的是新增
// 这边走的是新增
params
.
eventList
=
[]
params
.
eventList
=
[]
this
.
editForm
.
eventList
.
forEach
((
item
,
index
)
=>
{
this
.
editForm
.
eventList
.
forEach
((
item
,
index
)
=>
{
if
(
!
item
.
eventStartDate
||
!
item
.
eventTime
){
this
.
$message
({
message
:
'请选择营销事件的营销时间'
,
type
:
'error'
})
return
}
params
.
eventList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
item
)))
params
.
eventList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
item
)))
params
.
eventList
[
index
].
resourceList
=
[]
params
.
eventList
[
index
].
resourceList
=
[]
if
(
item
.
object
&&
item
.
object
.
length
<=
2
)
{
if
(
item
.
object
&&
item
.
object
.
length
<=
2
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment