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
764da0c8
Commit
764da0c8
authored
Jul 30, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产排产 作业分派增加loading
parent
81885b90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
index.vue
src/views/mes/pro/scheduleList/index.vue
+6
-0
No files found.
src/views/mes/pro/scheduleList/index.vue
View file @
764da0c8
...
@@ -599,6 +599,7 @@
...
@@ -599,6 +599,7 @@
<el-button
<el-button
type=
"primary"
type=
"primary"
@
click=
"handleSubmitJobAssignment"
@
click=
"handleSubmitJobAssignment"
:disabled=
"Assignloading"
>
确 定
</el-button>
>
确 定
</el-button>
<el-button
@
click=
"jobAssignmentVisible = false"
>
取 消
</el-button>
<el-button
@
click=
"jobAssignmentVisible = false"
>
取 消
</el-button>
</div>
</div>
...
@@ -727,6 +728,7 @@ export default {
...
@@ -727,6 +728,7 @@ export default {
workshopId
:
null
,
workshopId
:
null
,
workstationId
:
null
workstationId
:
null
},
},
Assignloading
:
false
,
AssignList
:
[],
AssignList
:
[],
taskId
:
null
,
taskId
:
null
,
Assignform
:
{
Assignform
:
{
...
@@ -855,6 +857,7 @@ export default {
...
@@ -855,6 +857,7 @@ export default {
handleSubmitJobAssignment
()
{
handleSubmitJobAssignment
()
{
if
(
!
this
.
Assignform
.
quantity
||
this
.
Assignform
.
quantity
===
0
)
return
this
.
$modal
.
msgError
(
"分派任务数量不可为0"
)
if
(
!
this
.
Assignform
.
quantity
||
this
.
Assignform
.
quantity
===
0
)
return
this
.
$modal
.
msgError
(
"分派任务数量不可为0"
)
if
(
!
this
.
AssignList
||
this
.
AssignList
.
length
===
0
)
return
this
.
$modal
.
msgError
(
"请先点击检查按钮,检查数据"
)
if
(
!
this
.
AssignList
||
this
.
AssignList
.
length
===
0
)
return
this
.
$modal
.
msgError
(
"请先点击检查按钮,检查数据"
)
this
.
Assignloading
=
true
let
datas
=
Object
.
assign
({},
this
.
selectedRows
[
0
]);
let
datas
=
Object
.
assign
({},
this
.
selectedRows
[
0
]);
datas
.
taskWorkunit
=
this
.
AssignList
[
0
];
datas
.
taskWorkunit
=
this
.
AssignList
[
0
];
datas
[
'splitWorkorder'
]
=
this
.
Assignform
.
splitWorkorder
datas
[
'splitWorkorder'
]
=
this
.
Assignform
.
splitWorkorder
...
@@ -863,10 +866,13 @@ export default {
...
@@ -863,10 +866,13 @@ export default {
delete
datas
.
taskWorkunit
.
processName
;
delete
datas
.
taskWorkunit
.
processName
;
putProtaskSplit
(
datas
).
then
((
res
)
=>
{
putProtaskSplit
(
datas
).
then
((
res
)
=>
{
// console.log(res, 'res333')
// console.log(res, 'res333')
this
.
Assignloading
=
false
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
jobAssignmentVisible
=
false
;
this
.
jobAssignmentVisible
=
false
;
this
.
getList
();
this
.
getList
();
}
}
}).
catch
(
e
=>
{
this
.
Assignloading
=
false
});
});
},
},
handleCheckJobAssignment
()
{
handleCheckJobAssignment
()
{
...
...
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