Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pda-scan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ximai
mes-pda-scan
Commits
3f139983
Commit
3f139983
authored
Oct 14, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改销售拣货提交
parent
eb73a2ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
salesOutboundList.vue
pages/salesOutbound/salesOutboundList.vue
+7
-2
No files found.
pages/salesOutbound/salesOutboundList.vue
View file @
3f139983
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
:disabled=
"isDisabled"
:disabled=
"isDisabled"
v-model=
"wxparams"
v-model=
"wxparams"
:focus=
"isFocus"
:focus=
"isFocus"
placeholder=
"请扫描产品包装条码/外箱码"
placeholder=
"请扫描产品包装条码/外箱码"
@
confirm=
"handleConfirm"
@
confirm=
"handleConfirm"
></uni-easyinput>
></uni-easyinput>
</view>
</view>
...
@@ -151,7 +151,7 @@ export default {
...
@@ -151,7 +151,7 @@ export default {
if
(
index
==
0
)
{
if
(
index
==
0
)
{
acc
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
cur
)));
acc
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
cur
)));
}
else
{
}
else
{
const
item
=
acc
.
find
((
v
)
=>
v
.
POSNR
===
cur
.
POSNR
);
const
item
=
acc
.
find
((
v
)
=>
v
.
POSNR
===
cur
.
POSNR
&&
v
.
ZSIZE
==
cur
.
ZSIZE
);
if
(
item
)
{
if
(
item
)
{
item
.
ZPLDT
.
push
(...
cur
.
ZPLDT
);
item
.
ZPLDT
.
push
(...
cur
.
ZPLDT
);
}
else
{
}
else
{
...
@@ -161,6 +161,10 @@ export default {
...
@@ -161,6 +161,10 @@ export default {
return
acc
;
return
acc
;
},
[]);
},
[]);
console
.
log
(
params
,
this
.
goodsList
);
// return
this
.
$u
.
api
.
sapApi
.
sapPickingDn
(
params
).
then
((
res
)
=>
{
this
.
$u
.
api
.
sapApi
.
sapPickingDn
(
params
).
then
((
res
)
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
!
Array
.
isArray
(
res
))
{
if
(
!
Array
.
isArray
(
res
))
{
...
@@ -258,6 +262,7 @@ export default {
...
@@ -258,6 +262,7 @@ export default {
const
item
=
this
.
goodsList
.
find
(
const
item
=
this
.
goodsList
.
find
(
(
v
)
=>
v
.
ZSIZE
==
ele
.
ZSIZE
&&
ele
.
MATNR
==
v
.
MATNR
(
v
)
=>
v
.
ZSIZE
==
ele
.
ZSIZE
&&
ele
.
MATNR
==
v
.
MATNR
);
);
ele
.
POSNR
=
item
.
POSNR
if
(
item
)
{
if
(
item
)
{
if
(
Reflect
.
has
(
item
,
"ZPLDT"
))
{
if
(
Reflect
.
has
(
item
,
"ZPLDT"
))
{
item
.
ZPLDT
.
push
(
ele
);
item
.
ZPLDT
.
push
(
ele
);
...
...
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