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
e499a585
Commit
e499a585
authored
May 06, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整机排产
parent
f3cfc179
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
index.vue
pages/aps/complete/index.vue
+13
-9
No files found.
pages/aps/complete/index.vue
View file @
e499a585
...
...
@@ -31,6 +31,7 @@
</Col>
</Row>
<div
class=
"fa"
>
产品名称:
{{
li
.
productName
}}
</div>
<div
class=
"time-s"
>
产品数量:
{{
li
.
quantity
}}
</div>
<div
class=
"time-s"
>
<span>
工序:
{{
li
.
drawnNumber
}}
</span>
</div>
...
...
@@ -38,7 +39,7 @@
</div>
</div>
</div>
<div
class=
"aps-r"
>
<div
class=
"aps-r"
v-show=
"showSet"
>
<div
class=
"r-title"
>
排产设置盘
</div>
<Form
:model=
"formItem"
:label-width=
"100"
>
<FormItem
label=
"工时"
>
...
...
@@ -114,7 +115,7 @@
</FormItem>
<FormItem>
<Button
style=
"margin-left: 8px"
@
click=
"closeOk"
>
取消
</Button>
<Button
type=
"primary"
@
click=
"lowerHair"
v-if=
"showXia"
>
下发
</Button>
<Button
type=
"primary"
@
click=
"lowerHair"
>
下发
</Button>
</FormItem>
</Form>
</div>
...
...
@@ -135,7 +136,7 @@ export default {
data
()
{
return
{
list
:
[],
showXia
:
true
,
status
:
"0"
,
//全部排产-1,0为未排产;2为已排查;
formItem
:
{
radio
:
"0"
,
...
...
@@ -144,7 +145,8 @@ export default {
endTime
:
""
,
remark
:
""
,
departmentTitle
:
""
,
shopId
:
""
shopId
:
""
,
showSet
:
false
// userName: ""
},
// listGroup: [
...
...
@@ -192,11 +194,6 @@ export default {
changeStatus
(
name
)
{
this
.
status
=
name
;
this
.
orderlist
(
this
.
status
);
if
(
this
.
status
==
0
)
{
this
.
showXia
=
true
;
}
else
{
this
.
showXia
=
false
;
}
},
//排产池列表
orderlist
(
a
)
{
...
...
@@ -214,11 +211,17 @@ export default {
checkData
(
li
)
{
if
(
li
.
checked
)
{
this
.
orderIds
.
push
(
li
.
id
);
if
(
this
.
status
==
0
)
{
this
.
showSet
=
true
;
}
}
else
{
if
(
this
.
orderIds
)
{
this
.
orderIds
.
forEach
((
e
,
i
)
=>
{
if
(
this
.
orderIds
[
i
]
==
li
.
id
)
{
this
.
orderIds
.
splice
(
i
,
1
);
if
(
this
.
orderIds
.
length
==
0
)
{
this
.
showSet
=
false
;
}
}
});
}
...
...
@@ -249,6 +252,7 @@ export default {
this
.
$Message
.
success
(
"下发成功"
);
this
.
orderlist
(
this
.
status
);
this
.
orderIds
=
[];
this
.
showSet
=
false
;
}
else
{
this
.
$Message
.
success
(
"下发失败"
);
this
.
formItem
=
{};
...
...
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