ソースを参照

刀具检查页面修改

yejian 3 年 前
コミット
e4b9fe2afe

+ 4 - 3
imcs-ui/src/views/zuihou/runManageCenter/orderMgr/components/runningOrder/components/checkCuttingTools/checkDetailCuttingTools.vue

@@ -101,12 +101,13 @@
                     type: 'success'
                 })
               }
+              this.fetch()
+              this.$emit("refresh")
             }).finally(() => this.loading = false)
-            this.fetch()
           }else{ // 已装刀跳转到装刀申请页面
             this.$store.dispatch('tagsView/delView', this.$route).then(res => {
-               this.$router.push({path:'/prepareProductMgr/cuttingToolApplyMgr', query: data});
-            });   
+               this.$router.push({path:'/prepareProductMgr/cuttingToolApplyMgr', query:  {id : data.applyId}});
+            });
           }
         }
       }

+ 1 - 0
imcs-ui/src/views/zuihou/runManageCenter/orderMgr/components/runningOrder/components/checkCuttingTools/index.vue

@@ -34,6 +34,7 @@
       width="80%"
       custom-class="dialogNoTop"
       @close="checkDetailCuttingToolsClose"
+      @refresh="fetch"
     >
       <!--【	刀具校验对话框】 -->
       <checkDetailCuttingTools