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
9f4e6d35
authored
Mar 30, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
14eab3de
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
10 deletions
src/views/Store/list.vue
src/views/Store/list.vue
View file @
9f4e6d35
...
...
@@ -303,7 +303,7 @@
<el-table-column
prop=
"cp_time_temp"
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"
:picker-options=
"pickerOptions(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_time"
type=
"date"
placeholder=
"选择日期"
style=
"width: 128px"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -329,7 +329,6 @@ export default {
name
:
"list"
,
data
()
{
return
{
pickerOptions
:
{},
total
:
0
,
limit
:
10
,
page
:
1
,
...
...
@@ -365,14 +364,6 @@ export default {
}
this
.
getData
();
this
.
getSkuRankList
();
this
.
pickerOptions
=
function
(
val
)
{
return
{
disabledDate
(
time
)
{
let
limit_date
=
new
Date
(
val
);
return
time
.
getTime
()
>
limit_date
.
getTime
()
+
3600
*
1000
*
24
*
30
;
}
}
}
},
methods
:
{
/**
...
...
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