From 911d4700bd5db632fe27c231806ea040809b047a Mon Sep 17 00:00:00 2001 From: weikai <123456> Date: Tue, 2 Jun 2020 14:21:11 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90pc=E7=AB=AF=20-=20=E5=88=9D=E5=BF=83?= =?UTF-8?q?=E4=BA=92=E5=8A=A9-=E6=B4=BB=E5=8A=A8=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E3=80=91-=E3=80=90=E6=89=93=E5=8D=A1=E7=A7=AF=E5=88=86-?= =?UTF-8?q?=E5=89=8D=E7=AB=AFbug=E4=BF=AE=E6=94=B9=E3=80=91-=EF=BC=88?= =?UTF-8?q?=E9=AD=8F=E5=87=AF=EF=BC=89-2020/06/01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/heart/actuserclock-detail.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/modules/heart/actuserclock-detail.vue b/src/views/modules/heart/actuserclock-detail.vue index 284bee12..7e2c78c7 100644 --- a/src/views/modules/heart/actuserclock-detail.vue +++ b/src/views/modules/heart/actuserclock-detail.vue @@ -334,6 +334,10 @@ export default { if (!valid) { return false } + //进行下方打卡详情校验(至少要有一次记录) array == undefined || array.length <= 0 + if (this.dataList == undefined || this.dataList.length <= 0){ + return this.$message.error('请先确认打卡信息') + } if (this.dataForm.failureReason.length > 100) { return this.$message.error('处理意见不超过100字') }