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
f5de8371
Commit
f5de8371
authored
Jun 12, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
orderlist
parent
54642881
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
6 deletions
+20
-6
orderlist.vue
pages/produce/execute/components/orderlist.vue
+10
-2
index.vue
pages/produce/execute/index.vue
+10
-4
No files found.
pages/produce/execute/components/orderlist.vue
View file @
f5de8371
...
...
@@ -51,6 +51,10 @@ export default {
statu
:
{
type
:
Number
,
default
:
-
9
},
refresh
:
{
type
:
Boolean
,
default
:
true
}
},
created
()
{
...
...
@@ -80,7 +84,7 @@ export default {
orderId
:
item
.
orderId
,
executeId
:
item
.
executeId
,
headid
:
item
.
routingHeaderId
,
routid
:
item
.
routingDetailId
,
//工序ID
routid
:
item
.
routingDetailId
,
//工序ID
quantity
:
item
.
quantity
,
//派工数量
dispatchStatus
:
item
.
status
}
...
...
@@ -96,7 +100,11 @@ export default {
this
.
loadTree
();
},
statu
(
v
)
{
this
.
statu
=
v
this
.
statu
=
v
;
this
.
loadTree
();
},
refresh
(
v
)
{
this
.
refresh
=
v
;
this
.
loadTree
();
}
}
...
...
pages/produce/execute/index.vue
View file @
f5de8371
...
...
@@ -31,12 +31,13 @@
@
on-change=
"searchOrder"
></Dictionary>
</div>
<div
class=
"select_t"
>
<Button
@
click=
"changeAsc"
>
{{
ascTitle
}}
</Button>
<div
class=
"select_t"
style=
"height:40px"
>
<Button
@
click=
"changeFresh"
class=
"fl"
shape=
"circle"
icon=
"md-refresh"
>
刷新
</Button>
<Button
@
click=
"changeAsc"
class=
"fr"
shape=
"circle"
icon=
"md-calendar"
>
{{
ascTitle
}}
</Button>
</div>
</div>
<!-- 列表卡片主内容 -->
<orderlist
ref=
"orderlistref"
:asc=
"asc"
:statu=
"statu"
:order=
"inputId"
/>
<orderlist
ref=
"orderlistref"
:asc=
"asc"
:statu=
"statu"
:
refresh=
"refresh"
:
order=
"inputId"
/>
</Drawer>
<!-- 功能区 -->
<Drawer
...
...
@@ -72,7 +73,8 @@ export default {
inputId
:
null
,
asc
:
true
,
ascTitle
:
"时间正序排序"
,
statu
:
-
9
statu
:
-
9
,
refresh
:
true
,
};
},
created
()
{
...
...
@@ -147,6 +149,10 @@ export default {
}
else
{
this
.
ascTitle
=
"时间倒序排序"
;
}
},
changeFresh
()
{
this
.
refresh
=!
this
.
refresh
}
},
watch
:
{
...
...
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