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
70d4dcff
authored
Apr 09, 2026
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
refactor(scanTally): 移除调试用的硬编码返回数据
- 删除扫码理货功能中的调试用硬编码返回数据,确保接口调用返回真实数据 - 优化代码结构,提升可读性和维护性
parent
8e4b48d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
pages/scanTally/index.vue
pages/scanTally/index.vue
View file @
70d4dcff
...
...
@@ -598,22 +598,6 @@
this
.
isRequestSent
=
true
;
this
.
request
(
API
.
scanQrCode
,
'POST'
,
{
data
:
this
.
keyword
,
type
:
'DigiKey'
,
device
:
device
.
deviceModel
},
true
).
then
(
res
=>
{
this
.
isRequestSent
=
false
;
// 调试用:写死返回数据
res
=
{
err_code
:
0
,
err_msg
:
'操作成功'
,
data
:
{
goods
:
''
,
brand
:
''
,
model
:
'ADXL879800'
,
model2
:
''
,
qty
:
9
,
origin
:
'CN'
,
batch
:
'2421'
,
putaway_sn
:
'C2506040005'
}
};
if
(
res
.
err_code
===
0
)
{
var
{
model
,
model2
,
putaway_sn
,
origin
,
qty
}
=
res
.
data
;
var
goodsModel
=
model
||
model2
;
...
...
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