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
4355c566
Commit
4355c566
authored
Nov 07, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产排产
parent
f7664204
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
index.vue
src/views/mes/pro/scheduleList/index.vue
+17
-3
No files found.
src/views/mes/pro/scheduleList/index.vue
View file @
4355c566
...
@@ -481,7 +481,7 @@
...
@@ -481,7 +481,7 @@
<el-dialog
<el-dialog
title=
"作业分派"
title=
"作业分派"
:visible
.
sync=
"jobAssignmentVisible"
:visible
.
sync=
"jobAssignmentVisible"
width=
"
6
00px"
width=
"
7
00px"
append-to-body
append-to-body
>
>
<el-form
:model=
"Assignform"
ref=
"Assignform"
size=
"small"
:inline=
"true"
>
<el-form
:model=
"Assignform"
ref=
"Assignform"
size=
"small"
:inline=
"true"
>
...
@@ -507,7 +507,19 @@
...
@@ -507,7 +507,19 @@
</el-form>
</el-form>
<el-table
:data=
"AssignList"
>
<el-table
:data=
"AssignList"
>
<el-table-column
type=
"index"
label=
"任务号"
width=
"80"
align=
"center"
/>
<el-table-column
type=
"index"
label=
"任务号"
width=
"80"
align=
"center"
/>
<el-table-column
label=
"排产数量"
width=
"120"
prop=
"quantity"
/>
<el-table-column
label=
"排产数量"
width=
"130"
prop=
"quantity"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-input-number
style=
"width: 120px"
:step=
"1"
:min=
"0"
v-model=
"scope.row.quantity"
placeholder=
"请输入排产数量"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"工序名称"
width=
"150"
prop=
"processName"
/>
<el-table-column
label=
"工作中心"
width=
"150"
prop=
"workstationName"
/>
<el-table-column
label=
"工作单元"
width=
"150"
prop=
"workunitName"
/>
<el-table-column
label=
"工作单元"
width=
"150"
prop=
"workunitName"
/>
</el-table>
</el-table>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
@@ -727,6 +739,8 @@ export default {
...
@@ -727,6 +739,8 @@ export default {
let
datas
=
Object
.
assign
({},
this
.
selectedRows
[
0
]);
let
datas
=
Object
.
assign
({},
this
.
selectedRows
[
0
]);
datas
.
taskWorkunit
=
this
.
AssignList
[
0
];
datas
.
taskWorkunit
=
this
.
AssignList
[
0
];
delete
datas
.
proWorkorderList
;
delete
datas
.
proWorkorderList
;
delete
datas
.
taskWorkunit
.
workstationName
;
delete
datas
.
taskWorkunit
.
processName
;
putProtaskSplit
(
datas
).
then
((
res
)
=>
{
putProtaskSplit
(
datas
).
then
((
res
)
=>
{
// console.log(res, 'res333')
// console.log(res, 'res333')
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
...
@@ -737,7 +751,7 @@ export default {
...
@@ -737,7 +751,7 @@ export default {
},
},
handleCheckJobAssignment
()
{
handleCheckJobAssignment
()
{
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"
)
this
.
AssignList
=
[
JSON
.
parse
(
JSON
.
stringify
(
this
.
Assignform
))
]
this
.
AssignList
=
[
{
workstationName
:
this
.
selectedRows
[
0
].
workstationName
,
processName
:
this
.
selectedRows
[
0
].
processName
,
...
JSON
.
parse
(
JSON
.
stringify
(
this
.
Assignform
))}
]
},
},
handleSubmitSplit
()
{
handleSubmitSplit
()
{
let
datas
=
Object
.
assign
({},
this
.
splitform
);
let
datas
=
Object
.
assign
({},
this
.
splitform
);
...
...
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