Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-oss-equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4d85cd19
authored
Apr 13, 2021
by
zhouzy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
日期传递格式规范及领用搜索框布局
1 parent
42e1db48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
src/views/customer/collectionManagement/index.vue
src/views/customer/collectionManagement/index.vue
View file @
4d85cd1
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
<div
class=
"Input"
>
<div
class=
"Input"
>
<el-input
<el-input
v-model=
"collectionListSearch.condition.searchValue"
v-model=
"collectionListSearch.condition.searchValue"
placeholder=
"请输入
批次号
"
placeholder=
"请输入
设备SN
"
size=
"small"
size=
"small"
></el-input>
></el-input>
</div>
</div>
...
@@ -622,8 +622,7 @@ export default {
...
@@ -622,8 +622,7 @@ export default {
},
},
],
],
},
},
// 领用记录表格
// 领用记录表格表格
collectionTableParams
:
{
collectionTableParams
:
{
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
btnId
:
new
Date
().
getTime
()
+
parseInt
(
Math
.
random
()
*
1000
),
listName
:
"list"
,
listName
:
"list"
,
...
@@ -681,7 +680,8 @@ export default {
...
@@ -681,7 +680,8 @@ export default {
prop
:
"status"
,
prop
:
"status"
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
{
return
{
1
:
"正常"
,
1
:
'已激活'
,
0
:
'未激活'
}[
cellValue
.
status
];
}[
cellValue
.
status
];
},
},
minWidth
:
"200"
,
minWidth
:
"200"
,
...
@@ -856,10 +856,10 @@ export default {
...
@@ -856,10 +856,10 @@ export default {
changeBatchDataFormat
()
{
changeBatchDataFormat
()
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
batchListSearch
.
createdDateEnd
=
this
.
batchDate
this
.
batchListSearch
.
createdDateEnd
=
this
.
batchDate
?
this
.
batchDate
[
1
]
+
'23:59:59'
?
this
.
batchDate
[
1
]
+
'
23:59:59'
:
''
:
''
this
.
batchListSearch
.
createdDateStart
=
this
.
batchDate
this
.
batchListSearch
.
createdDateStart
=
this
.
batchDate
?
this
.
batchDate
[
0
]
+
'00:00:01'
?
this
.
batchDate
[
0
]
+
'
00:00:01'
:
''
;
:
''
;
this
.
batchListSearch
.
batchId
=
parseInt
(
this
.
selectBatchId
)
this
.
batchListSearch
.
batchId
=
parseInt
(
this
.
selectBatchId
)
console
.
log
(
this
.
batchListSearch
)
console
.
log
(
this
.
batchListSearch
)
...
@@ -871,10 +871,10 @@ export default {
...
@@ -871,10 +871,10 @@ export default {
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
console
.
log
(
this
.
colletionDate
)
console
.
log
(
this
.
colletionDate
)
this
.
collectionListSearch
.
condition
.
endTime
=
this
.
colletionDate
this
.
collectionListSearch
.
condition
.
endTime
=
this
.
colletionDate
?
this
.
colletionDate
[
1
]
+
'23:59:59'
?
this
.
colletionDate
[
1
]
+
'
23:59:59'
:
''
||
undefined
:
''
||
undefined
this
.
collectionListSearch
.
condition
.
beginTime
=
this
.
colletionDate
this
.
collectionListSearch
.
condition
.
beginTime
=
this
.
colletionDate
?
this
.
colletionDate
[
0
]
+
'00:00:01'
?
this
.
colletionDate
[
0
]
+
'
00:00:01'
:
''
||
undefined
:
''
||
undefined
resolve
()
resolve
()
})
})
...
@@ -1004,12 +1004,12 @@ export default {
...
@@ -1004,12 +1004,12 @@ export default {
.InputContainer
{
.InputContainer
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
margin-left
:
2
0px
;
margin-left
:
-10
0px
;
}
}
.lastInputContainer
{
.lastInputContainer
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
margin-left
:
10
0px
;
margin-left
:
4
0px
;
}
}
.firstpickerContainer
{
.firstpickerContainer
{
margin-left
:
20px
;
margin-left
:
20px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment