| | |
| | | <div v-else class="seal-position-empty">该位置不盖章</div> |
| | | </div> |
| | | </div> |
| | | <el-empty v-if="!sealLoading && sealOptions.length === 0" description="暂无启用印章,请先在印章管理中维护" :image-size="54" /> |
| | | <el-empty v-if="!sealLoading && sealOptions.length === 0" description="暂无启用印章,请先到「基础配置 → 印章管理」新增并启用印章" :image-size="54" /> |
| | | </div> |
| | | <template #footer><span class="dialog-footer"> |
| | | <el-button :disabled="loadingApprove" @click="approveReasonVisible = true">不批准</el-button> |
| | |
| | | }, |
| | | // 批准通过 |
| | | subApprove() { |
| | | if (!this.sealOptions.length) { |
| | | return this.$message.error('暂无启用的印章,请先到「基础配置 → 印章管理」新增并启用印章') |
| | | } |
| | | const selectedIds = Object.values(this.selectedSealPositions).filter(id => id != null) |
| | | if (!selectedIds.length) { |
| | | return this.$message.error('请至少为一个位置选择印章') |