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
b3c589b0
Commit
b3c589b0
authored
Apr 20, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getpoolordercount
parent
f6138121
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
+15
-12
api.js
pages/aps/plan/api.js
+3
-0
index.vue
pages/aps/plan/index.vue
+12
-12
No files found.
pages/aps/plan/api.js
View file @
b3c589b0
...
...
@@ -28,4 +28,7 @@ export default {
moveintoaps
()
{
//跳转进入排产池前判断
return
Api
.
post
(
`
${
PlanUrl
}
/messchedule/moveintoaps`
);
},
getpoolordercount
(){
//各排产池订单数量
return
Api
.
get
(
`
${
PlanUrl
}
/messchedule/getpoolordercount`
);
},
}
\ No newline at end of file
pages/aps/plan/index.vue
View file @
b3c589b0
...
...
@@ -637,18 +637,18 @@ export default {
this
.
$store
.
commit
(
"setCountAi"
,
0
);
this
.
$store
.
commit
(
"setCountAll"
,
0
);
this
.
$store
.
commit
(
"setCountRun"
,
0
);
// Api.getC
ount()
//
.then(res => {
// if (res.success && res.result == true
) {
// this.$store.commit("setCountAps", 3);
// this.$store.commit("setCountAi", 1);
// this.$store.commit("setCountAll", 1);
// this.$store.commit("setCountRun", 0);
//
}
//
})
//
.catch(err => {
//
this.$Message.error("获取排产模型数量失败");
//
});
Api
.
getpoolorderc
ount
()
.
then
(
res
=>
{
if
(
res
.
success
&&
res
.
result
.
length
>
1
)
{
res
.
result
.
forEach
(
data
=>
{
this
.
changeCountOut
(
data
.
poolType
+
''
,
data
.
count
)
})
}
})
.
catch
(
err
=>
{
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