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
14eb4907
authored
Jul 05, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
批量扫描
parent
1ffa2413
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
64 additions
and
13 deletions
assets/css/picking/sort.scss
assets/css/putaway/index.scss
assets/css/stockRecheck/sort.scss
pages/picking/sort.vue
pages/putaway/index.vue
pages/stockRecheck/sort.vue
assets/css/picking/sort.scss
View file @
14eb4907
...
@@ -57,10 +57,10 @@
...
@@ -57,10 +57,10 @@
font-size
:
18rpx
;
font-size
:
18rpx
;
color
:
#292b33
;
color
:
#292b33
;
font-weight
:
bold
;
font-weight
:
bold
;
margin-bottom
:
10rpx
;
}
}
}
}
.list
{
.list
{
padding-bottom
:
80rpx
;
.box
{
.box
{
position
:
relative
;
position
:
relative
;
padding
:
15px
17rpx
20rpx
17rpx
;
padding
:
15px
17rpx
20rpx
17rpx
;
...
@@ -69,6 +69,24 @@
...
@@ -69,6 +69,24 @@
border-radius
:
10rpx
;
border-radius
:
10rpx
;
margin-bottom
:
15rpx
;
margin-bottom
:
15rpx
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
border
:
1px
solid
transparent
;
.check-box-icon
{
position
:
absolute
;
right
:
18rpx
;
top
:
17rpx
;
width
:
20rpx
;
height
:
20rpx
;
background
:
url('https://img.ichunt.com/images/ichunt/202304/11/0bf30da3e8ce6c476c210173b5f13d51.png')
no-repeat
center
;
background-size
:
contain
;
display
:
block
;
}
&
.curr
{
border
:
1px
solid
#1969f9
;
.check-box-icon
{
background
:
url('https://img.ichunt.com/images/ichunt/202304/11/71a74e52e94bcf2e89f8df9817d494c6.png')
no-repeat
center
;
background-size
:
contain
;
}
}
.input-box
{
.input-box
{
margin-bottom
:
11rpx
;
margin-bottom
:
11rpx
;
flex
:
0
0
50%
;
flex
:
0
0
50%
;
...
@@ -166,6 +184,29 @@
...
@@ -166,6 +184,29 @@
}
}
}
}
}
}
.fix-btn
{
position
:
fixed
;
bottom
:
0
;
width
:
100%
;
left
:
0
;
z-index
:
999
;
.btn2
{
width
:
100%
;
height
:
75rpx
;
background
:
#1969f9
;
font-size
:
23rpx
;
color
:
#ffffff
;
}
.btn3
{
width
:
180rpx
;
height
:
75rpx
;
background
:
#ffffff
;
font-size
:
23rpx
;
color
:
#ff3700
;
border-left
:
1px
solid
#f0f0f2
;
font-weight
:
bold
;
}
}
}
}
::v-deep
.uni-drawer__content
{
::v-deep
.uni-drawer__content
{
...
@@ -269,6 +310,13 @@
...
@@ -269,6 +310,13 @@
left
:
0
;
left
:
0
;
width
:
100%
;
width
:
100%
;
z-index
:
99
;
z-index
:
99
;
.btn0
{
height
:
75rpx
;
background
:
#ffe0d7
;
font-size
:
23rpx
;
color
:
#ff3700
;
font-weight
:
bold
;
}
.btn1
{
.btn1
{
width
:
100%
;
width
:
100%
;
height
:
75rpx
;
height
:
75rpx
;
...
...
assets/css/putaway/index.scss
View file @
14eb4907
...
@@ -168,10 +168,6 @@
...
@@ -168,10 +168,6 @@
width
:
85%
!
important
;
width
:
85%
!
important
;
}
}
::v-deep
.uni-drawer__content
{
width
:
85%
!
important
;
}
.uni-drawer-pack
{
.uni-drawer-pack
{
width
:
100%
;
width
:
100%
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
...
@@ -282,9 +278,9 @@
...
@@ -282,9 +278,9 @@
.btn1
{
.btn1
{
width
:
50%
;
width
:
50%
;
height
:
75rpx
;
height
:
75rpx
;
background
:
#f
5f5f
7
;
background
:
#f
fe0d
7
;
font-size
:
23rpx
;
font-size
:
23rpx
;
color
:
#
1969f9
;
color
:
#
ff3700
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.btn2
{
.btn2
{
...
...
assets/css/stockRecheck/sort.scss
View file @
14eb4907
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
}
}
.box-info
{
.box-info
{
margin-bottom
:
10rpx
;
margin-bottom
:
10rpx
;
height
:
40rpx
;
.title
{
.title
{
font-size
:
18rpx
;
font-size
:
18rpx
;
color
:
#292b33
;
color
:
#292b33
;
...
@@ -436,9 +437,9 @@
...
@@ -436,9 +437,9 @@
.btn0
{
.btn0
{
width
:
50%
;
width
:
50%
;
height
:
75rpx
;
height
:
75rpx
;
background
:
#f
5f5f
7
;
background
:
#f
fe0d
7
;
font-size
:
23rpx
;
font-size
:
23rpx
;
color
:
#
1969f9
;
color
:
#
ff3700
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.btn1
{
.btn1
{
...
...
pages/picking/sort.vue
View file @
14eb4907
This diff is collapsed.
Click to expand it.
pages/putaway/index.vue
View file @
14eb4907
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<text
class=
"iconfont icon-juxing1"
></text>
<text
class=
"iconfont icon-juxing1"
></text>
<template
v-if=
"index == 0"
>
<template
v-if=
"index == 0"
>
<template
v-if=
"is_batch"
>
<template
v-if=
"is_batch"
>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
placeholder-style=
"color:#919399"
focus
v-model=
"search_keyword"
@
input=
"handleInput(1, $event)"
maxlength=
"15"
/>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
placeholder-style=
"color:#919399"
focus
v-model=
"search_keyword"
@
input=
"handleInput(1, $event)"
maxlength=
"15"
ref=
"myInput"
/>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.search_keyword"
@
input=
"handleInput(1, $event)"
maxlength=
"15"
/>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
placeholder-style=
"color:#919399"
focus
v-model=
"searchParams.search_keyword"
@
input=
"handleInput(1, $event)"
maxlength=
"15"
/>
...
@@ -29,11 +29,11 @@
...
@@ -29,11 +29,11 @@
</view>
</view>
</view>
</view>
<view
class=
"row verCenter"
>
<view
class=
"row verCenter"
>
<switch
@
change=
"switchChange"
:checked=
"is_batch"
color=
"#1969f9"
style=
"transform:scale(0.
7
);width: 77rpx;"
/>
<switch
@
change=
"switchChange"
:checked=
"is_batch"
color=
"#1969f9"
style=
"transform:scale(0.
8
);width: 77rpx;"
/>
<text
style=
"font-size:
24
rpx;white-space: nowrap;"
>
批量扫描
</text>
<text
style=
"font-size:
18
rpx;white-space: nowrap;"
>
批量扫描
</text>
</view>
</view>
</view>
</view>
<!-- 列表数据 -->
<view
class=
"list row bothSide"
v-if=
"list.length > 0"
>
<view
class=
"list row bothSide"
v-if=
"list.length > 0"
>
<view
class=
"box box-width"
v-for=
"(item, index) in list"
:key=
"index"
:class=
"{ curr: filter_list[index] }"
>
<view
class=
"box box-width"
v-for=
"(item, index) in list"
:key=
"index"
:class=
"{ curr: filter_list[index] }"
>
<view
class=
"check-box-icon"
@
click=
"filterChange(index)"
></view>
<view
class=
"check-box-icon"
@
click=
"filterChange(index)"
></view>
...
@@ -333,6 +333,12 @@ export default {
...
@@ -333,6 +333,12 @@ export default {
});
});
this
.
search_keyword
=
''
;
this
.
search_keyword
=
''
;
try
{
this
.
$refs
.
myInput
.
focus
();
// 获取焦点
}
catch
(
e
)
{
//TODO handle the exception
}
//若识别物料标签不在上架任务中,则弹窗提示:该物料不在上架任务中,需关闭弹窗才可继续操作
//若识别物料标签不在上架任务中,则弹窗提示:该物料不在上架任务中,需关闭弹窗才可继续操作
let
isInList
=
list
.
some
(
function
(
item
)
{
let
isInList
=
list
.
some
(
function
(
item
)
{
return
item
.
stock_in_batch_sn
===
val
;
return
item
.
stock_in_batch_sn
===
val
;
...
...
pages/stockRecheck/sort.vue
View file @
14eb4907
This diff is collapsed.
Click to expand it.
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