fix: 采购申请完结按钮不显示——v-else-if 被注释打断关联

- v-if 与 v-else-if 之间的 HTML 注释破坏 Vue 关联,导致完结按钮不渲染
- 移除注释,超管/库管在'已通过'单均显示完结按钮
This commit is contained in:
yueli
2026-09-01 16:18:07 +08:00
parent fbb4160787
commit 8c554fdd3b

View File

@ -58,7 +58,6 @@
<el-button type="success" link size="small" @click="handleApprove(it)">通过</el-button>
<el-button type="danger" link size="small" @click="openRejectDialog(it)">驳回</el-button>
</template>
<!-- ★ 已通过的采购申请:库管可手动完结 -->
<template v-else-if="it.status === 1 && canClose">
<el-button type="danger" plain link size="small" @click="handleCloseRequest(it)">完结</el-button>
</template>