|
@@ -855,6 +855,7 @@ import {
|
|
|
addCode,
|
|
addCode,
|
|
|
cashBack,
|
|
cashBack,
|
|
|
listBank,
|
|
listBank,
|
|
|
|
|
+ corporateTime
|
|
|
} from "@/api/system/authentication";
|
|
} from "@/api/system/authentication";
|
|
|
import { uploadFileNew } from "@/api/common/file";
|
|
import { uploadFileNew } from "@/api/common/file";
|
|
|
import { getToken, removeToken } from "@/utils/auth";
|
|
import { getToken, removeToken } from "@/utils/auth";
|
|
@@ -1170,8 +1171,21 @@ export default {
|
|
|
"handlerCard",
|
|
"handlerCard",
|
|
|
response.data.userCompany[0].sucrCard
|
|
response.data.userCompany[0].sucrCard
|
|
|
);
|
|
);
|
|
|
- if (response.data) {
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ corporateTime().then((response) => {
|
|
|
|
|
+ if(response.data=="01"){
|
|
|
|
|
+ this.$confirm(
|
|
|
|
|
+ "本次打款验证已失效,请重新核对对公账户后再次打款验证",
|
|
|
|
|
+ "提示",
|
|
|
|
|
+ {
|
|
|
|
|
+ confirmButtonText: "确认",
|
|
|
|
|
+ cancelButtonText: "关闭",
|
|
|
|
|
+ type: "warning",
|
|
|
|
|
+ }
|
|
|
|
|
+ ).then(() => {
|
|
|
|
|
+ });
|
|
|
|
|
+ this.active = 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
this.active = 2;
|
|
this.active = 2;
|
|
|
} else if (response.data.list.scyStatus == "04") {
|
|
} else if (response.data.list.scyStatus == "04") {
|
|
|
this.$set(this.form, "phone", response.data.user.userName);
|
|
this.$set(this.form, "phone", response.data.user.userName);
|
|
@@ -1501,20 +1515,17 @@ export default {
|
|
|
let fileObj = param.file; // 相当于input里取得的files
|
|
let fileObj = param.file; // 相当于input里取得的files
|
|
|
let fd = new FormData(); // FormData 对象
|
|
let fd = new FormData(); // FormData 对象
|
|
|
fd.append("file", fileObj); // 文件对象
|
|
fd.append("file", fileObj); // 文件对象
|
|
|
- fd.append("fileType", "00"); //文件类型
|
|
|
|
|
|
|
+ fd.append("fileType", "02"); //文件类型
|
|
|
const loading = this.$loading({
|
|
const loading = this.$loading({
|
|
|
lock: true,
|
|
lock: true,
|
|
|
text: "Loading",
|
|
text: "Loading",
|
|
|
spinner: "el-icon-loading",
|
|
spinner: "el-icon-loading",
|
|
|
background: "rgba(0, 0, 0, 0.7)",
|
|
background: "rgba(0, 0, 0, 0.7)",
|
|
|
});
|
|
});
|
|
|
- uploadFileNew(fd)
|
|
|
|
|
|
|
+ getCard(fd)
|
|
|
.then((response) => {
|
|
.then((response) => {
|
|
|
if (response) {
|
|
if (response) {
|
|
|
- this.fsfzfList.push({
|
|
|
|
|
- uid: response.fileId,
|
|
|
|
|
- url: response.url + "/" + getToken(),
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ this.$set(this.form, "fsfzfList", response.data.fsfzfList);
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
loading.close();
|
|
loading.close();
|
|
|
}, 2000);
|
|
}, 2000);
|
|
@@ -1568,20 +1579,17 @@ export default {
|
|
|
let fileObj = param.file; // 相当于input里取得的files
|
|
let fileObj = param.file; // 相当于input里取得的files
|
|
|
let fd = new FormData(); // FormData 对象
|
|
let fd = new FormData(); // FormData 对象
|
|
|
fd.append("file", fileObj); // 文件对象
|
|
fd.append("file", fileObj); // 文件对象
|
|
|
- fd.append("fileType", "00"); //文件类型
|
|
|
|
|
|
|
+ fd.append("fileType", "03"); //文件类型
|
|
|
const loading = this.$loading({
|
|
const loading = this.$loading({
|
|
|
lock: true,
|
|
lock: true,
|
|
|
text: "Loading",
|
|
text: "Loading",
|
|
|
spinner: "el-icon-loading",
|
|
spinner: "el-icon-loading",
|
|
|
background: "rgba(0, 0, 0, 0.7)",
|
|
background: "rgba(0, 0, 0, 0.7)",
|
|
|
});
|
|
});
|
|
|
- uploadFileNew(fd)
|
|
|
|
|
|
|
+ getCard(fd)
|
|
|
.then((response) => {
|
|
.then((response) => {
|
|
|
if (response) {
|
|
if (response) {
|
|
|
- this.jsfzfList.push({
|
|
|
|
|
- uid: response.fileId,
|
|
|
|
|
- url: response.url + "/" + getToken(),
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ this.$set(this.form, "jsfzfList", response.data.jsfzfList);
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
loading.close();
|
|
loading.close();
|
|
|
}, 2000);
|
|
}, 2000);
|
|
@@ -1770,13 +1778,10 @@ export default {
|
|
|
this.$message.error("融信协议未确认!");
|
|
this.$message.error("融信协议未确认!");
|
|
|
} else {
|
|
} else {
|
|
|
this.form.yyzzList = this.yyzzList;
|
|
this.form.yyzzList = this.yyzzList;
|
|
|
- this.form.fsfzfList = this.fsfzfList;
|
|
|
|
|
- this.form.jsfzfList = this.jsfzfList;
|
|
|
|
|
this.form.frsqsList = this.frsqsList;
|
|
this.form.frsqsList = this.frsqsList;
|
|
|
this.form.szzssqList = this.szzssqList;
|
|
this.form.szzssqList = this.szzssqList;
|
|
|
this.form.qtfjList = this.qtfjList;
|
|
this.form.qtfjList = this.qtfjList;
|
|
|
this.form.repeatToken = this.repeatToken;
|
|
this.form.repeatToken = this.repeatToken;
|
|
|
-
|
|
|
|
|
if (this.term) {
|
|
if (this.term) {
|
|
|
this.form.scyEndTime = "长期";
|
|
this.form.scyEndTime = "长期";
|
|
|
} else if (!this.form.scyEndTime) {
|
|
} else if (!this.form.scyEndTime) {
|
|
@@ -1872,17 +1877,19 @@ export default {
|
|
|
confirmButtonText: "打款认证",
|
|
confirmButtonText: "打款认证",
|
|
|
cancelButtonText: "关闭",
|
|
cancelButtonText: "关闭",
|
|
|
type: "warning",
|
|
type: "warning",
|
|
|
- }).then(() => {
|
|
|
|
|
- addAccount(this.form)
|
|
|
|
|
- .then((response) => {
|
|
|
|
|
- loading.close();
|
|
|
|
|
- this.msgSuccess("申请成功");
|
|
|
|
|
- this.active++;
|
|
|
|
|
- })
|
|
|
|
|
- .catch((response) => {
|
|
|
|
|
- loading.close();
|
|
|
|
|
- });
|
|
|
|
|
- }) .catch((response) => {
|
|
|
|
|
|
|
+ })
|
|
|
|
|
+ .then(() => {
|
|
|
|
|
+ addAccount(this.form)
|
|
|
|
|
+ .then((response) => {
|
|
|
|
|
+ loading.close();
|
|
|
|
|
+ this.msgSuccess("申请成功");
|
|
|
|
|
+ this.active++;
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch((response) => {
|
|
|
|
|
+ loading.close();
|
|
|
|
|
+ });
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch((response) => {
|
|
|
loading.close();
|
|
loading.close();
|
|
|
});
|
|
});
|
|
|
} else if (this.active == 2) {
|
|
} else if (this.active == 2) {
|