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
36fc84e6
Commit
36fc84e6
authored
Apr 02, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aps
parent
24b1ee5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
19 deletions
+23
-19
index.vue
pages/aps/aps/index.vue
+23
-19
No files found.
pages/aps/aps/index.vue
View file @
36fc84e6
...
@@ -15,9 +15,15 @@
...
@@ -15,9 +15,15 @@
>
>
<template
slot=
"easySearch"
></
template
>
<template
slot=
"easySearch"
></
template
>
<
template
slot=
"searchBack"
>
<
template
slot=
"searchBack"
>
<Select
placeholder=
"选择历史方案"
style=
"width: 150px"
></Select>
<Select
placeholder=
"选择历史方案"
style=
"width: 150px;"
></Select>
<DatePicker
type=
"date"
placeholder=
"设置基准日期"
style=
"width: 150px"
v-model=
"setTime"
></DatePicker>
<DatePicker
<a
style=
"font-weight:bold"
@
click=
"addModal=true"
>
type=
"date"
placeholder=
"设置基准日期"
style=
"width: 150px"
v-model=
"entity.setTime"
@
on-change=
"getTime"
></DatePicker>
<a
style=
"font-weight:bold;"
@
click=
"addModal=true"
>
<Icon
type=
"ios-options"
size=
"14"
/>
工序参数调整
<Icon
type=
"ios-options"
size=
"14"
/>
工序参数调整
</a>
</a>
</
template
>
</
template
>
...
@@ -55,7 +61,9 @@ export default {
...
@@ -55,7 +61,9 @@ export default {
easySearch
:
{
easySearch
:
{
keys
:
{
op
:
"notes"
,
value
:
null
}
keys
:
{
op
:
"notes"
,
value
:
null
}
},
},
setTime
:
''
,
entity
:
{
setTime
:
""
},
addModal
:
false
,
addModal
:
false
,
editModal
:
false
,
editModal
:
false
,
detailModal
:
false
,
detailModal
:
false
,
...
@@ -271,7 +279,7 @@ export default {
...
@@ -271,7 +279,7 @@ export default {
if
(
r
.
success
)
{
if
(
r
.
success
)
{
this
.
$Message
.
success
(
"恢复成功"
);
this
.
$Message
.
success
(
"恢复成功"
);
this
.
list
=
[];
this
.
list
=
[];
this
.
loadList
()
this
.
loadList
()
;
}
}
});
});
},
},
...
@@ -326,6 +334,9 @@ export default {
...
@@ -326,6 +334,9 @@ export default {
let
vkey
=
"mes_part_task_plan_simulate"
+
"."
+
key
;
let
vkey
=
"mes_part_task_plan_simulate"
+
"."
+
key
;
return
this
.
$t
(
vkey
)
||
key
;
return
this
.
$t
(
vkey
)
||
key
;
},
},
getTime
(
value
)
{
this
.
entity
.
getTime
=
value
;
},
//a确定aps排产
//a确定aps排产
apsOk
()
{
apsOk
()
{
//APS排产前订单优先级功能
//APS排产前订单优先级功能
...
@@ -338,30 +349,23 @@ export default {
...
@@ -338,30 +349,23 @@ export default {
arryIds
.
push
(
objIds
);
arryIds
.
push
(
objIds
);
});
});
parmsOrderpriority
.
alls
=
arryIds
;
parmsOrderpriority
.
alls
=
arryIds
;
// alert(JSON.stringify(parmsOrderpriority));
// alert(JSON.stringify(parmsOrderpriority));
Api
.
orderpriority
(
parmsOrderpriority
).
then
(
res
=>
{
Api
.
orderpriority
(
parmsOrderpriority
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
if
(
res
.
result
)
{
if
(
res
.
result
)
{
this
.
$Message
.
success
(
"排序成功"
);
this
.
$Message
.
success
(
"排序成功"
);
//apsp排产前检查
//apsp排产前检查
Api
.
apsdatachecked
().
then
(
res1
=>
{
Api
.
apsdatachecked
().
then
(
res1
=>
{
if
(
res1
.
success
)
if
(
res1
.
success
)
{
{
if
(
res1
.
result
.
res
)
{
if
(
res1
.
result
.
res
)
{
this
.
$Message
.
success
(
"数据校验成功"
);
this
.
$Message
.
success
(
"数据校验成功"
);
}
else
{
}
else
{
this
.
$Message
.
success
(
"数据校验失败"
);
this
.
$Message
.
success
(
"数据校验失败"
);
}
}
}
}
else
{
else
{
this
.
$Message
.
error
(
"操作失败:数据校验"
);
this
.
$Message
.
error
(
"操作失败:数据校验"
);
}
}
})
});
}
else
{
}
else
{
this
.
$Message
.
error
(
"排序失败,请重新APS排产操作"
);
this
.
$Message
.
error
(
"排序失败,请重新APS排产操作"
);
}
}
...
...
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