|
@@ -97,7 +97,7 @@
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-button type="success" @click="openTicket">选择</el-button>
|
|
|
- <el-button type="primary" icon="el-icon-plus" @click="addPay">新增应付账款</el-button>
|
|
|
+ <el-button type="primary" icon="el-icon-plus" @click="addPay">新增应收账款</el-button>
|
|
|
<el-button @click="deleteTicekt">清空全部</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
@@ -476,6 +476,21 @@ export default {
|
|
|
this.$set(this.form, "zfiAmount", "0.00");
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 表单重置
|
|
|
+ reset() {
|
|
|
+ this.form = {
|
|
|
+ openName: null,
|
|
|
+ zfiSupplierQuotaId: null,
|
|
|
+ receiveName: null,
|
|
|
+ zfiExpireDate: null,
|
|
|
+ zfiEffectiveDate: null,
|
|
|
+ zfiAmount: null,
|
|
|
+ };
|
|
|
+ this.zfpMinimumAmount= [];
|
|
|
+ this.checkTotalAmt =[];
|
|
|
+ this.checkTotalBigAmt =[];
|
|
|
+ this.ticketList =[];
|
|
|
+ },
|
|
|
//列表格式化金额
|
|
|
moneyFormat(row, column, cellValue) {
|
|
|
if (cellValue == null || cellValue == undefined || cellValue == "") {
|
|
@@ -976,6 +991,7 @@ export default {
|
|
|
console.log(_this,"this====>");
|
|
|
console.log(_this.$store,"this====>")
|
|
|
_this.msgSuccess("融信资料已提交企业内部审批");
|
|
|
+ _this.reset();
|
|
|
_this.$store.dispatch(
|
|
|
"tagsView/delView",
|
|
|
_this.$route
|
|
@@ -996,6 +1012,7 @@ export default {
|
|
|
console.log(_this,"this====>");
|
|
|
console.log(_this.$store,"this====>")
|
|
|
_this.msgSuccess("融信资料已提交企业内部审批");
|
|
|
+ _this.reset();
|
|
|
_this.$store.dispatch(
|
|
|
"tagsView/delView",
|
|
|
_this.$route
|
|
@@ -1018,6 +1035,7 @@ export default {
|
|
|
);
|
|
|
console.log(_this,"this====>");
|
|
|
console.log(_this.$store,"this====>")
|
|
|
+ _this.reset();
|
|
|
_this.$store.dispatch(
|
|
|
"tagsView/delView",
|
|
|
_this.$route
|
|
@@ -1026,6 +1044,7 @@ export default {
|
|
|
} else {
|
|
|
//未开启平台审批
|
|
|
//关闭当前页面
|
|
|
+ _this.reset();
|
|
|
_this.$store.dispatch(
|
|
|
"tagsView/delView",
|
|
|
_this.$route
|
|
@@ -1086,6 +1105,7 @@ export default {
|
|
|
debugger;
|
|
|
//当前用户不是经办人,返回到列表页
|
|
|
this.msgSuccess("融信资料已提交企业内部审批");
|
|
|
+ this.reset();
|
|
|
this.$store.dispatch("tagsView/delView", this.$route);
|
|
|
this.$router.go(-1);
|
|
|
} else {
|
|
@@ -1098,6 +1118,7 @@ export default {
|
|
|
//有融信开立内部审批
|
|
|
if (true == result) {
|
|
|
debugger;
|
|
|
+ this.reset();
|
|
|
this.msgSuccess("融信资料已提交企业内部审批");
|
|
|
this.$store.dispatch("tagsView/delView", this.$route);
|
|
|
this.$router.go(-1);
|
|
@@ -1116,18 +1137,22 @@ export default {
|
|
|
this.msgSuccess(
|
|
|
"融信资料已提交平台审核,平台审核时间为工作日:9:00—18:00;当日16:00之前提交资料,预计2小时内完成,请留意站内信息"
|
|
|
);
|
|
|
+ this.reset();
|
|
|
this.$store.dispatch(
|
|
|
"tagsView/delView",
|
|
|
this.$route
|
|
|
);
|
|
|
this.$router.go(-1);
|
|
|
+
|
|
|
} else {
|
|
|
//未开启平台审批
|
|
|
//关闭当前页面
|
|
|
+ this.reset();
|
|
|
this.$store.dispatch(
|
|
|
"tagsView/delView",
|
|
|
this.$route
|
|
|
);
|
|
|
+
|
|
|
//跳转盖章页面
|
|
|
Cookies.set(
|
|
|
"/credit/creditSeal/" + zfiId + "/",
|