Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6ea82874
authored
Feb 28, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
c2ce38e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
src/views/Store/list.vue
src/views/Store/list.vue
View file @
6ea82874
...
@@ -682,24 +682,25 @@ export default {
...
@@ -682,24 +682,25 @@ export default {
return
;
return
;
}
}
var
time
=
new
Date
();
//当前时间
if
(
status
==
1
)
{
time_arr
=
this
.
multipleSelection
.
map
(
obj
=>
{
var
time
=
new
Date
();
//当前时间
return
obj
.
cp_time
;
time_arr
=
this
.
multipleSelection
.
map
(
obj
=>
{
});
return
obj
.
cp_time
;
var
times
=
time_arr
.
filter
((
item
)
=>
{
if
(
new
Date
(
item
)
<
time
)
{
return
item
;
}
});
if
(
times
.
length
>
0
)
{
this
.
$message
({
message
:
'您勾选的数据中,有型号的“上架有效期”低于当前的日期,请先维护上架有效期;'
,
type
:
'warning'
});
});
return
;
var
times
=
time_arr
.
filter
((
item
)
=>
{
if
(
new
Date
(
item
)
<
time
)
{
return
item
;
}
});
if
(
times
.
length
>
0
)
{
this
.
$message
({
message
:
'您勾选的数据中,有型号的“上架有效期”低于当前的日期,请先维护上架有效期;'
,
type
:
'warning'
});
return
;
}
}
}
sku_ids
=
this
.
multipleSelection
.
map
(
obj
=>
{
sku_ids
=
this
.
multipleSelection
.
map
(
obj
=>
{
return
obj
.
goods_id
;
return
obj
.
goods_id
;
});
});
...
...
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