|
@@ -213,6 +213,14 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
+ @click="handleRefuse(scope.row)"
|
|
|
+ v-hasPermi="['credit:credit:refuse']"
|
|
|
+ v-if="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') "
|
|
|
+ >拒签</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-edit"
|
|
|
@click="handleGoFinance(scope.row)"
|
|
|
v-hasPermi="['finance:record:add']"
|
|
|
v-if="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
|
|
@@ -498,6 +506,14 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
+ @click="handleRefuse(scope.row)"
|
|
|
+ v-hasPermi="['credit:credit:refuse']"
|
|
|
+ v-if="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') "
|
|
|
+ >拒签</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-edit"
|
|
|
@click="handleGoFinance(scope.row)"
|
|
|
v-hasPermi="['credit:credit:goFinance']"
|
|
|
v-if="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
|
|
@@ -783,6 +799,14 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
+ @click="handleRefuse(scope.row)"
|
|
|
+ v-hasPermi="['credit:credit:refuse']"
|
|
|
+ v-if="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') "
|
|
|
+ >拒签</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-edit"
|
|
|
@click="handleGoFinance(scope.row)"
|
|
|
v-hasPermi="['credit:credit:goFinance']"
|
|
|
v-if="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
|
|
@@ -1068,6 +1092,14 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
+ @click="handleRefuse(scope.row)"
|
|
|
+ v-hasPermi="['credit:credit:refuse']"
|
|
|
+ v-if="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') "
|
|
|
+ >拒签</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-edit"
|
|
|
@click="handleGoFinance(scope.row)"
|
|
|
v-hasPermi="['credit:credit:goFinance']"
|
|
|
v-if="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
|
|
@@ -1353,6 +1385,14 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
+ @click="handleRefuse(scope.row)"
|
|
|
+ v-hasPermi="['credit:credit:refuse']"
|
|
|
+ v-if="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') "
|
|
|
+ >拒签</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-edit"
|
|
|
@click="handleGoFinance(scope.row)"
|
|
|
v-hasPermi="['credit:credit:goFinance']"
|
|
|
v-if="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
|
|
@@ -1638,6 +1678,14 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-edit"
|
|
|
+ @click="handleRefuse(scope.row)"
|
|
|
+ v-hasPermi="['credit:credit:refuse']"
|
|
|
+ v-if="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') "
|
|
|
+ >拒签</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-edit"
|
|
|
@click="handleGoFinance(scope.row)"
|
|
|
v-hasPermi="['credit:credit:goFinance']"
|
|
|
v-if="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
|
|
@@ -1715,6 +1763,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { listCredit, coreApproval, confirmationApproval, informationApproval,approval,openApproval, getUser } from "@/api/service/credit/credit";
|
|
|
+import {creditRefuse} from "@/api/service/credit/creditHandle";
|
|
|
import Editor from '@/components/Editor';
|
|
|
import Cookies from 'js-cookie'
|
|
|
export default {
|
|
@@ -2286,6 +2335,33 @@ export default {
|
|
|
Cookies.set("/credit/creditApply/", this.$route.fullPath);
|
|
|
this.$router.push({ path: "/credit/creditApply/" });
|
|
|
},
|
|
|
+ //拒签
|
|
|
+ handleRefuse(row){
|
|
|
+ const zfiNumber = row.zfiNumber ;
|
|
|
+ this.$confirm('是否拒签审批融信编号为"' + zfiNumber + '"的数据项?', "警告",{
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(function() {
|
|
|
+ //拒签
|
|
|
+ return creditRefuse(row);
|
|
|
+ }).then(() => {
|
|
|
+ this.getList();
|
|
|
+ this.getListSign();
|
|
|
+ this.getListFinancing();
|
|
|
+ this.getListOpening();
|
|
|
+ this.getListFinanced();
|
|
|
+ this.getListInvalid();
|
|
|
+ this.msgSuccess("拒签成功");
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.$message({
|
|
|
+ type: "warning",
|
|
|
+ message: "已取消",
|
|
|
+
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
//列表格式化金额
|
|
|
moneyFormat(row, column, cellValue) {
|
|
|
if(cellValue == null || cellValue== undefined || cellValue == ''){
|
|
@@ -2312,7 +2388,8 @@ export default {
|
|
|
return cellValue.replace(/(\d)(?=(\d{3})+\.)/g, function ($0, $1) {
|
|
|
return $1 + ',';
|
|
|
}).replace(/\.$/, '');
|
|
|
- }
|
|
|
+ },
|
|
|
+
|
|
|
|
|
|
|
|
|
}
|