tangning 2 rokov pred
rodič
commit
c0e7f697af

+ 1 - 1
src/views/account/product/data.tsx

@@ -131,7 +131,7 @@ export const columns: BasicColumn[] = [
     ifShow: true,
     fixed: 'right',
     flag: 'ACTION',
-    width: 260,
+    width: 280,
   },
 ];
 

+ 2 - 2
src/views/account/product/index.vue

@@ -46,7 +46,7 @@
               {
                 label: '解冻',
                 disabled: !record.isColdStorage || !(record.status == 1 || record.status == -2),
-                ifShow: getTypeCheckPerm('scenes-thaw') && tableType != 3,
+                ifShow: getTypeCheckPerm('scenes-thaw'),
                 onClick: handleColdStorage.bind(null, record),
               },
               {
@@ -258,7 +258,7 @@
           onOk: async () => {
             sceneRestStore({ num: record.num }).then(() => {
               message.success({
-                content: '删除成功',
+                content: '解冻成功',
               });
 
               reload();

+ 2 - 2
src/views/customer/scene.vue

@@ -44,7 +44,7 @@
               {
                 label: '解冻',
                 disabled: !record.isColdStorage || !(record.status == 1 || record.status == -2),
-                ifShow: getTypeCheckPerm('scenes-move') && tableType != 3,
+                ifShow: getTypeCheckPerm('customer-scenes-thaw'),
                 onClick: handleColdStorage.bind(null, record),
               },
               {
@@ -363,7 +363,7 @@
           onOk: async () => {
             sceneRestStore({ num: record.num }).then(() => {
               message.success({
-                content: '删除成功',
+                content: '解冻成功',
               });
 
               reload();

+ 3 - 3
src/views/productOperation/cameraScene.vue

@@ -54,7 +54,7 @@
               {
                 label: '解冻',
                 disabled: !record.isColdStorage || !(record.status == 1 || record.status == -2),
-                ifShow: getTypeCheckPerm('scenes-move') && tableType != 3,
+                ifShow: getTypeCheckPerm('scenes-thaw'),
                 onClick: handleColdStorage.bind(null, record),
               },
               {
@@ -298,7 +298,7 @@
             ifShow: true,
             fixed: 'right',
             flag: 'ACTION',
-            width: 260,
+            width: 280,
           },
         ];
       }
@@ -500,7 +500,7 @@
           onOk: async () => {
             sceneRestStore({ num: record.num }).then(() => {
               message.success({
-                content: '删除成功',
+                content: '解冻成功',
               });
 
               reload();