Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
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
b275189b
authored
Nov 14, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
记录
parent
66b4e81e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
75 additions
and
1 deletions
assets/css/putaway/record.scss
pages/putaway/record.vue
assets/css/putaway/record.scss
View file @
b275189b
.putaway-record
{
padding
:
15rpx
22rpx
;
.search-params
{
margin-top
:
15rpx
;
margin-bottom
:
24rpx
;
.sn
{
width
:
47%
;
height
:
60rpx
;
background
:
#ffffff
;
border-radius
:
10rpx
;
.uni-input
{
font-size
:
18rpx
;
color
:
#292b33
;
font-weight
:
bold
;
}
.uni-arrow
{
width
:
14rpx
;
height
:
9rpx
;
background
:
url('https://img.ichunt.com/images/ichunt/202304/10/e4c72319ad41ce1425f71cc6ec35f111.png')
no-repeat
center
;
background-size
:
contain
;
margin-left
:
12rpx
;
}
}
}
.search-box
{
height
:
60rpx
;
background
:
#ffffff
;
...
...
@@ -50,6 +72,14 @@
color
:
#292b33
;
margin-left
:
5rpx
;
}
.total-text
{
font-size
:
16rpx
;
color
:
#919399
;
.tt
{
padding
:
0
5rpx
;
color
:
#1969f9
;
}
}
}
.list
{
margin-top
:
15rpx
;
...
...
pages/putaway/record.vue
View file @
b275189b
<
template
>
<view
class=
"putaway-record"
>
<view
class=
"search-params row verCenter"
>
<view
class=
"sn row rowCenter verCenter"
style=
"width: 100%;"
>
<view
class=
"select-box row"
style=
"width: 100%;"
>
<uni-datetime-picker
v-model=
"searchParams.stock_shelf_time"
type=
"daterange"
rangeSeparator=
"~"
:clear-icon=
"true"
@
change=
"changeDate"
start-placeholder=
"上架开始时间"
end-placeholder=
"上架结束时间"
:border=
"false"
/>
</view>
</view>
</view>
<!-- 搜索部分 -->
<view
class=
"search-box row bothSide verCenter"
>
<view
class=
"sn row rowCenter verCenter"
>
...
...
@@ -37,7 +44,7 @@
</label>
</radio-group>
</view>
<view
class=
"radio-wrap row verCenter"
>
<view
class=
"radio-wrap row
bothSide
verCenter"
>
<radio-group
name=
"radio"
@
change=
"radioChange($event, 2)"
>
<label>
<radio
value=
""
style=
"transform:scale(0.7)"
checked=
"true"
color=
"#1969f9"
/>
...
...
@@ -52,6 +59,7 @@
<text>
提交
</text>
</label>
</radio-group>
<view
class=
"total-text"
v-if=
"list.length > 0"
>
共
<text
class=
"tt"
>
{{list.length}}
</text>
条数据
</view>
</view>
<!-- 列表 -->
<view
class=
"list row bothSide"
v-if=
"list.length > 0"
>
...
...
@@ -251,6 +259,9 @@
import
{
API
}
from
'@/util/api.js'
;
import
{
createArray
}
from
'@/util/util.js'
;
import
debounce
from
'lodash/debounce'
;
const
now
=
new
Date
()
const
start
=
new
Date
(
now
.
setHours
(
0
,
0
,
0
,
0
))
const
end
=
new
Date
(
now
.
setHours
(
23
,
59
,
59
,
999
))
export
default
{
data
()
{
...
...
@@ -266,7 +277,9 @@
filter_id
:
[],
//过滤处理的id
detail
:
{},
hasMoreData
:
true
,
//是否分页加载
total
:
0
,
searchParams
:
{
stock_shelf_time
:
[
start
,
end
],
//上架时间
stock_in_type
:
''
,
search_type
:
1
,
search_keyword
:
''
,
...
...
@@ -293,6 +306,13 @@
this
.
getData
();
},
methods
:
{
changeDate
(
e
)
{
if
(
e
[
0
])
{
this
.
searchParams
.
stock_shelf_time
=
e
[
0
]
+
' ~ '
+
e
[
1
];
}
this
.
resetChange
();
this
.
getData
();
},
radioChange
(
e
,
type
)
{
this
.
resetChange
();
if
(
type
==
1
)
{
...
...
@@ -561,4 +581,27 @@
<
style
scoped
lang=
"scss"
>
@import
'@/assets/css/putaway/record.scss'
;
::v-deep
{
.uni-calendar--fixed
{
z-index
:
9999999
!important
;
}
.uni-date-x
.icon-calendar
{
display
:
none
!important
;
}
.uni-date__x-input
{
height
:
30px
!important
;
line-height
:
30px
!important
;
padding-left
:
0
!important
;
font-size
:
17
rpx
;
}
.uni-date-x
.range-separator
{
height
:
30px
!important
;
line-height
:
30px
!important
;
padding
:
0
15
rpx
!important
;
}
}
</
style
>
\ No newline at end of file
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