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
0fd59619
Commit
0fd59619
authored
Mar 13, 2024
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报工限制改为报工数不超过排产数
parent
e472ed5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
index.vue
pages/mes/prodReport/index.vue
+8
-7
No files found.
pages/mes/prodReport/index.vue
View file @
0fd59619
...
...
@@ -129,7 +129,7 @@
</u-form-item>
</u-col>
</u-row>
<u-row>
<u-col
span=
"6"
>
<u-form-item
label=
"编排单号"
prop=
"quantity"
>
...
...
@@ -893,7 +893,7 @@ export default {
applyNum
:
null
,
workorderCode
:
null
},
userTempVisible
:
false
,
materialReturnFormVisible
:
false
,
materialReturnSelected
:
{},
...
...
@@ -1163,7 +1163,7 @@ userTempVisible: false,
},
userDetermine
(){
console
.
log
(
this
.
$refs
.
userPersonnelRef
.
tableSelectData
,
'this.$refs.userPersonnelRef.tableSelectData'
)
this
.
usePersonData
.
nickName
=
this
.
$refs
.
userPersonnelRef
.
tableSelectData
[
0
].
nickName
this
.
usePersonData
.
nickName
=
this
.
$refs
.
userPersonnelRef
.
tableSelectData
[
0
].
nickName
this
.
usePersonData
.
userName
=
this
.
$refs
.
userPersonnelRef
.
tableSelectData
[
0
]?.
userName
},
stopReasonSubmit
()
{
...
...
@@ -1371,8 +1371,9 @@ userTempVisible: false,
// this.reset();
this
.
feedbackForms
=
[];
this
.
tableSelectData
.
forEach
((
item
)
=>
{
let
tempQualify
=
item
.
quantity
-
item
.
quantityQualify
<
0
?
0
:
item
.
quantity
-
item
.
quantityQualify
;
tempQualify
=
tempQualify
>
item
.
quantityWait
?
item
.
quantityWait
:
tempQualify
;
let
defQualify
=
item
.
quantity
-
item
.
quantityQualify
-
item
.
quantityUnqualify
;
defQualify
=
defQualify
<
0
?
0
:
defQualify
;
defQualify
=
defQualify
>
item
.
quantityWait
?
item
.
quantityWait
:
defQualify
;
const
feedback
=
{
...
item
,
workstationId
:
item
.
workstationId
,
...
...
@@ -1381,7 +1382,7 @@ userTempVisible: false,
taskWorkunitId
:
item
.
taskWorkunitId
,
feedbackChannel
:
'PAD'
,
quantity
:
item
.
quantity
,
quantityQualify
:
tempQualify
,
//默认为排产数量-
合格数
quantityQualify
:
defQualify
,
//默认为排产数量-合格数-不
合格数
quantityUnqualify
:
0
,
printName
:
''
,
nickName
:
this
.
vuex_user
.
nickName
,
...
...
@@ -1421,7 +1422,7 @@ userTempVisible: false,
const
res
=
await
this
.
$u
.
api
.
abnormal
.
newlyAdd
(
this
.
ExceptionForms
);
this
.
$u
.
toast
(
'上报成功'
);
this
.
getTaskList
();
},
cancel
()
{
this
.
open
=
false
;
...
...
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