From 951b2c61a89da3110ea42f9dcd5850fbb3d75601 Mon Sep 17 00:00:00 2001
From: Renpc-kilig <308442850@qq.com>
Date: Sat, 15 May 2021 22:31:17 +0800
Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../resources/static/route/examcheck/update.html | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/static/route/examcheck/update.html b/src/main/resources/static/route/examcheck/update.html
index 64233bb..9344158 100644
--- a/src/main/resources/static/route/examcheck/update.html
+++ b/src/main/resources/static/route/examcheck/update.html
@@ -94,7 +94,7 @@
@@ -291,11 +291,16 @@
top.dialog.msg('退回原因必填');
return false;
}
+
+ if(null == formData.field.nextNum || '' == formData.field.nextNum || typeof(formData.field.nextNum) == "undefined") {
+ top.dialog.msg('下次提交审核时间必填');
+ return false;
+ }
+ var nextTime = new Date();
+ nextTime.setDate(nextTime.getDate() + $('#nextNum').val());
+ formData.field.nextCommitTime = nextTime.format("yyyy-MM-dd hh:mm:ss");
}
formData.field.planId = classPlanId;
- var nextTime = new Date();
- nextTime.setDate(nextTime.getDate() + $('#nextNum').val());
- formData.field.nextCommitTime = nextTime.format("yyyy-MM-dd hh:mm:ss");
top.dialog.confirm(top.dataMessage.commit, function(index) {
top.dialog.close(index);
var loadLayerIndex;