|
|
@@ -491,6 +491,13 @@
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
+ icon="el-icon-edit"
|
|
|
+ @click="cancelFtp(scope.row)"
|
|
|
+ v-if="scope.row.zfrApproveStt == '01' && scope.row.zfrStatus == '04'"
|
|
|
+ >作废</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
icon="el-icon-info"
|
|
|
@click="handleFlowable(scope.row)"
|
|
|
v-if="scope.row.zfrApproveStt == '00' || scope.row.zfrApproveStt == '02'"
|
|
|
@@ -1083,6 +1090,7 @@ import {
|
|
|
delRecord,
|
|
|
addRecord,
|
|
|
updateRecord,
|
|
|
+ cancelContract,
|
|
|
examineApprove
|
|
|
} from "@/api/service/financeRecord/record";
|
|
|
import { uploadFileNew } from "@/api/common/file";
|
|
|
@@ -1866,6 +1874,30 @@ export default {
|
|
|
path: "/financeRecord/recordSeal/" + zfrId + "/"
|
|
|
});
|
|
|
},
|
|
|
+ //作废
|
|
|
+ cancelFtp(row) {
|
|
|
+ let form = {};
|
|
|
+ form.zfrId = row.zfrId;
|
|
|
+ this.$confirm('该笔融资将作废', "作废", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(function() {
|
|
|
+ return cancelContract(form);
|
|
|
+ }).then(() => {
|
|
|
+ this.getList();
|
|
|
+ this.getIngList();
|
|
|
+ this.getEndList();
|
|
|
+ this.getLoseList();
|
|
|
+ this.msgSuccess("作废成功");
|
|
|
+ }).catch(() => {
|
|
|
+ this.$message({
|
|
|
+ type: "warning",
|
|
|
+ message: "作废已取消",
|
|
|
+
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
/** 提交审批 */
|
|
|
handleApprove(row) {
|
|
|
this.$confirm("确认要提交审批吗?", {
|