Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
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-pad
Commits
02466744
Commit
02466744
authored
May 27, 2024
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
包装工序报工BUG修复
parent
9ab29544
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
index.vue
pages/mes/prodReport/index.vue
+9
-8
No files found.
pages/mes/prodReport/index.vue
View file @
02466744
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
</u-col>
</u-col>
<u-col
span=
"4"
>
<u-col
span=
"4"
>
<u-form-item
label=
"已报工数:"
prop=
"quantity"
>
<u-form-item
label=
"已报工数:"
prop=
"quantity"
>
{{
feedback
.
quantityQualify
+
feedback
.
quantityUnq
ualify
}}
{{
feedback
.
reportQ
ualify
}}
</u-form-item>
</u-form-item>
</u-col>
</u-col>
<u-col
span=
"4"
>
<u-col
span=
"4"
>
...
@@ -1698,8 +1698,8 @@ export default {
...
@@ -1698,8 +1698,8 @@ export default {
return
;
return
;
}
else
{
}
else
{
if
(
row
.
isPackage
===
'1'
)
{
if
(
row
.
isPackage
===
'1'
)
{
row
.
packNum
=
items
.
usagePackNum
;
row
.
packNum
=
items
.
usagePackNum
?
items
.
usagePackNum
:
0
;
row
.
encasementNum
=
items
.
usageEncasementNum
;
row
.
encasementNum
=
items
.
usageEncasementNum
?
items
.
usageEncasementNum
:
0
;
this
.
getWorkorderDirectiveList
(
id
,
index
);
this
.
getWorkorderDirectiveList
(
id
,
index
);
}
}
}
}
...
@@ -1807,8 +1807,8 @@ export default {
...
@@ -1807,8 +1807,8 @@ export default {
});
});
if
(
item
.
isPackage
===
'1'
&&
res
.
rows
.
length
>
0
)
{
if
(
item
.
isPackage
===
'1'
&&
res
.
rows
.
length
>
0
)
{
item
.
workorderId
=
res
.
rows
[
0
].
workorderId
;
item
.
workorderId
=
res
.
rows
[
0
].
workorderId
;
item
.
packNum
=
res
.
rows
[
0
].
usagePackNum
;
item
.
packNum
=
res
.
rows
[
0
].
usagePackNum
?
res
.
rows
[
0
].
usagePackNum
:
0
;
item
.
encasementNum
=
res
.
rows
[
0
].
usageEncasementNum
;
item
.
encasementNum
=
res
.
rows
[
0
].
usageEncasementNum
?
res
.
rows
[
0
].
usageEncasementNum
:
0
;
this
.
getWorkorderDirectiveList
(
res
.
rows
[
0
].
workorderId
,
index
);
this
.
getWorkorderDirectiveList
(
res
.
rows
[
0
].
workorderId
,
index
);
}
}
});
});
...
@@ -1983,6 +1983,7 @@ export default {
...
@@ -1983,6 +1983,7 @@ export default {
quantity
:
item
.
quantity
,
quantity
:
item
.
quantity
,
quantityQualify
:
item
.
quantityWait
,
//默认为排产数量-合格数-不合格数
quantityQualify
:
item
.
quantityWait
,
//默认为排产数量-合格数-不合格数
quantityUnqualify
:
0
,
quantityUnqualify
:
0
,
reportQualify
:
item
.
quantityQualify
+
item
.
quantityUnqualify
,
printName
:
''
,
printName
:
''
,
lastProcess
:
item
.
isLastProcess
==
1
,
//未工序
lastProcess
:
item
.
isLastProcess
==
1
,
//未工序
nickName
:
this
.
vuex_user
.
nickName
,
nickName
:
this
.
vuex_user
.
nickName
,
...
@@ -2094,7 +2095,7 @@ export default {
...
@@ -2094,7 +2095,7 @@ export default {
row
.
tableDirectiveData
=
res
.
data
.
directiveList
.
map
((
item
)
=>
{
row
.
tableDirectiveData
=
res
.
data
.
directiveList
.
map
((
item
)
=>
{
return
{
return
{
...
item
,
...
item
,
reportQuantity
:
Number
(
item
.
packageNum
)
||
0
-
Number
(
item
.
feedbackQuantity
)
||
0
reportQuantity
:
(
Number
(
item
.
packageNum
)
||
0
)
-
(
Number
(
item
.
feedbackQuantity
)
||
0
)
};
};
});
});
row
.
listTabPro
=
[
row
.
listTabPro
=
[
...
@@ -2109,7 +2110,7 @@ export default {
...
@@ -2109,7 +2110,7 @@ export default {
row
.
tableOrderData
=
res
.
data
.
orderPackageList
.
map
((
item
)
=>
{
row
.
tableOrderData
=
res
.
data
.
orderPackageList
.
map
((
item
)
=>
{
return
{
return
{
...
item
,
...
item
,
reportQuantity
:
Number
(
item
.
packageNum
)
||
0
-
Number
(
item
.
feedbackQuantity
)
||
0
reportQuantity
:
(
Number
(
item
.
packageNum
)
||
0
)
-
(
Number
(
item
.
feedbackQuantity
)
||
0
)
};
};
});
});
row
.
listTabPro
=
[
row
.
listTabPro
=
[
...
@@ -2124,7 +2125,7 @@ export default {
...
@@ -2124,7 +2125,7 @@ export default {
row
.
tableSizeData
=
res
.
data
.
sizeList
.
map
((
item
)
=>
{
row
.
tableSizeData
=
res
.
data
.
sizeList
.
map
((
item
)
=>
{
return
{
return
{
...
item
,
...
item
,
reportQuantity
:
Number
(
item
.
packageNum
)
||
0
-
Number
(
item
.
feedbackQuantity
)
||
0
reportQuantity
:
(
Number
(
item
.
packageNum
)
||
0
)
-
(
Number
(
item
.
feedbackQuantity
)
||
0
)
};
};
});
});
row
.
listTabPro
=
[
row
.
listTabPro
=
[
...
...
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