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
0b9224a0
authored
Feb 24, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
7e422f37
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
src/views/Store/list.vue
src/views/Store/list.vue
View file @
0b9224a0
...
@@ -587,7 +587,7 @@ export default {
...
@@ -587,7 +587,7 @@ export default {
//修改上架有效期
//修改上架有效期
this
.
dialogVisible3
=
true
;
this
.
dialogVisible3
=
true
;
for
(
let
i
=
0
;
i
<
this
.
selectData
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
selectData
.
length
;
i
++
)
{
this
.
selectData
[
i
].
cp_time_temp
=
this
.
selectData
[
i
].
cp_time
;
this
.
selectData
[
i
].
cp_time_temp
=
this
.
selectData
[
i
].
cp_time
;
}
}
this
.
cpdata
=
this
.
selectData
;
this
.
cpdata
=
this
.
selectData
;
}
}
...
@@ -679,9 +679,10 @@ export default {
...
@@ -679,9 +679,10 @@ export default {
return
return
}
}
var
arr
=
[];
var
arr
=
[];
for
(
var
i
=
0
;
i
<
this
.
multipleSelection
.
length
;
i
++
)
{
arr
=
this
.
multipleSelection
.
map
(
obj
=>
{
arr
.
push
(
this
.
multipleSelection
[
i
][
'goods_id'
])
return
obj
.
goods_id
;
}
});
this
.
$http
(
'post'
,
"/api/sku/updateSkuStatus"
,
{
this
.
$http
(
'post'
,
"/api/sku/updateSkuStatus"
,
{
sku_ids
:
arr
.
join
(
","
),
sku_ids
:
arr
.
join
(
","
),
status
:
status
==
1
?
'passed'
:
'offshelf'
status
:
status
==
1
?
'passed'
:
'offshelf'
...
@@ -693,7 +694,10 @@ export default {
...
@@ -693,7 +694,10 @@ export default {
});
});
this
.
getData
()
this
.
getData
()
}
else
{
}
else
{
this
.
$message
(
res
.
msg
);
this
.
$message
({
message
:
res
.
msg
,
type
:
'warning'
});
}
}
})
})
}
}
...
...
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