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字') }