From 9834dbff448908d2008d8c52a2544aad00c099b1 Mon Sep 17 00:00:00 2001
From: haoyahui <2032914783@qq.com>
Date: 星期三, 22 十一月 2023 17:34:26 +0800
Subject: [PATCH] 库存盘点, 异常明细,报废管理

---
 admin-web/src/views/stock/inventorycount/inventorytask/index.vue |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/admin-web/src/views/stock/inventorycount/inventorytask/index.vue b/admin-web/src/views/stock/inventorycount/inventorytask/index.vue
index c137a58..4e02bcb 100644
--- a/admin-web/src/views/stock/inventorycount/inventorytask/index.vue
+++ b/admin-web/src/views/stock/inventorycount/inventorytask/index.vue
@@ -21,6 +21,7 @@
             @close="inventorySetting.show = false"
             @search="search"
           />
+          <detail v-if="inventoryDetail.show" :setting="inventoryDetail" @close="inventoryDetail.show = false" @search="search" />
         </el-card>
       </el-container>
     </el-container>
@@ -38,6 +39,7 @@
 import SettingIplatform from '@/utils/settingIplatform';
 import edit from './edit';
 import inventory from './inventory';
+import detail from './detail';
 import * as finsystenant from '@/api/baseSetting/finsystenant';
 import myImport from '@/views/components/myImport';
 import { getBaseUrl } from '@/utils/base';
@@ -48,7 +50,7 @@
 
 export default {
   name: 'index',
-  components: { MyButton, MyTableV2, edit, myImport, inventory },
+  components: { MyButton, MyTableV2, edit, myImport, inventory,detail },
   data() {
     return {
       // 鎼滅储妗�
@@ -122,6 +124,12 @@
         show: false,
       },
       inventorySetting: {
+        title: '',
+        id: '',
+        orgId: '',
+        show: false,
+      },
+      inventoryDetail:{
         title: '',
         id: '',
         orgId: '',
@@ -338,14 +346,14 @@
     showInventory(row) {
       this.inventorySetting.id = row.id;
       this.inventorySetting.info = JSON.stringify(row);
-      this.inventorySetting.title = '鐩樼偣';
+      this.inventorySetting.title = '鐩樼偣浠诲姟';
       this.inventorySetting.show = true;
     },
     showInventoryDetail(row) {
-      this.inventorySetting.id = row.id;
-      this.inventorySetting.info = JSON.stringify(row);
-      this.inventorySetting.title = '鐩樼偣';
-      this.inventorySetting.show = true;
+      this.inventoryDetail.id = row.id;
+      this.inventoryDetail.info = JSON.stringify(row);
+      this.inventoryDetail.title = '鐩樼偣璇︽儏';
+      this.inventoryDetail.show = true;
     },
     // 鏌ヨtable鍒楄〃
     search(pageNum) {

--
Gitblit v1.9.1