|
@@ -669,7 +669,7 @@
|
|
|
clearable
|
|
|
remote
|
|
|
reserve-keyword
|
|
|
- placeholder="请选择银行姓名"
|
|
|
+ placeholder="请选择开户银行"
|
|
|
:remote-method="getBankList"
|
|
|
>
|
|
|
<el-option
|
|
@@ -1369,6 +1369,11 @@ export default {
|
|
|
//营业执照上传
|
|
|
yyzzRequest(param) {
|
|
|
let fileObj = param.file; // 相当于input里取得的files
|
|
|
+ const isLt2M = fileObj.size / 1024 / 1024 < 2;
|
|
|
+ if (!isLt2M) {
|
|
|
+ this.$message.error("上传图片大小不能超过 2MB!");
|
|
|
+ loading.close();
|
|
|
+ }
|
|
|
let fd = new FormData(); // FormData 对象
|
|
|
fd.append("file", fileObj); // 文件对象
|
|
|
const loading = this.$loading({
|
|
@@ -1410,6 +1415,11 @@ export default {
|
|
|
//法人身份证正面ocr识别
|
|
|
fsfzzRequest(param) {
|
|
|
let fileObj = param.file; // 相当于input里取得的files
|
|
|
+ const isLt2M = fileObj.size / 1024 / 1024 < 2;
|
|
|
+ if (!isLt2M) {
|
|
|
+ this.$message.error("上传图片大小不能超过 2MB!");
|
|
|
+ loading.close();
|
|
|
+ }
|
|
|
let fd = new FormData(); // FormData 对象
|
|
|
fd.append("file", fileObj); // 文件对象
|
|
|
fd.append("fileType", "00"); // 文件类型
|
|
@@ -1457,6 +1467,11 @@ export default {
|
|
|
//经办人身份证正面
|
|
|
jsfzzRequest(param) {
|
|
|
let fileObj = param.file; // 相当于input里取得的files
|
|
|
+ const isLt2M = fileObj.size / 1024 / 1024 < 2;
|
|
|
+ if (!isLt2M) {
|
|
|
+ this.$message.error("上传图片大小不能超过 2MB!");
|
|
|
+ loading.close();
|
|
|
+ }
|
|
|
let fd = new FormData(); // FormData 对象
|
|
|
fd.append("file", fileObj); // 文件对象
|
|
|
fd.append("fileType", "01"); // 文件类型
|