Commit b3c589b0 authored by renjintao's avatar renjintao

getpoolordercount

parent f6138121
...@@ -28,4 +28,7 @@ export default { ...@@ -28,4 +28,7 @@ export default {
moveintoaps() {//跳转进入排产池前判断 moveintoaps() {//跳转进入排产池前判断
return Api.post(`${PlanUrl}/messchedule/moveintoaps`); return Api.post(`${PlanUrl}/messchedule/moveintoaps`);
}, },
getpoolordercount(){//各排产池订单数量
return Api.get(`${PlanUrl}/messchedule/getpoolordercount`);
},
} }
\ No newline at end of file
...@@ -637,18 +637,18 @@ export default { ...@@ -637,18 +637,18 @@ export default {
this.$store.commit("setCountAi", 0); this.$store.commit("setCountAi", 0);
this.$store.commit("setCountAll", 0); this.$store.commit("setCountAll", 0);
this.$store.commit("setCountRun", 0); this.$store.commit("setCountRun", 0);
// Api.getCount() Api.getpoolordercount()
// .then(res => { .then(res => {
// if (res.success && res.result == true) { if (res.success && res.result.length>1) {
// this.$store.commit("setCountAps", 3); res.result.forEach(data=>
// this.$store.commit("setCountAi", 1); {
// this.$store.commit("setCountAll", 1); this.changeCountOut(data.poolType+'',data.count)
// this.$store.commit("setCountRun", 0); })
// } }
// }) })
// .catch(err => { .catch(err => {
// this.$Message.error("获取排产模型数量失败"); this.$Message.error("获取排产模型数量失败");
// }); });
} }
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment