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
43461798
authored
Dec 21, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
在WMS的输入框扫描识别标签二维码会漏字符,而其他软件输入框烧苗识别均正确的
parent
88d01be6
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
27 additions
and
15 deletions
pages/arrivalRegister/index.vue
pages/picking/sort.vue
pages/putaway/index.vue
pages/putaway/single.vue
pages/repairPrint/index.vue
pages/stockRecheck/sort.vue
pages/transfer/quick.vue
pages/transfer/task.vue
pages/arrivalRegister/index.vue
View file @
43461798
...
@@ -875,6 +875,19 @@
...
@@ -875,6 +875,19 @@
* 修改自营数据提交
* 修改自营数据提交
*/
*/
saveZyGoodsDataSubmit
()
{
saveZyGoodsDataSubmit
()
{
const
isEmptyMpq
=
this
.
saveZyGoodsParams
.
every
(
obj
=>
{
return
obj
.
hasOwnProperty
(
'mpq'
)
&&
obj
.
mpq
!==
''
;
});
if
(
!
isEmptyMpq
)
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'标准包装量必填'
,
showCancel
:
false
});
return
false
}
const
hasError
=
this
.
saveZyGoodsParams
.
filter
(
item
=>
item
.
packing
===
5
).
some
(({
standard_length
,
unit_length
},
index
)
=>
{
const
hasError
=
this
.
saveZyGoodsParams
.
filter
(
item
=>
item
.
packing
===
5
).
some
(({
standard_length
,
unit_length
},
index
)
=>
{
if
(
this
.
standardSizeIndex
==
0
&&
!
standard_length
)
{
if
(
this
.
standardSizeIndex
==
0
&&
!
standard_length
)
{
uni
.
showModal
({
uni
.
showModal
({
...
...
pages/picking/sort.vue
View file @
43461798
...
@@ -33,10 +33,10 @@
...
@@ -33,10 +33,10 @@
<text
class=
"iconfont icon-juxing1"
></text>
<text
class=
"iconfont icon-juxing1"
></text>
<!-- 批量扫描 -->
<!-- 批量扫描 -->
<
template
v-if=
"is_batch"
>
<
template
v-if=
"is_batch"
>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
:disabled=
"searchParams.position_name == '' ? true : false"
placeholder-style=
"color:#919399"
:focus=
"isFocus"
v-model=
"search_keyword"
@
input=
"handleInput(2, search_keyword)"
maxlength=
"1
5
"
ref=
"myInput"
/>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
:disabled=
"searchParams.position_name == '' ? true : false"
placeholder-style=
"color:#919399"
:focus=
"isFocus"
v-model=
"search_keyword"
@
input=
"handleInput(2, search_keyword)"
maxlength=
"1
6
"
ref=
"myInput"
/>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
:disabled=
"searchParams.position_name == '' ? true : false"
placeholder-style=
"color:#919399"
:focus=
"isFocus"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput(2, searchParams.stock_in_batch_sn)"
maxlength=
"1
5
"
ref=
"myInput"
/>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
:disabled=
"searchParams.position_name == '' ? true : false"
placeholder-style=
"color:#919399"
:focus=
"isFocus"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput(2, searchParams.stock_in_batch_sn)"
maxlength=
"1
6
"
ref=
"myInput"
/>
</
template
>
</
template
>
</view>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(2)"
v-if=
"input_flag_stock_in_batch_sn"
></text>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(2)"
v-if=
"input_flag_stock_in_batch_sn"
></text>
...
...
pages/putaway/index.vue
View file @
43461798
...
@@ -15,10 +15,10 @@
...
@@ -15,10 +15,10 @@
<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=
"isFocus"
v-model=
"search_keyword"
@
input=
"handleInput(1, $event)"
maxlength=
"1
5
"
ref=
"myInput"
id=
"myInput"
/>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
placeholder-style=
"color:#919399"
:focus=
"isFocus"
v-model=
"search_keyword"
@
input=
"handleInput(1, $event)"
maxlength=
"1
6
"
ref=
"myInput"
id=
"myInput"
/>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
placeholder-style=
"color:#919399"
:focus=
"isFocus"
v-model=
"searchParams.search_keyword"
@
input=
"handleInput(1, $event)"
maxlength=
"1
5
"
ref=
"myInput"
id=
"myInput"
/>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
placeholder-style=
"color:#919399"
:focus=
"isFocus"
v-model=
"searchParams.search_keyword"
@
input=
"handleInput(1, $event)"
maxlength=
"1
6
"
ref=
"myInput"
id=
"myInput"
/>
</
template
>
</
template
>
</template>
</template>
<
template
v-else-if=
"index == 1"
>
<
template
v-else-if=
"index == 1"
>
...
...
pages/putaway/single.vue
View file @
43461798
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"row verCenter"
>
<view
class=
"row verCenter"
>
<text
class=
"iconfont icon-juxing1"
></text>
<text
class=
"iconfont icon-juxing1"
></text>
<input
class=
"uni-input"
placeholder=
"请扫描或输入入库批次号"
placeholder-style=
"color:#919399"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput"
maxlength=
"1
5
"
/>
<input
class=
"uni-input"
placeholder=
"请扫描或输入入库批次号"
placeholder-style=
"color:#919399"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput"
maxlength=
"1
6
"
/>
</view>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
</view>
</view>
...
...
pages/repairPrint/index.vue
View file @
43461798
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<view
class=
"row verCenter"
>
<view
class=
"row verCenter"
>
<text
class=
"iconfont icon-juxing1"
></text>
<text
class=
"iconfont icon-juxing1"
></text>
<template
v-if=
"index == 0"
>
<template
v-if=
"index == 0"
>
<input
class=
"uni-input"
v-model=
"formParams.sn"
placeholder=
"请输入入库标签"
placeholder-style=
"color:#919399"
@
input=
"handleInput(1, formParams.sn)"
maxlength=
"1
5
"
/>
<input
class=
"uni-input"
v-model=
"formParams.sn"
placeholder=
"请输入入库标签"
placeholder-style=
"color:#919399"
@
input=
"handleInput(1, formParams.sn)"
maxlength=
"1
6
"
/>
</
template
>
</
template
>
<
template
v-else-if=
"index == 1"
>
<
template
v-else-if=
"index == 1"
>
<input
class=
"uni-input"
v-model=
"formParams.sn"
placeholder=
"请输入旧标签查询"
placeholder-style=
"color:#919399"
@
input=
"handleInput(1, formParams.sn)"
maxlength=
"8"
/>
<input
class=
"uni-input"
v-model=
"formParams.sn"
placeholder=
"请输入旧标签查询"
placeholder-style=
"color:#919399"
@
input=
"handleInput(1, formParams.sn)"
maxlength=
"8"
/>
...
...
pages/stockRecheck/sort.vue
View file @
43461798
...
@@ -1253,8 +1253,6 @@
...
@@ -1253,8 +1253,6 @@
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
isFocus
=
true
;
this
.
isFocus
=
true
;
},
500
);
},
500
);
},
2000
);
},
2000
);
}
else
{
}
else
{
uni
.
showModal
({
uni
.
showModal
({
...
...
pages/transfer/quick.vue
View file @
43461798
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<text
class=
"iconfont icon-juxing1"
></text>
<text
class=
"iconfont icon-juxing1"
></text>
<!-- 新标签-入库批次号 -->
<!-- 新标签-入库批次号 -->
<template
v-if=
"index == 0"
>
<template
v-if=
"index == 0"
>
<input
class=
"uni-input"
placeholder=
"请扫描入库批次号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput($event)"
maxlength=
"1
5
"
/>
<input
class=
"uni-input"
placeholder=
"请扫描入库批次号"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput($event)"
maxlength=
"1
6
"
/>
</
template
>
</
template
>
<!-- 旧标签-->
<!-- 旧标签-->
<
template
v-else-if=
"index == 1"
>
<
template
v-else-if=
"index == 1"
>
...
...
pages/transfer/task.vue
View file @
43461798
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"row verCenter"
>
<view
class=
"row verCenter"
>
<text
class=
"iconfont icon-juxing1"
></text>
<text
class=
"iconfont icon-juxing1"
></text>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
placeholder-style=
"color:#919399"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput(2, searchParams.stock_in_batch_sn)"
maxlength=
"1
5
"
/>
<input
class=
"uni-input"
placeholder=
"请扫描入库标签"
placeholder-style=
"color:#919399"
v-model=
"searchParams.stock_in_batch_sn"
@
input=
"handleInput(2, searchParams.stock_in_batch_sn)"
maxlength=
"1
6
"
/>
</view>
</view>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(2)"
v-if=
"input_flag_stock_in_batch_sn"
></text>
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(2)"
v-if=
"input_flag_stock_in_batch_sn"
></text>
</view>
</view>
...
@@ -204,10 +204,10 @@
...
@@ -204,10 +204,10 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
API
}
from
'@/util/api.js'
;
import
{
API
}
from
'@/util/api.js'
;
import
debounce
from
'lodash/debounce'
;
import
debounce
from
'lodash/debounce'
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
is_submit
:
true
,
is_submit
:
true
,
...
@@ -393,9 +393,9 @@ export default {
...
@@ -393,9 +393,9 @@ export default {
});
});
}
}
}
}
};
};
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
@import
'@/assets/css/transfer/task.scss'
;
@import
'@/assets/css/transfer/task.scss'
;
</
style
>
</
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