jufubao-admin-library 1.1.198 → 1.1.199

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -104,6 +104,7 @@ import tableCategory from "./components/table-category.vue";
104
104
  import XdStatTableGroup from "@/components/XdStatTableGroup.vue"
105
105
  import checkPermission from "@/utils/permission";
106
106
  import Role from "@/constant/modules/supplierStat";
107
+ import RoleProduct from "@/constant/modules/productStat";
107
108
  import selectDiscount from "./components/select-discount.vue";
108
109
  import { getOptions } from "@/utils/options";
109
110
  import statAllM from "./components/stat-all-m.vue"
@@ -123,6 +124,7 @@ export default {
123
124
  data() {
124
125
  return {
125
126
  Role,
127
+ RoleProduct,
126
128
  title: "",
127
129
  activeName: "supplier",
128
130
  siteList: [],
@@ -166,7 +168,7 @@ export default {
166
168
  return checkPermission([Role.productCategoryCycSales]);
167
169
  },
168
170
  isSelectProdDis(){
169
- return checkPermission([Role.getSelectedProdDiscounts]);
171
+ return checkPermission([RoleProduct.getSelectedProdDiscounts]);
170
172
  },
171
173
  has_tab() {
172
174
  return checkPermission([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-admin-library",
3
- "version": "1.1.198",
3
+ "version": "1.1.199",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {