Commit a83b7d3f authored by renjintao's avatar renjintao

查看历史方案

parent 8e74c365
...@@ -31,6 +31,11 @@ ...@@ -31,6 +31,11 @@
<Search /> <Search />
</template> </template>
<template slot="buttons"> <template slot="buttons">
<Button
type="primary"
@click="goResults"
style="background:#515A6E;border:solid 1px #515A6E"
>查看历史方案</Button>
<Button type="primary" @click="openApsModal">APS排产</Button> <Button type="primary" @click="openApsModal">APS排产</Button>
</template> </template>
<template slot="batch"> <template slot="batch">
...@@ -386,6 +391,13 @@ export default { ...@@ -386,6 +391,13 @@ export default {
this.$Message.error("请设置基准日期"); this.$Message.error("请设置基准日期");
} }
}, },
//查看历史方案
goResults() {
this.$router.push({
path: "/aps/results"
// params: { customerId: id }
});
},
//确定aps排产 //确定aps排产
apsOk() { apsOk() {
this.circleModal = true; this.circleModal = true;
...@@ -422,7 +434,7 @@ export default { ...@@ -422,7 +434,7 @@ export default {
this.$Message.success("排产计算成功"); this.$Message.success("排产计算成功");
this.circleModal = false; this.circleModal = false;
this.$router.push({ this.$router.push({
name: "aps-results" path: "/aps/results"
// params: { customerId: id } // params: { customerId: id }
}); });
} else { } else {
......
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