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/warehouseManage/warehouse/index.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/views/warehouseManage/warehouse/index.vue b/src/views/warehouseManage/warehouse/index.vue
index 832163d..ced4d42 100644
--- a/src/views/warehouseManage/warehouse/index.vue
+++ b/src/views/warehouseManage/warehouse/index.vue
@@ -57,7 +57,8 @@
     setTable() {
       this.tableList = {
         tableInfomation: [],
-        selectBox: true,
+        selectBox: false,
+        selectIndex: true,
         showcol: this.showcol,
         allcol: [],
         tableColumn: this.setTableColumn(this.showcol)
@@ -82,7 +83,7 @@
         },
         {
           label: "搴撳瓨浣嶇疆",
-          prop: "deviceName",
+          prop: "warehouseLocation",
           isShowColumn: true,
           default: true
         },
@@ -125,21 +126,21 @@
     },
     // 琛岀偣鍑�
     tableRowClick(row) {
-      this.editConfig.visible = true
       this.editConfig.title = "缂栬緫"
       this.editConfig.infomation = { ...row }
+      this.editConfig.visible = true
     },
     // 鏂板缓
     addBtnClick() {
-      this.editConfig.visible = true
       this.editConfig.infomation={
         address:'',
-        buyToResupply:'',
+        buyToResupply:null,
         code:'',
         name:'',
         inboundTransportation:1,
         outboundTransportation:1,
       }
+      this.editConfig.visible = true
       this.editConfig.title = "鏂板缓"
     }
   }

--
Gitblit v1.8.0