|
@@ -17,7 +17,7 @@
|
|
|
var originFileFlag = (files.length == 0 && fileName != '');
|
|
|
if (agentFlag == 1 && statementType == 4 && !originFileFlag) {
|
|
|
// 有代理商且选择了文件代理声明,且不是原文件
|
|
|
- if (files.value === '') {
|
|
|
+ if (files.length == '') {
|
|
|
alertx('请选择上传文件');
|
|
|
return;
|
|
|
}
|
|
@@ -299,7 +299,7 @@
|
|
|
<div class="controls">
|
|
|
<form:input path="statementFile.name" id="uploadFileName" placeholder="支持pdf、word、ppt" disabled="true" class="input-xlarge required" />
|
|
|
<div class="upload">
|
|
|
- <input type="file" name="file" id="statementFile" accept=".pdf,.word,.doc,.docx,.ppt">选择文件
|
|
|
+ <input type="file" name="file" id="statementFile" accept=".pdf,.doc,.ppt">选择文件
|
|
|
</div>
|
|
|
<div class="upload-loading" hidden>
|
|
|
<img alt="gif" src="/static/images/upload.gif" width="32px" border="none">
|