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
6ea3f991
Commit
6ea3f991
authored
May 27, 2020
by
康振飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排产派工选择
parent
e45ca723
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
index.vue
pages/dispatched/index.vue
+2
-1
index.vue
pages/mainProcess/index.vue
+13
-5
No files found.
pages/dispatched/index.vue
View file @
6ea3f991
...
...
@@ -102,7 +102,8 @@
</div>
<!-- 拆分 fenModel -->
<Modal
v-model=
"chaiModal"
:width=
"400"
:mask-closable=
"false"
title=
"拆分工序"
ok-text=
"拆分"
@
on-ok=
"okChai()"
>
拆分数量:
<Tag>
{{chaiNum}}
</Tag>
拆分数量:
<!-- <Tag>{{chaiNum}}</Tag> -->
<InputNumber
:max=
"maxnum"
:min=
"1"
v-model=
"chaiNum"
></InputNumber>
<Slider
v-model=
"chaiNum"
:max=
"maxnum"
show-stops
:min=
"1"
></Slider>
</Modal>
<!-- 专业工艺-添加人员单个,批量 -->
...
...
pages/mainProcess/index.vue
View file @
6ea3f991
...
...
@@ -88,8 +88,15 @@
</
template
>
<
template
slot-scope=
"{ row,index }"
slot=
"times"
>
<DatePicker
type=
"daterange"
:options=
"dateRange"
v-model=
"row.times"
@
on-clear=
"handelClear(row,index)"
@
on-ok=
"okRowTimes(row,index)"
@
on-change=
"setTimes"
placeholder=
"请选择时间段"
></DatePicker>
type=
"daterange"
confirm
:options=
"dateRange"
v-model=
"row.times"
@
on-clear=
"handelClear(row,index)"
@
on-ok=
"okRowTimes(row,index)"
@
on-change=
"setTimes"
placeholder=
"请选择时间段"
></DatePicker>
</
template
>
<
template
slot-scope=
"{ row,index }"
slot=
"action"
>
<a
v-if=
"row.pid!=0"
@
click=
"removeDetail(row, index)"
class=
"delete"
title=
"删除"
>
...
...
@@ -116,8 +123,8 @@
<!-- 拆分 fenModel -->
<Modal
v-model=
"chaiModal"
title=
"拆分工序"
:width=
"400"
:mask-closable=
"false"
ok-text=
"拆分"
@
on-ok=
"okChai()"
>
拆分数量
:
<
Tag>
{{chaiNum}}
</Tag
>
拆分数量
:
<!-- <Tag>{{chaiNum}}</Tag> -->
<
InputNumber
:max=
"maxnum"
:min=
"1"
v-model=
"chaiNum"
></InputNumber
>
<Slider
v-model=
"chaiNum"
:max=
"maxnum"
show-stops
:min=
"1"
></Slider>
</Modal>
<!-- 专业工艺-添加人员单个,批量 -->
...
...
@@ -289,6 +296,7 @@ export default {
var
names
=
this
.
$refs
.
userSelected
.
getSelectNames
().
join
(
','
)
if
(
this
.
rowIndex
>
-
1
)
{
var
row
=
this
.
list
[
this
.
rowIndex
]
console
.
log
(
row
)
row
.
userTitles
=
names
row
.
userIds
=
this
.
userIds
this
.
$set
(
this
.
list
,
this
.
rowIndex
,
row
)
...
...
@@ -495,7 +503,7 @@ export default {
if
(
this
.
list
[
i
].
userIds
.
length
<
1
)
{
this
.
$Message
.
error
(
'有工序的人员未选!'
)
return
}
else
if
(
this
.
list
[
i
].
times
[
0
]
==
undefined
)
{
}
else
if
(
this
.
list
[
i
].
times
.
length
<
1
)
{
this
.
$Message
.
error
(
'有工序的时间段未选!'
)
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