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
84882979
Commit
84882979
authored
May 25, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排产结构
parent
67d7e6b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
result.vue
pages/aps/results/result.vue
+6
-7
No files found.
pages/aps/results/result.vue
View file @
84882979
...
@@ -124,7 +124,7 @@ export default {
...
@@ -124,7 +124,7 @@ export default {
parameter
()
{
parameter
()
{
Api
.
checkisinsertandbadjust
({
Api
.
checkisinsertandbadjust
({
//方案下发前的插单检查
//方案下发前的插单检查
id
:
this
.
id
id
:
this
.
e
id
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
result
)
{
if
(
r
.
result
)
{
this
.
$Modal
.
confirm
({
this
.
$Modal
.
confirm
({
...
@@ -134,12 +134,11 @@ export default {
...
@@ -134,12 +134,11 @@ export default {
if
(
r
.
result
.
retcode
==
1
)
{
if
(
r
.
result
.
retcode
==
1
)
{
//排产方案下发--普通+干扰
//排产方案下发--普通+干扰
Api
.
processschemedispatch
({
Api
.
processschemedispatch
({
id
:
this
.
id
id
:
this
.
e
id
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
result
)
{
if
(
r
.
result
)
{
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
$emit
(
'ok-claer'
)
this
.
$emit
(
"ok-claer"
);
}
else
{
}
else
{
this
.
$Message
.
error
(
"下发失败"
);
this
.
$Message
.
error
(
"下发失败"
);
}
}
...
@@ -147,11 +146,11 @@ export default {
...
@@ -147,11 +146,11 @@ export default {
}
else
if
(
r
.
result
.
retcode
==
0
)
{
}
else
if
(
r
.
result
.
retcode
==
0
)
{
//排产方案下发--有插单
//排产方案下发--有插单
Api
.
processschemedispatchinsert
({
Api
.
processschemedispatchinsert
({
id
:
this
.
id
id
:
this
.
e
id
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
result
)
{
if
(
r
.
result
)
{
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
$Message
.
success
(
r
.
result
.
retmsg
);
this
.
$emit
(
'ok-claer'
)
this
.
$emit
(
"ok-claer"
);
}
else
{
}
else
{
this
.
$Message
.
error
(
"下发失败"
);
this
.
$Message
.
error
(
"下发失败"
);
}
}
...
@@ -169,7 +168,7 @@ export default {
...
@@ -169,7 +168,7 @@ export default {
}
}
});
});
},
},
tabChange
(
name
)
{
tabChange
(
name
)
{
if
(
name
==
"technicalcoordination"
)
{
if
(
name
==
"technicalcoordination"
)
{
this
.
$refs
.
technicalcoordination
.
loadchangelist
();
this
.
$refs
.
technicalcoordination
.
loadchangelist
();
...
...
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