Commit c416660e by 杨树贤

附件上传限制问题

parent 590c09d1
...@@ -101,12 +101,12 @@ ...@@ -101,12 +101,12 @@
delete this.files[index]; delete this.files[index];
return false; return false;
} else { } else {
layer.msg('上传失败', {icon: 5}); layer.msg('上传失败:' + res.message, {icon: 5});
return false; return false;
} }
} }
, error: function (res) { , error: function (res) {
layer.msg('上传失败', {icon: 5}); layer.msg('上传失败:' + res.message, {icon: 5});
return false; return false;
} }
}); });
......
...@@ -70,12 +70,12 @@ ...@@ -70,12 +70,12 @@
$('#certificate_url').text(res.data[0]); $('#certificate_url').text(res.data[0]);
return false; return false;
} else { } else {
layer.msg('上传失败', {icon: 5}); layer.msg('上传失败,' + res.message, {icon: 5});
return false; return false;
} }
} }
, error: function (res) { , error: function (res) {
layer.msg('上传失败', {icon: 5}); layer.msg('上传失败:' + res.message, {icon: 5});
return false; return false;
} }
}); });
......
...@@ -46,12 +46,12 @@ ...@@ -46,12 +46,12 @@
$('#certificate_url').text(res.data[0]); $('#certificate_url').text(res.data[0]);
return false; return false;
} else { } else {
layer.msg('上传失败', {icon: 5}); layer.msg('上传失败:' + res.message, {icon: 5});
return false; return false;
} }
} }
, error: function (res) { , error: function (res) {
layer.msg('上传失败', {icon: 5}); layer.msg('上传失败:' + res.message, {icon: 5});
return false; return false;
} }
}); });
......
...@@ -375,7 +375,7 @@ ...@@ -375,7 +375,7 @@
1、在创建新的供应商前,请先查询该供应商是否已经存在。如果供应商已存在,则不允许新增。 1、在创建新的供应商前,请先查询该供应商是否已经存在。如果供应商已存在,则不允许新增。
</p> </p>
<p> <p>
2、附件上传支持小于20M的PDF/ZIP/JPG/PNG/BMP格式,每个类型允许上传多份; 2、附件上传支持小于10M的PDF/JPG/PNG/BMP格式,ZIP格式则小于20M,每个类型允许上传多份;
</p> </p>
<P> <P>
3、此处新增供应商基本信息以及配置跟进人,其他信息补全必须进入编辑页面; 3、此处新增供应商基本信息以及配置跟进人,其他信息补全必须进入编辑页面;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment