Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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-ui
Commits
07ec32b7
Commit
07ec32b7
authored
Apr 17, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务列表bug处理
parent
a0b117f8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
index.vue
pages/mainProcess/index.vue
+2
-2
taskList.vue
pages/produce/taskList.vue
+3
-2
No files found.
pages/mainProcess/index.vue
View file @
07ec32b7
...
...
@@ -495,7 +495,7 @@ export default {
if
(
this
.
list
[
i
].
userIds
.
length
<
1
)
{
this
.
$Message
.
error
(
'有工序的人员未选!'
)
return
}
else
if
(
this
.
list
[
i
].
times
.
length
<
1
)
{
}
else
if
(
this
.
list
[
i
].
times
[
0
]
==
undefined
)
{
this
.
$Message
.
error
(
'有工序的时间段未选!'
)
return
}
...
...
@@ -510,8 +510,8 @@ export default {
.
then
((
r
)
=>
{
this
.
disableFlag
=
true
this
.
$Message
.
success
(
'派工成功!'
)
})
this
.
$router
.
push
(
'/produce/scheduling'
)
// 返回上一级
})
},
//多选处理--表格选择项变化方法
selectFunction
(
selection
)
{
...
...
pages/produce/taskList.vue
View file @
07ec32b7
...
...
@@ -15,7 +15,8 @@
border
class=
"tableCommon"
:height=
"tbHeight"
ref=
"table"
:columns=
"mColumn"
:data=
"mDatas"
>
<template
slot-scope=
"
{ row,index }" slot="status">
<state
code=
"taskList.status"
type=
"text"
class=
"bold"
:value=
"row.status"
></state>
<state
code=
"plan.order.status"
type=
"text"
class=
"bold"
:value=
"row.status"
></state>
<!-- taskList.status -->
</
template
>
</Table>
<!-- @on-row-click="(row,index)=>clickRow(row,index)" -->
...
...
@@ -284,7 +285,7 @@ export default {
slot
:
"status"
,
filters
:
this
.
getArry
(
this
.
$store
.
getters
.
dictionaryByKey
(
'
taskList.status'
'
plan.order.status'
//taskList.status
)
),
filterMultiple
:
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