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
44048616
Commit
44048616
authored
Apr 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
13297370
a76f54b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
zh-CN.js
i18n/locale/zh-CN.js
+1
-1
index.vue
pages/aps/aps/index.vue
+16
-6
No files found.
i18n/locale/zh-CN.js
View file @
44048616
...
...
@@ -897,7 +897,7 @@ export default {
part_task_pk
:
'计划编号'
,
priority
:
'优先级'
,
plan_qty
:
'排产数量'
,
spare_qty
:
''
,
spare_qty
:
'
备件数量
'
,
plan_start
:
'计划排产开始'
,
plan_finish
:
'计划排产结束'
,
notes
:
'备注'
,
...
...
pages/aps/aps/index.vue
View file @
44048616
...
...
@@ -155,6 +155,7 @@ export default {
title
:
this
.
l
(
"plan_start"
),
align
:
"center"
,
high
:
true
,
hide
:
true
,
resizable
:
true
,
width
:
140
},
...
...
@@ -163,6 +164,7 @@ export default {
title
:
this
.
l
(
"plan_finish"
),
align
:
"center"
,
high
:
true
,
hide
:
true
,
sortable
:
true
,
resizable
:
true
,
width
:
140
...
...
@@ -179,9 +181,8 @@ export default {
key
:
"demand_start"
,
title
:
this
.
l
(
"demand_start"
),
align
:
"center"
,
hide
:
true
,
resizable
:
true
,
width
:
1
0
0
width
:
1
4
0
},
{
key
:
"demand_finish"
,
...
...
@@ -195,7 +196,8 @@ export default {
key
:
"badjustflag"
,
title
:
this
.
l
(
"badjustflag"
),
align
:
"left"
,
high
:
true
high
:
true
,
hide
:
true
,
},
{
title
:
"操作"
,
...
...
@@ -368,19 +370,27 @@ export default {
Api
.
orderpriority
(
parmsOrderpriority
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
result
)
{
this
.
$Message
.
success
(
"排序成功"
);
//
this.$Message.success("排序成功");
//apsp排产前检查
Api
.
apsdatachecked
().
then
(
res1
=>
{
if
(
res1
.
success
)
{
if
(
res1
.
result
.
res
)
{
this
.
$Message
.
success
(
"数据校验成功"
);
//
this.$Message.success("数据校验成功");
//排产计算
let
paramsTime
=
{
setTime
:
this
.
entity
.
setTime
};
Api
.
apsprepareandcalc
(
paramsTime
).
then
(
res2
=>
{
if
(
res2
.
success
)
{
this
.
$Message
.
success
(
"排产计算成功"
);
if
(
res2
.
result
.
res
)
{
this
.
$Message
.
success
(
"排产计算成功"
);
this
.
$router
.
push
({
name
:
"aps-results"
// params: { customerId: id }
});
}
else
{
this
.
$Message
.
error
(
res2
.
result
.
msg
);
}
}
else
{
this
.
$Message
.
error
(
"操作失败:排产计算"
);
}
...
...
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