|
@@ -320,9 +320,13 @@
|
|
|
report_cover_url = $(".cover-file").attr("href");
|
|
|
report_cover = $(".cover-file").text();
|
|
|
|
|
|
-
|
|
|
+ if(report_pdf==""||report_cover_url==""){
|
|
|
+ bootbox.alert("上传文件不能为空");
|
|
|
+ $($Obj).removeAttr("disabled");
|
|
|
+ return
|
|
|
+ }
|
|
|
//数据校验
|
|
|
- if (!(reportName && i_price && starttime && endtime && content)) {
|
|
|
+ if (!( i_price && starttime && endtime && content)) {
|
|
|
bootbox.alert("请输入完整信息");
|
|
|
$($Obj).removeAttr("disabled");
|
|
|
return
|