谢杰标 2 năm trước cách đây
mục cha
commit
0a056e6af7
1 tập tin đã thay đổi với 10 bổ sung1 xóa
  1. 10 1
      src/views/Marketing/goods/commodityManageMent/index.vue

+ 10 - 1
src/views/Marketing/goods/commodityManageMent/index.vue

@@ -20,7 +20,11 @@
       rowKey="goodsId"
     >
       <template slot="customize">
-        <el-button size="medium" @click="handelCopy" type="success"
+        <el-button
+          size="medium"
+          v-if="isShowCopy"
+          @click="handelCopy"
+          type="success"
           >商品复制</el-button
         >
         <el-button size="medium" @click="handelBatch(1)" type="success"
@@ -708,6 +712,11 @@ export default {
       });
     },
   },
+  computed: {
+    isShowCopy() {
+      return sessionStorage.TenantId == "867735392558919680";
+    },
+  },
 };
 </script>