From ae798bf252168306309982be8562c161e97a640b Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 23 Oct 2025 17:18:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../card-replacement-apply/add-apply-form.vue | 6 ++++++ .../sub-count/detail/components/personInfo-card.vue | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/views/construction-person/attendance-manage/card-replacement-apply/add-apply-form.vue b/src/views/construction-person/attendance-manage/card-replacement-apply/add-apply-form.vue index 541a165..06659cb 100644 --- a/src/views/construction-person/attendance-manage/card-replacement-apply/add-apply-form.vue +++ b/src/views/construction-person/attendance-manage/card-replacement-apply/add-apply-form.vue @@ -305,6 +305,12 @@ export default { // 组装参数 const { repairMonth, repairRemark, fileList } = this.addParams + + if(this.tableData.length === 0) { + this.$modal.msgError('请至少选择一位补卡人员') + reject() + return + } const repairNum = this.tableData.length const formData = new FormData() const fileMsg = [] diff --git a/src/views/synthesize-query/sub-count/detail/components/personInfo-card.vue b/src/views/synthesize-query/sub-count/detail/components/personInfo-card.vue index 3684a3a..5fab61d 100644 --- a/src/views/synthesize-query/sub-count/detail/components/personInfo-card.vue +++ b/src/views/synthesize-query/sub-count/detail/components/personInfo-card.vue @@ -108,12 +108,12 @@ attendanceData.attNumHis }} -