fix: 草稿不允许查看

This commit is contained in:
dap 2025-03-19 15:40:17 +08:00
parent 18f2b84093
commit 9e4f886197

View File

@ -174,7 +174,12 @@ function handleInfo(row: Required<LeaveForm>) {
撤销
</ghost-button>
</Popconfirm>
<ghost-button @click="handleInfo(row)">详情</ghost-button>
<ghost-button
v-if="['draft'].includes(row.status)"
@click="handleInfo(row)"
>
详情
</ghost-button>
<Popconfirm
:get-popup-container="getVxePopupContainer"
placement="left"