Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
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
60948629
authored
May 15, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
产地
parent
7a2b57b9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
pages/tally/index.vue
pages/tally/unboxing.vue
pages/tally/index.vue
View file @
60948629
...
@@ -337,7 +337,7 @@
...
@@ -337,7 +337,7 @@
}
}
}
else
if
(
type
==
2
)
{
}
else
if
(
type
==
2
)
{
if
(
value
)
{
if
(
value
)
{
uni
.
hideKeyboard
()
uni
.
hideKeyboard
()
;
this
.
identifyQrCodeNumAndSn
();
this
.
identifyQrCodeNumAndSn
();
}
else
{
}
else
{
this
.
goods_type
=
''
;
this
.
goods_type
=
''
;
...
@@ -588,11 +588,18 @@
...
@@ -588,11 +588,18 @@
//解析处理的产地
//解析处理的产地
if
(
res
.
data
.
origin
)
{
if
(
res
.
data
.
origin
)
{
var
originIndex
=
this
.
origin_list
.
findIndex
(
item
=>
item
.
name
.
split
(
'|'
).
includes
(
res
.
data
.
origin
));
//通过英文去匹配出对应的中文国家
var
originIndex
=
this
.
origin_list
.
findIndex
(
item
=>
item
.
name
.
split
(
'|'
).
includes
(
res
.
data
.
origin
));
//通过英文去匹配出对应的中文国家
this
.
$set
(
this
.
form
[
0
],
'origin'
,
this
.
origin_list
[
originIndex
].
value
);
//排除已理货的数据
if
(
this
.
form
[
0
].
tally_status
!=
3
)
{
this
.
$set
(
this
.
form
[
0
],
'origin'
,
this
.
origin_list
[
originIndex
].
value
);
}
}
}
//解析处理的数量
//解析处理的数量
if
(
res
.
data
.
qty
)
{
if
(
res
.
data
.
qty
)
{
this
.
$set
(
this
.
form
[
0
],
'tally_num'
,
res
.
data
.
qty
);
this
.
$set
(
this
.
form
[
0
],
'tally_num'
,
res
.
data
.
qty
);
//排除已理货的数据
if
(
this
.
form
[
0
].
tally_status
!=
3
)
{
this
.
$set
(
this
.
form
[
0
],
'tally_num'
,
res
.
data
.
qty
);
}
}
}
}
}
});
});
...
...
pages/tally/unboxing.vue
View file @
60948629
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