|
|
@@ -474,71 +474,19 @@
|
|
|
<el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button class="zap-button-plain" size="mini" type="text" @click="handleDetail(scope.row)" v-hasPermi="['credit:credit:query']">详情</el-button>
|
|
|
- <!--
|
|
|
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
|
|
|
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
|
|
|
- (融资方)融资开立+融资审批状态/平台审批拒绝||
|
|
|
- -->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleUpdate(scope.row)" v-hasPermi="['credit:credit:update']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
|
|
|
- ">修改</el-button>
|
|
|
- <!--融信状态待确权且为核心企业
|
|
|
- -->
|
|
|
- <el-button class="zap-button-confirmation" size="mini" type="text" @click="handleApprove(scope.row)" v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'" v-hasPermi="['credit:credit:approve']">确权</el-button>
|
|
|
- <!--原补充资料-->
|
|
|
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleAddInformation(scope.row)" v-hasPermi="['credit:credit:addInfor']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')">签收</el-button>
|
|
|
- <!--融资申请+融信状态待签收+融资企业
|
|
|
- 判断是否内部通过 审批中不可进入
|
|
|
- -->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleSignFor(scope.row)" v-hasPermi="['credit:credit:signFor']" v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'">签收</el-button>
|
|
|
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
|
|
|
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="handleRefuse(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:refuse']"
|
|
|
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
|
|
|
- >拒签</el-button> -->
|
|
|
- <!--生效-->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleGoFinance(scope.row)" v-hasPermi="['finance:record:add']" v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'">去融资</el-button>
|
|
|
- <!--(核心)核心开立:核心审批通过+其他状态为空||
|
|
|
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
|
|
|
- (融资方)融资开立:融资方通过+平台通过+其他为空||
|
|
|
- (核心)确权:融资方通过+核心通过+平台通过+待确权
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="seal(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:seal']"
|
|
|
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
|
|
|
- >盖章</el-button> -->
|
|
|
- <!--核心开立
|
|
|
- 类型为核心开立,状态为空,并且核心企业
|
|
|
- -->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">开立融信</el-button>
|
|
|
- <el-button size="mini" type="text" @click="refuse(scope.row)" v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
|
|
|
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
|
|
|
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">作废</el-button>
|
|
|
- <!--供应商开立
|
|
|
- 类型为供应商开立,状态为空,并且融资企业
|
|
|
- -->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">融信开立</el-button>
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleDelete(scope.row)" v-hasPermi="['credit:credit:del']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))">删除</el-button>
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleFlowable(scope.row)">查看流程</el-button>
|
|
|
+ <buttons-group
|
|
|
+ :scope="scope"
|
|
|
+ @handleDetail="handleDetail(scope.row)"
|
|
|
+ @handleUpdate="handleUpdate(scope.row)"
|
|
|
+ @handleApprove="handleApprove(scope.row)"
|
|
|
+ @handleAddInformation="handleAddInformation(scope.row)"
|
|
|
+ @handleSignFor="handleSignFor(scope.row)"
|
|
|
+ @handleGoFinance="handleGoFinance(scope.row)"
|
|
|
+ @seal="seal(scope.row)"
|
|
|
+ @refuse="refuse(scope.row)"
|
|
|
+ @handleDelete="handleDelete(scope.row)"
|
|
|
+ @handleFlowable="handleFlowable(scope.row)"
|
|
|
+ ></buttons-group>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -576,71 +524,19 @@
|
|
|
<el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button class="zap-button-plain" size="mini" type="text" @click="handleDetail(scope.row)" v-hasPermi="['credit:credit:query']">详情</el-button>
|
|
|
- <!--
|
|
|
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
|
|
|
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
|
|
|
- (融资方)融资开立+融资审批状态/平台审批拒绝||
|
|
|
- -->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleUpdate(scope.row)" v-hasPermi="['credit:credit:update']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
|
|
|
- ">修改</el-button>
|
|
|
- <!--融信状态待确权且为核心企业
|
|
|
- -->
|
|
|
- <el-button class="zap-button-confirmation" size="mini" type="text" @click="handleApprove(scope.row)" v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'" v-hasPermi="['credit:credit:approve']">确权</el-button>
|
|
|
- <!--原补充资料-->
|
|
|
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleAddInformation(scope.row)" v-hasPermi="['credit:credit:addInfor']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')">签收</el-button>
|
|
|
- <!--融资申请+融信状态待签收+融资企业
|
|
|
- 判断是否内部通过 审批中不可进入
|
|
|
- -->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleSignFor(scope.row)" v-hasPermi="['credit:credit:signFor']" v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'">签收</el-button>
|
|
|
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
|
|
|
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="handleRefuse(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:refuse']"
|
|
|
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
|
|
|
- >拒签</el-button> -->
|
|
|
- <!--生效-->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleGoFinance(scope.row)" v-hasPermi="['finance:record:add']" v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'">去融资</el-button>
|
|
|
- <!--(核心)核心开立:核心审批通过+其他状态为空||
|
|
|
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
|
|
|
- (融资方)融资开立:融资方通过+平台通过+其他为空||
|
|
|
- (核心)确权:融资方通过+核心通过+平台通过+待确权
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="seal(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:seal']"
|
|
|
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
|
|
|
- >盖章</el-button> -->
|
|
|
- <!--核心开立
|
|
|
- 类型为核心开立,状态为空,并且核心企业
|
|
|
- -->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">开立融信</el-button>
|
|
|
- <el-button class="zap-button-info" size="mini" type="text" @click="refuse(scope.row)" v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
|
|
|
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
|
|
|
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">作废</el-button>
|
|
|
- <!--供应商开立
|
|
|
- 类型为供应商开立,状态为空,并且融资企业
|
|
|
- -->
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">融信开立</el-button>
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleDelete(scope.row)" v-hasPermi="['credit:credit:del']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))">删除</el-button>
|
|
|
- <el-button class="zap-button-primary" size="mini" type="text" @click="handleFlowable(scope.row)">查看流程</el-button>
|
|
|
+ <buttons-group
|
|
|
+ :scope="scope"
|
|
|
+ @handleDetail="handleDetail(scope.row)"
|
|
|
+ @handleUpdate="handleUpdate(scope.row)"
|
|
|
+ @handleApprove="handleApprove(scope.row)"
|
|
|
+ @handleAddInformation="handleAddInformation(scope.row)"
|
|
|
+ @handleSignFor="handleSignFor(scope.row)"
|
|
|
+ @handleGoFinance="handleGoFinance(scope.row)"
|
|
|
+ @seal="seal(scope.row)"
|
|
|
+ @refuse="refuse(scope.row)"
|
|
|
+ @handleDelete="handleDelete(scope.row)"
|
|
|
+ @handleFlowable="handleFlowable(scope.row)"
|
|
|
+ ></buttons-group>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -679,83 +575,28 @@
|
|
|
<el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)" v-hasPermi="['credit:credit:query']">详情</el-button>
|
|
|
- <!--
|
|
|
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
|
|
|
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
|
|
|
- (融资方)融资开立+融资审批状态/平台审批拒绝||
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['credit:credit:update']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
|
|
|
- ">修改</el-button>
|
|
|
- <!--融信状态待确权且为核心企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleApprove(scope.row)" v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'" v-hasPermi="['credit:credit:approve']">确权</el-button>
|
|
|
- <!--原补充资料-->
|
|
|
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleAddInformation(scope.row)" v-hasPermi="['credit:credit:addInfor']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')">签收</el-button>
|
|
|
- <!--融资申请+融信状态待签收+融资企业
|
|
|
- 判断是否内部通过 审批中不可进入
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleSignFor(scope.row)" v-hasPermi="['credit:credit:signFor']" v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'">签收</el-button>
|
|
|
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
|
|
|
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="handleRefuse(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:refuse']"
|
|
|
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
|
|
|
- >拒签</el-button> -->
|
|
|
- <!--生效-->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleGoFinance(scope.row)" v-hasPermi="['finance:record:add']" v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'">去融资</el-button>
|
|
|
- <!--(核心)核心开立:核心审批通过+其他状态为空||
|
|
|
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
|
|
|
- (融资方)融资开立:融资方通过+平台通过+其他为空||
|
|
|
- (核心)确权:融资方通过+核心通过+平台通过+待确权
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="seal(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:seal']"
|
|
|
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
|
|
|
- >盖章</el-button> -->
|
|
|
- <!--核心开立
|
|
|
- 类型为核心开立,状态为空,并且核心企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">开立融信</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="refuse(scope.row)" v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
|
|
|
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
|
|
|
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">作废</el-button>
|
|
|
- <!--供应商开立
|
|
|
- 类型为供应商开立,状态为空,并且融资企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">融信开立</el-button>
|
|
|
- <!--
|
|
|
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
|
|
|
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
|
|
|
- (融资方)融资开立+融资审批状态/平台审批拒绝||
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['credit:credit:del']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))">删除</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-info" @click="handleFlowable(scope.row)">查看流程</el-button>
|
|
|
+ <buttons-group
|
|
|
+ :scope="scope"
|
|
|
+ @handleDetail="handleDetail(scope.row)"
|
|
|
+ @handleUpdate="handleUpdate(scope.row)"
|
|
|
+ @handleApprove="handleApprove(scope.row)"
|
|
|
+ @handleAddInformation="handleAddInformation(scope.row)"
|
|
|
+ @handleSignFor="handleSignFor(scope.row)"
|
|
|
+ @handleGoFinance="handleGoFinance(scope.row)"
|
|
|
+ @seal="seal(scope.row)"
|
|
|
+ @refuse="refuse(scope.row)"
|
|
|
+ @handleDelete="handleDelete(scope.row)"
|
|
|
+ @handleFlowable="handleFlowable(scope.row)"
|
|
|
+ ></buttons-group>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
-
|
|
|
+ <statistical-data>
|
|
|
+ <span class="label">总合计:<span class="value">{{rzzAmount}}</span></span>
|
|
|
+ <span class="label">融资中:{{rzzAmount}}</span>
|
|
|
+ </statistical-data>
|
|
|
<pagination v-show="totalFinancing>0" :total="totalFinancing" :page.sync="queryParamsFinancing.pageNum" :limit.sync="queryParamsFinancing.pageSize" @pagination="getListFinancing" />
|
|
|
- <span>总合计:{{rzzAmount}}</span>
|
|
|
- <span>融资中:{{rzzAmount}}</span>
|
|
|
+
|
|
|
</el-tab-pane>
|
|
|
<!--已融资-->
|
|
|
<el-tab-pane label="已融资">
|
|
|
@@ -785,78 +626,28 @@
|
|
|
<el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)" v-hasPermi="['credit:credit:query']">详情</el-button>
|
|
|
- <!--
|
|
|
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
|
|
|
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
|
|
|
- (融资方)融资开立+融资审批状态/平台审批拒绝||
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['credit:credit:update']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
|
|
|
- ">修改</el-button>
|
|
|
- <!--融信状态待确权且为核心企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleApprove(scope.row)" v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'" v-hasPermi="['credit:credit:approve']">确权</el-button>
|
|
|
- <!--原补充资料-->
|
|
|
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleAddInformation(scope.row)" v-hasPermi="['credit:credit:addInfor']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')">签收</el-button>
|
|
|
- <!--融资申请+融信状态待签收+融资企业
|
|
|
- 判断是否内部通过 审批中不可进入
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleSignFor(scope.row)" v-hasPermi="['credit:credit:signFor']" v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'">签收</el-button>
|
|
|
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
|
|
|
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="handleRefuse(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:refuse']"
|
|
|
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
|
|
|
- >拒签</el-button> -->
|
|
|
- <!--生效-->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleGoFinance(scope.row)" v-hasPermi="['finance:record:add']" v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'">去融资</el-button>
|
|
|
- <!--(核心)核心开立:核心审批通过+其他状态为空||
|
|
|
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
|
|
|
- (融资方)融资开立:融资方通过+平台通过+其他为空||
|
|
|
- (核心)确权:融资方通过+核心通过+平台通过+待确权
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="seal(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:seal']"
|
|
|
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
|
|
|
- >盖章</el-button> -->
|
|
|
- <!--核心开立
|
|
|
- 类型为核心开立,状态为空,并且核心企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">开立融信</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="refuse(scope.row)" v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
|
|
|
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
|
|
|
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">作废</el-button>
|
|
|
- <!--供应商开立
|
|
|
- 类型为供应商开立,状态为空,并且融资企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">融信开立</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['credit:credit:del']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))">删除</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-info" @click="handleFlowable(scope.row)">查看流程</el-button>
|
|
|
+ <buttons-group
|
|
|
+ :scope="scope"
|
|
|
+ @handleDetail="handleDetail(scope.row)"
|
|
|
+ @handleUpdate="handleUpdate(scope.row)"
|
|
|
+ @handleApprove="handleApprove(scope.row)"
|
|
|
+ @handleAddInformation="handleAddInformation(scope.row)"
|
|
|
+ @handleSignFor="handleSignFor(scope.row)"
|
|
|
+ @handleGoFinance="handleGoFinance(scope.row)"
|
|
|
+ @seal="seal(scope.row)"
|
|
|
+ @refuse="refuse(scope.row)"
|
|
|
+ @handleDelete="handleDelete(scope.row)"
|
|
|
+ @handleFlowable="handleFlowable(scope.row)"
|
|
|
+ ></buttons-group>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
-
|
|
|
+ <statistical-data>
|
|
|
+ <span class="label">总合计:<span class="value">{{yrzAmount}}</span></span>
|
|
|
+ <span class="label">已融资:{{yrzAmount}}</span>
|
|
|
+ </statistical-data>
|
|
|
<pagination v-show="totalFinanced>0" :total="totalFinanced" :page.sync="queryParamsFinanced.pageNum" :limit.sync="queryParamsFinanced.pageSize" @pagination="getListFinanced" />
|
|
|
- <span>总合计:{{yrzAmount}}</span>
|
|
|
- <span>已融资:{{yrzAmount}}</span>
|
|
|
+
|
|
|
</el-tab-pane>
|
|
|
<!--已拒绝-->
|
|
|
<el-tab-pane label="已拒绝">
|
|
|
@@ -886,78 +677,28 @@
|
|
|
<el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)" v-hasPermi="['credit:credit:query']">详情</el-button>
|
|
|
- <!--
|
|
|
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
|
|
|
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
|
|
|
- (融资方)融资开立+融资审批状态/平台审批拒绝||
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['credit:credit:update']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
|
|
|
- ">修改</el-button>
|
|
|
- <!--融信状态待确权且为核心企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleApprove(scope.row)" v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'" v-hasPermi="['credit:credit:approve']">确权</el-button>
|
|
|
- <!--原补充资料-->
|
|
|
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleAddInformation(scope.row)" v-hasPermi="['credit:credit:addInfor']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')">签收</el-button>
|
|
|
- <!--融资申请+融信状态待签收+融资企业
|
|
|
- 判断是否内部通过 审批中不可进入
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleSignFor(scope.row)" v-hasPermi="['credit:credit:signFor']" v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'">签收</el-button>
|
|
|
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
|
|
|
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="handleRefuse(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:refuse']"
|
|
|
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
|
|
|
- >拒签</el-button> -->
|
|
|
- <!--生效-->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleGoFinance(scope.row)" v-hasPermi="['finance:record:add']" v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'">去融资</el-button>
|
|
|
- <!--(核心)核心开立:核心审批通过+其他状态为空||
|
|
|
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
|
|
|
- (融资方)融资开立:融资方通过+平台通过+其他为空||
|
|
|
- (核心)确权:融资方通过+核心通过+平台通过+待确权
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="seal(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:seal']"
|
|
|
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
|
|
|
- >盖章</el-button> -->
|
|
|
- <!--核心开立
|
|
|
- 类型为核心开立,状态为空,并且核心企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">开立融信</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="refuse(scope.row)" v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
|
|
|
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
|
|
|
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">作废</el-button>
|
|
|
- <!--供应商开立
|
|
|
- 类型为供应商开立,状态为空,并且融资企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">融信开立</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['credit:credit:del']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))">删除</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-info" @click="handleFlowable(scope.row)">查看流程</el-button>
|
|
|
+ <buttons-group
|
|
|
+ :scope="scope"
|
|
|
+ @handleDetail="handleDetail(scope.row)"
|
|
|
+ @handleUpdate="handleUpdate(scope.row)"
|
|
|
+ @handleApprove="handleApprove(scope.row)"
|
|
|
+ @handleAddInformation="handleAddInformation(scope.row)"
|
|
|
+ @handleSignFor="handleSignFor(scope.row)"
|
|
|
+ @handleGoFinance="handleGoFinance(scope.row)"
|
|
|
+ @seal="seal(scope.row)"
|
|
|
+ @refuse="refuse(scope.row)"
|
|
|
+ @handleDelete="handleDelete(scope.row)"
|
|
|
+ @handleFlowable="handleFlowable(scope.row)"
|
|
|
+ ></buttons-group>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
-
|
|
|
+ <statistical-data>
|
|
|
+ <span class="label">总合计:<span class="value">{{yjjAmount}}</span></span>
|
|
|
+ <span class="label">已拒绝:{{yjjAmount}}</span>
|
|
|
+ </statistical-data>
|
|
|
<pagination v-show="totalInvalid>0" :total="totalInvalid" :page.sync="queryParamsInvalid.pageNum" :limit.sync="queryParamsInvalid.pageSize" @pagination="getListInvalid" />
|
|
|
- <span>总合计:{{yjjAmount}}</span>
|
|
|
- <span>已拒绝:{{yjjAmount}}</span>
|
|
|
+
|
|
|
</el-tab-pane>
|
|
|
<!--已结算-->
|
|
|
<el-tab-pane label="已结算">
|
|
|
@@ -987,78 +728,28 @@
|
|
|
<el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)" v-hasPermi="['credit:credit:query']">详情</el-button>
|
|
|
- <!--
|
|
|
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
|
|
|
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
|
|
|
- (融资方)融资开立+融资审批状态/平台审批拒绝||
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['credit:credit:update']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
|
|
|
- ">修改</el-button>
|
|
|
- <!--融信状态待确权且为核心企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleApprove(scope.row)" v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'" v-hasPermi="['credit:credit:approve']">确权</el-button>
|
|
|
- <!--原补充资料-->
|
|
|
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleAddInformation(scope.row)" v-hasPermi="['credit:credit:addInfor']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')">签收</el-button>
|
|
|
- <!--融资申请+融信状态待签收+融资企业
|
|
|
- 判断是否内部通过 审批中不可进入
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleSignFor(scope.row)" v-hasPermi="['credit:credit:signFor']" v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'">签收</el-button>
|
|
|
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
|
|
|
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="handleRefuse(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:refuse']"
|
|
|
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
|
|
|
- >拒签</el-button> -->
|
|
|
- <!--生效-->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleGoFinance(scope.row)" v-hasPermi="['finance:record:add']" v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'">去融资</el-button>
|
|
|
- <!--(核心)核心开立:核心审批通过+其他状态为空||
|
|
|
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
|
|
|
- (融资方)融资开立:融资方通过+平台通过+其他为空||
|
|
|
- (核心)确权:融资方通过+核心通过+平台通过+待确权
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="seal(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:seal']"
|
|
|
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
|
|
|
- >盖章</el-button> -->
|
|
|
- <!--核心开立
|
|
|
- 类型为核心开立,状态为空,并且核心企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">开立融信</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="refuse(scope.row)" v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
|
|
|
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
|
|
|
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">作废</el-button>
|
|
|
- <!--供应商开立
|
|
|
- 类型为供应商开立,状态为空,并且融资企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">融信开立</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['credit:credit:del']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))">删除</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-info" @click="handleFlowable(scope.row)">查看流程</el-button>
|
|
|
+ <buttons-group
|
|
|
+ :scope="scope"
|
|
|
+ @handleDetail="handleDetail(scope.row)"
|
|
|
+ @handleUpdate="handleUpdate(scope.row)"
|
|
|
+ @handleApprove="handleApprove(scope.row)"
|
|
|
+ @handleAddInformation="handleAddInformation(scope.row)"
|
|
|
+ @handleSignFor="handleSignFor(scope.row)"
|
|
|
+ @handleGoFinance="handleGoFinance(scope.row)"
|
|
|
+ @seal="seal(scope.row)"
|
|
|
+ @refuse="refuse(scope.row)"
|
|
|
+ @handleDelete="handleDelete(scope.row)"
|
|
|
+ @handleFlowable="handleFlowable(scope.row)"
|
|
|
+ ></buttons-group>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
-
|
|
|
+ <statistical-data>
|
|
|
+ <span class="label">总合计:<span class="value">{{yjsAmount}}</span></span>
|
|
|
+ <span class="label">已结算:{{yjsAmount}}</span>
|
|
|
+ </statistical-data>
|
|
|
<pagination v-show="totalSettlement>0" :total="totalSettlement" :page.sync="queryParamsSettlement.pageNum" :limit.sync="queryParamsSettlement.pageSize" @pagination="getListSettlement" />
|
|
|
- <span>总合计:{{yjsAmount}}</span>
|
|
|
- <span>已结算:{{yjsAmount}}</span>
|
|
|
+
|
|
|
</el-tab-pane>
|
|
|
<!--已过期-->
|
|
|
<el-tab-pane label="已过期">
|
|
|
@@ -1088,78 +779,28 @@
|
|
|
<el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)" v-hasPermi="['credit:credit:query']">详情</el-button>
|
|
|
- <!--
|
|
|
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
|
|
|
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
|
|
|
- (融资方)融资开立+融资审批状态/平台审批拒绝||
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['credit:credit:update']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
|
|
|
- ">修改</el-button>
|
|
|
- <!--融信状态待确权且为核心企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleApprove(scope.row)" v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'" v-hasPermi="['credit:credit:approve']">确权</el-button>
|
|
|
- <!--原补充资料-->
|
|
|
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleAddInformation(scope.row)" v-hasPermi="['credit:credit:addInfor']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')">签收</el-button>
|
|
|
- <!--融资申请+融信状态待签收+融资企业
|
|
|
- 判断是否内部通过 审批中不可进入
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleSignFor(scope.row)" v-hasPermi="['credit:credit:signFor']" v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'">签收</el-button>
|
|
|
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
|
|
|
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="handleRefuse(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:refuse']"
|
|
|
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
|
|
|
- >拒签</el-button> -->
|
|
|
- <!--生效-->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="handleGoFinance(scope.row)" v-hasPermi="['finance:record:add']" v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'">去融资</el-button>
|
|
|
- <!--(核心)核心开立:核心审批通过+其他状态为空||
|
|
|
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
|
|
|
- (融资方)融资开立:融资方通过+平台通过+其他为空||
|
|
|
- (核心)确权:融资方通过+核心通过+平台通过+待确权
|
|
|
- -->
|
|
|
- <!-- <el-button
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit"
|
|
|
- @click="seal(scope.row)"
|
|
|
- v-hasPermi="['credit:credit:seal']"
|
|
|
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
|
|
|
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
|
|
|
- >盖章</el-button> -->
|
|
|
- <!--核心开立
|
|
|
- 类型为核心开立,状态为空,并且核心企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">开立融信</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="refuse(scope.row)" v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
|
|
|
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
|
|
|
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">作废</el-button>
|
|
|
- <!--供应商开立
|
|
|
- 类型为供应商开立,状态为空,并且融资企业
|
|
|
- -->
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="seal(scope.row)" v-hasPermi="['credit:credit:seal']" v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)">融信开立</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['credit:credit:del']" v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
|
|
|
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))">删除</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-info" @click="handleFlowable(scope.row)">查看流程</el-button>
|
|
|
+ <buttons-group
|
|
|
+ :scope="scope"
|
|
|
+ @handleDetail="handleDetail(scope.row)"
|
|
|
+ @handleUpdate="handleUpdate(scope.row)"
|
|
|
+ @handleApprove="handleApprove(scope.row)"
|
|
|
+ @handleAddInformation="handleAddInformation(scope.row)"
|
|
|
+ @handleSignFor="handleSignFor(scope.row)"
|
|
|
+ @handleGoFinance="handleGoFinance(scope.row)"
|
|
|
+ @seal="seal(scope.row)"
|
|
|
+ @refuse="refuse(scope.row)"
|
|
|
+ @handleDelete="handleDelete(scope.row)"
|
|
|
+ @handleFlowable="handleFlowable(scope.row)"
|
|
|
+ ></buttons-group>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
-
|
|
|
+ <statistical-data>
|
|
|
+ <span class="label">总合计:<span class="value">{{ygqAmount}}</span></span>
|
|
|
+ <span class="label">已过期:{{ygqAmount}}</span>
|
|
|
+ </statistical-data>
|
|
|
<pagination v-show="totalOverdue>0" :total="totalOverdue" :page.sync="queryParamsOverdue.pageNum" :limit.sync="queryParamsOverdue.pageSize" @pagination="getListOverdue" />
|
|
|
- <span>总合计:{{ygqAmount}}</span>
|
|
|
- <span>已过期:{{ygqAmount}}</span>
|
|
|
+
|
|
|
</el-tab-pane>
|
|
|
<!-- 查看流程 -->
|
|
|
<el-dialog title="查看流程" :visible.sync="openFlowDetail" width="1120px" append-to-body>
|