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