Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
mes
mes-ui
Commits
09bcc16d
Commit
09bcc16d
authored
Mar 21, 2025
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 生产工单补单SIZE细节优化
parent
194410e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
proofingInfo.vue
src/views/mes/pro/workorder/proofingInfo.vue
+21
-1
No files found.
src/views/mes/pro/workorder/proofingInfo.vue
View file @
09bcc16d
...
...
@@ -705,6 +705,11 @@ export default {
this
.
$refs
[
"ProogingProcessRef"
].
tableData
=
data
.
processList
;
this
.
$refs
[
"WorkOrderSaleRef"
].
tableData
=
data
.
saleDirectiveList
;
this
.
$refs
[
"WorkOrderSizeRef"
].
tableData
=
data
.
sizeList
;
if
(
this
.
mode
===
'make'
)
{
this
.
$refs
[
"WorkOrderSizeRef"
].
tableData
.
forEach
((
item
)
=>
{
item
.
quantity
=
0
;
})
}
this
.
$refs
[
"WorkOrderSizeRef"
].
tableColums
=
[];
this
.
$refs
[
"WorkOrderSizeRef"
].
colums
.
forEach
((
value
)
=>
{
let
flag
=
false
;
...
...
@@ -770,12 +775,27 @@ export default {
const
processList
=
this
.
$refs
.
ProogingProcessRef
.
getComData
();
const
saleList
=
this
.
$refs
.
WorkOrderSaleRef
.
getComData
();
const
sizeList
=
this
.
$refs
.
WorkOrderSizeRef
.
getComData
();
const
temp
=
[];
if
(
sizeList
.
length
>
0
){
sizeList
.
forEach
((
item
)
=>
{
if
(
item
.
quantity
)
{
temp
.
push
({
...
item
,
lossNum
:
0
,
samples
:
0
,
});
}
})
}
if
(
temp
.
length
==
0
&&
sizeList
.
length
>
0
)
{
return
this
.
$modal
.
msgError
(
"请输入SIZE派工数"
);
}
const
params
=
{
...
this
.
form
,
bomList
,
processList
,
saleList
,
sizeList
,
sizeList
:
temp
,
};
delete
params
.
group
this
.
$refs
.
form
.
validate
(
valid
=>
{
...
...
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