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
2b79b371
Commit
2b79b371
authored
Mar 18, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
销售出库
parent
061a8636
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
10 deletions
+33
-10
lhmx.vue
pages/saleck/components/lhmx.vue
+33
-10
No files found.
pages/saleck/components/lhmx.vue
View file @
2b79b371
...
@@ -110,20 +110,43 @@ export default {
...
@@ -110,20 +110,43 @@ export default {
saleOutNo
:
this
.
order
saleOutNo
:
this
.
order
}
)
}
)
.
then
(({
data
}
)
=>
{
.
then
(({
data
}
)
=>
{
data
=
{
"applyNo"
:
"20250315003"
,
"data"
:
[
{
"materialNo"
:
"G000000015"
,
"materialName"
:
"1A7312932M(焊丝)"
,
"planOutDate"
:
"20250401"
,
"unit"
:
"Kg"
,
"deliverQuantity"
:
1660.000000
}
,
{
"materialNo"
:
"G000000015"
,
"materialName"
:
"1A7312932M(焊丝)"
,
"planOutDate"
:
"20250401"
,
"unit"
:
"Kg"
,
"deliverQuantity"
:
2694.000000
}
,
{
"materialNo"
:
"G000000015"
,
"materialName"
:
"1A7312932M(焊丝)"
,
"planOutDate"
:
"20250401"
,
"unit"
:
"Kg"
,
"deliverQuantity"
:
646.000000
}
]
}
if
(
data
&&
data
.
applyNo
)
{
if
(
data
&&
data
.
applyNo
)
{
this
.
applyNo
=
data
.
applyNo
this
.
applyNo
=
data
.
applyNo
this
.
list
=
data
.
data
this
.
list
=
data
.
data
data
.
data
.
forEach
(
v
=>
{
data
.
data
.
forEach
(
v
=>
{
const
index
=
this
.
goodlist
.
findIndex
(
i
=>
i
.
materialNo
===
v
.
materialNo
)
this
.
goodlist
.
push
({
if
(
index
<
0
){
"materialName"
:
v
.
materialName
,
this
.
goodlist
.
push
({
"deliverQuantity"
:
v
.
deliverQuantity
,
"materialName"
:
v
.
materialName
,
"materialNo"
:
v
.
materialNo
,
"deliverQuantity"
:
v
.
deliverQuantity
,
"planOutDate"
:
v
.
planOutDate
,
"materialNo"
:
v
.
materialNo
,
"unit"
:
v
.
unit
"planOutDate"
:
v
.
planOutDate
,
}
)
"unit"
:
v
.
unit
}
)
}
}
)
}
)
}
}
}
);
}
);
...
...
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