|
@@ -111,14 +111,14 @@
|
|
|
if (obj == 2) {
|
|
|
<%--$("#inputForm").attr("action","${ctx}/ruralProject/ruralCostProjectMessageNew/holdSaveRecord");--%>
|
|
|
} else {
|
|
|
- // if (boolFlag) {
|
|
|
- // var gistdata = $("#file_attachment01 tr").length;
|
|
|
- // console.log('说明扫描件数量:' + gistdata)
|
|
|
- // if (gistdata === 0) {
|
|
|
- // top.layer.msg("请上传说明扫描件!", {icon: 0});
|
|
|
- // return false;
|
|
|
- // }
|
|
|
- // }
|
|
|
+ if (boolFlag) {
|
|
|
+ var gistdata = $("#file_attachment01 tr").length;
|
|
|
+ console.log('说明扫描件数量:' + gistdata)
|
|
|
+ if (gistdata === 0) {
|
|
|
+ top.layer.msg("请上传说明扫描件!", {icon: 0});
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
// var leng = $("#file_attachment tr").length;
|
|
|
// for (var i = 0; i < leng; i++) {
|