From 745815f637e5385b2cbc23a6ae02401bb8b6c675 Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期六, 08 三月 2025 14:22:36 +0800
Subject: [PATCH] 详情页面优化

---
 src/views/tigerprojects/bas/MaterialInfo/index.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/views/tigerprojects/bas/MaterialInfo/index.vue b/src/views/tigerprojects/bas/MaterialInfo/index.vue
index 28595b2..aa7b5a0 100644
--- a/src/views/tigerprojects/bas/MaterialInfo/index.vue
+++ b/src/views/tigerprojects/bas/MaterialInfo/index.vue
@@ -36,7 +36,7 @@
   import { onMounted, ref } from 'vue';
   import { getRoleButtons } from '/@/api/sys/menu';
   import { isNullOrEmpty } from '/@/utils/is';
-import { useUserStore } from '/@/store/modules/user';
+  import { useUserStore } from '/@/store/modules/user';
 
   const go = useGo();
   const { currentRoute } = useRouter();
@@ -100,7 +100,7 @@
             };
           }
         }
-        if(x['DO_METHOD'] == 'goRule'){
+        if (x['DO_METHOD'] == 'goRule') {
           _click = goRule.bind(null, record);
         }
         actionItem.push({
@@ -108,7 +108,7 @@
           onClick: _click,
           color: color,
           popConfirm: _popConfirm,
-          name: ''
+          name: '',
         });
       }
     });
@@ -156,7 +156,10 @@
       Title: `缂栬緫鐗╂枡鏉$爜瑙勫垯锛�${record['ITEM_CODE']}`,
       IsExist: 'RULE_CODE',
       IsID: false,
-      crudColSlots: {BAS_ITEM_CUST:['BAS_CUSTOMER1add', 'BAS_CODE_RULE1add']} /* 澧炲垹鏀硅〃鍗曞瓧娈电殑鎻掓Ы鍒楄〃锛屼竴鑸敤浜庡脊鍑洪�夋嫨妗嗘寜閽� */,
+      crudColSlots: {
+        BAS_ITEM_CUST: ['BAS_CUSTOMER1add', 'BAS_CODE_RULE1add'],
+      } /* 澧炲垹鏀硅〃鍗曞瓧娈电殑鎻掓Ы鍒楄〃锛屼竴鑸敤浜庡脊鍑洪�夋嫨妗嗘寜閽� */,
+      colSlotsInHigh: ['BAS_CODE_RULE1add'],
       drawers: [
         {
           name: 'BAS_ITEM_CUST',
@@ -171,7 +174,9 @@
     // 灏嗗璞¤浆鎹负JSON瀛楃涓插苟淇濆瓨鍒皊essionStorage
     sessionStorage.removeItem(`${id.SessionName}_params`);
     sessionStorage.setItem(`${id.SessionName}_params`, encodeURI(JSON.stringify(id)));
-    go(`/BAS_ITEM_CUST/High/${encodeURI(JSON.stringify({ sName: id.SessionName, Name: id.Name }))}`);
+    go(
+      `/BAS_ITEM_CUST/High/${encodeURI(JSON.stringify({ sName: id.SessionName, Name: id.Name }))}`,
+    );
   }
 
   onMounted(async () => {

--
Gitblit v1.9.3