financeRecord.vue 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601
  1. <template>
  2. <div class="app-container zap-main">
  3. <search-bar v-if="activeName === 'first'" :checkList="checkList" :tableList="tableList" :selfDom="selfDom" :tableId="tableId" @query="handleQuery" @reset="resetQuery">
  4. <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
  5. <el-form-item label="融信来源" prop="zfrTypes" size="large">
  6. <el-select v-model="queryParams.zfrTypes" clearable>
  7. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  8. </el-select>
  9. </el-form-item>
  10. <el-form-item label="类型" prop="zfrQuery" size="large">
  11. <el-select v-model="queryParams.zfrQuery" clearable>
  12. <el-option v-for="dict in adminQueryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  13. </el-select>
  14. </el-form-item>
  15. <el-form-item prop="zfrValue" v-if="this.queryParams.zfrQuery" size="large">
  16. <el-input v-model="queryParams.zfrValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  17. </el-form-item>
  18. <!-- <el-form-item label="融资状态" prop="zfrQueryStatus" size="large">
  19. <el-select v-model="queryParams.zfrQueryStatus" clearable>
  20. <el-option v-for="dict in queryStatusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  21. </el-select>
  22. </el-form-item> -->
  23. <el-form-item label="承诺还款日期" prop="zfrRepaymentDate" label-width="96px" size="large">
  24. <el-date-picker v-model="queryParams.zfrRepaymentDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
  25. </el-form-item>
  26. </el-form>
  27. </search-bar>
  28. <search-bar v-if="activeName === 'second'" :checkList="checkListOne" :tableList="tableListOne" :selfDom="selfDom" :tableId="tableIdOne" @query="handleQueryIng" @reset="resetQueryIng">
  29. <el-form :model="queryParamsIng" ref="queryFormIng" :inline="true" v-show="showSearch" label-width="68px">
  30. <el-form-item label="融信来源" prop="zfrTypes" size="large">
  31. <el-select v-model="queryParamsIng.zfrTypes" clearable>
  32. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  33. </el-select>
  34. </el-form-item>
  35. <el-form-item label="类型" prop="zfrQuery" size="large">
  36. <el-select v-model="queryParamsIng.zfrQuery" clearable>
  37. <el-option v-for="dict in adminQueryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  38. </el-select>
  39. </el-form-item>
  40. <el-form-item prop="zfrValue" v-if="this.queryParamsIng.zfrQuery" size="large">
  41. <el-input v-model="queryParamsIng.zfrValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  42. </el-form-item>
  43. <!-- <el-form-item label="融资状态" prop="zfrQueryStatus" size="large">
  44. <el-select v-model="queryParamsIng.zfrQueryStatus" clearable>
  45. <el-option v-for="dict in queryStatusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  46. </el-select>
  47. </el-form-item> -->
  48. <el-form-item label="承诺还款日期" prop="zfrRepaymentDate" size="large" label-width="96px">
  49. <el-date-picker v-model="queryParamsIng.zfrRepaymentDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
  50. </el-form-item>
  51. </el-form>
  52. </search-bar>
  53. <search-bar v-if="activeName === 'third'" :checkList="checkListTwo" :tableList="tableListTwo" :selfDom="selfDom" :tableId="tableIdTwo" @query="handleQueryEnd" @reset="resetQueryEnd">
  54. <el-form :model="queryParamsEnd" ref="queryFormEnd" :inline="true" v-show="showSearch" label-width="68px">
  55. <el-form-item label="融信来源" prop="zfrTypes" size="large">
  56. <el-select v-model="queryParamsEnd.zfrTypes" clearable>
  57. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  58. </el-select>
  59. </el-form-item>
  60. <el-form-item label="类型" prop="zfrQuery" size="large">
  61. <el-select v-model="queryParamsEnd.zfrQuery" clearable>
  62. <el-option v-for="dict in adminQueryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  63. </el-select>
  64. </el-form-item>
  65. <el-form-item prop="zfrValue" v-if="this.queryParamsEnd.zfrQuery" size="large">
  66. <el-input v-model="queryParamsEnd.zfrValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  67. </el-form-item>
  68. <!-- <el-form-item label="融资状态" prop="zfrQueryStatus" size="large">
  69. <el-select v-model="queryParamsEnd.zfrQueryStatus" clearable>
  70. <el-option v-for="dict in queryStatusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  71. </el-select>
  72. </el-form-item> -->
  73. <el-form-item label="承诺还款日期" prop="zfrRepaymentDate" size="large" label-width="96px">
  74. <el-date-picker v-model="queryParamsEnd.zfrRepaymentDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
  75. </el-form-item>
  76. </el-form>
  77. </search-bar>
  78. <search-bar v-if="activeName === 'fourth'" :checkList="checkListThree" :tableList="tableListThree" :selfDom="selfDom" :tableId="tableIdThree" @query="handleQueryLose" @reset="resetQueryLose">
  79. <el-form :model="queryParamsLose" ref="queryFormLose" :inline="true" v-show="showSearch" label-width="68px">
  80. <el-form-item label="融信来源" prop="zfrTypes" size="large">
  81. <el-select v-model="queryParamsLose.zfrTypes" clearable>
  82. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  83. </el-select>
  84. </el-form-item>
  85. <el-form-item label="类型" prop="zfrQuery" size="large">
  86. <el-select v-model="queryParamsLose.zfrQuery" clearable>
  87. <el-option v-for="dict in adminQueryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  88. </el-select>
  89. </el-form-item>
  90. <el-form-item prop="zfrValue" v-if="this.queryParamsLose.zfrQuery && this.queryParamsLose.zfrQuery != '03' " size="large">
  91. <el-input v-model="queryParamsLose.zfrValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  92. </el-form-item>
  93. <!-- <el-form-item label="融资状态" prop="zfrQueryStatus" size="large">
  94. <el-select v-model="queryParamsLose.zfrQueryStatus" clearable>
  95. <el-option v-for="dict in queryStatusOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  96. </el-select>
  97. </el-form-item> -->
  98. <el-form-item label="承诺还款日期" prop="zfrRepaymentDate" size="large" label-width="96px">
  99. <el-date-picker v-model="queryParamsLose.zfrRepaymentDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
  100. </el-form-item>
  101. </el-form>
  102. </search-bar>
  103. <el-row>
  104. <div class="zap-credit__tabs zap-credit__content">
  105. <div class="zap-credit__buttons">
  106. <el-button type="primary" icon="el-icon-plus" @click="handleAdd" v-hasPermi="['finance:record:add']">申请融资</el-button>
  107. </div>
  108. <el-tabs v-model="activeName" @tab-click="handleClick">
  109. <!-- 全部table页 -->
  110. <el-tab-pane label="全部" name="first">
  111. <el-table v-loading="loading" :data="recordList" @selection-change="handleSelectionChange" stripe border>
  112. <el-table-column label="序号" type="index" width="50" align="center">
  113. <template slot-scope="scope">
  114. <span>{{ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1 }}</span>
  115. </template>
  116. </el-table-column>
  117. <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner && (companyType == '00' || companyType == '02')" />
  118. <el-table-column label="融资编号" align="center" prop="zfrNumber" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrNumber" />
  119. <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (companyType == '01' || companyType == '00')" />
  120. <el-table-column label="开立方" align="center" prop="coreScyName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.coreScyName" />
  121. <el-table-column label="融资金额" :formatter="moneyFormat" align="center" prop="zfrAmount" :show-overflow-tooltip="true" v-if="uncheckList.zfrAmount" />
  122. <el-table-column label="融资利率(%)" align="center" prop="zfrRate" width="100" :show-overflow-tooltip="true" v-if="uncheckList.zfrRate" />
  123. <el-table-column label="经办人" align="center" prop="nickName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.nickName" />
  124. <el-table-column label="承诺还款日期" align="center" prop="zfrExpireDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrExpireDate" />
  125. <el-table-column label="融资申请日期" align="center" prop="zfrApplyDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrApplyDate" />
  126. <el-table-column label="实际放款金额" :formatter="moneyFormat" align="center" prop="zfrLoanAmount" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanAmount" />
  127. <el-table-column label="融资放款日期" align="center" prop="zfrLoanDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanDate" />
  128. <el-table-column label="内部审核" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && companyType == '02'" />
  129. <el-table-column label="融资状态" :formatter="statusFormat" align="center" prop="zfrStatus" :show-overflow-tooltip="true" v-if="uncheckList.zfrStatus" />
  130. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" fixed="right">
  131. <template slot-scope="scope">
  132. <el-button class="zap-button-plain" size="mini" @click="handleDetail(scope.row)" v-hasPermi="['finance:record:query']">详情</el-button>
  133. <el-button class="zap-button-primary" size="mini" type="primary" @click="handleLoan(scope.row)" v-hasPermi="['finance:record:edit']" v-if="scope.row.zfrStatus == '00' && (companyType =='00' || companyType =='03')">放款登记</el-button>
  134. <el-button class="zap-button-warning" size="mini" type="warning" @click="handleExport(scope.row)" v-hasPermi="['finance:record:export']">导出</el-button>
  135. <el-button class="zap-button-primary" size="mini" type="primary" @click="seal(scope.row)" v-hasPermi="['finance:record:seal']" v-if="scope.row.zfrApproveStt == '01' && scope.row.zfrStatus == '04'">融资</el-button>
  136. <el-button class="zap-button-info" size="mini" @click="cancelFtp(scope.row)" v-if="scope.row.zfrApproveStt == '01' && scope.row.zfrStatus == '04'">作废</el-button>
  137. <el-button class="zap-button-primary" size="mini" type="primary" @click="handleFlowable(scope.row)" v-if="scope.row.zfrApproveStt == '00' || scope.row.zfrApproveStt == '02'">进度</el-button>
  138. </template>
  139. </el-table-column>
  140. </el-table>
  141. <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
  142. </el-tab-pane>
  143. <!-- 融资中table页 -->
  144. <el-tab-pane label="融资中" name="second">
  145. <el-table v-loading="loadingIng" :data="recordIngList" @selection-change="handleSelectionChangeIng" stripe border>
  146. <el-table-column label="序号" type="index" width="50" align="center">
  147. <template slot-scope="scope">
  148. <span>{{(queryParamsIng.pageNum - 1) * queryParamsIng.pageSize +scope.$index + 1}}</span>
  149. </template>
  150. </el-table-column>
  151. <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner && (companyType == '00' || companyType == '02')" />
  152. <el-table-column label="融资编号" align="center" prop="zfrNumber" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrNumber" />
  153. <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (companyType == '01' || companyType == '00')" />
  154. <el-table-column label="开立方" align="center" prop="coreScyName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.coreScyName" />
  155. <el-table-column label="融资金额" :formatter="moneyFormat" align="center" prop="zfrAmount" :show-overflow-tooltip="true" v-if="uncheckList.zfrAmount" />
  156. <el-table-column label="融资利率(%)" align="center" prop="zfrRate" width="100" :show-overflow-tooltip="true" v-if="uncheckList.zfrRate" />
  157. <el-table-column label="经办人" align="center" prop="nickName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.nickName" />
  158. <el-table-column label="承诺还款日期" align="center" prop="zfrExpireDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrExpireDate" />
  159. <el-table-column label="融资申请日期" align="center" prop="zfrApplyDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrApplyDate" />
  160. <el-table-column label="实际放款金额" :formatter="moneyFormat" align="center" prop="zfrLoanAmount" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanAmount" />
  161. <el-table-column label="融资放款日期" align="center" prop="zfrLoanDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanDate" />
  162. <el-table-column label="内部审核" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && companyType == '02'" />
  163. <el-table-column label="融资状态" :formatter="statusFormat" align="center" prop="zfrStatus" :show-overflow-tooltip="true" v-if="uncheckList.zfrStatus" />
  164. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" fixed="right">
  165. <template slot-scope="scope">
  166. <el-button class="zap-button-plain" size="mini" @click="handleDetail(scope.row)" v-hasPermi="['finance:record:query']">详情</el-button>
  167. <el-button class="zap-button-primary" size="mini" @click="handleLoan(scope.row)" v-hasPermi="['finance:record:edit']" v-if="scope.row.zfrStatus == '00' &&(companyType =='00' || companyType =='03')">放款登记</el-button>
  168. <el-button class="zap-button-warning" size="mini" @click="handleExport(scope.row)" v-hasPermi="['finance:record:export']">导出</el-button>
  169. <el-button class="zap-button-primary" size="mini" @click="handleFlowable(scope.row)" v-if="scope.row.zfrApproveStt == '00' || scope.row.zfrApproveStt == '02'">进度</el-button>
  170. </template>
  171. </el-table-column>
  172. </el-table>
  173. <pagination v-show="totalIng > 0" :total="totalIng" :page.sync="queryParamsIng.pageNum" :limit.sync="queryParamsIng.pageSize" @pagination="getIngList" />
  174. </el-tab-pane>
  175. <!-- 已放款table页 -->
  176. <el-tab-pane label="已放款" name="third">
  177. <el-table v-loading="loadingEnd" :data="recordEndList" @selection-change="handleSelectionChange" stripe border>
  178. <el-table-column label="序号" type="index" width="50" align="center">
  179. <template slot-scope="scope">
  180. <span>{{ (queryParamsEnd.pageNum - 1) * queryParamsEnd.pageSize + scope.$index + 1 }}</span>
  181. </template>
  182. </el-table-column>
  183. <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner && (companyType == '00' || companyType == '02')" />
  184. <el-table-column label="融资编号" align="center" prop="zfrNumber" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrNumber" />
  185. <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (companyType == '01'|| companyType == '00')" />
  186. <el-table-column label="开立方" align="center" prop="coreScyName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.coreScyName" />
  187. <el-table-column label="融资金额" :formatter="moneyFormat" align="center" prop="zfrAmount" :show-overflow-tooltip="true" v-if="uncheckList.zfrAmount" />
  188. <el-table-column label="融资利率(%)" align="center" prop="zfrRate" width="100" :show-overflow-tooltip="true" v-if="uncheckList.zfrRate" />
  189. <el-table-column label="经办人" align="center" prop="nickName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.nickName" />
  190. <el-table-column label="承诺还款日期" align="center" prop="zfrExpireDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrExpireDate" />
  191. <el-table-column label="融资申请日期" align="center" prop="zfrApplyDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrApplyDate" />
  192. <el-table-column label="实际放款金额" :formatter="moneyFormat" align="center" prop="zfrLoanAmount" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanAmount" />
  193. <el-table-column label="融资放款日期" align="center" prop="zfrLoanDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanDate" />
  194. <el-table-column label="内部审核" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && companyType == '02'" />
  195. <el-table-column label="融资状态" :formatter="statusFormat" align="center" prop="zfrStatus" :show-overflow-tooltip="true" v-if="uncheckList.zfrStatus" />
  196. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" fixed="right">
  197. <template slot-scope="scope">
  198. <el-button class="zap-button-plain" size="mini" type="text" @click="handleDetail(scope.row)" v-hasPermi="['finance:record:query']">详情</el-button>
  199. <el-button class="zap-button-warning" size="mini" type="text" @click="handleExport(scope.row)" v-hasPermi="['finance:record:export']">导出</el-button>
  200. <el-button class="zap-button-primary" size="mini" type="text" @click="handleFlowable(scope.row)" v-if="scope.row.zfrApproveStt == '00' || scope.row.zfrApproveStt == '02'">进度</el-button>
  201. </template>
  202. </el-table-column>
  203. </el-table>
  204. <pagination v-show="totalEnd > 0" :total="totalEnd" :page.sync="queryParamsEnd.pageNum" :limit.sync="queryParamsEnd.pageSize" @pagination="getEndList" />
  205. </el-tab-pane>
  206. <!-- 融资失败table页 -->
  207. <el-tab-pane label="融资失败" name="fourth">
  208. <el-table v-loading="loadingLose" :data="recordLoseList" @selection-change="handleSelectionChange" stripe border>
  209. <el-table-column label="序号" type="index" width="50" align="center">
  210. <template slot-scope="scope">
  211. <span>{{ (queryParamsLose.pageNum - 1) * queryParamsLose.pageSize + scope.$index + 1}}</span>
  212. </template>
  213. </el-table-column>
  214. <el-table-column label="融信编号" align="center" prop="zfiNumner" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfiNumner && (companyType == '00' || companyType == '02')" />
  215. <el-table-column label="融资编号" align="center" prop="zfrNumber" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrNumber" />
  216. <el-table-column label="融资方" align="center" prop="supplierScyName" width="180" :show-overflow-tooltip="true" v-if="uncheckList.supplierScyName && (companyType == '01'|| companyType == '00')" />
  217. <el-table-column label="开立方" align="center" prop="coreScyName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.coreScyName" />
  218. <el-table-column label="融资金额" :formatter="moneyFormat" align="center" prop="zfrAmount" :show-overflow-tooltip="true" v-if="uncheckList.zfrAmount" />
  219. <el-table-column label="融资利率(%)" align="center" prop="zfrRate" width="100" :show-overflow-tooltip="true" v-if="uncheckList.zfrRate" />
  220. <el-table-column label="经办人" align="center" prop="nickName" width="100" :show-overflow-tooltip="true" v-if="uncheckList.nickName" />
  221. <el-table-column label="承诺还款日期" align="center" prop="zfrExpireDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrExpireDate" />
  222. <el-table-column label="融资申请日期" align="center" prop="zfrApplyDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrApplyDate" />
  223. <el-table-column label="实际放款金额" :formatter="moneyFormat" align="center" prop="zfrLoanAmount" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanAmount" />
  224. <el-table-column label="融资放款日期" align="center" prop="zfrLoanDate" width="180" :show-overflow-tooltip="true" v-if="uncheckList.zfrLoanDate" />
  225. <el-table-column label="内部审批" :formatter="approveFormat" align="center" prop="zfrApproveStt" :show-overflow-tooltip="true" v-if="uncheckList.zfrApproveStt && companyType == '02'" />
  226. <el-table-column label="融资状态" :formatter="statusFormat" align="center" prop="zfrStatus" :show-overflow-tooltip="true" v-if="uncheckList.zfrStatus" />
  227. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200" fixed="right">
  228. <template slot-scope="scope">
  229. <el-button class="zap-button-plain" size="mini" @click="handleDetail(scope.row)" v-hasPermi="['finance:record:query']">详情</el-button>
  230. <el-button class="zap-button-warning" size="mini" @click="handleExport(scope.row)" v-hasPermi="['finance:record:export']">导出</el-button>
  231. <el-button class="zap-button-primary" size="mini" @click="handleFlowable(scope.row)" v-if="scope.row.zfrApproveStt == '00' || scope.row.zfrApproveStt == '02'">进度</el-button>
  232. </template>
  233. </el-table-column>
  234. </el-table>
  235. <pagination v-show="totalLose > 0" :total="totalLose" :page.sync="queryParamsLose.pageNum" :limit.sync="queryParamsLose.pageSize" @pagination="getLoseList" />
  236. </el-tab-pane>
  237. <!-- 添加或修改融资记录对话框 -->
  238. <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
  239. <el-form ref="form" class="zap-form" :model="form" :rules="rules" label-width="auto">
  240. <el-form-item label="实际放款金额" prop="zfrLoanAmount">
  241. <el-input v-model="form.zfrLoanAmount" @input.native="changeRate($event,form.zfrLoanAmount)" placeholder="实际放款金额">
  242. <template slot="append">元</template>
  243. </el-input>
  244. </el-form-item>
  245. <el-form-item label="上传附件">
  246. <el-upload ref="upload" class="upload-demo" action :class="{ showUoload: showBtnImg, uoloadSty: noneBtnImg }" :on-change="dealImgChange" accept=".jpg, .jpeg, .png" :http-request="httpRequest" :on-preview="handlePictureCardPreview" :on-remove="handleRemove" :before-upload="beforeUpload" multiple :limit="1" :on-exceed="handleExceed" list-type="picture-card" :file-list="fileList" :auto-upload="true">
  247. <div slot="trigger" class="zap-contract-add__upload">
  248. <i class="el-icon-upload"></i>
  249. <div class="zap-upload__text">上传文件</div>
  250. </div>
  251. </el-upload>
  252. </el-form-item>
  253. <el-form-item label="融资id" prop="zfrId" label-width="90px" v-if="false">
  254. <el-input v-model="form.zfrId" style="width: 284px" />
  255. </el-form-item>
  256. <el-form-item label="融信id" prop="zfrFinanceId" label-width="90px" v-if="false">
  257. <el-input v-model="form.zfrFinanceId" style="width: 284px" />
  258. </el-form-item>
  259. </el-form>
  260. <el-row style="height: 109px;" type="flex" align="middle" justify="center">
  261. <el-button type="primary" plain="" @click="cancel">取 消</el-button>
  262. <el-button type="primary" @click="submitForm">确 定</el-button>
  263. <el-button type="danger" @click="submitRefuse(form.zfrId,form.zfrFinanceId)">拒绝放款</el-button>
  264. </el-row>
  265. </el-dialog>
  266. <el-dialog title="拒绝放款" :visible.sync="openRefuse" width="600px" append-to-body>
  267. <el-form ref="formRefuse" :model="formRefuse" :rules="rulesRefuse" label-width="auto">
  268. <el-form-item label="拒绝放款原因" prop="zfrReason">
  269. <el-input v-model="formRefuse.zfrReason" maxlength="50" show-word-limit type="textarea" placeholder="请输入审批意见" />
  270. </el-form-item>
  271. </el-form>
  272. <el-row style="height: 109px;" type="flex" align="middle" justify="center">
  273. <el-button type="primary" plain="" @click="cancelRefuse">取 消</el-button>
  274. <el-button type="primary" @click="submitFormRefuse">确 定</el-button>
  275. </el-row>
  276. </el-dialog>
  277. <el-dialog :visible.sync="dialogVisible">
  278. <img width="100%" :src="dialogImageUrl" alt />
  279. </el-dialog>
  280. <!--查看内部审批流程-->
  281. <el-dialog title="流程进度" :visible.sync="hisTaskForm">
  282. <div class="zap-form">
  283. <el-steps direction="vertical" :active="histaskList[histaskList.length-1] && histaskList[histaskList.length-1].endTime !=null ? histaskList.length : histaskList.length-1" finish-status="success" space="60px">
  284. <el-step :title="item.name" v-for="(item,index) in histaskList" :key="index">
  285. <template slot="description">
  286. <span v-if="item.activityType == 'userTask'">办理人: {{item.displayName}}</span> 节点名称: {{item.activityName}} 任务接收时间 {{parseTime(new Date(item.startTime), '{y}-{m}-{d} {h}:{i}:{s}')}} {{item.endTime?'任务办结时间' + parseTime(new Date(item.endTime), '{y}-{m}-{d} {h}:{i}:{s}'):''}}
  287. <div v-for="(comment,index) in item.commentList" class="text item" :key="index">
  288. {{'审批意见: ' + comment.message }}
  289. </div>
  290. </template>
  291. </el-step>
  292. </el-steps>
  293. </div>
  294. <div slot="footer" class="dialog-footer">
  295. <el-button @click="hisTaskForm = false">关 闭</el-button>
  296. </div>
  297. </el-dialog>
  298. </el-tabs>
  299. </div>
  300. </el-row>
  301. </div>
  302. </template>
  303. <script>
  304. import {
  305. listRecord,
  306. getRecord,
  307. delRecord,
  308. addRecord,
  309. updateRecord,
  310. cancelContract,
  311. examineApprove
  312. } from "@/api/service/financeRecord/record";
  313. import {
  314. uploadFileNew
  315. } from "@/api/common/file";
  316. import Cookies from "js-cookie";
  317. import {
  318. getToken
  319. } from "@/utils/auth";
  320. import {
  321. columnQuery
  322. } from "@/api/common/columnSetting";
  323. import ColumnSetting from "../../../components/Table/columnSetting.vue";
  324. import {
  325. getUserProfile
  326. } from "@/api/system/user";
  327. import {
  328. approvalProcess
  329. } from "@/api/service/credit/approvalRelatedCredit";
  330. import SearchBar from '@/components/SearchBar/index.vue'
  331. export default {
  332. name: "finaceRecord",
  333. components: {
  334. ColumnSetting,
  335. SearchBar
  336. },
  337. data() {
  338. return {
  339. //企业Id
  340. companyId: null,
  341. //企业类型
  342. companyType: null,
  343. //上传使用
  344. dialogImageUrl: "",
  345. dialogVisible: false,
  346. //附件按钮
  347. showBtnImg: true,
  348. noneBtnImg: false,
  349. limitCountImg: 1,
  350. // 遮罩层
  351. loading: true,
  352. loadingIng: true,
  353. loadingEnd: true,
  354. loadingLose: true,
  355. // 选中数组
  356. ids: [],
  357. // 非单个禁用
  358. single: true,
  359. // 非多个禁用
  360. multiple: true,
  361. // 显示搜索条件
  362. showSearch: true,
  363. // 总条数
  364. total: 0,
  365. totalIng: 0,
  366. totalEnd: 0,
  367. totalLose: 0,
  368. // 全部融资记录表格数据
  369. recordList: [],
  370. // 融资中融资记录表格数据
  371. recordIngList: [],
  372. // 已放款融资记录表格数据
  373. recordEndList: [],
  374. // 融资失败融资记录表格数据
  375. recordLoseList: [],
  376. //附件地址
  377. fileList: [],
  378. //融资状态数据字典
  379. statusOptions: [],
  380. //内部审批状态
  381. approveOptions: [],
  382. //筛选条件数据字典
  383. typesOptions: [],
  384. queryOptions: [],
  385. adminQueryOptions: [],
  386. queryStatusOptions: [],
  387. // 弹出层标题
  388. title: "",
  389. // 是否显示弹出层
  390. open: false,
  391. openRefuse: false,
  392. // 查询参数
  393. queryParams: {
  394. pageNum: 1,
  395. pageSize: 10,
  396. zfrFinanceId: null,
  397. zfrNumber: null,
  398. zfrAmount: null,
  399. zfrRate: null,
  400. zfrHandler: null,
  401. zfrRepaymentDate: [],
  402. zfrApplyDate: null,
  403. zfrLoanDate: null,
  404. zfrApplyAmount: null,
  405. zfrApplyType: null,
  406. zfrStatus: null,
  407. zfrApproveStt: null,
  408. zfrTypes: "00",
  409. zfrQuery: null,
  410. zfrValue: null,
  411. // zfrQueryStatus: '05'
  412. },
  413. queryParamsIng: {
  414. pageNum: 1,
  415. pageSize: 10,
  416. zfrFinanceId: null,
  417. zfrNumber: null,
  418. zfrAmount: null,
  419. zfrRate: null,
  420. zfrHandler: null,
  421. zfrRepaymentDate: [],
  422. zfrApplyDate: null,
  423. zfrLoanDate: null,
  424. zfrApplyAmount: null,
  425. zfrApplyType: null,
  426. zfrStatus: null,
  427. zfrApproveStt: null,
  428. zfrTypes: "00",
  429. zfrQuery: null,
  430. zfrValue: null,
  431. // zfrQueryStatus: '05'
  432. },
  433. queryParamsEnd: {
  434. pageNum: 1,
  435. pageSize: 10,
  436. zfrFinanceId: null,
  437. zfrNumber: null,
  438. zfrAmount: null,
  439. zfrRate: null,
  440. zfrHandler: null,
  441. zfrRepaymentDate: [],
  442. zfrApplyDate: null,
  443. zfrLoanDate: null,
  444. zfrApplyAmount: null,
  445. zfrApplyType: null,
  446. zfrStatus: null,
  447. zfrApproveStt: null,
  448. zfrTypes: "00",
  449. zfrQuery: null,
  450. zfrValue: null,
  451. // zfrQueryStatus: '05'
  452. },
  453. queryParamsLose: {
  454. pageNum: 1,
  455. pageSize: 10,
  456. zfrFinanceId: null,
  457. zfrNumber: null,
  458. zfrAmount: null,
  459. zfrRate: null,
  460. zfrHandler: null,
  461. zfrRepaymentDate: [],
  462. zfrApplyDate: null,
  463. zfrLoanDate: null,
  464. zfrApplyAmount: null,
  465. zfrApplyType: null,
  466. zfrStatus: null,
  467. zfrApproveStt: null,
  468. zfrTypes: "00",
  469. zfrQuery: null,
  470. zfrValue: null,
  471. // zfrQueryStatus: '05'
  472. },
  473. // 表单参数
  474. form: {},
  475. formRefuse: {},
  476. //筛选按钮的数据列表,与table表头的数据一致 --显示隐藏列用--全部
  477. tableList: [{
  478. label: "zfiNumner",
  479. value: "融信编号"
  480. },
  481. {
  482. label: "zfrNumber",
  483. value: "融资编号"
  484. },
  485. {
  486. label: "supplierScyName",
  487. value: "融资方"
  488. },
  489. {
  490. label: "coreScyName",
  491. value: "开立方"
  492. },
  493. {
  494. label: "zfrAmount",
  495. value: "融资金额"
  496. },
  497. {
  498. label: "zfrRate",
  499. value: "融资利率"
  500. },
  501. {
  502. label: "nickName",
  503. value: "经办人"
  504. },
  505. {
  506. label: "zfrExpireDate",
  507. value: "承诺还款日期"
  508. },
  509. {
  510. label: "zfrApplyDate",
  511. value: "融资申请日期"
  512. },
  513. {
  514. label: "zfrLoanAmount",
  515. value: "实际放款金额"
  516. },
  517. {
  518. label: "zfrLoanDate",
  519. value: "融资放款日期"
  520. },
  521. {
  522. label: "zfrStatus",
  523. value: "融资状态"
  524. },
  525. {
  526. label: "zfrApproveStt",
  527. value: "审批状态"
  528. }
  529. ],
  530. checkList: [], //筛选列选中的数据列表--显示隐藏列用
  531. uncheckList: {}, //控制筛选列显示隐藏--显示隐藏列用
  532. firstSet: false,
  533. tableId: "/sc-service/financeRecord/list/all",
  534. //融资中
  535. tableListOne: [{
  536. label: "zfiNumner",
  537. value: "融信编号"
  538. },
  539. {
  540. label: "zfrNumber",
  541. value: "融资编号"
  542. },
  543. {
  544. label: "supplierScyName",
  545. value: "融资方"
  546. },
  547. {
  548. label: "coreScyName",
  549. value: "开立方"
  550. },
  551. {
  552. label: "zfrAmount",
  553. value: "融资金额"
  554. },
  555. {
  556. label: "zfrRate",
  557. value: "融资利率"
  558. },
  559. {
  560. label: "nickName",
  561. value: "经办人"
  562. },
  563. {
  564. label: "zfrExpireDate",
  565. value: "承诺还款日期"
  566. },
  567. {
  568. label: "zfrApplyDate",
  569. value: "融资申请日期"
  570. },
  571. {
  572. label: "zfrLoanAmount",
  573. value: "实际放款金额"
  574. },
  575. {
  576. label: "zfrLoanDate",
  577. value: "融资放款日期"
  578. },
  579. {
  580. label: "zfrStatus",
  581. value: "融资状态"
  582. },
  583. {
  584. label: "zfrApproveStt",
  585. value: "审批状态"
  586. }
  587. ],
  588. checkListOne: [], //筛选列选中的数据列表--显示隐藏列用
  589. uncheckListOne: {}, //控制筛选列显示隐藏--显示隐藏列用
  590. firstSetOne: false,
  591. tableIdOne: "/sc-service/financeRecord/list/one",
  592. //已放款
  593. tableListTwo: [{
  594. label: "zfiNumner",
  595. value: "融信编号"
  596. },
  597. {
  598. label: "zfrNumber",
  599. value: "融资编号"
  600. },
  601. {
  602. label: "supplierScyName",
  603. value: "融资方"
  604. },
  605. {
  606. label: "coreScyName",
  607. value: "开立方"
  608. },
  609. {
  610. label: "zfrAmount",
  611. value: "融资金额"
  612. },
  613. {
  614. label: "zfrRate",
  615. value: "融资利率"
  616. },
  617. {
  618. label: "nickName",
  619. value: "经办人"
  620. },
  621. {
  622. label: "zfrExpireDate",
  623. value: "承诺还款日期"
  624. },
  625. {
  626. label: "zfrApplyDate",
  627. value: "融资申请日期"
  628. },
  629. {
  630. label: "zfrLoanAmount",
  631. value: "实际放款金额"
  632. },
  633. {
  634. label: "zfrLoanDate",
  635. value: "融资放款日期"
  636. },
  637. {
  638. label: "zfrStatus",
  639. value: "融资状态"
  640. },
  641. {
  642. label: "zfrApproveStt",
  643. value: "审批状态"
  644. }
  645. ],
  646. checkListTwo: [], //筛选列选中的数据列表--显示隐藏列用
  647. uncheckListTwo: {}, //控制筛选列显示隐藏--显示隐藏列用
  648. firstSetTwo: false,
  649. tableIdTwo: "/sc-service/financeRecord/list/two",
  650. //放款失败
  651. tableListThree: [{
  652. label: "zfiNumner",
  653. value: "融信编号"
  654. },
  655. {
  656. label: "zfrNumber",
  657. value: "融资编号"
  658. },
  659. {
  660. label: "supplierScyName",
  661. value: "融资方"
  662. },
  663. {
  664. label: "coreScyName",
  665. value: "开立方"
  666. },
  667. {
  668. label: "zfrAmount",
  669. value: "融资金额"
  670. },
  671. {
  672. label: "zfrRate",
  673. value: "融资利率"
  674. },
  675. {
  676. label: "nickName",
  677. value: "经办人"
  678. },
  679. {
  680. label: "zfrExpireDate",
  681. value: "承诺还款日期"
  682. },
  683. {
  684. label: "zfrApplyDate",
  685. value: "融资申请日期"
  686. },
  687. {
  688. label: "zfrLoanAmount",
  689. value: "实际放款金额"
  690. },
  691. {
  692. label: "zfrLoanDate",
  693. value: "融资放款日期"
  694. },
  695. {
  696. label: "zfrStatus",
  697. value: "融资状态"
  698. },
  699. {
  700. label: "zfrApproveStt",
  701. value: "审批状态"
  702. }
  703. ],
  704. checkListThree: [], //筛选列选中的数据列表--显示隐藏列用
  705. uncheckListThree: {}, //控制筛选列显示隐藏--显示隐藏列用
  706. firstSetThree: false,
  707. tableIdThree: "/sc-service/financeRecord/list/three",
  708. // 表单校验
  709. rules: {
  710. zfrLoanAmount: [{
  711. required: true,
  712. message: "放款金额不能为空",
  713. trigger: ["blur", "change"],
  714. },
  715. {
  716. pattern: /^(?:0|[1-9]\d{0,8})(?:\.\d{1,2})?$/,
  717. message: "请输入正确的金额",
  718. trigger: ["blur", "change"],
  719. },
  720. ]
  721. },
  722. rulesRefuse: {
  723. zfrReason: [{
  724. required: true,
  725. message: "拒绝放款原因不能为空",
  726. trigger: ["blur", "change"],
  727. }]
  728. },
  729. selfDom: this,
  730. activeName: "first",
  731. //审批
  732. hisTaskForm: false,
  733. histaskList: []
  734. };
  735. },
  736. created() {
  737. this.getDicts("ser_zfr_status").then(response => {
  738. this.statusOptions = response.data;
  739. });
  740. this.getDicts("zc_zfr_types").then(response => {
  741. this.typesOptions = response.data;
  742. });
  743. this.getDicts("zc_zfr_query").then(response => {
  744. this.queryOptions = response.data;
  745. });
  746. this.getDicts("ser_zfr_query").then(response => {
  747. this.adminQueryOptions = response.data;
  748. });
  749. this.getDicts("zc_zfr_approve_stt").then(response => {
  750. this.approveOptions = response.data;
  751. });
  752. this.getDicts("zc_zfr_queryStatus").then(response => {
  753. this.queryStatusOptions = response.data;
  754. });
  755. this.getList().then(() => {
  756. getUserProfile().then(response => {
  757. console.log(this.companyType)
  758. if ("00" == response.data.companyType) {
  759. this.queryParams.zfrQuery = "02";
  760. } else if ("01" == response.data.companyType) {
  761. this.queryParams.zfrQuery = "04";
  762. } else if ("02" == response.data.companyType) {
  763. this.queryParams.zfrQuery = "00";
  764. }
  765. });
  766. });
  767. this.getIngList().then(() => {
  768. getUserProfile().then(response => {
  769. if ("00" == response.data.companyType) {
  770. this.queryParamsIng.zfrQuery = "02";
  771. } else if ("01" == response.data.companyType) {
  772. this.queryParamsIng.zfrQuery = "04";
  773. } else if ("02" == response.data.companyType) {
  774. this.queryParamsIng.zfrQuery = "00";
  775. }
  776. });
  777. });
  778. this.getEndList().then(() => {
  779. getUserProfile().then(response => {
  780. if ("00" == response.data.companyType) {
  781. this.queryParamsEnd.zfrQuery = "02";
  782. } else if ("01" == response.data.companyType) {
  783. this.queryParamsEnd.zfrQuery = "04";
  784. } else if ("02" == response.data.companyType) {
  785. this.queryParamsEnd.zfrQuery = "00";
  786. }
  787. });
  788. });
  789. this.getLoseList().then(() => {
  790. getUserProfile().then(response => {
  791. if ("00" == response.data.companyType) {
  792. this.queryParamsLose.zfrQuery = "02";
  793. } else if ("01" == response.data.companyType) {
  794. this.queryParamsLose.zfrQuery = "04";
  795. } else if ("02" == response.data.companyType) {
  796. this.queryParamsLose.zfrQuery = "00";
  797. }
  798. });
  799. });
  800. },
  801. activated() {
  802. this.getDicts("ser_zfr_status").then(response => {
  803. this.statusOptions = response.data;
  804. });
  805. this.getDicts("zc_zfr_types").then(response => {
  806. this.typesOptions = response.data;
  807. });
  808. this.getDicts("zc_zfr_query").then(response => {
  809. this.queryOptions = response.data;
  810. });
  811. this.getDicts("ser_zfr_query").then(response => {
  812. this.adminQueryOptions = response.data;
  813. });
  814. this.getDicts("zc_zfr_approve_stt").then(response => {
  815. this.approveOptions = response.data;
  816. });
  817. this.getList().then(() => {
  818. getUserProfile().then(response => {
  819. if ("00" == response.data.companyType) {
  820. this.queryParams.zfrQuery = "02";
  821. } else if ("01" == response.data.companyType) {
  822. this.queryParams.zfrQuery = "04";
  823. } else if ("02" == response.data.companyType) {
  824. this.queryParams.zfrQuery = "00";
  825. }
  826. });
  827. });
  828. this.getIngList().then(() => {
  829. getUserProfile().then(response => {
  830. if ("00" == response.data.companyType) {
  831. this.queryParamsIng.zfrQuery = "02";
  832. } else if ("01" == response.data.companyType) {
  833. this.queryParamsIng.zfrQuery = "04";
  834. } else if ("02" == response.data.companyType) {
  835. this.queryParamsIng.zfrQuery = "00";
  836. }
  837. });
  838. });
  839. this.getEndList().then(() => {
  840. getUserProfile().then(response => {
  841. if ("00" == response.data.companyType) {
  842. this.queryParamsEnd.zfrQuery = "02";
  843. } else if ("01" == response.data.companyType) {
  844. this.queryParamsEnd.zfrQuery = "04";
  845. } else if ("02" == response.data.companyType) {
  846. this.queryParamsEnd.zfrQuery = "00";
  847. }
  848. });
  849. });
  850. this.getLoseList().then(() => {
  851. getUserProfile().then(response => {
  852. if ("00" == response.data.companyType) {
  853. this.queryParamsLose.zfrQuery = "02";
  854. } else if ("01" == response.data.companyType) {
  855. this.queryParamsLose.zfrQuery = "04";
  856. } else if ("02" == response.data.companyType) {
  857. this.queryParamsLose.zfrQuery = "00";
  858. }
  859. });
  860. });
  861. },
  862. mounted() {
  863. this.columnQuery();
  864. },
  865. methods: {
  866. /** 查询全部融资记录列表 */
  867. getList() {
  868. this.loading = true;
  869. return listRecord(this.queryParams)
  870. .then(response => {
  871. this.companyId = response.msg;
  872. this.recordList = response.data.records;
  873. if (response.data.records[0]) {
  874. this.companyType = response.data.records[0].companyType;
  875. }
  876. this.total = response.data.total;
  877. this.loading = false;
  878. return Promise.resolve(response);
  879. })
  880. .catch(response => {
  881. this.loading = false;
  882. return Promise.reject("error");
  883. });
  884. },
  885. /** 查询融资中融资记录列表 */
  886. getIngList() {
  887. this.loadingIng = true;
  888. this.queryParamsIng.zfrStatus = "00";
  889. return listRecord(this.queryParamsIng)
  890. .then(response => {
  891. this.recordIngList = response.data.records;
  892. this.totalIng = response.data.total;
  893. this.loadingIng = false;
  894. return Promise.resolve(response);
  895. })
  896. .catch(response => {
  897. this.loading = false;
  898. return Promise.reject("error");
  899. });
  900. },
  901. /** 查询已放款融资记录列表 */
  902. getEndList() {
  903. this.loadingEnd = true;
  904. this.queryParamsEnd.zfrStatus = "01";
  905. return listRecord(this.queryParamsEnd)
  906. .then(response => {
  907. this.recordEndList = response.data.records;
  908. this.totalIng = response.data.total;
  909. this.loadingEnd = false;
  910. return Promise.resolve(response);
  911. })
  912. .catch(response => {
  913. this.loading = false;
  914. return Promise.reject("error");
  915. });
  916. },
  917. /** 查询融资失败融资记录列表 */
  918. getLoseList() {
  919. this.loadingLose = true;
  920. this.queryParamsLose.zfrStatus = "02";
  921. return listRecord(this.queryParamsLose)
  922. .then(response => {
  923. this.recordLoseList = response.data.records;
  924. this.totalEnd = response.data.total;
  925. this.loadingLose = false;
  926. return Promise.resolve(response);
  927. })
  928. .catch(response => {
  929. this.loading = false;
  930. return Promise.reject("error");
  931. });
  932. },
  933. // 取消按钮
  934. cancel() {
  935. this.open = false;
  936. this.reset();
  937. },
  938. cancelRefuse() {
  939. this.openRefuse = false;
  940. },
  941. // 表单重置
  942. reset() {
  943. this.form = {
  944. zfrId: null,
  945. zfrFinanceId: null,
  946. zfrNumber: null,
  947. zfrAmount: null,
  948. zfrRate: null,
  949. zfrHandler: null,
  950. zfrRepaymentDate: null,
  951. zfrApplyDate: null,
  952. zfrLoanDate: null,
  953. zfrApplyAmount: null,
  954. zfrApplyType: null,
  955. zfrStatus: "00",
  956. zfrApproveStt: null,
  957. zfrProfitSpare1: null,
  958. zfrProfitSpare2: null,
  959. zfrProfitSpare3: null,
  960. zfrProfitSpare4: null,
  961. zfrProfitSpare5: null,
  962. zfrProfitSpare6: null,
  963. zfrProfitSpare7: null,
  964. zfrProfitSpare8: null,
  965. zfrProfitSpare9: null,
  966. createBy: null,
  967. createTime: null,
  968. updateBy: null,
  969. updateTime: null,
  970. zfrLoanFile: null
  971. };
  972. this.resetForm("form");
  973. this.fileList = [];
  974. this.noneBtnImg = false;
  975. this.formRefuse = {
  976. zfrReason: null
  977. };
  978. this.resetForm("formRefuse");
  979. },
  980. /** 全部搜索按钮操作 */
  981. handleQuery() {
  982. this.queryParams.pageNum = 1;
  983. this.getList();
  984. },
  985. /** 全部重置按钮操作 */
  986. resetQuery() {
  987. this.resetForm("queryForm");
  988. this.handleQuery();
  989. },
  990. /** 融资中搜索按钮操作 */
  991. handleQueryIng() {
  992. this.queryParamsIng.pageNum = 1;
  993. this.getIngList();
  994. },
  995. /**融资中重置按钮操作 */
  996. resetQueryIng() {
  997. this.resetForm("queryFormIng");
  998. this.handleQueryIng();
  999. },
  1000. /** 已放款搜索按钮操作 */
  1001. handleQueryEnd() {
  1002. this.queryParamsEnd.pageNum = 1;
  1003. this.getEndList();
  1004. },
  1005. /**已放款重置按钮操作 */
  1006. resetQueryEnd() {
  1007. this.resetForm("queryFormEnd");
  1008. this.handleQueryEnd();
  1009. },
  1010. /** 融资失败搜索按钮操作 */
  1011. handleQueryLose() {
  1012. this.queryParamsLose.pageNum = 1;
  1013. this.getLoseList();
  1014. },
  1015. /*融资失败重置按钮操作 */
  1016. resetQueryLose() {
  1017. this.resetForm("queryFormLose");
  1018. this.handleQueryLose();
  1019. },
  1020. //全部 多选框选中数据
  1021. handleSelectionChange(selection) {
  1022. this.ids = selection.map(item => item.zfrId);
  1023. this.single = selection.length !== 1;
  1024. this.multiple = !selection.length;
  1025. },
  1026. // 融资中多选框选中数据
  1027. handleSelectionChangeIng(selection) {
  1028. this.ids = selection.map(item => item.zfrId);
  1029. this.single = selection.length !== 1;
  1030. this.multiple = !selection.length;
  1031. },
  1032. /** 字典翻译 */
  1033. statusFormat(row, column) {
  1034. return this.selectDictLabel(this.statusOptions, row.zfrStatus);
  1035. },
  1036. approveFormat(row, column) {
  1037. return this.selectDictLabel(this.approveOptions, row.zfrApproveStt);
  1038. },
  1039. /** 新增按钮操作 */
  1040. handleAdd() {
  1041. this.resetForm("queryForm");
  1042. this.resetForm("queryFormIng");
  1043. this.resetForm("queryFormEnd");
  1044. this.resetForm("queryFormLose");
  1045. Cookies.set("/financeRecord/addFinanceRecord/", this.$route.fullPath);
  1046. this.$router.push("/financeRecord/addFinanceRecord/");
  1047. // this.reset();
  1048. // this.open = true;
  1049. // this.title = "添加融资记录";
  1050. },
  1051. /** 修改按钮操作 */
  1052. handleUpdate(row) {
  1053. this.reset();
  1054. const zfrId = row.zfrId || this.ids;
  1055. getRecord(zfrId).then(response => {
  1056. this.form = response.data;
  1057. this.open = true;
  1058. this.title = "修改融资记录";
  1059. });
  1060. },
  1061. handleLoan(row) {
  1062. this.reset();
  1063. this.form.zfrId = row.zfrId || this.ids;
  1064. this.form.zfrAmount = row.zfrAmount;
  1065. this.$set(this.form, "zfrLoanAmount", row.zfrAmount);
  1066. // this.form.zfrloanAmount = row.zfrAmount;
  1067. this.form.zfrFinanceId = row.zfrFinanceId;
  1068. this.open = true;
  1069. this.title = "放款登记";
  1070. },
  1071. handleDetail(row) {
  1072. this.reset();
  1073. const zfrId = row.zfrId || this.ids;
  1074. this.resetForm("queryForm");
  1075. this.resetForm("queryFormIng");
  1076. this.resetForm("queryFormEnd");
  1077. this.resetForm("queryFormLose");
  1078. Cookies.set(
  1079. "/financeRecord/detailFinanceRecord/" + zfrId,
  1080. this.$route.fullPath
  1081. );
  1082. this.$router.push("/financeRecord/detailFinanceRecord/" + zfrId);
  1083. },
  1084. //盖章
  1085. seal(row) {
  1086. const zfrId = row.zfrId || this.ids;
  1087. this.resetForm("queryForm");
  1088. this.resetForm("queryFormIng");
  1089. this.resetForm("queryFormEnd");
  1090. this.resetForm("queryFormLose");
  1091. Cookies.set(
  1092. "/financeRecord/recordSeal/" + zfrId + "/",
  1093. this.$route.fullPath
  1094. );
  1095. this.$router.push({
  1096. path: "/financeRecord/recordSeal/" + zfrId + "/"
  1097. });
  1098. },
  1099. //作废
  1100. cancelFtp(row) {
  1101. let form = {};
  1102. form.zfrId = row.zfrId;
  1103. this.$confirm('该笔融资将作废', "作废", {
  1104. confirmButtonText: "确定",
  1105. cancelButtonText: "取消",
  1106. type: "warning"
  1107. }).then(function () {
  1108. return cancelContract(form);
  1109. }).then(() => {
  1110. this.getList();
  1111. this.getIngList();
  1112. this.getEndList();
  1113. this.getLoseList();
  1114. this.msgSuccess("作废成功");
  1115. }).catch(() => {
  1116. this.$message({
  1117. type: "warning",
  1118. message: "作废已取消",
  1119. });
  1120. });
  1121. },
  1122. /** 提交审批 */
  1123. handleApprove(row) {
  1124. this.$confirm("确认要提交审批吗?", {
  1125. confirmButtonText: "确定",
  1126. cancelButtonText: "取消",
  1127. type: "warning"
  1128. })
  1129. .then(function () {
  1130. return examineApprove(row);
  1131. })
  1132. .then(() => {
  1133. this.getList();
  1134. this.msgSuccess("提交成功");
  1135. })
  1136. .catch(function () {});
  1137. },
  1138. /**拒绝放款 */
  1139. submitRefuse(zfrId, zfrFinanceId) {
  1140. debugger
  1141. this.formRefuse.zfrId = zfrId;
  1142. this.formRefuse.zfrFinanceId = zfrFinanceId;
  1143. this.openRefuse = true;
  1144. },
  1145. /** 提交按钮 */
  1146. submitForm() {
  1147. this.$refs["form"].validate(valid => {
  1148. if (valid) {
  1149. const loading = this.$loading({
  1150. lock: true,
  1151. text: "Loading",
  1152. spinner: "el-icon-loading",
  1153. background: "rgba(0, 0, 0, 0.7)"
  1154. });
  1155. this.form.zfrLoanFile = this.fileList;
  1156. this.form.TYPE = '00';
  1157. updateRecord(this.form)
  1158. .then(response => {
  1159. loading.close();
  1160. this.msgSuccess("放款登记成功");
  1161. this.open = false;
  1162. this.getList();
  1163. this.getIngList();
  1164. this.getEndList();
  1165. this.getLoseList();
  1166. })
  1167. .catch(response => {
  1168. loading.close();
  1169. });
  1170. }
  1171. });
  1172. },
  1173. /** 拒绝放款提交按钮 */
  1174. submitFormRefuse() {
  1175. this.$refs["formRefuse"].validate(valid => {
  1176. if (valid) {
  1177. const loading = this.$loading({
  1178. lock: true,
  1179. text: "Loading",
  1180. spinner: "el-icon-loading",
  1181. background: "rgba(0, 0, 0, 0.7)"
  1182. });
  1183. this.formRefuse.TYPE = '01';
  1184. updateRecord(this.formRefuse)
  1185. .then(response => {
  1186. loading.close();
  1187. this.msgSuccess("拒绝放款成功");
  1188. this.openRefuse = false;
  1189. this.open = false;
  1190. this.getList();
  1191. this.getIngList();
  1192. this.getEndList();
  1193. this.getLoseList();
  1194. })
  1195. .catch(response => {
  1196. loading.close();
  1197. });
  1198. }
  1199. });
  1200. },
  1201. /** 上传图片 */
  1202. submitUpload() {
  1203. this.$refs.upload.submit();
  1204. },
  1205. beforeUpload(files) {
  1206. var testmsg = files.name.substring(files.name.lastIndexOf(".") + 1);
  1207. const extension = testmsg === "jpg";
  1208. const extension2 = testmsg === "jpeg";
  1209. const extension3 = testmsg === "png";
  1210. const extension4 = testmsg === "JPG";
  1211. const extension5 = testmsg === "JPEG";
  1212. const extension6 = testmsg === "PNG";
  1213. if (
  1214. !extension &&
  1215. !extension2 &&
  1216. !extension3 &&
  1217. !extension4 &&
  1218. !extension5 &&
  1219. !extension6
  1220. ) {
  1221. this.$message.warning(`请选择图片格式文件`);
  1222. }
  1223. return extension || extension2 || extension3;
  1224. },
  1225. //文件移除提示
  1226. handleRemove(file, fileList) {
  1227. console.log(file);
  1228. for (let i = 0; i < this.fileList.length; i++) {
  1229. if (file.uid == this.fileList[i].uid) {
  1230. this.fileList.splice(i, 1);
  1231. break;
  1232. }
  1233. }
  1234. this.noneBtnImg = fileList.length >= this.limitCountImg;
  1235. //return this.$confirm(`确定移除 ${ file.name }?`);
  1236. },
  1237. dealImgChange(file, fileList) {
  1238. this.noneBtnImg = fileList.length >= this.limitCountImg;
  1239. },
  1240. handleExceed(files, fileList) {
  1241. this.$message.warning(`当前限制选择 1 个文件`);
  1242. },
  1243. handlePictureCardPreview(file) {
  1244. this.dialogImageUrl = file.url;
  1245. this.dialogVisible = true;
  1246. },
  1247. //手动上传文件触发
  1248. httpRequest(param) {
  1249. let fileObj = param.file; // 相当于input里取得的files
  1250. let fd = new FormData(); // FormData 对象
  1251. fd.append("file", fileObj); // 文件对象
  1252. fd.append("fileType", "00"); //文件类型
  1253. const loading = this.$loading({
  1254. lock: true,
  1255. text: "Loading",
  1256. spinner: "el-icon-loading",
  1257. background: "rgba(0, 0, 0, 0.7)"
  1258. });
  1259. uploadFileNew(fd)
  1260. .then(response => {
  1261. if (response) {
  1262. // this.form.eeiImgUrl = response.url
  1263. this.fileList.push({
  1264. uid: response.fileId,
  1265. url: response.url + "/" + getToken()
  1266. });
  1267. console.log(response.url);
  1268. setTimeout(() => {
  1269. loading.close();
  1270. }, 2000);
  1271. }
  1272. })
  1273. .catch(response => {
  1274. let uid = fileObj.uid; // 关键作用代码,去除文件列表失败文件
  1275. let idx = this.$refs.upload.uploadFiles.findIndex(
  1276. (item) => item.uid === uid
  1277. ); // 关键作用代码,去除文件列表失败文件(uploadFiles为el-upload中的ref值)
  1278. this.$refs.upload.uploadFiles.splice(idx, 1); // 关键作用代码,去除文件列表失败文件
  1279. // this.showBtnImg = true;
  1280. this.noneBtnImg = false;
  1281. loading.close();
  1282. });
  1283. },
  1284. /** 删除按钮操作 */
  1285. handleDelete(row) {
  1286. const zfrIds = row.zfrId || this.ids;
  1287. this.$confirm(
  1288. '是否确认删除融资记录编号为"' + zfrIds + '"的数据项?',
  1289. "警告", {
  1290. confirmButtonText: "确定",
  1291. cancelButtonText: "取消",
  1292. type: "warning"
  1293. }
  1294. )
  1295. .then(function () {
  1296. return delRecord(zfrIds);
  1297. })
  1298. .then(() => {
  1299. this.getList();
  1300. this.msgSuccess("删除成功");
  1301. });
  1302. },
  1303. changeRate(e, input) {
  1304. e.target.value = (e.target.value.match(/^\d*(\.?\d{0,2})/g)[0]) || null
  1305. this.input = e.target.value
  1306. this.form.zfrLoanAmount = this.input
  1307. },
  1308. /* 金额格式化 */
  1309. moneyFormat(row, column, cellValue) {
  1310. if (cellValue == null || cellValue == undefined || cellValue == "") {
  1311. cellValue = "0.00";
  1312. }
  1313. cellValue += "";
  1314. if (!cellValue.includes(".")) {
  1315. cellValue += ".00";
  1316. }
  1317. return cellValue
  1318. .replace(/(\d)(?=(\d{3})+\.)/g, function ($0, $1) {
  1319. return $1 + ",";
  1320. })
  1321. .replace(/\.$/, "");
  1322. },
  1323. //获取当前客户是否之前设置过列展示隐藏
  1324. columnQuery() {
  1325. //获取页面路径
  1326. var psfPagePath = window.location.pathname;
  1327. //用请求后台的url作为唯一标识
  1328. var psfTableName = this.tableId;
  1329. var columnForm = {};
  1330. columnForm.psfPagePath = psfPagePath;
  1331. columnForm.psfTableName = psfTableName;
  1332. columnQuery(columnForm).then(response => {
  1333. if (response.data && response.data.psfShowData) {
  1334. this.checkList = response.data.psfShowData;
  1335. }
  1336. this.filter();
  1337. });
  1338. },
  1339. //控制隐藏显示的函数
  1340. filter(checkList) {
  1341. if (this.activeName == "first") {
  1342. if (!!checkList) {
  1343. this.checkList = checkList;
  1344. }
  1345. this.columnfilter(
  1346. this.firstSet,
  1347. this.checkList,
  1348. this.tableList,
  1349. this.uncheckList
  1350. );
  1351. } else if (this.activeName == "second") {
  1352. if (!!checkList) {
  1353. this.checkListOne = checkList;
  1354. }
  1355. this.columnfilter(
  1356. this.firstSetOne,
  1357. this.checkListOne,
  1358. this.tableListOne,
  1359. this.uncheckListOne
  1360. );
  1361. } else if (this.activeName == "third") {
  1362. if (!!checkList) {
  1363. this.checkListTwo = checkList;
  1364. }
  1365. this.columnfilter(
  1366. this.firstSetTwo,
  1367. this.checkListTwo,
  1368. this.tableListTwo,
  1369. this.uncheckListTwo
  1370. );
  1371. } else if (this.activeName == "fourth") {
  1372. if (!!checkList) {
  1373. this.checkListThree = checkList;
  1374. }
  1375. this.columnfilter(
  1376. this.firstSetThree,
  1377. this.checkListThree,
  1378. this.tableListThree,
  1379. this.uncheckListThree
  1380. );
  1381. }
  1382. },
  1383. //获取当前客户是否之前设置过列展示隐藏
  1384. columnQueryOne() {
  1385. //获取页面路径
  1386. var psfPagePath = window.location.pathname;
  1387. //用请求后台的url作为唯一标识
  1388. var psfTableName = this.tableIdOne;
  1389. var columnForm = {};
  1390. columnForm.psfPagePath = psfPagePath;
  1391. columnForm.psfTableName = psfTableName;
  1392. columnQuery(columnForm).then(response => {
  1393. if (response.data && response.data.psfShowData) {
  1394. this.checkListOne = response.data.psfShowData;
  1395. }
  1396. this.filter();
  1397. });
  1398. },
  1399. //获取当前客户是否之前设置过列展示隐藏
  1400. columnQueryTwo() {
  1401. //获取页面路径
  1402. var psfPagePath = window.location.pathname;
  1403. //用请求后台的url作为唯一标识
  1404. var psfTableName = this.tableIdTwo;
  1405. var columnForm = {};
  1406. columnForm.psfPagePath = psfPagePath;
  1407. columnForm.psfTableName = psfTableName;
  1408. columnQuery(columnForm).then(response => {
  1409. if (response.data && response.data.psfShowData) {
  1410. this.checkListTwo = response.data.psfShowData;
  1411. }
  1412. this.filter();
  1413. });
  1414. },
  1415. //获取当前客户是否之前设置过列展示隐藏
  1416. columnQueryThree() {
  1417. //获取页面路径
  1418. var psfPagePath = window.location.pathname;
  1419. //用请求后台的url作为唯一标识
  1420. var psfTableName = this.tableIdThree;
  1421. var columnForm = {};
  1422. columnForm.psfPagePath = psfPagePath;
  1423. columnForm.psfTableName = psfTableName;
  1424. columnQuery(columnForm).then(response => {
  1425. if (response.data && response.data.psfShowData) {
  1426. this.checkListThree = response.data.psfShowData;
  1427. }
  1428. this.filter();
  1429. });
  1430. },
  1431. /** 导出按钮操作 */
  1432. handleExport(row) {
  1433. const zfrId = row.zfrId || this.ids;
  1434. const zfrFinanceId = row.zfrFinanceId ;
  1435. this.download(
  1436. "sc-service/financeRecord/export/" + zfrFinanceId + '/' + zfrId, {},
  1437. `融资管理附件${this.parseTime(new Date(), "{y}{m}{d}{h}{m}{s}")}.zip`
  1438. );
  1439. },
  1440. columnfilter(firstSet, checkList, tableList, uncheckList) {
  1441. if (this.activeName == "first") {
  1442. firstSet = this.firstSet;
  1443. } else if (this.activeName == "second") {
  1444. firstSet = this.firstSetOne;
  1445. } else if (this.activeName == "third") {
  1446. firstSet = this.firstSetTwo;
  1447. } else if (this.activeName == "fourth") {
  1448. firstSet = this.firstSetThree;
  1449. }
  1450. if (firstSet && checkList.length == 0) {
  1451. this.$message.warning("配置显示列不能为空!");
  1452. return;
  1453. }
  1454. if (this.activeName == "first") {
  1455. this.firstSet = true;
  1456. } else if (this.activeName == "second") {
  1457. this.firstSetOne = true;
  1458. } else if (this.activeName == "third") {
  1459. this.firstSetTwo = true;
  1460. } else if (this.activeName == "fourth") {
  1461. this.firstSetThree = true;
  1462. }
  1463. //初始化数据
  1464. if (checkList.length == 0) {
  1465. for (let index in tableList) {
  1466. let table = tableList[index];
  1467. checkList.push(table.label);
  1468. }
  1469. }
  1470. for (let index in tableList) {
  1471. let table = tableList[index];
  1472. uncheckList[table.label] = true;
  1473. }
  1474. //数据准备
  1475. for (let item in uncheckList) {
  1476. uncheckList[item] = false;
  1477. }
  1478. //数据处理
  1479. for (let index in checkList) {
  1480. let name = checkList[index];
  1481. if (name in uncheckList) {
  1482. uncheckList[name] = true;
  1483. }
  1484. }
  1485. this.$forceUpdate();
  1486. },
  1487. handleClick(tab, event) {
  1488. if (this.activeName == "first") {
  1489. this.columnQuery();
  1490. } else if (this.activeName == "second") {
  1491. this.columnQueryOne();
  1492. } else if (this.activeName == "third") {
  1493. this.columnQueryTwo();
  1494. } else if (this.activeName == "fourth") {
  1495. this.columnQueryThree();
  1496. }
  1497. },
  1498. //进度
  1499. handleFlowable(row) {
  1500. const zfrId = row.zfrId
  1501. this.hisTaskForm = true;
  1502. let form = {}
  1503. form.zfiId = zfrId
  1504. approvalProcess(form).then((response) => {
  1505. console.log(response,"response")
  1506. this.histaskList = response.data;
  1507. })
  1508. },
  1509. }
  1510. };
  1511. </script>
  1512. <style>
  1513. .showUoload .el-upload--picture-card {
  1514. width: 110px;
  1515. height: 110px;
  1516. line-height: 110px;
  1517. }
  1518. .uoloadSty .el-upload--picture-card {
  1519. display: none;
  1520. }
  1521. </style><style lang="scss" scoped>
  1522. .zap-credit__content {
  1523. position: relative;
  1524. padding: 0 13px 25px;
  1525. background-color: #ffffff;
  1526. }
  1527. .zap-credit__tabs {
  1528. position: relative;
  1529. }
  1530. .zap-credit__buttons {
  1531. position: absolute;
  1532. top: 0;
  1533. right: 13px;
  1534. display: flex;
  1535. align-items: center;
  1536. height: 55px;
  1537. z-index: 99;
  1538. }
  1539. .zap-contract-add__upload {
  1540. display: flex;
  1541. flex-direction: column;
  1542. justify-content: center;
  1543. align-items: center;
  1544. width: 148px;
  1545. height: 148px;
  1546. border: dashed 1px #e0e0e0;
  1547. background-color: #f4f5f6;
  1548. }
  1549. ::v-deep .el-upload--picture-card {
  1550. border: none;
  1551. }
  1552. ::v-deep .el-icon-upload {
  1553. font-size: 32px;
  1554. color: #02c464;
  1555. }
  1556. .zap-upload__text {
  1557. line-height: 1;
  1558. margin-top: 12px;
  1559. font-size: 12px;
  1560. color: #333333;
  1561. }
  1562. .zap-contract-add__tip {
  1563. width: 140px;
  1564. margin-top: 15px;
  1565. line-height: 19px;
  1566. font-size: 12px;
  1567. color: #999999;
  1568. }
  1569. ::v-deep .el-step__description.is-process,
  1570. ::v-deep .el-step__head.is-process{
  1571. color: #999999;
  1572. border-color: #999999;
  1573. }
  1574. </style>