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
f7079329
Commit
f7079329
authored
Apr 07, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
7ae59940
d8df0f8b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
43 additions
and
14 deletions
+43
-14
orderInfos.vue
components/orderOperator/orderInfos.vue
+1
-1
edit.vue
pages/aps/aps/components/edit.vue
+1
-1
excute.vue
pages/aps/aps/components/excute.vue
+3
-4
api.js
pages/aps/results/api.js
+6
-0
index.vue
pages/aps/results/index.vue
+31
-7
index.js
plugins/request/index.js
+1
-1
No files found.
components/orderOperator/orderInfos.vue
View file @
f7079329
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<state
code=
"plan.order.guestName"
:value=
"info.orderInfo.guestName+''"
type=
"text"
></state>
<state
code=
"plan.order.guestName"
:value=
"info.orderInfo.guestName+''"
type=
"text"
></state>
</Filed>
</Filed>
<Filed
:span=
"6"
:name=
"l('functionaryOffice')"
>
>
{{
info
.
orderInfo
.
functionaryOffice
}}
</Filed>
<Filed
:span=
"6"
:name=
"l('functionaryOffice')"
>
{{
info
.
orderInfo
.
functionaryOffice
}}
</Filed>
<Filed
:span=
"6"
:name=
"l('taskRequire')"
>
{{
info
.
orderInfo
.
taskRequire
}}
</Filed>
<Filed
:span=
"6"
:name=
"l('taskRequire')"
>
{{
info
.
orderInfo
.
taskRequire
}}
</Filed>
<Filed
:span=
"6"
:name=
"l('taskInputDate')"
>
{{
info
.
orderInfo
.
taskInputDate
}}
</Filed>
<Filed
:span=
"6"
:name=
"l('taskInputDate')"
>
{{
info
.
orderInfo
.
taskInputDate
}}
</Filed>
<Filed
:span=
"6"
:name=
"l('mainDepartmentId')"
>
<Filed
:span=
"6"
:name=
"l('mainDepartmentId')"
>
...
...
pages/aps/aps/components/edit.vue
View file @
f7079329
...
@@ -110,7 +110,7 @@ export default {
...
@@ -110,7 +110,7 @@ export default {
watch
:
{
watch
:
{
row
(
v
)
{
row
(
v
)
{
if
(
v
!=
{})
{
if
(
v
!=
{})
{
alert
(
JSON
.
stringify
(
v
))
//
alert(JSON.stringify(v))
this
.
entity
=
v
this
.
entity
=
v
}
}
}
}
...
...
pages/aps/aps/components/excute.vue
View file @
f7079329
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
</Modal>
</Modal>
<Modal
<Modal
v-model=
"insertlModal"
v-model=
"insertlModal"
title=
"插单
"
:title=
"insertTItle
"
@
on-ok=
"insertOk"
@
on-ok=
"insertOk"
@
on-cancel=
"cancel"
@
on-cancel=
"cancel"
>
>
...
@@ -25,7 +25,6 @@
...
@@ -25,7 +25,6 @@
</Modal>
</Modal>
<Modal
v-model=
"setParsModal"
title=
"工序参数设置"
footer-hide
width=
"1000"
>
<Modal
v-model=
"setParsModal"
title=
"工序参数设置"
footer-hide
width=
"1000"
>
<Add
<Add
:eid=
"curId"
@
on-parameter-ok=
"addOk"
@
on-parameter-ok=
"addOk"
@
on-close=
"cancel"
@
on-close=
"cancel"
:opTaskPk=
"setParams.opTaskPk"
:opTaskPk=
"setParams.opTaskPk"
...
@@ -373,8 +372,8 @@ export default {
...
@@ -373,8 +372,8 @@ export default {
opTaskPk
:
0
,
//工单ID
opTaskPk
:
0
,
//工单ID
partTaskPk
:
0
,
//生产计划ID
partTaskPk
:
0
,
//生产计划ID
taskSeq
:
""
,
//工序编号
taskSeq
:
""
,
//工序编号
count
:
0
,
count
:
0
,
//生产计划数量
},
//生产计划数量
},
//设置参数结束
//设置参数结束
rowData
:{},
//编辑时传入行数据
rowData
:{},
//编辑时传入行数据
};
};
...
...
pages/aps/results/api.js
View file @
f7079329
...
@@ -14,4 +14,10 @@ export default {
...
@@ -14,4 +14,10 @@ export default {
getdetail
(
params
)
{
getdetail
(
params
)
{
return
Api
.
get
(
`
${
apsUrl
}
/scheduletotal/getdetail`
,
params
);
return
Api
.
get
(
`
${
apsUrl
}
/scheduletotal/getdetail`
,
params
);
},
},
processschemedispatch
(
params
)
{
return
Api
.
post
(
`
${
apsUrl
}
/apspoolappservices/processschemedispatch`
,
params
);
},
moveintoaps
()
{
//跳转进入排产池前判断
return
Api
.
post
(
`
${
PlanUrl
}
/messchedule/moveintoaps`
);
},
}
}
pages/aps/results/index.vue
View file @
f7079329
...
@@ -51,6 +51,7 @@ export default {
...
@@ -51,6 +51,7 @@ export default {
isactive
:
0
,
isactive
:
0
,
data
:
[],
data
:
[],
list
:
[],
list
:
[],
id
:
""
,
columns
:
[
columns
:
[
{
{
type
:
"expand"
,
type
:
"expand"
,
...
@@ -99,25 +100,25 @@ export default {
...
@@ -99,25 +100,25 @@ export default {
{
{
title
:
"计划开始时间"
,
title
:
"计划开始时间"
,
key
:
"plan_start"
,
key
:
"plan_start"
,
width
:
2
2
0
,
width
:
2
0
0
,
align
:
"center"
align
:
"center"
},
},
{
{
title
:
"计划结束时间"
,
title
:
"计划结束时间"
,
key
:
"plan_start"
,
key
:
"plan_start"
,
width
:
2
2
0
,
width
:
2
0
0
,
align
:
"center"
align
:
"center"
},
},
{
{
title
:
"投料时间"
,
title
:
"投料时间"
,
key
:
"demand_start"
,
key
:
"demand_start"
,
width
:
2
2
0
,
width
:
2
0
0
,
align
:
"center"
align
:
"center"
},
},
{
{
title
:
"节点时间"
,
title
:
"节点时间"
,
key
:
"demand_finish"
,
key
:
"demand_finish"
,
width
:
2
2
0
,
width
:
2
0
0
,
align
:
"center"
align
:
"center"
},
},
{
{
...
@@ -153,6 +154,7 @@ export default {
...
@@ -153,6 +154,7 @@ export default {
},
},
listData
(
id
,
index
)
{
listData
(
id
,
index
)
{
this
.
isactive
=
index
;
this
.
isactive
=
index
;
this
.
id
=
id
;
Api
.
paged
({
scheduleId
:
id
})
Api
.
paged
({
scheduleId
:
id
})
.
then
(
r
=>
{
.
then
(
r
=>
{
if
(
r
.
success
)
{
if
(
r
.
success
)
{
...
@@ -183,11 +185,33 @@ export default {
...
@@ -183,11 +185,33 @@ export default {
}
}
},
},
parameter
()
{},
parameter
()
{
addOk
()
{},
Api
.
processschemedispatch
({
cancel
()
{},
id
:
this
.
id
}).
then
(
r
=>
{
if
(
r
.
result
)
{
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
orderlist
();
}
else
{
this
.
$Message
.
success
(
"下发失败"
);
}
});
},
comeBlck
()
{
comeBlck
()
{
this
.
$router
.
push
({
path
:
"/aps/aps"
});
this
.
$router
.
push
({
path
:
"/aps/aps"
});
Api
.
moveintoaps
().
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
result
.
res
)
{
this
.
$router
.
push
({
name
:
"aps-aps"
});
}
else
{
this
.
$router
.
push
({
name
:
"aps-plan"
});
}
}
});
}
}
}
}
};
};
...
...
plugins/request/index.js
View file @
f7079329
...
@@ -53,7 +53,7 @@ function errorLog (err) {
...
@@ -53,7 +53,7 @@ function errorLog (err) {
// 创建一个 axios 实例
// 创建一个 axios 实例
const
service
=
axios
.
create
({
const
service
=
axios
.
create
({
baseURL
:
Setting
.
apiBaseURL
,
baseURL
:
Setting
.
apiBaseURL
,
timeout
:
5
000
,
// 请求超时时间
timeout
:
20
000
,
// 请求超时时间
transformRequest
:[(
data
)
=>
{
transformRequest
:[(
data
)
=>
{
function
dateFormat
(
date
,
fmt
)
{
function
dateFormat
(
date
,
fmt
)
{
if
(
null
==
date
||
undefined
==
date
)
return
''
;
if
(
null
==
date
||
undefined
==
date
)
return
''
;
...
...
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