吴羡
2 天以前 825172fe39308a3c8a36c4bece5aba7c8761b0db
src/views/business/reportPreparation/index.vue
@@ -165,7 +165,7 @@
            <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>
@@ -1060,6 +1060,9 @@
    },
    // 批准通过
    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('请至少为一个位置选择印章')