From b08d6dd897626cfbcf4b2471cee47abe357725d4 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期四, 25 一月 2024 18:31:42 +0800
Subject: [PATCH] wms 产品模块 进货,出货2个区别开,进货跳转到入库明细表,出货跳转到出库明细表

---
 src/views/productManage/product/AddProductDialog.vue |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/views/productManage/product/AddProductDialog.vue b/src/views/productManage/product/AddProductDialog.vue
index 9e00b6d..3534884 100644
--- a/src/views/productManage/product/AddProductDialog.vue
+++ b/src/views/productManage/product/AddProductDialog.vue
@@ -849,11 +849,17 @@
       // console.log(formdata, "鍥剧墖鏁版嵁")
     },
     // 杩涘嚭鐐瑰嚮
-    inOutBoundClick() {
+    inOutBoundClick(val) {
       if (this.editConfig.title !== "鏂板缓") {
         console.log(this.editConfig.infomation)
+        let url=''
+        if(val=='杩�'){
+          url='inboundOutboundDetail'
+        }else{
+          url='outboundDetail'
+        }
         this.$router.push({
-          name: "inboundOutboundDetail",
+          name:url,
           params: {
             name: this.editConfig.infomation.name,
             id: this.editConfig.infomation.id

--
Gitblit v1.8.0