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
555efc01
Commit
555efc01
authored
May 18, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分卡、回收
parent
18bbcc0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
13 deletions
+20
-13
index.vue
pages/order/monitoring/index.vue
+15
-8
speed.vue
pages/order/monitoring/speed.vue
+5
-5
No files found.
pages/order/monitoring/index.vue
View file @
555efc01
...
...
@@ -25,7 +25,13 @@
<Record
:eid=
"recordId"
/>
</Modal>
<Modal
v-model=
"SpeedModal"
title=
"工单信息"
fullscreen
footer-hide
class=
"recordM"
>
<Speed
:result=
"result"
:load=
"loading"
@
on-close=
"clsoeSpeedModal"
:executeId=
"dispatchExecuteId"
:orderId=
"orderId"
/>
<Speed
:result=
"result"
:load=
"loading"
@
on-close=
"clsoeSpeedModal"
:executeId=
"dispatchExecuteId"
:orderId=
"orderId"
/>
</Modal>
<Modal
v-model=
"recycleModal"
title=
"确定回收订单"
width=
"600"
class=
"suspend"
>
<Form
ref=
"form"
:model=
"recovery"
:rules=
"rulesRecycle"
:label-width=
"120"
>
...
...
@@ -383,7 +389,10 @@ export default {
render
:
(
h
,
params
)
=>
{
return
h
(
"div"
,
{
class
:
"action"
},
[
h
(
params
.
row
.
status
==
5
&&
params
.
row
.
upSplitId
==
0
(
params
.
row
.
status
==
5
&&
params
.
row
.
upSplitId
==
0
)
||
(
params
.
row
.
status
==
5
&&
params
.
row
.
upSplitId
>
0
&&
params
.
row
.
splitCardStatus
==
1
)
?
"Button"
:
""
,
//订单状态暂停,启动
{
...
...
@@ -408,7 +417,7 @@ export default {
""
),
h
(
params
.
row
.
status
==
6
&&
params
.
row
.
upSplitId
==
0
params
.
row
.
status
==
6
?
"Button"
:
""
,
//订单状态执行中,暂停
{
...
...
@@ -434,7 +443,7 @@ export default {
""
),
h
(
params
.
row
.
status
==
5
&&
params
.
row
.
upSplitId
>
0
?
"op"
:
""
,
//订单状态执行中,暂停
params
.
row
.
status
==
5
&&
params
.
row
.
splitCardStatus
==
0
?
"op"
:
""
,
//订单状态执行中,暂停
{
attrs
:
{
icon
:
"md-sync"
,
...
...
@@ -542,9 +551,8 @@ export default {
}
});
},
clsoeSpeedModal
()
{
this
.
SpeedModal
=
false
;
clsoeSpeedModal
()
{
this
.
SpeedModal
=
false
;
},
suspend
(
row
)
{
console
.
log
(
row
);
...
...
@@ -634,5 +642,4 @@ export default {
.ivu-btn-group {
height: 21px !important;
}
</
style
>
\ No newline at end of file
pages/order/monitoring/speed.vue
View file @
555efc01
...
...
@@ -7,7 +7,7 @@
<DataGrid
:columns=
"columns"
:data=
"result"
border
:tool=
"false"
:height=
"820"
:page=
"false"
></DataGrid>
</div>
<Modal
v-model=
"workOrderPauseModal"
title=
"工单暂停原因"
width=
"800"
footer-hide
class=
"suspend"
>
<EntryPause
@
on-ok=
"pauseOk"
ref=
"addBug"
:info=
"info"
/>
<EntryPause
@
on-ok=
"pauseOk"
ref=
"addBug"
:info=
"info"
/>
</Modal>
<Modal
v-model=
"modalSplit"
title=
"订单分卡"
width=
"650"
footer-hide
>
<div
slot=
"close"
>
...
...
@@ -310,11 +310,11 @@ export default {
split
(
row
,
index
)
{
//工单分卡
this
.
getProduct
(
row
.
id
);
(
this
.
initeId
=
{
this
.
initeId
=
{
routingDetailId
:
row
.
detailId
,
dispatchId
:
row
.
id
}
),
(
this
.
modalSplit
=
true
)
;
}
;
this
.
modalSplit
=
true
;
},
onchangeAction
(
val
)
{
//选择移入排产时显示排产模型下拉框
...
...
@@ -353,7 +353,7 @@ export default {
.
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$Message
.
success
(
"分卡成功"
);
this
.
$emit
(
"on-close"
)
this
.
$emit
(
"on-close"
)
;
}
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