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
29f07b66
authored
Feb 23, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
78dcdd33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
10 deletions
src/views/Store/list.vue
src/views/Store/list.vue
View file @
29f07b66
...
...
@@ -303,7 +303,7 @@
<el-table-column
prop=
"cp_time"
label=
"上架有效期"
width=
"160"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
label=
"修改上架有效期"
width=
"160"
>
<
template
slot-scope=
"scope"
>
<el-date-picker
v-model=
"scope.row.cp_time
"
type=
"date"
placeholder=
"选择日期"
style=
"width: 128px"
value-format=
"yyyy-MM-dd"
></el-date-picker>
<el-date-picker
v-model=
"scope.row.cp_times
"
type=
"date"
placeholder=
"选择日期"
style=
"width: 128px"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -454,7 +454,10 @@ export default {
},
downOut
()
{
if
(
this
.
disabled
)
{
this
.
$message
(
"正在导出中,请不要重复点击"
);
this
.
$message
({
message
:
'正在导出中,请不要重复点击'
,
type
:
'warning'
});
return
}
this
.
$http
(
'get'
,
"/api/sku/exportSku"
,
{
...
...
@@ -488,16 +491,21 @@ export default {
id
:
id_
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
this
.
disabled
=
false
this
.
$message
(
"导出成功"
)
this
.
downHref
=
res
.
data
setTimeout
(()
=>
{
this
.
$refs
.
downs
.
click
()
},
10
)
this
.
disabled
=
false
;
this
.
$message
({
message
:
'导出成功'
,
type
:
'success'
});
this
.
downHref
=
res
.
data
;
const
newsUrl
=
this
.
$router
.
resolve
(
res
.
data
);
window
.
open
(
res
.
data
);
}
else
if
(
res
.
code
==
-
1
)
{
//导出失败
this
.
$message
(
res
.
data
)
this
.
disabled
=
false
this
.
$message
({
message
:
'导出失败'
,
type
:
'warning'
});
this
.
disabled
=
false
;
}
},
error
=>
{
this
.
$message
(
'网络出现问题,请检查网络'
);
...
...
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