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
d12e1e5a
Commit
d12e1e5a
authored
May 18, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排产结果页面
parent
80da2cd7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
18 deletions
+31
-18
index.vue
pages/aps/results/index.vue
+27
-15
result.vue
pages/aps/results/result.vue
+4
-3
No files found.
pages/aps/results/index.vue
View file @
d12e1e5a
...
...
@@ -41,7 +41,7 @@
</Col>
</Row>
<component
:is=
"detail"
:eid=
"id"
:schemas=
"schemas"
/>
<component
:is=
"detail"
:eid=
"id"
:schemas=
"schemas"
@
ok-claer=
"clearS"
/>
</Content>
</Layout>
<div
class=
"footer"
v-if=
"showFooter"
>
...
...
@@ -77,8 +77,8 @@ export default {
total
:
0
,
blacks
:
false
,
gant
:
false
,
gantt
:
null
,
curPage
:
null
gantt
:
null
,
curPage
:
null
};
},
async
fetch
({
store
,
params
})
{
...
...
@@ -121,6 +121,8 @@ export default {
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"清空列表成功"
);
this
.
orderlist
();
this
.
id
=
0
;
this
.
listData
();
}
});
},
...
...
@@ -130,6 +132,16 @@ export default {
});
}
},
clearS
()
{
this
.
id
=
0
;
Api
.
clearall
().
then
(
r
=>
{
if
(
r
.
success
)
{
this
.
orderlist
();
this
.
id
=
0
;
this
.
listData
();
}
});
},
// 返回
comeBlck
()
{
this
.
$router
.
push
({
path
:
"/aps/aps"
});
...
...
@@ -151,26 +163,26 @@ export default {
this
.
modal1Gant
=
true
;
this
.
gantt
=
()
=>
import
(
"./gantt"
);
},
changeCheck
(
item
,
i
)
{
this
.
$set
(
this
.
list
,
i
,
item
);
if
(
this
.
title
!=
'排产方案对比'
)
{
this
.
showFooter
=
true
;
changeCheck
(
item
,
i
)
{
this
.
$set
(
this
.
list
,
i
,
item
);
if
(
this
.
title
!=
"排产方案对比"
)
{
this
.
showFooter
=
true
;
}
},
submit
()
{
this
.
detail
=
()
=>
import
(
"./compare"
);
this
.
title
=
"排产方案对比"
;
this
.
showFooter
=
false
;
this
.
detail
=
()
=>
import
(
"./compare"
);
this
.
title
=
"排产方案对比"
;
this
.
showFooter
=
false
;
},
cancel
()
{
this
.
showFooter
=
false
;
}
},
computed
:{
schemas
(){
return
this
.
list
.
filter
(
u
=>
{
return
u
.
checked
==
true
;
})
computed
:
{
schemas
()
{
return
this
.
list
.
filter
(
u
=>
{
return
u
.
checked
==
true
;
})
;
}
}
};
...
...
pages/aps/results/result.vue
View file @
d12e1e5a
...
...
@@ -76,7 +76,7 @@ export default {
},
{
title
:
"计划结束时间"
,
key
:
"plan_
start
"
,
key
:
"plan_
finish
"
,
width
:
200
,
align
:
"center"
},
...
...
@@ -138,7 +138,8 @@ export default {
}).
then
(
r
=>
{
if
(
r
.
result
)
{
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
orderlist
();
this
.
$emit
(
'ok-claer'
)
}
else
{
this
.
$Message
.
error
(
"下发失败"
);
}
...
...
@@ -150,7 +151,7 @@ export default {
}).
then
(
r
=>
{
if
(
r
.
result
)
{
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
orderlist
();
this
.
$emit
(
'ok-claer'
)
}
else
{
this
.
$Message
.
error
(
"下发失败"
);
}
...
...
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