瀏覽代碼

fix:库存统计点击商品成本查看详情

snow 1 年之前
父節點
當前提交
b8448c0f0f
共有 2 個文件被更改,包括 3 次插入6 次删除
  1. 3 5
      src/views/stock/stockCount/components/productWeido/index.vue
  2. 0 1
      src/views/stock/stockCount/index.vue

+ 3 - 5
src/views/stock/stockCount/components/productWeido/index.vue

@@ -162,16 +162,14 @@ export default {
   computed: {
     ...mapGetters(["tablebtnSize", "searchSize", "size"]),
     powers() {
-      const { btnList } = ths.$store.getters;
+      const { btnList } = this.$store.getters;
       const tran = btnList.find(item => item.menu_route == "stockCount") || {};
       const { action } = tran ?? {};
       return action ?? [];
     },
     goodCostPremission() {
-      const tran =
-        this.$store.getters.btnList.find(
-          item => item.menu_route == "goodsCost"
-        ) || {};
+      const { btnList } = this.$store.getters;
+      const tran = btnList.find(item => item.menu_route == "goodsCost") || {};
       const { action } = tran ?? {};
       return action ?? [];
     }

+ 0 - 1
src/views/stock/stockCount/index.vue

@@ -16,7 +16,6 @@
         </el-row>
       </div>
     </div>
-
     <div v-else>
       <no-auth />
     </div>