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
744115f9
Commit
744115f9
authored
May 12, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分卡
parent
ca12b62f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
26 deletions
+31
-26
productNumberSelect.vue
components/page/productNumberSelect.vue
+1
-1
api.js
pages/order/monitoring/api.js
+8
-8
speed.vue
pages/order/monitoring/speed.vue
+1
-1
api.js
pages/qc/certificate/api.js
+3
-3
add.vue
pages/technology/details/routinghcorder/add.vue
+2
-0
index.vue
pages/technology/details/routinghcorder/index.vue
+16
-13
No files found.
components/page/productNumberSelect.vue
View file @
744115f9
...
@@ -52,7 +52,7 @@ export default {
...
@@ -52,7 +52,7 @@ export default {
}
}
},
},
getCodes
(
e
)
{
getCodes
(
e
)
{
let
url
=
`
${
route
Url
}
/orderproductcode/getbyorderid`
let
url
=
`
${
Plan
Url
}
/orderproductcode/getbyorderid`
if
(
this
.
eid
)
{
if
(
this
.
eid
)
{
this
.
$api
.
get
(
url
,
{
id
:
this
.
eid
}).
then
((
r
)
=>
{
this
.
$api
.
get
(
url
,
{
id
:
this
.
eid
}).
then
((
r
)
=>
{
if
(
r
.
success
)
{
if
(
r
.
success
)
{
...
...
pages/order/monitoring/api.js
View file @
744115f9
import
Api
from
'@/plugins/request'
import
Api
from
'@/plugins/request'
export
default
{
export
default
{
index
:
`
${
route
Url
}
/orderaudit/pagedmonitormesorders`
,
index
:
`
${
Plan
Url
}
/orderaudit/pagedmonitormesorders`
,
record
:
`
${
route
Url
}
/orderpause/paged`
,
record
:
`
${
Plan
Url
}
/orderpause/paged`
,
paged
(
params
)
{
paged
(
params
)
{
return
Api
.
post
(
`
${
route
Url
}
/orderaudit/pagedmonitormesorders`
,
params
);
return
Api
.
post
(
`
${
Plan
Url
}
/orderaudit/pagedmonitormesorders`
,
params
);
},
},
pagedRecord
(
params
)
{
pagedRecord
(
params
)
{
return
Api
.
post
(
`
${
route
Url
}
/orderpause/paged`
,
params
);
return
Api
.
post
(
`
${
Plan
Url
}
/orderpause/paged`
,
params
);
},
},
start
(
params
)
{
start
(
params
)
{
return
Api
.
post
(
`
${
route
Url
}
/orderpause/start`
,
params
);
return
Api
.
post
(
`
${
Plan
Url
}
/orderpause/start`
,
params
);
},
},
create
(
params
)
{
create
(
params
)
{
return
Api
.
post
(
`
${
route
Url
}
/orderpause/create`
,
params
);
return
Api
.
post
(
`
${
Plan
Url
}
/orderpause/create`
,
params
);
},
},
get
(
params
)
{
get
(
params
)
{
return
Api
.
get
(
`
${
route
Url
}
/orderpause/get`
,
params
);
return
Api
.
get
(
`
${
Plan
Url
}
/orderpause/get`
,
params
);
},
},
info
(
params
)
{
//工单信息
info
(
params
)
{
//工单信息
return
Api
.
post
(
`
${
route
Url
}
/dispatch/orderdispatchsummary`
,
params
);
return
Api
.
post
(
`
${
Plan
Url
}
/dispatch/orderdispatchsummary`
,
params
);
},
},
// getplantdepartments(params) {// 组织为”车间“的部门
// getplantdepartments(params) {// 组织为”车间“的部门
// return Api.get(`${systemUrl}/department/getplantdepartments`, params);
// return Api.get(`${systemUrl}/department/getplantdepartments`, params);
...
...
pages/order/monitoring/speed.vue
View file @
744115f9
...
@@ -210,7 +210,7 @@ export default {
...
@@ -210,7 +210,7 @@ export default {
"op"
,
"op"
,
{
{
props
:
{
oprate
:
"edit"
,
title
:
"分卡"
},
props
:
{
oprate
:
"edit"
,
title
:
"分卡"
},
style
:
params
.
row
.
status
==
5
?
""
:
"display:none"
,
//
style: params.row.status == 5 ? "" : "display:none",
on
:
{
click
:
()
=>
this
.
split
(
params
.
row
)
}
on
:
{
click
:
()
=>
this
.
split
(
params
.
row
)
}
},
},
"分卡"
"分卡"
...
...
pages/qc/certificate/api.js
View file @
744115f9
import
Api
from
'@/plugins/request'
import
Api
from
'@/plugins/request'
export
default
{
export
default
{
index
:
`
${
route
Url
}
/mesorder/pagedcompletedorders1`
,
index
:
`
${
Plan
Url
}
/mesorder/pagedcompletedorders1`
,
paged
(
params
)
{
paged
(
params
)
{
return
Api
.
post
(
`
${
route
Url
}
/mesorder/pagedcompletedorders1`
,
params
);
//已开具和未开具列表
return
Api
.
post
(
`
${
Plan
Url
}
/mesorder/pagedcompletedorders1`
,
params
);
//已开具和未开具列表
},
},
ordercertificate
(
params
)
{
ordercertificate
(
params
)
{
return
Api
.
post
(
`
${
certificateUrl
}
/productcertificate/ordercertificatesummary`
,
params
);
//查看所有合格证列表
return
Api
.
post
(
`
${
certificateUrl
}
/productcertificate/ordercertificatesummary`
,
params
);
//查看所有合格证列表
...
@@ -11,7 +11,7 @@ export default {
...
@@ -11,7 +11,7 @@ export default {
return
Api
.
post
(
`
${
certificateUrl
}
/productcertificate/createcertianditems`
,
params
);
//产品合格证保存
return
Api
.
post
(
`
${
certificateUrl
}
/productcertificate/createcertianditems`
,
params
);
//产品合格证保存
},
},
get
(
params
)
{
get
(
params
)
{
return
Api
.
get
(
`
${
route
Url
}
/orderproductcode/getbyorderid`
,
params
);
//根据订单id返回产品编号
return
Api
.
get
(
`
${
Plan
Url
}
/orderproductcode/getbyorderid`
,
params
);
//根据订单id返回产品编号
},
},
getCertificate
(
params
)
{
getCertificate
(
params
)
{
return
Api
.
get
(
`
${
certificateUrl
}
/productcertificate/certificate`
,
params
);
//单个合格证详情
return
Api
.
get
(
`
${
certificateUrl
}
/productcertificate/certificate`
,
params
);
//单个合格证详情
...
...
pages/technology/details/routinghcorder/add.vue
View file @
744115f9
...
@@ -190,6 +190,8 @@ export default {
...
@@ -190,6 +190,8 @@ export default {
this
.
$refs
.
form
.
validate
(
v
=>
{
this
.
$refs
.
form
.
validate
(
v
=>
{
if
(
v
)
{
if
(
v
)
{
this
.
disabled
=
true
;
this
.
disabled
=
true
;
this
.
entity
.
handlingOpinions
=
this
.
entity
.
handlingOpinionsId
Api
.
create
(
this
.
entity
)
Api
.
create
(
this
.
entity
)
.
then
(
r
=>
{
.
then
(
r
=>
{
this
.
disabled
=
false
;
this
.
disabled
=
false
;
...
...
pages/technology/details/routinghcorder/index.vue
View file @
744115f9
...
@@ -74,7 +74,8 @@ export default {
...
@@ -74,7 +74,8 @@ export default {
title
:
this
.
l
(
"proposeUserName"
),
title
:
this
.
l
(
"proposeUserName"
),
align
:
"left"
,
align
:
"left"
,
high
:
true
,
high
:
true
,
type
:
"user"
type
:
"user"
,
width
:
140
,
},
},
{
{
key
:
"technicalName"
,
key
:
"technicalName"
,
...
@@ -90,24 +91,26 @@ export default {
...
@@ -90,24 +91,26 @@ export default {
easy
:
true
,
easy
:
true
,
high
:
true
high
:
true
},
},
{
//
{
key
:
"checkPerson"
,
//
key: "checkPerson",
title
:
this
.
l
(
"checkPerson"
),
//
title: this.l("checkPerson"),
align
:
"left"
,
//
align: "left",
high
:
true
,
//
high: true,
type
:
'user'
//
type:'user'
},
//
},
{
{
key
:
"quantity"
,
key
:
"quantity"
,
title
:
this
.
l
(
"quantity"
),
title
:
this
.
l
(
"quantity"
),
align
:
"right"
,
align
:
"right"
,
high
:
true
high
:
true
,
width
:
100
,
},
},
{
{
key
:
"status"
,
key
:
"status"
,
title
:
this
.
l
(
"status"
),
title
:
this
.
l
(
"status"
),
align
:
"center"
,
align
:
"center"
,
high
:
true
,
high
:
true
,
width
:
100
,
code
:
"unProduct.repairstatus"
code
:
"unProduct.repairstatus"
},
},
{
{
...
@@ -143,8 +146,8 @@ export default {
...
@@ -143,8 +146,8 @@ export default {
{
{
title
:
"操作"
,
title
:
"操作"
,
key
:
"action"
,
key
:
"action"
,
width
:
1
4
0
,
width
:
1
2
0
,
align
:
"
center
"
,
align
:
"
left
"
,
render
:
(
h
,
params
)
=>
{
render
:
(
h
,
params
)
=>
{
return
h
(
"div"
,
{
class
:
"action"
},
[
return
h
(
"div"
,
{
class
:
"action"
},
[
h
(
h
(
...
@@ -162,7 +165,7 @@ export default {
...
@@ -162,7 +165,7 @@ export default {
attrs
:
{
oprate
:
"edit"
},
attrs
:
{
oprate
:
"edit"
},
on
:
{
click
:
()
=>
this
.
edit
(
params
.
row
.
id
)
}
on
:
{
click
:
()
=>
this
.
edit
(
params
.
row
.
id
)
}
},
},
"编辑"
params
.
row
.
status
==
1
?
"编辑"
:
''
),
),
h
(
h
(
"op"
,
"op"
,
...
@@ -170,7 +173,7 @@ export default {
...
@@ -170,7 +173,7 @@ export default {
attrs
:
{
oprate
:
"delete"
},
attrs
:
{
oprate
:
"delete"
},
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
}
on
:
{
click
:
()
=>
this
.
remove
(
params
.
row
.
id
)
}
},
},
"删除
"
params
.
row
.
status
==
1
?
"删除"
:
"
"
)
)
]);
]);
}
}
...
...
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