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
e511c4b1
authored
Apr 13, 2026
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix(scanTally): 更新扫码理货功能以处理批次信息
- 在扫码响应中新增批次信息的处理,确保在表单中正确传递日期代码 - 优化数据解析逻辑,提升表单数据的完整性和准确性
parent
9cc3339f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
pages/scanTally/index.vue
pages/scanTally/index.vue
View file @
e511c4b1
...
...
@@ -599,7 +599,7 @@
this
.
request
(
API
.
scanQrCode
,
'POST'
,
{
data
:
this
.
keyword
,
type
:
'DigiKey'
,
device
:
device
.
deviceModel
},
true
).
then
(
res
=>
{
this
.
isRequestSent
=
false
;
if
(
res
.
err_code
===
0
)
{
var
{
model
,
model2
,
putaway_sn
,
origin
,
qty
}
=
res
.
data
;
var
{
model
,
model2
,
putaway_sn
,
origin
,
qty
,
batch
}
=
res
.
data
;
var
goodsModel
=
model
||
model2
;
if
(
goodsModel
)
{
this
.
keyword
=
goodsModel
;
...
...
@@ -608,6 +608,7 @@
}
this
.
parsed_origin
=
origin
||
''
;
this
.
parsed_qty
=
qty
||
''
;
this
.
tallyFormParams
.
date_code
=
batch
||
''
;
this
.
getWaitTallyList
();
}
else
{
...
...
@@ -926,7 +927,6 @@
if
(
res
.
data
.
list
.
length
>
0
)
{
this
.
tallyDetail
=
res
.
data
.
list
[
0
];
this
.
tallyFormParams
.
tally_qty
=
res
.
data
.
list
[
0
].
wait_tally_qty
;
this
.
tallyFormParams
.
date_code
=
res
.
data
.
list
[
0
].
expect_date_code
;
if
(
res
.
data
.
list
[
0
].
mobile_default_img
)
{
this
.
tallyImageList
=
res
.
data
.
list
[
0
].
mobile_default_img
.
split
(
','
);
...
...
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