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
51679675
Commit
51679675
authored
May 06, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流水排产
parent
09dd3fe7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
16 deletions
+10
-16
index.vue
pages/aps/stream/index.vue
+1
-0
set.vue
pages/aps/stream/set.vue
+9
-16
No files found.
pages/aps/stream/index.vue
View file @
51679675
...
...
@@ -268,6 +268,7 @@ export default {
this
.
indexId
=
index
;
this
.
detailId
=
item
.
detailId
;
this
.
active
=
index
;
this
.
$refs
.
setObj
.
formItem
=
{}
// this.group.orderId = item.orderId;
// this.group.routingHeaderId = item.routingHeaderId;
// this.$refs.setObj.formItem = {};
...
...
pages/aps/stream/set.vue
View file @
51679675
...
...
@@ -90,6 +90,7 @@ export default {
{
required
:
true
,
message
:
"请选择人员"
,
type
:
"array"
,
trigger
:
"change"
}
],
...
...
@@ -109,23 +110,15 @@ export default {
methods
:
{
//确定
Determine
(
name
)
{
if
(
this
.
formItem
.
time
==
""
)
{
this
.
$Message
.
error
(
"工时不能为空"
);
return
false
;
}
else
if
(
this
.
mode
==
1
)
{
if
(
!
this
.
formItem
.
userIds
)
{
this
.
$Message
.
error
(
"人员不能为空"
);
return
false
;
}
}
else
if
(
this
.
mode
==
2
)
{
if
(
!
this
.
formItem
.
shopId
)
{
this
.
$Message
.
error
(
"班组不能为空"
);
return
false
;
}
}
Determine
()
{
this
.
$refs
[
"formItem"
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
formItem
.
detailId
=
this
.
detailId
;
this
.
$emit
(
"on-DetermineOk"
,
this
.
formItem
,
this
.
indexId
);
}
else
{
this
.
$Message
.
error
(
"Fail!"
);
}
});
},
closeOk
()
{
this
.
$emit
(
"closeOk"
);
...
...
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