ysy 1 yıl önce
ebeveyn
işleme
ce3e485d3e

+ 1 - 1
src/views/productionPlan/detail.vue

@@ -56,7 +56,7 @@ export default {
   },
   methods: {
     async getDetail() {
-      const data = await getProductPlanDetail(this.$route.params.id);
+      const data = await getProductPlanDetail(this.$route.query.id);
 
       this.infoData = data;
     }

+ 2 - 1
src/views/productionPlan/index.vue

@@ -775,7 +775,8 @@
 
       goDetail({ id }) {
         this.$router.push({
-          path: '/productionPlan/detail/' + id
+          path: '/productionPlan/detail',
+          query: { id }
         });
       },