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
9e3aa49f
authored
Feb 28, 2023
by
梁建民
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'dev/ver/3.0.0' into 'master'
bug See merge request
!2
parents
71518d01
6ea82874
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 @
9e3aa49f
...
...
@@ -682,24 +682,25 @@ export default {
return
;
}
var
time
=
new
Date
();
//当前时间
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'
if
(
status
==
1
)
{
var
time
=
new
Date
();
//当前时间
time_arr
=
this
.
multipleSelection
.
map
(
obj
=>
{
return
obj
.
cp_time
;
});
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
=>
{
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