From dfcf1c54fe3cbfcd237f2baab8b4997225a232d3 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期三, 18 十月 2023 16:37:48 +0800
Subject: [PATCH] feat:  产品详情页,在库数量跳转到库存报表中,并且把商品带过去

---
 src/views/productManage/product/AddProductDialog.vue |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/views/productManage/product/AddProductDialog.vue b/src/views/productManage/product/AddProductDialog.vue
index d3b49a6..27f441a 100644
--- a/src/views/productManage/product/AddProductDialog.vue
+++ b/src/views/productManage/product/AddProductDialog.vue
@@ -39,6 +39,7 @@
           <FormBtnsView
             :add-product="addProduct"
             @inOutBoundClick="inOutBoundClick"
+            @inLibraryClick="inLibraryClick"
             :show-procure="showProcure"
             :countObject="statisticsMap"
             :show-sale="showSale"
@@ -729,6 +730,19 @@
         })
       }
     },
+    // 鍦ㄥ簱鐐瑰嚮
+    inLibraryClick(){
+      if (this.editConfig.title !== "鏂板缓") {
+        console.log(this.editConfig.infomation)
+        this.$router.push({
+          name: "inventoryReport",
+          params: {
+            name: this.editConfig.infomation.name,
+            id: this.editConfig.infomation.id
+          }
+        })
+      }
+    },
     // 鍙攢鍞�/鍙噰璐�
     checkboxChange(val, param) {
       if (val === "閲囪喘") {

--
Gitblit v1.8.0