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
19c4fba6
Commit
19c4fba6
authored
Apr 23, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改生产排产代码补上消失的代码
parent
2393ad26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
index.vue
src/views/mes/pro/scheduleList/index.vue
+7
-6
No files found.
src/views/mes/pro/scheduleList/index.vue
View file @
19c4fba6
...
...
@@ -548,12 +548,13 @@ export default {
}
);
}
,
handleSumbitScheduleList
()
{
if
(
this
.
$refs
.
orderListRef
.
ids
&&
this
.
$refs
.
orderListRef
.
ids
.
length
>
0
)
{
let
formData
=
new
FormData
()
this
.
$refs
.
orderListRef
.
ids
.
forEach
(
item
=>
{
formData
.
append
(
'workorderIds'
,
item
)
if
(
this
.
$refs
.
orderListRef
.
selectedRows
&&
this
.
$refs
.
orderListRef
.
selectedRows
.
length
>
0
)
{
let
formData
=
this
.
$refs
.
orderListRef
.
selectedRows
.
map
(
item
=>
{
return
{
workorderId
:
item
.
workorderId
,
arrangeCode
:
item
.
arrangeCode
}
}
);
console
.
log
(
this
.
$refs
.
orderListRef
.
ids
,
'ids'
)
makeSchedule
(
formData
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"排程成功"
);
this
.
scheduleVisible
=
false
...
...
@@ -568,7 +569,7 @@ export default {
this
.
$modal
.
confirm
(
'是否确认下达生产?'
)
.
then
(
()
=>
{
if
(
!
(
this
.
ids
&
this
.
ids
.
length
>
0
)){
if
(
!
(
this
.
ids
&
&
this
.
ids
.
length
>
0
)){
this
.
$modal
.
msgError
(
"请至少选择一条数据"
)
return
}
...
...
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