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
d4140284
Commit
d4140284
authored
Jun 03, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工单执行
parent
54659720
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
index.vue
pages/produce/execute/ProcessCheck/index.vue
+3
-2
orderlist.vue
pages/produce/orderlist.vue
+5
-4
No files found.
pages/produce/execute/ProcessCheck/index.vue
View file @
d4140284
...
...
@@ -35,7 +35,7 @@ export default {
};
},
created
()
{
this
.
id
=
Number
(
this
.
$route
.
query
.
row
.
routingHeaderI
d
);
//工艺规程id
this
.
id
=
Number
(
this
.
$route
.
query
.
headi
d
);
//工艺规程id
//this.uId = ""; //工艺规程文件id
ApiProcess
.
get
({
id
:
this
.
id
}).
then
(
r
=>
{
if
(
r
.
success
&&
r
.
result
)
{
...
...
@@ -58,7 +58,8 @@ export default {
openSaveTip
(
key
)
{
this
.
id
=
key
;
if
(
this
.
id
==
"1"
)
{
this
.
id
=
Number
(
this
.
$route
.
query
.
row
.
routingHeaderId
);
//工艺规程id
this
.
id
=
Number
(
this
.
$route
.
query
.
headid
);
//工艺规程id
//this.uId = ""; //工艺规程文件id
this
.
detail
=
()
=>
import
(
"../../../technology/processview"
);
}
//if(this.id == "1"){ this.detail = () => import("./components/setupDetails");}
...
...
pages/produce/orderlist.vue
View file @
d4140284
...
...
@@ -29,7 +29,7 @@
<Button
:icon=
"iconInfo"
shape=
"circle"
:title=
"titleInfo"
@
click=
"changeShwo"
></Button>
</
template
>
<
template
slot=
"card"
slot-scope=
"{row}"
>
<div
class=
"body"
@
click=
"toExecute(row.id,row.orderId,row.executeId)"
>
<div
class=
"body"
@
click=
"toExecute(row.id,row.orderId,row.executeId
,row.routingHeaderId
)"
>
<Row
class=
"title-i"
>
<Col
:span=
"10"
class=
"order-code"
>
{{
row
.
productName
}}
</Col>
<Col
:span=
"10"
class=
"order-code"
>
{{
row
.
mesCode
}}
</Col>
...
...
@@ -181,7 +181,8 @@ export default {
this
.
toExecute
(
params
.
row
.
id
,
params
.
row
.
orderId
,
params
.
row
.
executeId
params
.
row
.
executeId
,
params
.
row
.
routingHeaderId
)
}
},
...
...
@@ -216,11 +217,11 @@ export default {
search
()
{
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
);
},
toExecute
(
id
,
orderId
,
executeId
)
{
toExecute
(
id
,
orderId
,
executeId
,
headid
)
{
//跳转到对应操作页面 获取id:this.$route.query.id
this
.
$router
.
push
({
path
:
"/produce/execute"
,
query
:
{
id
:
id
,
orderId
:
orderId
,
executeId
:
executeId
}
query
:
{
id
:
id
,
orderId
:
orderId
,
executeId
:
executeId
,
headid
:
headid
}
});
},
tdStyle
(
val
)
{
...
...
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