Browse Source

Merge branch 'master' into 测试

lxf 1 year ago
parent
commit
b587e5b522
1 changed files with 7 additions and 4 deletions
  1. 7 4
      src/views/production/warehouse/outbound/index.vue

+ 7 - 4
src/views/production/warehouse/outbound/index.vue

@@ -11,10 +11,12 @@
             :searchConfig="searchConfig"
             highlight-current-row
             :action-list="[
-              // {
-              //   text: '出库登记',
-              //   action: () => clickModal(),
-              // },
+              status
+                ? {
+                    text: '出库登记',
+                    action: () => clickModal(),
+                  }
+                : {},
             ]"
             @get-list="getList"
             @clickReset="clickReset">
@@ -69,6 +71,7 @@ const sourceList = ref({
     endTime: "",
   },
 });
+const status = ref(proxy.useUserStore().user.userId === "1");
 const sourceListTwo = ref({
   data: [],
   pagination: {