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
b1e40a50
Commit
b1e40a50
authored
Nov 02, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
c7f160fa
e2cbdf26
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1012 additions
and
1161 deletions
+1012
-1161
excute.vue
pages/aps/ai/components/excute.vue
+1
-1
table-expand.vue
pages/aps/results/table-expand.vue
+68
-64
api.js
pages/produce/api.js
+2
-2
index.vue
pages/produce/execute/judgment/index.vue
+528
-651
index.vue
pages/produce/execute/starOrder/index.vue
+412
-442
orderSupport.vue
pages/produce/orderSupport.vue
+1
-1
No files found.
pages/aps/ai/components/excute.vue
View file @
b1e40a50
...
...
@@ -109,7 +109,7 @@ export default {
high
:
true
},
{
key
:
"firs
t_equip
"
,
key
:
"firs
T_EQUIP_CODE
"
,
title
:
this
.
l
(
"first_equip"
),
align
:
"left"
,
easy
:
true
,
...
...
pages/aps/results/table-expand.vue
View file @
b1e40a50
<
template
>
<div
class=
"result-aps"
>
<div
class=
"result-aps"
>
<Row
class=
"expand-row"
>
<Col
span=
"4"
>
<Col
span=
"4"
>
<span
class=
"expand-key"
>
工序序号
</span>
</Col>
<Col
span=
"3"
>
</Col>
<Col
span=
"3"
>
<span
class=
"expand-key"
>
工序名称
</span>
</Col>
<Col
span=
"3"
>
</Col>
<Col
span=
"3"
>
<span
class=
"expand-key"
>
投入数量
</span>
</Col>
<Col
span=
"3"
>
</Col>
<Col
span=
"3"
>
<span
class=
"expand-key"
>
派工数量
</span>
</Col>
<Col
span=
"4"
>
</Col>
<Col
span=
"4"
>
<span
class=
"expand-key"
>
计划开始时间
</span>
</Col>
<Col
span=
"4"
>
</Col>
<Col
span=
"4"
>
<span
class=
"expand-key"
>
计划结束时间
</span>
</Col>
<Col
span=
"3"
>
<span
class=
"expand-key"
>
设备编号
</span>
</Col>
</Col>
<Col
span=
"3"
>
<span
class=
"expand-key"
>
首选资源
</span>
</Col>
</Row>
<Row
v-for=
"(item,index) in dataList"
:key=
"item.index"
>
<Col
span=
"4"
class=
"expand-value"
>
<Col
span=
"4"
class=
"expand-value"
>
<span>
{{
item
.
task_seq
}}
</span>
</Col>
<Col
span=
"3"
class=
"expand-value"
>
</Col>
<Col
span=
"3"
class=
"expand-value"
>
<span>
{{
item
.
task_name
}}
</span>
</Col>
<Col
span=
"3"
class=
"expand-value"
>
</Col>
<Col
span=
"3"
class=
"expand-value"
>
<span>
{{
item
.
put_into_qty
}}
</span>
</Col>
<Col
span=
"3"
class=
"expand-value"
>
</Col>
<Col
span=
"3"
class=
"expand-value"
>
<span>
{{
item
.
dispatch_qty
}}
</span>
</Col>
<Col
span=
"4"
class=
"expand-value"
>
</Col>
<Col
span=
"4"
class=
"expand-value"
>
<span>
{{
item
.
plan_start
}}
</span>
</Col>
<Col
span=
"4"
class=
"expand-value"
>
</Col>
<Col
span=
"4"
class=
"expand-value"
>
<span>
{{
item
.
plan_finish
}}
</span>
</Col>
<Col
span=
"3"
class=
"expand-value"
>
</Col>
<Col
span=
"3"
class=
"expand-value"
>
<span>
{{
item
.
equip_id
}}
</span>
</Col>
</Col>
</Row>
</div>
</div>
</
template
>
<
script
>
import
Api
from
"./api"
;
export
default
{
props
:
{
row
:
Object
},
data
()
{
return
{
dataList
:
[]
};
},
mounted
()
{
this
.
getList
(
this
.
row
);
},
methods
:
{
getList
(
row
)
{
Api
.
getdetail
({
part_task_pk
:
row
.
id
,
scheduleId
:
row
.
schedule_id
}).
then
(
r
=>
{
if
(
r
.
success
)
{
this
.
dataList
=
r
.
result
;
props
:
{
row
:
Object
},
data
()
{
return
{
dataList
:
[]
};
},
mounted
()
{
this
.
getList
(
this
.
row
);
},
methods
:
{
getList
(
row
)
{
Api
.
getdetail
({
part_task_pk
:
row
.
id
,
scheduleId
:
row
.
schedule_id
}).
then
(
r
=>
{
if
(
r
.
success
)
{
this
.
dataList
=
r
.
result
;
}
});
}
});
}
}
};
</
script
>
<
style
lang=
'less'
>
<
style
lang=
"less"
>
.result-aps {
.expand-row {
text-align: center;
margin: 5px 0;
font-weight: bold;
}
.expand-value {
text-align: center;
margin: 3px 0;
}
.expand-row {
text-align: center;
margin: 5px 0;
font-weight: bold;
}
.expand-value {
text-align: center;
margin: 3px 0;
}
}
td.ivu-table-expanded-cell {
padding: 0 !important;
padding: 0 !important;
}
</
style
>
\ No newline at end of file
</
style
>
pages/produce/api.js
View file @
b1e40a50
import
Api
from
'@/plugins/request'
export
default
{
index
:
`
${
PlanUrl
}
/orderexecutenew/
paged_img
`
,
index
:
`
${
PlanUrl
}
/orderexecutenew/
Paged_Img_RoutingDetail
`
,
paged
(
params
)
{
return
Api
.
post
(
`
${
PlanUrl
}
/orderexecutenew/
paged_img
`
,
params
);
return
Api
.
post
(
`
${
PlanUrl
}
/orderexecutenew/
Paged_Img_RoutingDetail
`
,
params
);
},
getCardList
(
params
)
{
return
Api
.
post
(
`
${
PlanUrl
}
/orderexecutenew/list`
,
params
);
...
...
pages/produce/execute/judgment/index.vue
View file @
b1e40a50
This diff is collapsed.
Click to expand it.
pages/produce/execute/starOrder/index.vue
View file @
b1e40a50
This diff is collapsed.
Click to expand it.
pages/produce/orderSupport.vue
View file @
b1e40a50
...
...
@@ -368,7 +368,7 @@ export default {
this
.
newModel
=
true
;
},
loaddata
(
orderid
)
{
var
url
=
`
${
technologyUrl
}
/
ordermateriallist/getbyorderid?id=`
+
orderid
;
var
url
=
`
${
technologyUrl
}
ordermateriallist/getbyorderid?id=`
+
orderid
;
service
.
get
(
`
${
url
}
`
).
then
(
response
=>
{
this
.
formValidate
=
response
.
result
.
orderMaterial
;
...
...
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