lxf 1 년 전
부모
커밋
c35e02d014
1개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  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: {