Преглед на файлове

获取仓管员的时候角色id改为空

cz преди 2 години
родител
ревизия
ec7a5f2671
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/product-material/warehouse/index.vue

+ 1 - 1
src/views/product-material/warehouse/index.vue

@@ -142,7 +142,7 @@ export default {
       label: item.dictValue,
       value: item.dictKey,
     }));
-    getListByRole({ roleId: this.userInfo.role_id }).then((res) => {
+    getListByRole({ roleId: "" }).then((res) => {
       this.customerSelectList = res.data.data;
     });
     this.getList();