credit.vue 136 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688
  1. <template>
  2. <div class="app-container zap-main">
  3. <search-bar v-if="activeIndex === '0'" :hiddenSetting="true" @query="handleQuery" @reset="resetQuery">
  4. <el-form :model="queryParams" ref="queryForm" v-if="showSearch" label-width="80px">
  5. <el-row type="flex" style="flex-wrap:wrap;">
  6. <el-form-item class="zap-flex-1 mr24" prop="zfiTypes" label="融信来源">
  7. <el-select v-model="queryParams.zfiTypes" class="zap-form-input--small" clearable>
  8. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  9. </el-select>
  10. </el-form-item>
  11. <el-form-item class="zap-flex-1" prop="zfiQuery" label="类型">
  12. <el-select v-model="queryParams.zfiQuery" class="zap-form-input--medium" clearable>
  13. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  14. </el-select>
  15. </el-form-item>
  16. <el-form-item class="zap-flex-1 ml24" prop="zfiValue" v-if="this.queryParams.zfiQuery" label-width="0">
  17. <el-input v-model="queryParams.zfiValue" class="zap-form-input--default" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  18. </el-form-item>
  19. </el-row>
  20. <el-row type="flex" style="flex-wrap:wrap;">
  21. <el-form-item class="zap-flex-1 mr24" prop="finaceStatus" label="融信状态">
  22. <el-select v-model="queryParams.finaceStatus" class="zap-form-input--small" clearable>
  23. <el-option v-for="dict in stateOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  24. </el-select>
  25. </el-form-item>
  26. <el-form-item class="zap-flex-1" label="到期日期" prop="zfiExpireDate">
  27. <el-date-picker
  28. class="zap-form-input--medium"
  29. v-model="queryParams.zfiExpireDate"
  30. unlink-panels
  31. value-format="yyyy-MM-dd"
  32. type="daterange"
  33. range-separator="-"
  34. start-placeholder="开始日期"
  35. end-placeholder="结束日期">
  36. </el-date-picker>
  37. </el-form-item>
  38. </el-row>
  39. </el-form>
  40. </search-bar>
  41. <search-bar v-else-if="activeIndex === '1'" :hiddenSetting="true" @query="handleQueryOpening" @reset="resetQueryOpening">
  42. <el-form :model="queryParamsOpening" ref="queryFormOpening" v-if="showSearch" label-width="80px">
  43. <el-row type="flex" style="flex-wrap:wrap;">
  44. <el-form-item class="zap-flex-1 mr24" prop="zfiTypes" label="融信来源">
  45. <el-select v-model="queryParamsOpening.zfiTypes" class="zap-form-input--small" clearable>
  46. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  47. </el-select>
  48. </el-form-item>
  49. <el-form-item class="zap-flex-1" prop="zfiQuery" label="类型">
  50. <el-select v-model="queryParamsOpening.zfiQuery" class="zap-form-input--medium" clearable>
  51. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  52. </el-select>
  53. </el-form-item>
  54. <el-form-item class="zap-flex-1 ml24" prop="zfiValue" v-if="this.queryParamsOpening.zfiQuery" label-width="0">
  55. <el-input v-model="queryParamsOpening.zfiValue" class="zap-form-input--default" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  56. </el-form-item>
  57. </el-row>
  58. <el-row type="flex" style="flex-wrap:wrap;">
  59. <el-form-item class="zap-flex-1" label="到期日期" prop="zfiExpireDate">
  60. <el-date-picker
  61. class="zap-form-input--small date"
  62. v-model="queryParamsOpening.zfiExpireDate"
  63. unlink-panels
  64. value-format="yyyy-MM-dd"
  65. type="daterange"
  66. range-separator="-"
  67. start-placeholder="开始日期"
  68. end-placeholder="结束日期">
  69. </el-date-picker>
  70. </el-form-item>
  71. </el-row>
  72. </el-form>
  73. </search-bar>
  74. <search-bar v-else-if="activeIndex === '2'" :hiddenSetting="true" @query="handleQuerySign" @reset="resetQuerySign">
  75. <el-form :model="queryParamsSign" ref="queryFormSign" v-if="showSearch" label-width="80px">
  76. <el-row type="flex" style="flex-wrap:wrap;">
  77. <el-form-item class="zap-flex-1 mr24" prop="zfiTypes" label="融信来源">
  78. <el-select v-model="queryParamsSign.zfiTypes" class="zap-form-input--small" clearable>
  79. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  80. </el-select>
  81. </el-form-item>
  82. <el-form-item class="zap-flex-1" prop="zfiQuery" label="类型">
  83. <el-select v-model="queryParamsSign.zfiQuery" class="zap-form-input--medium" clearable>
  84. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  85. </el-select>
  86. </el-form-item>
  87. <el-form-item class="zap-flex-1 ml24" prop="zfiValue" v-if="this.queryParamsSign.zfiQuery" label-width="0">
  88. <el-input v-model="queryParamsSign.zfiValue" placeholder="请输入关键字模糊查询" class="zap-form-input--default" clearable maxlength="25" />
  89. </el-form-item>
  90. </el-row>
  91. <el-row type="flex" style="flex-wrap:wrap;">
  92. <el-form-item class="zap-flex-1" label="到期日期" prop="zfiExpireDate">
  93. <el-date-picker
  94. class="zap-form-input--small date"
  95. v-model="queryParamsSign.zfiExpireDate"
  96. unlink-panels
  97. value-format="yyyy-MM-dd"
  98. type="daterange"
  99. range-separator="-"
  100. start-placeholder="开始日期"
  101. end-placeholder="结束日期">
  102. </el-date-picker>
  103. </el-form-item>
  104. </el-row>
  105. </el-form>
  106. </search-bar>
  107. <search-bar v-else-if="activeIndex === '3'" :hiddenSetting="true" @query="handleQueryFinancing" @reset="resetQueryFinancing">
  108. <el-form :model="queryParamsFinancing" ref="queryFormFinancing" v-if="showSearch" label-width="80px">
  109. <el-row type="flex" style="flex-wrap:wrap;">
  110. <el-form-item class="zap-flex-1 mr24" prop="zfiTypes" label="融信来源">
  111. <el-select v-model="queryParamsFinancing.zfiTypes" class="zap-form-input--small" clearable>
  112. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  113. </el-select>
  114. </el-form-item>
  115. <el-form-item class="zap-flex-1" prop="zfiQuery" label="类型">
  116. <el-select v-model="queryParamsFinancing.zfiQuery" class="zap-form-input--medium" clearable>
  117. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  118. </el-select>
  119. </el-form-item>
  120. <el-form-item class="zap-flex-1 ml24" prop="zfiValue" v-if="this.queryParamsFinancing.zfiQuery" label-width="0">
  121. <el-input v-model="queryParamsFinancing.zfiValue" placeholder="请输入关键字模糊查询" class="zap-form-input--default" clearable maxlength="25" />
  122. </el-form-item>
  123. </el-row>
  124. <el-row type="flex" style="flex-wrap:wrap;">
  125. <el-form-item class="zap-flex-1" label="到期日期" prop="zfiExpireDate">
  126. <el-date-picker
  127. class="zap-form-input--small date"
  128. v-model="queryParamsFinancing.zfiExpireDate"
  129. unlink-panels
  130. value-format="yyyy-MM-dd"
  131. type="daterange"
  132. range-separator="-"
  133. start-placeholder="开始日期"
  134. end-placeholder="结束日期">
  135. </el-date-picker>
  136. </el-form-item>
  137. </el-row>
  138. </el-form>
  139. </search-bar>
  140. <search-bar v-else-if="activeIndex === '4'" :hiddenSetting="true" @query="handleQueryFinanced" @reset="resetQueryFinanced">
  141. <el-form :model="queryParamsFinanced" ref="queryFormFinanced" v-if="showSearch" label-width="80px">
  142. <el-row type="flex" style="flex-wrap:wrap;">
  143. <el-form-item class="zap-flex-1 mr24" prop="zfiTypes" label="融信来源">
  144. <el-select v-model="queryParamsFinanced.zfiTypes" class="zap-form-input--small" clearable>
  145. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  146. </el-select>
  147. </el-form-item>
  148. <el-form-item class="zap-flex-1" prop="zfiQuery" label="类型">
  149. <el-select v-model="queryParamsFinanced.zfiQuery" class="zap-form-input--medium" clearable>
  150. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  151. </el-select>
  152. </el-form-item>
  153. <el-form-item class="zap-flex-1 ml24" prop="zfiValue" v-if="this.queryParamsFinanced.zfiQuery" label-width="0">
  154. <el-input v-model="queryParamsFinanced.zfiValue" class="zap-form-input--default" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  155. </el-form-item>
  156. </el-row>
  157. <el-row type="flex" style="flex-wrap:wrap;">
  158. <el-form-item class="zap-flex-1" label="到期日期" prop="zfiExpireDate">
  159. <el-date-picker
  160. class="zap-form-input--small date"
  161. v-model="queryParamsFinanced.zfiExpireDate"
  162. unlink-panels
  163. value-format="yyyy-MM-dd"
  164. type="daterange"
  165. range-separator="-"
  166. start-placeholder="开始日期"
  167. end-placeholder="结束日期">
  168. </el-date-picker>
  169. </el-form-item>
  170. </el-row>
  171. </el-form>
  172. </search-bar>
  173. <!-- 已拒绝 -->
  174. <search-bar v-else-if="activeIndex === '5'" :hiddenSetting="true" @query="handleQueryInvalid" @reset="resetQueryInvalid">
  175. <el-form :model="queryParamsInvalid" ref="queryFormInvalid" v-if="showSearch" label-width="80px">
  176. <el-row type="flex" style="flex-wrap:wrap;">
  177. <el-form-item class="zap-flex-1 mr24" prop="zfiTypes" label="融信来源">
  178. <el-select class="zap-form-input--small" v-model="queryParamsInvalid.zfiTypes" clearable>
  179. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  180. </el-select>
  181. </el-form-item>
  182. <el-form-item class="zap-flex-1" prop="zfiQuery" label="类型">
  183. <el-select class="zap-form-input--medium" v-model="queryParamsInvalid.zfiQuery" clearable>
  184. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  185. </el-select>
  186. </el-form-item>
  187. <el-form-item class="zap-form-input--default ml24" prop="zfiValue" v-if="this.queryParamsInvalid.zfiQuery" label-width="0">
  188. <el-input v-model="queryParamsInvalid.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  189. </el-form-item>
  190. </el-row>
  191. <el-row type="flex" style="flex-wrap:wrap;">
  192. <el-form-item class="zap-flex-1" label="到期日期" prop="zfiExpireDate">
  193. <el-date-picker
  194. class="zap-form-input--small date"
  195. v-model="queryParamsInvalid.zfiExpireDate"
  196. unlink-panels
  197. value-format="yyyy-MM-dd"
  198. type="daterange"
  199. range-separator="-"
  200. start-placeholder="开始日期"
  201. end-placeholder="结束日期">
  202. </el-date-picker>
  203. </el-form-item>
  204. </el-row>
  205. </el-form>
  206. </search-bar>
  207. <!-- 已结算 -->
  208. <search-bar v-else-if="activeIndex === '6'" :hiddenSetting="true" @query="handleQuerySettlement" @reset="resetQuerySettlement">
  209. <el-form :model="queryParamsSettlement" ref="queryFormSettlement" v-if="showSearch" label-width="80px">
  210. <el-row type="flex" style="flex-wrap:wrap;">
  211. <el-form-item class="zap-flex-1 mr24" prop="zfiTypes" label="融信来源">
  212. <el-select class="zap-form-input--small" v-model="queryParamsSettlement.zfiTypes" clearable>
  213. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  214. </el-select>
  215. </el-form-item>
  216. <el-form-item class="zap-flex-1" prop="zfiQuery" label="类型">
  217. <el-select class="zap-form-input--medium" v-model="queryParamsSettlement.zfiQuery" clearable>
  218. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  219. </el-select>
  220. </el-form-item>
  221. <el-form-item class="zap-flex-1 ml24" prop="zfiValue" v-if="this.queryParamsSettlement.zfiQuery" label-width="0">
  222. <el-input class="zap-form-input--default" v-model="queryParamsSettlement.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  223. </el-form-item>
  224. </el-row>
  225. <el-row type="flex" style="flex-wrap:wrap;">
  226. <el-form-item class="zap-flex-1" label="到期日期" prop="zfiExpireDate">
  227. <el-date-picker
  228. class="zap-form-input--small date"
  229. v-model="queryParamsSettlement.zfiExpireDate"
  230. unlink-panels
  231. value-format="yyyy-MM-dd"
  232. type="daterange"
  233. range-separator="-"
  234. start-placeholder="开始日期"
  235. end-placeholder="结束日期">
  236. </el-date-picker>
  237. </el-form-item>
  238. </el-row>
  239. </el-form>
  240. </search-bar>
  241. <!-- 已过期 -->
  242. <search-bar v-else-if="activeIndex === '7'" :hiddenSetting="true" @query="handleQueryOverdue" @reset="resetQueryOverdue">
  243. <el-form :model="queryParamsOverdue" ref="queryFormOverdue" v-if="showSearch" label-width="80px">
  244. <el-row type="flex" style="flex-wrap:wrap;">
  245. <el-form-item class="zap-flex-1 mr24" prop="zfiTypes" label="融信来源">
  246. <el-select class="zap-form-input--small" v-model="queryParamsOverdue.zfiTypes" clearable>
  247. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  248. </el-select>
  249. </el-form-item>
  250. <el-form-item class="zap-flex-1" prop="zfiQuery" label="类型">
  251. <el-select class="zap-form-input--medium" v-model="queryParamsOverdue.zfiQuery" clearable>
  252. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  253. </el-select>
  254. </el-form-item>
  255. <el-form-item class="zap-flex-1 ml24" prop="zfiValue" v-if="this.queryParamsOverdue.zfiQuery" label-width="0">
  256. <el-input class="zap-form-input--default" v-model="queryParamsOverdue.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  257. </el-form-item>
  258. </el-row>
  259. <el-row type="flex" style="flex-wrap:wrap;">
  260. <el-form-item class="zap-flex-1" label="到期日期" prop="zfiExpireDate">
  261. <el-date-picker
  262. class="zap-form-input--small date"
  263. v-model="queryParamsOverdue.zfiExpireDate"
  264. unlink-panels
  265. value-format="yyyy-MM-dd"
  266. type="daterange"
  267. range-separator="-"
  268. start-placeholder="开始日期"
  269. end-placeholder="结束日期">
  270. </el-date-picker>
  271. </el-form-item>
  272. </el-row>
  273. </el-form>
  274. </search-bar>
  275. <el-row class="zap-margin-top">
  276. <el-col>
  277. <div class="zap-credit__content">
  278. <div class="zap-credit__buttons">
  279. <el-button class="zap-button-success" type="success" icon="el-icon-plus" @click="handleAdd" v-hasPermi="['credit:credit:add']">开立融信</el-button>
  280. <el-button type="success" icon="el-icon-plus" @click="finanOpening" v-hasPermi="['finanOpening:finanOpening:add']">融资开立</el-button>
  281. <el-button type="primary" icon="el-icon-tickets" @click="apply" v-hasPermi="['finanOpening:finanOpening:apply']">融资申请</el-button>
  282. </div>
  283. <el-tabs v-model="activeIndex">
  284. <!-- 全部-->
  285. <el-tab-pane label="全部">
  286. <el-table v-loading="loading" stripe :data="infList" @selection-change="handleSelectionChange" border>
  287. <el-table-column label="序号" type="index" width="50" align="center">
  288. <template slot-scope="scope">
  289. <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
  290. </template>
  291. </el-table-column>
  292. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true" />
  293. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true" />
  294. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true" />
  295. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  296. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true" />
  297. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true" />
  298. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  299. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  300. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  301. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
  302. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  303. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  304. <el-table-column
  305. label="融资方审批状态"
  306. :formatter="supplierStatusFormat"
  307. align="center"
  308. width="110px;"
  309. prop="zfiSupplierStatus"
  310. :show-overflow-tooltip="true"
  311. v-if=" this.companyType == '00'" />
  312. <el-table-column
  313. label="平台审批状态"
  314. :formatter="platformStatusFormat"
  315. align="center"
  316. width="100px;"
  317. prop="zfiPlatformStatus"
  318. :show-overflow-tooltip="true"
  319. v-if="this.companyType == '00'" />
  320. <el-table-column
  321. label="核心审批状态"
  322. :formatter="coreStatusFormat"
  323. align="center"
  324. width="100px;"
  325. prop="zfiCoreStatus"
  326. :show-overflow-tooltip="true"
  327. v-if=" this.companyType == '00'" />
  328. <el-table-column
  329. label="内部审批状态"
  330. :formatter="supplierStatusFormat"
  331. align="center"
  332. width="110px;"
  333. prop="zfiSupplierStatus"
  334. :show-overflow-tooltip="true"
  335. v-if=" this.companyType == '02'" />
  336. <el-table-column
  337. label="内部审批状态"
  338. :formatter="coreStatusFormat"
  339. align="center"
  340. width="100px;"
  341. prop="zfiCoreStatus"
  342. :show-overflow-tooltip="true"
  343. v-if=" this.companyType == '01'" />
  344. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
  345. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
  346. <template slot-scope="scope">
  347. <buttons-group
  348. :scope="scope"
  349. @handleDetail="handleDetail(scope.row)"
  350. @handleUpdate="handleUpdate(scope.row)"
  351. @handleApprove="handleApprove(scope.row)"
  352. @handleAddInformation="handleAddInformation(scope.row)"
  353. @handleSignFor="handleSignFor(scope.row)"
  354. @handleGoFinance="handleGoFinance(scope.row)"
  355. @seal="seal(scope.row)"
  356. @refuse="refuse(scope.row)"
  357. @handleDelete="handleDelete(scope.row)"
  358. @handleFlowable="handleFlowable(scope.row)"></buttons-group>
  359. </template>
  360. </el-table-column>
  361. </el-table>
  362. <statistical-data>
  363. <span class="label">总合计:<span class="value">{{allAmount}}</span></span>
  364. <span class="label">开立中:{{klzAllAmount}}</span>
  365. <span class="label">已生效:{{ysxAllAmount}}</span>
  366. <span class="label">融资中:{{rzzAllAmount}}</span>
  367. <span class="label">已融资:{{yrzAllAmount}}</span>
  368. <span class="label">已拒绝:{{yjjAllAmount}}</span>
  369. <span class="label">已结算:{{yjsAllAmount}}</span>
  370. <span class="label">已过期:{{ygqAllAmount}}</span>
  371. </statistical-data>
  372. <pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize" @pagination="getList" />
  373. <!--开立中-->
  374. </el-tab-pane>
  375. <el-tab-pane label="开立中">
  376. <el-table v-loading="loading" stripe :data="infOpeningList" @selection-change="handleSelectionChange" border>
  377. <el-table-column label="序号" type="index" width="50" align="center">
  378. <template slot-scope="scope">
  379. <span>{{(queryParamsOpening.pageNum - 1) * queryParamsOpening.pageSize + scope.$index + 1}}</span>
  380. </template>
  381. </el-table-column>
  382. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true" />
  383. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true" />
  384. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true" />
  385. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  386. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true" />
  387. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true" />
  388. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  389. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  390. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  391. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
  392. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  393. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  394. <el-table-column
  395. label="融资方审批状态"
  396. :formatter="supplierStatusFormat"
  397. align="center"
  398. width="110px;"
  399. prop="zfiSupplierStatus"
  400. :show-overflow-tooltip="true"
  401. v-if=" this.companyType == '00'" />
  402. <el-table-column
  403. label="平台审批状态"
  404. :formatter="platformStatusFormat"
  405. align="center"
  406. width="100px;"
  407. prop="zfiPlatformStatus"
  408. :show-overflow-tooltip="true"
  409. v-if="this.companyType == '00'" />
  410. <el-table-column
  411. label="核心审批状态"
  412. :formatter="coreStatusFormat"
  413. align="center"
  414. width="100px;"
  415. prop="zfiCoreStatus"
  416. :show-overflow-tooltip="true"
  417. v-if=" this.companyType == '00'" />
  418. <el-table-column
  419. label="内部审批状态"
  420. :formatter="supplierStatusFormat"
  421. align="center"
  422. width="110px;"
  423. prop="zfiSupplierStatus"
  424. :show-overflow-tooltip="true"
  425. v-if=" this.companyType == '02'" />
  426. <el-table-column
  427. label="内部审批状态"
  428. :formatter="coreStatusFormat"
  429. align="center"
  430. width="100px;"
  431. prop="zfiCoreStatus"
  432. :show-overflow-tooltip="true"
  433. v-if=" this.companyType == '01'" />
  434. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
  435. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
  436. <template slot-scope="scope">
  437. <buttons-group
  438. :scope="scope"
  439. @handleDetail="handleDetail(scope.row)"
  440. @handleUpdate="handleUpdate(scope.row)"
  441. @handleApprove="handleApprove(scope.row)"
  442. @handleAddInformation="handleAddInformation(scope.row)"
  443. @handleSignFor="handleSignFor(scope.row)"
  444. @handleGoFinance="handleGoFinance(scope.row)"
  445. @seal="seal(scope.row)"
  446. @refuse="refuse(scope.row)"
  447. @handleDelete="handleDelete(scope.row)"
  448. @handleFlowable="handleFlowable(scope.row)"></buttons-group>
  449. </template>
  450. </el-table-column>
  451. </el-table>
  452. <statistical-data>
  453. <span class="label">总合计:<span class="value">{{klzAmount}}</span></span>
  454. <span class="label">开立中:{{klzAmount}}</span>
  455. </statistical-data>
  456. <pagination v-show="totalOpening>0" :total="totalOpening" :page.sync="queryParamsOpening.pageNum" :limit.sync="queryParamsOpening.pageSize" @pagination="getListOpening" />
  457. </el-tab-pane>
  458. <!--已生效-->
  459. <el-tab-pane label="已生效">
  460. <el-table v-loading="loading" stripe :data="infSignList" @selection-change="handleSelectionChange" border>
  461. <el-table-column label="序号" type="index" width="50" align="center">
  462. <template slot-scope="scope">
  463. <span>{{(queryParamsSign.pageNum - 1) * queryParamsSign.pageSize + scope.$index + 1}}</span>
  464. </template>
  465. </el-table-column>
  466. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true" />
  467. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true" />
  468. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true" />
  469. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  470. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true" />
  471. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true" />
  472. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  473. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  474. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  475. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
  476. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  477. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  478. <el-table-column
  479. label="融资方审批状态"
  480. :formatter="supplierStatusFormat"
  481. align="center"
  482. width="110px;"
  483. prop="zfiSupplierStatus"
  484. :show-overflow-tooltip="true"
  485. v-if=" this.companyType == '00'" />
  486. <el-table-column
  487. label="平台审批状态"
  488. :formatter="platformStatusFormat"
  489. align="center"
  490. width="100px;"
  491. prop="zfiPlatformStatus"
  492. :show-overflow-tooltip="true"
  493. v-if="this.companyType == '00'" />
  494. <el-table-column
  495. label="核心审批状态"
  496. :formatter="coreStatusFormat"
  497. align="center"
  498. width="100px;"
  499. prop="zfiCoreStatus"
  500. :show-overflow-tooltip="true"
  501. v-if=" this.companyType == '00'" />
  502. <el-table-column
  503. label="内部审批状态"
  504. :formatter="supplierStatusFormat"
  505. align="center"
  506. width="110px;"
  507. prop="zfiSupplierStatus"
  508. :show-overflow-tooltip="true"
  509. v-if=" this.companyType == '02'" />
  510. <el-table-column
  511. label="内部审批状态"
  512. :formatter="coreStatusFormat"
  513. align="center"
  514. width="100px;"
  515. prop="zfiCoreStatus"
  516. :show-overflow-tooltip="true"
  517. v-if=" this.companyType == '01'" />
  518. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
  519. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
  520. <template slot-scope="scope">
  521. <buttons-group
  522. :scope="scope"
  523. @handleDetail="handleDetail(scope.row)"
  524. @handleUpdate="handleUpdate(scope.row)"
  525. @handleApprove="handleApprove(scope.row)"
  526. @handleAddInformation="handleAddInformation(scope.row)"
  527. @handleSignFor="handleSignFor(scope.row)"
  528. @handleGoFinance="handleGoFinance(scope.row)"
  529. @seal="seal(scope.row)"
  530. @refuse="refuse(scope.row)"
  531. @handleDelete="handleDelete(scope.row)"
  532. @handleFlowable="handleFlowable(scope.row)"></buttons-group>
  533. </template>
  534. </el-table-column>
  535. </el-table>
  536. <statistical-data class="mb20">
  537. <span class="label">总合计:<span class="value">{{ysxAmount}}</span></span>
  538. <span class="label">已生效:{{ysxAmount}}</span>
  539. </statistical-data>
  540. <pagination v-show="totalSign>0" :total="totalSign" :page.sync="queryParamsSign.pageNum" :limit.sync="queryParamsSign.pageSize" @pagination="getListSign" />
  541. </el-tab-pane>
  542. <!--融资中-->
  543. <el-tab-pane label="融资中">
  544. <el-table v-loading="loading" stripe :data="infFinancingList" @selection-change="handleSelectionChange" border>
  545. <el-table-column label="序号" type="index" width="50" align="center">
  546. <template slot-scope="scope">
  547. <span>{{(queryParamsFinancing.pageNum - 1) * queryParamsFinancing.pageSize + scope.$index + 1}}</span>
  548. </template>
  549. </el-table-column>
  550. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true" />
  551. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true" />
  552. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true" />
  553. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  554. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true" />
  555. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true" />
  556. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  557. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  558. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  559. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
  560. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  561. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  562. <el-table-column
  563. label="融资方审批状态"
  564. :formatter="supplierStatusFormat"
  565. align="center"
  566. width="110px;"
  567. prop="zfiSupplierStatus"
  568. :show-overflow-tooltip="true"
  569. v-if=" this.companyType == '00'" />
  570. <el-table-column
  571. label="平台审批状态"
  572. :formatter="platformStatusFormat"
  573. align="center"
  574. width="100px;"
  575. prop="zfiPlatformStatus"
  576. :show-overflow-tooltip="true"
  577. v-if="this.companyType == '00'" />
  578. <el-table-column
  579. label="核心审批状态"
  580. :formatter="coreStatusFormat"
  581. align="center"
  582. width="100px;"
  583. prop="zfiCoreStatus"
  584. :show-overflow-tooltip="true"
  585. v-if=" this.companyType == '00'" />
  586. <el-table-column
  587. label="内部审批状态"
  588. :formatter="supplierStatusFormat"
  589. align="center"
  590. width="110px;"
  591. prop="zfiSupplierStatus"
  592. :show-overflow-tooltip="true"
  593. v-if=" this.companyType == '02'" />
  594. <el-table-column
  595. label="内部审批状态"
  596. :formatter="coreStatusFormat"
  597. align="center"
  598. width="100px;"
  599. prop="zfiCoreStatus"
  600. :show-overflow-tooltip="true"
  601. v-if=" this.companyType == '01'" />
  602. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
  603. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
  604. <template slot-scope="scope">
  605. <buttons-group
  606. :scope="scope"
  607. @handleDetail="handleDetail(scope.row)"
  608. @handleUpdate="handleUpdate(scope.row)"
  609. @handleApprove="handleApprove(scope.row)"
  610. @handleAddInformation="handleAddInformation(scope.row)"
  611. @handleSignFor="handleSignFor(scope.row)"
  612. @handleGoFinance="handleGoFinance(scope.row)"
  613. @seal="seal(scope.row)"
  614. @refuse="refuse(scope.row)"
  615. @handleDelete="handleDelete(scope.row)"
  616. @handleFlowable="handleFlowable(scope.row)"></buttons-group>
  617. </template>
  618. </el-table-column>
  619. </el-table>
  620. <statistical-data>
  621. <span class="label">总合计:<span class="value">{{rzzAmount}}</span></span>
  622. <span class="label">融资中:{{rzzAmount}}</span>
  623. </statistical-data>
  624. <pagination v-show="totalFinancing>0" :total="totalFinancing" :page.sync="queryParamsFinancing.pageNum" :limit.sync="queryParamsFinancing.pageSize" @pagination="getListFinancing" />
  625. </el-tab-pane>
  626. <!--已融资-->
  627. <el-tab-pane label="已融资">
  628. <el-table v-loading="loading" stripe :data="infFinancedList" @selection-change="handleSelectionChange" border>
  629. <el-table-column label="序号" type="index" width="50" align="center">
  630. <template slot-scope="scope">
  631. <span>{{(queryParamsFinanced.pageNum - 1) * queryParamsFinanced.pageSize + scope.$index + 1}}</span>
  632. </template>
  633. </el-table-column>
  634. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true" />
  635. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true" />
  636. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true" />
  637. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  638. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true" />
  639. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true" />
  640. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  641. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  642. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  643. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
  644. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  645. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  646. <el-table-column
  647. label="融资方审批状态"
  648. :formatter="supplierStatusFormat"
  649. align="center"
  650. width="110px;"
  651. prop="zfiSupplierStatus"
  652. :show-overflow-tooltip="true"
  653. v-if=" this.companyType == '00'" />
  654. <el-table-column
  655. label="平台审批状态"
  656. :formatter="platformStatusFormat"
  657. align="center"
  658. width="100px;"
  659. prop="zfiPlatformStatus"
  660. :show-overflow-tooltip="true"
  661. v-if="this.companyType == '00'" />
  662. <el-table-column
  663. label="核心审批状态"
  664. :formatter="coreStatusFormat"
  665. align="center"
  666. width="100px;"
  667. prop="zfiCoreStatus"
  668. :show-overflow-tooltip="true"
  669. v-if=" this.companyType == '00'" />
  670. <el-table-column
  671. label="内部审批状态"
  672. :formatter="supplierStatusFormat"
  673. align="center"
  674. width="110px;"
  675. prop="zfiSupplierStatus"
  676. :show-overflow-tooltip="true"
  677. v-if=" this.companyType == '02'" />
  678. <el-table-column
  679. label="内部审批状态"
  680. :formatter="coreStatusFormat"
  681. align="center"
  682. width="100px;"
  683. prop="zfiCoreStatus"
  684. :show-overflow-tooltip="true"
  685. v-if=" this.companyType == '01'" />
  686. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
  687. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
  688. <template slot-scope="scope">
  689. <buttons-group
  690. :scope="scope"
  691. @handleDetail="handleDetail(scope.row)"
  692. @handleUpdate="handleUpdate(scope.row)"
  693. @handleApprove="handleApprove(scope.row)"
  694. @handleAddInformation="handleAddInformation(scope.row)"
  695. @handleSignFor="handleSignFor(scope.row)"
  696. @handleGoFinance="handleGoFinance(scope.row)"
  697. @seal="seal(scope.row)"
  698. @refuse="refuse(scope.row)"
  699. @handleDelete="handleDelete(scope.row)"
  700. @handleFlowable="handleFlowable(scope.row)"></buttons-group>
  701. </template>
  702. </el-table-column>
  703. </el-table>
  704. <statistical-data>
  705. <span class="label">总合计:<span class="value">{{yrzAmount}}</span></span>
  706. <span class="label">已融资:{{yrzAmount}}</span>
  707. </statistical-data>
  708. <pagination v-show="totalFinanced>0" :total="totalFinanced" :page.sync="queryParamsFinanced.pageNum" :limit.sync="queryParamsFinanced.pageSize" @pagination="getListFinanced" />
  709. </el-tab-pane>
  710. <!--已拒绝-->
  711. <el-tab-pane label="已拒绝">
  712. <el-table v-loading="loading" stripe :data="infInvalidList" @selection-change="handleSelectionChange" border>
  713. <el-table-column label="序号" type="index" width="50" align="center">
  714. <template slot-scope="scope">
  715. <span>{{(queryParamsInvalid.pageNum - 1) * queryParamsInvalid.pageSize + scope.$index + 1}}</span>
  716. </template>
  717. </el-table-column>
  718. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true" />
  719. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true" />
  720. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true" />
  721. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  722. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true" />
  723. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true" />
  724. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  725. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  726. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  727. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
  728. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  729. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  730. <el-table-column
  731. label="融资方审批状态"
  732. :formatter="supplierStatusFormat"
  733. align="center"
  734. width="110px;"
  735. prop="zfiSupplierStatus"
  736. :show-overflow-tooltip="true"
  737. v-if=" this.companyType == '00'" />
  738. <el-table-column
  739. label="平台审批状态"
  740. :formatter="platformStatusFormat"
  741. align="center"
  742. width="100px;"
  743. prop="zfiPlatformStatus"
  744. :show-overflow-tooltip="true"
  745. v-if="this.companyType == '00'" />
  746. <el-table-column
  747. label="核心审批状态"
  748. :formatter="coreStatusFormat"
  749. align="center"
  750. width="100px;"
  751. prop="zfiCoreStatus"
  752. :show-overflow-tooltip="true"
  753. v-if=" this.companyType == '00'" />
  754. <el-table-column
  755. label="内部审批状态"
  756. :formatter="supplierStatusFormat"
  757. align="center"
  758. width="110px;"
  759. prop="zfiSupplierStatus"
  760. :show-overflow-tooltip="true"
  761. v-if=" this.companyType == '02'" />
  762. <el-table-column
  763. label="内部审批状态"
  764. :formatter="coreStatusFormat"
  765. align="center"
  766. width="100px;"
  767. prop="zfiCoreStatus"
  768. :show-overflow-tooltip="true"
  769. v-if=" this.companyType == '01'" />
  770. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
  771. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
  772. <template slot-scope="scope">
  773. <buttons-group
  774. :scope="scope"
  775. @handleDetail="handleDetail(scope.row)"
  776. @handleUpdate="handleUpdate(scope.row)"
  777. @handleApprove="handleApprove(scope.row)"
  778. @handleAddInformation="handleAddInformation(scope.row)"
  779. @handleSignFor="handleSignFor(scope.row)"
  780. @handleGoFinance="handleGoFinance(scope.row)"
  781. @seal="seal(scope.row)"
  782. @refuse="refuse(scope.row)"
  783. @handleDelete="handleDelete(scope.row)"
  784. @handleFlowable="handleFlowable(scope.row)"></buttons-group>
  785. </template>
  786. </el-table-column>
  787. </el-table>
  788. <statistical-data>
  789. <span class="label">总合计:<span class="value">{{yjjAmount}}</span></span>
  790. <span class="label">已拒绝:{{yjjAmount}}</span>
  791. </statistical-data>
  792. <pagination v-show="totalInvalid>0" :total="totalInvalid" :page.sync="queryParamsInvalid.pageNum" :limit.sync="queryParamsInvalid.pageSize" @pagination="getListInvalid" />
  793. </el-tab-pane>
  794. <!--已结算-->
  795. <el-tab-pane label="已结算">
  796. <el-table v-loading="loading" stripe :data="settlementList" @selection-change="handleSelectionChange" border>
  797. <el-table-column label="序号" type="index" width="50" align="center">
  798. <template slot-scope="scope">
  799. <span>{{(queryParamsSettlement.pageNum - 1) * queryParamsSettlement.pageSize + scope.$index + 1}}</span>
  800. </template>
  801. </el-table-column>
  802. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true" />
  803. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true" />
  804. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true" />
  805. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  806. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true" />
  807. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true" />
  808. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  809. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  810. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  811. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
  812. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  813. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  814. <el-table-column
  815. label="融资方审批状态"
  816. :formatter="supplierStatusFormat"
  817. align="center"
  818. width="110px;"
  819. prop="zfiSupplierStatus"
  820. :show-overflow-tooltip="true"
  821. v-if=" this.companyType == '00'" />
  822. <el-table-column
  823. label="平台审批状态"
  824. :formatter="platformStatusFormat"
  825. align="center"
  826. width="100px;"
  827. prop="zfiPlatformStatus"
  828. :show-overflow-tooltip="true"
  829. v-if="this.companyType == '00'" />
  830. <el-table-column
  831. label="核心审批状态"
  832. :formatter="coreStatusFormat"
  833. align="center"
  834. width="100px;"
  835. prop="zfiCoreStatus"
  836. :show-overflow-tooltip="true"
  837. v-if=" this.companyType == '00'" />
  838. <el-table-column
  839. label="内部审批状态"
  840. :formatter="supplierStatusFormat"
  841. align="center"
  842. width="110px;"
  843. prop="zfiSupplierStatus"
  844. :show-overflow-tooltip="true"
  845. v-if=" this.companyType == '02'" />
  846. <el-table-column
  847. label="内部审批状态"
  848. :formatter="coreStatusFormat"
  849. align="center"
  850. width="100px;"
  851. prop="zfiCoreStatus"
  852. :show-overflow-tooltip="true"
  853. v-if=" this.companyType == '01'" />
  854. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
  855. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
  856. <template slot-scope="scope">
  857. <buttons-group
  858. :scope="scope"
  859. @handleDetail="handleDetail(scope.row)"
  860. @handleUpdate="handleUpdate(scope.row)"
  861. @handleApprove="handleApprove(scope.row)"
  862. @handleAddInformation="handleAddInformation(scope.row)"
  863. @handleSignFor="handleSignFor(scope.row)"
  864. @handleGoFinance="handleGoFinance(scope.row)"
  865. @seal="seal(scope.row)"
  866. @refuse="refuse(scope.row)"
  867. @handleDelete="handleDelete(scope.row)"
  868. @handleFlowable="handleFlowable(scope.row)"></buttons-group>
  869. </template>
  870. </el-table-column>
  871. </el-table>
  872. <statistical-data>
  873. <span class="label">总合计:<span class="value">{{yjsAmount}}</span></span>
  874. <span class="label">已结算:{{yjsAmount}}</span>
  875. </statistical-data>
  876. <pagination v-show="totalSettlement>0" :total="totalSettlement" :page.sync="queryParamsSettlement.pageNum" :limit.sync="queryParamsSettlement.pageSize" @pagination="getListSettlement" />
  877. </el-tab-pane>
  878. <!--已过期-->
  879. <el-tab-pane label="已过期">
  880. <el-table v-loading="loading" stripe :data="overdueList" @selection-change="handleSelectionChange" border>
  881. <el-table-column label="序号" type="index" width="50" align="center">
  882. <template slot-scope="scope">
  883. <span>{{(queryParamsOverdue.pageNum - 1) * queryParamsOverdue.pageSize + scope.$index + 1}}</span>
  884. </template>
  885. </el-table-column>
  886. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true" />
  887. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true" />
  888. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true" />
  889. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  890. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true" />
  891. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true" />
  892. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  893. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  894. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  895. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
  896. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  897. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  898. <el-table-column
  899. label="融资方审批状态"
  900. :formatter="supplierStatusFormat"
  901. align="center"
  902. width="110px;"
  903. prop="zfiSupplierStatus"
  904. :show-overflow-tooltip="true"
  905. v-if=" this.companyType == '00'" />
  906. <el-table-column
  907. label="平台审批状态"
  908. :formatter="platformStatusFormat"
  909. align="center"
  910. width="100px;"
  911. prop="zfiPlatformStatus"
  912. :show-overflow-tooltip="true"
  913. v-if="this.companyType == '00'" />
  914. <el-table-column
  915. label="核心审批状态"
  916. :formatter="coreStatusFormat"
  917. align="center"
  918. width="100px;"
  919. prop="zfiCoreStatus"
  920. :show-overflow-tooltip="true"
  921. v-if=" this.companyType == '00'" />
  922. <el-table-column
  923. label="内部审批状态"
  924. :formatter="supplierStatusFormat"
  925. align="center"
  926. width="110px;"
  927. prop="zfiSupplierStatus"
  928. :show-overflow-tooltip="true"
  929. v-if=" this.companyType == '02'" />
  930. <el-table-column
  931. label="内部审批状态"
  932. :formatter="coreStatusFormat"
  933. align="center"
  934. width="100px;"
  935. prop="zfiCoreStatus"
  936. :show-overflow-tooltip="true"
  937. v-if=" this.companyType == '01'" />
  938. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
  939. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right">
  940. <template slot-scope="scope">
  941. <buttons-group
  942. :scope="scope"
  943. @handleDetail="handleDetail(scope.row)"
  944. @handleUpdate="handleUpdate(scope.row)"
  945. @handleApprove="handleApprove(scope.row)"
  946. @handleAddInformation="handleAddInformation(scope.row)"
  947. @handleSignFor="handleSignFor(scope.row)"
  948. @handleGoFinance="handleGoFinance(scope.row)"
  949. @seal="seal(scope.row)"
  950. @refuse="refuse(scope.row)"
  951. @handleDelete="handleDelete(scope.row)"
  952. @handleFlowable="handleFlowable(scope.row)"></buttons-group>
  953. </template>
  954. </el-table-column>
  955. </el-table>
  956. <statistical-data>
  957. <span class="label">总合计:<span class="value">{{ygqAmount}}</span></span>
  958. <span class="label">已过期:{{ygqAmount}}</span>
  959. </statistical-data>
  960. <pagination v-show="totalOverdue>0" :total="totalOverdue" :page.sync="queryParamsOverdue.pageNum" :limit.sync="queryParamsOverdue.pageSize" @pagination="getListOverdue" />
  961. </el-tab-pane>
  962. <!-- 查看流程 -->
  963. <el-dialog title="查看流程" :visible.sync="openFlowDetail" width="837px" append-to-body>
  964. <flow-detail :financeId="financeId" :financeType="financeType" :financeActive="financeActive" v-if="openFlowDetail"></flow-detail>
  965. <el-row
  966. slot="footer"
  967. class="dialog-footer"
  968. type="flex"
  969. justify="center"
  970. align="middle"
  971. >
  972. <el-button type="primary" @click="closeFliwDetail">关闭</el-button>
  973. </el-row>
  974. </el-dialog>
  975. <!--查看内部审批流程-->
  976. <el-dialog title="流程进度" :visible.sync="hisTaskForm">
  977. <el-steps direction="vertical" :active="histaskList[histaskList.length-1] && histaskList[histaskList.length-1].activityType == 'endEvent' ? histaskList.length : histaskList.length-1" finish-status="success" space="60px">
  978. <el-step :title="item.name" v-for="(item,index) in histaskList" :key="index">
  979. <template slot="description">
  980. <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}'):''}}
  981. <div v-if="item.deleteReason != null" class="text item">
  982. {{'拒绝原因: ' + item.deleteReason }}
  983. </div>
  984. <div v-else v-for="(comment,index) in item.commentList" class="text item" :key="index">
  985. {{'审批意见: ' + comment.message }}
  986. </div>
  987. </template>
  988. </el-step>
  989. </el-steps>
  990. <div slot="footer" class="dialog-footer">
  991. <el-button @click="hisTaskForm = false">关 闭</el-button>
  992. </div>
  993. </el-dialog>
  994. </el-tabs>
  995. </div>
  996. </el-col>
  997. </el-row>
  998. </div>
  999. </template>
  1000. <script>
  1001. import {
  1002. listCredit,
  1003. coreApproval,
  1004. confirmationApproval,
  1005. informationApproval,
  1006. approval,
  1007. openApproval,
  1008. getUser,
  1009. listStatisticalAmount
  1010. } from "@/api/service/credit/credit";
  1011. import {
  1012. creditRefuse,
  1013. sealRefuse,
  1014. creditDel
  1015. } from "@/api/service/credit/creditHandle";
  1016. import Editor from '@/components/Editor';
  1017. import {
  1018. listCompanyHandler
  1019. } from "@/api/common/companyHandler";
  1020. import {
  1021. approvalProcess
  1022. } from "@/api/service/credit/approvalRelatedCredit";
  1023. import FlowDetail from "@/views/service/credit/flowDetail";
  1024. import Cookies from 'js-cookie';
  1025. import {
  1026. getUserProfile
  1027. } from "@/api/system/user";
  1028. import {
  1029. isOpenApproval
  1030. } from "@/api/service/credit/approvalRelatedCredit";
  1031. import SearchBar from '@/components/SearchBar/index.vue'
  1032. import StatisticalData from '@/components/StatisticalData/index.vue'
  1033. import ButtonsGroup from '@/components/Table/ButtonsGroup.vue'
  1034. export default {
  1035. name: "invoice",
  1036. components: {
  1037. Editor,
  1038. FlowDetail,
  1039. SearchBar,
  1040. StatisticalData,
  1041. ButtonsGroup
  1042. },
  1043. data() {
  1044. return {
  1045. allAmount: '0.00',
  1046. klzAllAmount: '0.00',
  1047. ysxAllAmount: '0.00',
  1048. rzzAllAmount: '0.00',
  1049. yrzAllAmount: '0.00',
  1050. yjjAllAmount: '0.00',
  1051. yjsAllAmount: '0.00',
  1052. ygqAllAmount: '0.00',
  1053. klzAmount: '0.00',
  1054. ysxAmount: '0.00',
  1055. rzzAmount: '0.00',
  1056. yrzAmount: '0.00',
  1057. yjjAmount: '0.00',
  1058. yjsAmount: '0.00',
  1059. ygqAmount: '0.00',
  1060. activeIndex: '',
  1061. //当前登录企业Id
  1062. companyId: '',
  1063. // 遮罩层
  1064. loading: true,
  1065. // 选中数组
  1066. ids: [],
  1067. // 非单个禁用
  1068. single: true,
  1069. // 非多个禁用
  1070. multiple: true,
  1071. // 显示搜索条件
  1072. showSearch: true,
  1073. // 总条数
  1074. total: 0,
  1075. //待签收总条数
  1076. totalSign: 0,
  1077. //融资中
  1078. totalFinancing: 0,
  1079. //开立中
  1080. totalOpening: 0,
  1081. //已融资
  1082. totalFinanced: 0,
  1083. //已拒绝
  1084. totalInvalid: 0,
  1085. //已结算
  1086. totalSettlement: 0,
  1087. //已过期
  1088. totalOverdue: 0,
  1089. // 弹出层标题
  1090. title: "",
  1091. // 是否显示弹出层
  1092. open: false,
  1093. openFlowDetail: false,
  1094. //融资产品
  1095. zfpTypeOptions: [],
  1096. //融信类型
  1097. typeOptions: [],
  1098. //状态
  1099. stateOptions: [],
  1100. //平台审批状态
  1101. platformOptions: [],
  1102. //核心审批状态
  1103. coreOptions: [],
  1104. //供应商审批状态
  1105. supplierOptions: [],
  1106. //开始金额
  1107. startAmt: undefined,
  1108. //结束金额
  1109. endAmt: undefined,
  1110. //当前企业类型
  1111. companyType: '',
  1112. //筛选条件数据字典
  1113. typesOptions: [],
  1114. queryOptions: [],
  1115. //审批
  1116. hisTaskForm: false,
  1117. histaskList: [],
  1118. // 查询参数
  1119. queryParams: {
  1120. pageNum: 1,
  1121. pageSize: 10,
  1122. zfiNumber: null,
  1123. zfiStatus: null,
  1124. openCompany: null,
  1125. receiveCompany: null,
  1126. startAmt: null,
  1127. endAmt: null,
  1128. zfpName: null,
  1129. zfiRate: null,
  1130. zfiSignDate: [],
  1131. zfiExpireDate: [],
  1132. zfiTypes: '00',
  1133. zfiQuery: null,
  1134. zfiValue: null,
  1135. },
  1136. // 已生效查询参数
  1137. queryParamsSign: {
  1138. pageNum: 1,
  1139. pageSize: 10,
  1140. zfiNumber: null,
  1141. zfiStatus: "02",
  1142. openCompany: null,
  1143. receiveCompany: null,
  1144. startAmt: null,
  1145. endAmt: null,
  1146. zfpName: null,
  1147. zfiRate: null,
  1148. zfiSignDate: [],
  1149. zfiExpireDate: [],
  1150. zfiTypes: '00',
  1151. zfiQuery: null,
  1152. zfiValue: null,
  1153. },
  1154. //融资中查询参数
  1155. queryParamsFinancing: {
  1156. pageNum: 1,
  1157. pageSize: 10,
  1158. zfiNumber: null,
  1159. zfiStatus: "04",
  1160. openCompany: null,
  1161. receiveCompany: null,
  1162. startAmt: null,
  1163. endAmt: null,
  1164. zfpName: null,
  1165. zfiRate: null,
  1166. zfiSignDate: [],
  1167. zfiExpireDate: [],
  1168. zfiTypes: '00',
  1169. zfiQuery: null,
  1170. zfiValue: null,
  1171. },
  1172. //开立中查询参数
  1173. queryParamsOpening: {
  1174. pageNum: 1,
  1175. pageSize: 10,
  1176. zfiNumber: null,
  1177. zfiStatus: "00,01,06",
  1178. openCompany: null,
  1179. receiveCompany: null,
  1180. startAmt: null,
  1181. endAmt: null,
  1182. zfpName: null,
  1183. zfiRate: null,
  1184. zfiSignDate: [],
  1185. zfiExpireDate: [],
  1186. zfiTypes: '00',
  1187. zfiQuery: null,
  1188. zfiValue: null,
  1189. },
  1190. //已融资搜索
  1191. queryParamsFinanced: {
  1192. pageNum: 1,
  1193. pageSize: 10,
  1194. zfiNumber: null,
  1195. zfiStatus: "05",
  1196. openCompany: null,
  1197. receiveCompany: null,
  1198. startAmt: null,
  1199. endAmt: null,
  1200. zfpName: null,
  1201. zfiRate: null,
  1202. zfiSignDate: [],
  1203. zfiExpireDate: [],
  1204. zfiTypes: '00',
  1205. zfiQuery: null,
  1206. zfiValue: null,
  1207. },
  1208. //已拒绝
  1209. queryParamsInvalid: {
  1210. pageNum: 1,
  1211. pageSize: 10,
  1212. zfiNumber: null,
  1213. zfiStatus: "03",
  1214. openCompany: null,
  1215. receiveCompany: null,
  1216. startAmt: null,
  1217. endAmt: null,
  1218. zfpName: null,
  1219. zfiRate: null,
  1220. zfiSignDate: [],
  1221. zfiExpireDate: [],
  1222. zfiTypes: '00',
  1223. zfiQuery: null,
  1224. zfiValue: null,
  1225. },
  1226. //已结算
  1227. queryParamsSettlement: {
  1228. pageNum: 1,
  1229. pageSize: 10,
  1230. zfiNumber: null,
  1231. zfiStatus: "08",
  1232. openCompany: null,
  1233. receiveCompany: null,
  1234. startAmt: null,
  1235. endAmt: null,
  1236. zfpName: null,
  1237. zfiRate: null,
  1238. zfiSignDate: [],
  1239. zfiExpireDate: [],
  1240. zfiTypes: '00',
  1241. zfiQuery: null,
  1242. zfiValue: null,
  1243. },
  1244. //已过期
  1245. queryParamsOverdue: {
  1246. pageNum: 1,
  1247. pageSize: 10,
  1248. zfiNumber: null,
  1249. zfiStatus: "07",
  1250. openCompany: null,
  1251. receiveCompany: null,
  1252. startAmt: null,
  1253. endAmt: null,
  1254. zfpName: null,
  1255. zfiRate: null,
  1256. zfiSignDate: [],
  1257. zfiExpireDate: [],
  1258. zfiTypes: '00',
  1259. zfiQuery: null,
  1260. zfiValue: null,
  1261. },
  1262. //全部数据
  1263. infList: [],
  1264. //待签收
  1265. infSignList: [],
  1266. //融资中
  1267. infFinancingList: [],
  1268. //开立中
  1269. infOpeningList: [],
  1270. //已融资
  1271. infFinancedList: [],
  1272. //已拒绝
  1273. infInvalidList: [],
  1274. //已结算
  1275. settlementList: [],
  1276. //已过期
  1277. overdueList: [],
  1278. // 表单参数
  1279. form: {},
  1280. financeId: null,
  1281. financeType: null,
  1282. financeActive: 0
  1283. };
  1284. },
  1285. created() {
  1286. this.getDicts("zc_zfp_type").then(response => {
  1287. this.zfpTypeOptions = response.data;
  1288. });
  1289. this.getDicts("zfi_create_type").then(response => {
  1290. this.typeOptions = response.data;
  1291. });
  1292. this.getDicts("zc_finance_state").then(response => {
  1293. this.stateOptions = response.data;
  1294. });
  1295. this.getDicts("finance_platform_status").then(response => {
  1296. this.platformOptions = response.data;
  1297. });
  1298. this.getDicts("finance_core_status").then(response => {
  1299. this.coreOptions = response.data;
  1300. });
  1301. this.getDicts("finance_supplier_status").then(response => {
  1302. this.supplierOptions = response.data;
  1303. });
  1304. this.getDicts("zc_zfr_types").then((response) => {
  1305. this.typesOptions = response.data;
  1306. });
  1307. this.getDicts("zc_zfi_query").then((response) => {
  1308. this.queryOptions = response.data;
  1309. });
  1310. this.getUser();
  1311. this.getList().then(() => {
  1312. getUserProfile().then((response) => {
  1313. if ("00" == response.data.companyType) {
  1314. this.queryParams.zfiQuery = '02';
  1315. } else if ("01" == response.data.companyType) {
  1316. this.queryParams.zfiQuery = '01';
  1317. } else if ("02" == response.data.companyType) {
  1318. this.queryParams.zfiQuery = '00';
  1319. }
  1320. })
  1321. listStatisticalAmount(this.queryParams).then(response => {
  1322. debugger
  1323. this.allAmount = response.data.allAmount;
  1324. this.klzAllAmount = response.data.klzAmount;
  1325. this.ysxAllAmount = response.data.ysxAmount;
  1326. this.rzzAllAmount = response.data.rzzAmount;
  1327. this.yrzAllAmount = response.data.yrzAmount;
  1328. this.yjjAllAmount = response.data.yjjAmount;
  1329. this.yjsAllAmount = response.data.yjsAmount;
  1330. this.ygqAllAmount = response.data.ygqAmount;
  1331. })
  1332. //this.listStatisticalAmount(this.queryParams);
  1333. })
  1334. this.getListSign().then(() => {
  1335. getUserProfile().then((response) => {
  1336. if ("00" == response.data.companyType) {
  1337. this.queryParamsSign.zfiQuery = '02';
  1338. } else if ("01" == response.data.companyType) {
  1339. this.queryParamsSign.zfiQuery = '01';
  1340. } else if ("02" == response.data.companyType) {
  1341. this.queryParamsSign.zfiQuery = '00';
  1342. }
  1343. })
  1344. listStatisticalAmount(this.queryParamsSign).then(response => {
  1345. this.ysxAmount = response.data.ysxAmount;
  1346. })
  1347. //this.listStatisticalAmount(this.queryParamsSign);
  1348. })
  1349. this.getListFinancing().then(() => {
  1350. getUserProfile().then((response) => {
  1351. if ("00" == response.data.companyType) {
  1352. this.queryParamsFinancing.zfiQuery = '02';
  1353. } else if ("01" == response.data.companyType) {
  1354. this.queryParamsFinancing.zfiQuery = '01';
  1355. } else if ("02" == response.data.companyType) {
  1356. this.queryParamsFinancing.zfiQuery = '00';
  1357. }
  1358. })
  1359. listStatisticalAmount(this.queryParamsFinancing).then(response => {
  1360. this.rzzAmount = response.data.rzzAmount;
  1361. })
  1362. //this.listStatisticalAmount(this.queryParamsFinancing);
  1363. })
  1364. this.getListOpening().then(() => {
  1365. getUserProfile().then((response) => {
  1366. if ("00" == response.data.companyType) {
  1367. this.queryParamsOpening.zfiQuery = '02';
  1368. } else if ("01" == response.data.companyType) {
  1369. this.queryParamsOpening.zfiQuery = '01';
  1370. } else if ("02" == response.data.companyType) {}
  1371. })
  1372. listStatisticalAmount(this.queryParamsOpening).then(response => {
  1373. this.klzAmount = response.data.klzAmount;
  1374. })
  1375. //this.listStatisticalAmount(this.queryParamsOpening);
  1376. })
  1377. this.getListFinanced().then(() => {
  1378. getUserProfile().then((response) => {
  1379. if ("00" == response.data.companyType) {
  1380. this.queryParamsFinanced.zfiQuery = '02';
  1381. } else if ("01" == response.data.companyType) {
  1382. this.queryParamsFinanced.zfiQuery = '01';
  1383. } else if ("02" == response.data.companyType) {
  1384. this.queryParamsFinanced.zfiQuery = '00';
  1385. }
  1386. })
  1387. listStatisticalAmount(this.queryParamsFinanced).then(response => {
  1388. this.yrzAmount = response.data.yrzAmount;
  1389. })
  1390. //this.listStatisticalAmount(this.queryParamsFinanced);
  1391. })
  1392. this.getListInvalid().then(() => {
  1393. getUserProfile().then((response) => {
  1394. if ("00" == response.data.companyType) {
  1395. this.queryParamsInvalid.zfiQuery = '02';
  1396. } else if ("01" == response.data.companyType) {
  1397. this.queryParamsInvalid.zfiQuery = '01';
  1398. } else if ("02" == response.data.companyType) {
  1399. this.queryParamsInvalid.zfiQuery = '00';
  1400. }
  1401. })
  1402. listStatisticalAmount(this.queryParamsInvalid).then(response => {
  1403. this.yjjAmount = response.data.yjjAmount;
  1404. })
  1405. //this.listStatisticalAmount(this.queryParamsInvalid);
  1406. })
  1407. this.getListSettlement().then(() => {
  1408. getUserProfile().then((response) => {
  1409. if ("00" == response.data.companyType) {
  1410. this.queryParamsSettlement.zfiQuery = '02';
  1411. } else if ("01" == response.data.companyType) {
  1412. this.queryParamsSettlement.zfiQuery = '01';
  1413. } else if ("02" == response.data.companyType) {
  1414. this.queryParamsSettlement.zfiQuery = '00';
  1415. }
  1416. })
  1417. listStatisticalAmount(this.queryParamsSettlement).then(response => {
  1418. this.yjsAmount = response.data.yjsAmount;
  1419. })
  1420. //this.listStatisticalAmount(this.queryParamsSettlement);
  1421. })
  1422. this.getListOverdue().then(() => {
  1423. getUserProfile().then((response) => {
  1424. if ("00" == response.data.companyType) {
  1425. this.queryParamsOverdue.zfiQuery = '02';
  1426. } else if ("01" == response.data.companyType) {
  1427. this.queryParamsOverdue.zfiQuery = '01';
  1428. } else if ("02" == response.data.companyType) {
  1429. this.queryParamsOverdue.zfiQuery = '00';
  1430. }
  1431. })
  1432. listStatisticalAmount(this.queryParamsOverdue).then(response => {
  1433. this.ygqAmount = response.data.ygqAmount;
  1434. })
  1435. //this.listStatisticalAmount(this.queryParamsOverdue);
  1436. })
  1437. },
  1438. activated() {
  1439. this.getDicts("zc_zfp_type").then(response => {
  1440. this.zfpTypeOptions = response.data;
  1441. });
  1442. this.getDicts("zfi_create_type").then(response => {
  1443. this.typeOptions = response.data;
  1444. });
  1445. this.getDicts("zc_finance_state").then(response => {
  1446. this.stateOptions = response.data;
  1447. });
  1448. this.getDicts("finance_platform_status").then(response => {
  1449. this.platformOptions = response.data;
  1450. });
  1451. this.getDicts("finance_core_status").then(response => {
  1452. this.coreOptions = response.data;
  1453. });
  1454. this.getDicts("finance_supplier_status").then(response => {
  1455. this.supplierOptions = response.data;
  1456. });
  1457. this.getUser();
  1458. this.getList().then(() => {
  1459. getUserProfile().then((response) => {
  1460. if ("00" == response.data.companyType) {
  1461. this.queryParams.zfiQuery = '02';
  1462. } else if ("01" == response.data.companyType) {
  1463. this.queryParams.zfiQuery = '01';
  1464. } else if ("02" == response.data.companyType) {
  1465. this.queryParams.zfiQuery = '00';
  1466. }
  1467. })
  1468. listStatisticalAmount(this.queryParams).then(response => {
  1469. debugger
  1470. this.allAmount = response.data.allAmount;
  1471. this.klzAllAmount = response.data.klzAmount;
  1472. this.ysxAllAmount = response.data.ysxAmount;
  1473. this.rzzAllAmount = response.data.rzzAmount;
  1474. this.yrzAllAmount = response.data.yrzAmount;
  1475. this.yjjAllAmount = response.data.yjjAmount;
  1476. this.yjsAllAmount = response.data.yjsAmount;
  1477. this.ygqAllAmount = response.data.ygqAmount;
  1478. })
  1479. //this.listStatisticalAmount(this.queryParams);
  1480. })
  1481. this.getListSign().then(() => {
  1482. getUserProfile().then((response) => {
  1483. if ("00" == response.data.companyType) {
  1484. this.queryParamsSign.zfiQuery = '02';
  1485. } else if ("01" == response.data.companyType) {
  1486. this.queryParamsSign.zfiQuery = '01';
  1487. } else if ("02" == response.data.companyType) {
  1488. this.queryParamsSign.zfiQuery = '00';
  1489. }
  1490. })
  1491. listStatisticalAmount(this.queryParamsSign).then(response => {
  1492. this.ysxAmount = response.data.klzAmount;
  1493. })
  1494. //this.listStatisticalAmount(this.queryParamsSign);
  1495. })
  1496. this.getListFinancing().then(() => {
  1497. getUserProfile().then((response) => {
  1498. if ("00" == response.data.companyType) {
  1499. this.queryParamsFinancing.zfiQuery = '02';
  1500. } else if ("01" == response.data.companyType) {
  1501. this.queryParamsFinancing.zfiQuery = '01';
  1502. } else if ("02" == response.data.companyType) {
  1503. this.queryParamsFinancing.zfiQuery = '00';
  1504. }
  1505. })
  1506. listStatisticalAmount(this.queryParamsSign).then(response => {
  1507. this.ysxAmount = response.data.ysxAmount;
  1508. })
  1509. //this.listStatisticalAmount(this.queryParamsSign);
  1510. })
  1511. this.getListFinancing().then(() => {
  1512. getUserProfile().then((response) => {
  1513. if ("00" == response.data.companyType) {
  1514. this.queryParamsFinancing.zfiQuery = '02';
  1515. } else if ("01" == response.data.companyType) {
  1516. this.queryParamsFinancing.zfiQuery = '01';
  1517. } else if ("02" == response.data.companyType) {
  1518. this.queryParamsFinancing.zfiQuery = '00';
  1519. }
  1520. })
  1521. listStatisticalAmount(this.queryParamsFinancing).then(response => {
  1522. this.rzzAmount = response.data.rzzAmount;
  1523. })
  1524. //this.listStatisticalAmount(this.queryParamsFinancing);
  1525. })
  1526. this.getListFinanced().then(() => {
  1527. getUserProfile().then((response) => {
  1528. if ("00" == response.data.companyType) {
  1529. this.queryParamsFinanced.zfiQuery = '02';
  1530. } else if ("01" == response.data.companyType) {
  1531. this.queryParamsFinanced.zfiQuery = '01';
  1532. } else if ("02" == response.data.companyType) {
  1533. this.queryParamsFinanced.zfiQuery = '00';
  1534. }
  1535. })
  1536. listStatisticalAmount(this.queryParamsFinanced).then(response => {
  1537. this.yrzAmount = response.data.yrzAmount;
  1538. })
  1539. //this.listStatisticalAmount(this.queryParamsFinanced);
  1540. })
  1541. this.getListInvalid().then(() => {
  1542. getUserProfile().then((response) => {
  1543. if ("00" == response.data.companyType) {
  1544. this.queryParamsInvalid.zfiQuery = '02';
  1545. } else if ("01" == response.data.companyType) {
  1546. this.queryParamsInvalid.zfiQuery = '01';
  1547. } else if ("02" == response.data.companyType) {
  1548. this.queryParamsInvalid.zfiQuery = '00';
  1549. }
  1550. })
  1551. listStatisticalAmount(this.queryParamsInvalid).then(response => {
  1552. this.yjjAmount = response.data.yjjAmount;
  1553. })
  1554. //this.listStatisticalAmount(this.queryParamsInvalid);
  1555. })
  1556. this.getListSettlement().then(() => {
  1557. getUserProfile().then((response) => {
  1558. if ("00" == response.data.companyType) {
  1559. this.queryParamsSettlement.zfiQuery = '02';
  1560. } else if ("01" == response.data.companyType) {
  1561. this.queryParamsSettlement.zfiQuery = '01';
  1562. } else if ("02" == response.data.companyType) {
  1563. this.queryParamsSettlement.zfiQuery = '00';
  1564. }
  1565. })
  1566. listStatisticalAmount(this.queryParamsSettlement).then(response => {
  1567. this.yjsAmount = response.data.yjsAmount;
  1568. })
  1569. //this.listStatisticalAmount(this.queryParamsSettlement);
  1570. })
  1571. this.getListOverdue().then(() => {
  1572. getUserProfile().then((response) => {
  1573. if ("00" == response.data.companyType) {
  1574. this.queryParamsOverdue.zfiQuery = '02';
  1575. } else if ("01" == response.data.companyType) {
  1576. this.queryParamsOverdue.zfiQuery = '01';
  1577. } else if ("02" == response.data.companyType) {
  1578. this.queryParamsOverdue.zfiQuery = '00';
  1579. }
  1580. })
  1581. listStatisticalAmount(this.queryParamsOverdue).then(response => {
  1582. this.ygqAmount = response.data.ygqAmount;
  1583. })
  1584. })
  1585. },
  1586. methods: {
  1587. listStatisticalAmount(queryParamsMoney) {
  1588. // listStatisticalAmount(queryParamsMoney).then(response => {
  1589. // debugger
  1590. // this.allAmount = response.data.allAmount;
  1591. // this.klzAmount = response.data.klzAmount;
  1592. // this.ysxAmount = response.data.ysxAmount;
  1593. // this.rzzAmount = response.data.rzzAmount;
  1594. // this.yrzAmount = response.data.yrzAmount;
  1595. // this.yjjAmount = response.data.yjjAmount;
  1596. // this.yjsAmount = response.data.yjsAmount;
  1597. // this.ygqAmount = response.data.ygqAmount;
  1598. // })
  1599. },
  1600. //获取操作员Id
  1601. getUser() {
  1602. getUser().then(response => {
  1603. debugger
  1604. this.companyId = response.data;
  1605. })
  1606. },
  1607. /** 查询全部列表 */
  1608. getList() {
  1609. this.loading = true;
  1610. return listCredit(this.queryParams).then(response => {
  1611. debugger
  1612. this.infList = response.data.records;
  1613. if (this.infList) {
  1614. if (this.infList.length > 0) {
  1615. //企业类型
  1616. this.companyType = this.infList[0].companyType;
  1617. }
  1618. }
  1619. this.total = response.data.total;
  1620. this.loading = false;
  1621. listStatisticalAmount(this.queryParams).then(response => {
  1622. debugger
  1623. this.allAmount = response.data.allAmount;
  1624. this.klzAllAmount = response.data.klzAmount;
  1625. this.ysxAllAmount = response.data.ysxAmount;
  1626. this.rzzAllAmount = response.data.rzzAmount;
  1627. this.yrzAllAmount = response.data.yrzAmount;
  1628. this.yjjAllAmount = response.data.yjjAmount;
  1629. this.yjsAllAmount = response.data.yjsAmount;
  1630. this.ygqAllAmount = response.data.ygqAmount;
  1631. })
  1632. return Promise.resolve(response)
  1633. }).catch((response) => {
  1634. this.loading = false;
  1635. return Promise.reject('error')
  1636. })
  1637. //this.listStatisticalAmount(this.queryParams);
  1638. },
  1639. //查询待签收
  1640. getListSign() {
  1641. this.loading = true;
  1642. return listCredit(this.queryParamsSign).then(response => {
  1643. this.infSignList = response.data.records;
  1644. this.totalSign = response.data.total;
  1645. this.loading = false;
  1646. listStatisticalAmount(this.queryParams).then(response => {
  1647. this.ysxAmount = response.data.ysxAmount;
  1648. })
  1649. listStatisticalAmount(this.queryParams).then(response => {
  1650. this.allAmount = response.data.allAmount;
  1651. this.klzAllAmount = response.data.klzAmount;
  1652. this.ysxAllAmount = response.data.ysxAmount;
  1653. this.rzzAllAmount = response.data.rzzAmount;
  1654. this.yrzAllAmount = response.data.yrzAmount;
  1655. this.yjjAllAmount = response.data.yjjAmount;
  1656. this.yjsAllAmount = response.data.yjsAmount;
  1657. this.ygqAllAmount = response.data.ygqAmount;
  1658. })
  1659. return Promise.resolve(response)
  1660. }).catch((response) => {
  1661. this.loading = false;
  1662. return Promise.reject('error')
  1663. });
  1664. },
  1665. //融资中
  1666. getListFinancing() {
  1667. this.loading = true;
  1668. return listCredit(this.queryParamsFinancing).then(response => {
  1669. this.infFinancingList = response.data.records;
  1670. this.totalFinancing = response.data.total;
  1671. this.loading = false;
  1672. return Promise.resolve(response)
  1673. listStatisticalAmount(this.queryParamsFinancing).then(response => {
  1674. this.rzzAmount = response.data.rzzAmount;
  1675. })
  1676. }).catch((response) => {
  1677. this.loading = false;
  1678. return Promise.reject('error')
  1679. });
  1680. },
  1681. //开立中
  1682. getListOpening() {
  1683. this.loading = true;
  1684. return listCredit(this.queryParamsOpening).then(response => {
  1685. this.infOpeningList = response.data.records;
  1686. this.totalOpening = response.data.total;
  1687. this.loading = false;
  1688. listStatisticalAmount(this.queryParamsOpening).then(response => {
  1689. this.klzAmount = response.data.klzAmount;
  1690. })
  1691. return Promise.resolve(response)
  1692. }).catch((response) => {
  1693. this.loading = false;
  1694. return Promise.reject('error')
  1695. });
  1696. },
  1697. //已融资
  1698. getListFinanced() {
  1699. this.loading = true;
  1700. return listCredit(this.queryParamsFinanced).then(response => {
  1701. this.infFinancedList = response.data.records;
  1702. this.totalFinanced = response.data.total;
  1703. this.loading = false;
  1704. listStatisticalAmount(this.queryParamsFinanced).then(response => {
  1705. this.yrzAmount = response.data.yrzAmount;
  1706. })
  1707. return Promise.resolve(response)
  1708. }).catch((response) => {
  1709. this.loading = false;
  1710. return Promise.reject('error')
  1711. });
  1712. },
  1713. //已拒绝
  1714. getListInvalid() {
  1715. this.loading = true;
  1716. return listCredit(this.queryParamsInvalid).then(response => {
  1717. this.infInvalidList = response.data.records;
  1718. this.totalInvalid = response.data.total;
  1719. this.loading = false;
  1720. listStatisticalAmount(this.queryParamsInvalid).then(response => {
  1721. this.yjjAmount = response.data.yjjAmount;
  1722. })
  1723. return Promise.resolve(response)
  1724. }).catch((response) => {
  1725. this.loading = false;
  1726. return Promise.reject('error')
  1727. });
  1728. },
  1729. //已结算
  1730. getListSettlement() {
  1731. this.loading = true;
  1732. return listCredit(this.queryParamsSettlement).then(response => {
  1733. this.settlementList = response.data.records;
  1734. this.totalSettlement = response.data.total;
  1735. this.loading = false;
  1736. listStatisticalAmount(this.queryParamsSettlement).then(response => {
  1737. this.yjsAmount = response.data.yjsAmount;
  1738. })
  1739. return Promise.resolve(response)
  1740. }).catch((response) => {
  1741. this.loading = false;
  1742. return Promise.reject('error')
  1743. });
  1744. },
  1745. //已过期
  1746. getListOverdue() {
  1747. this.loading = true;
  1748. return listCredit(this.queryParamsOverdue).then(response => {
  1749. this.overdueList = response.data.records;
  1750. this.totalOverdue = response.data.total;
  1751. this.loading = false;
  1752. listStatisticalAmount(this.queryParamsOverdue).then(response => {
  1753. this.ygqAmount = response.data.ygqAmount;
  1754. })
  1755. return Promise.resolve(response)
  1756. }).catch((response) => {
  1757. this.loading = false;
  1758. return Promise.reject('error')
  1759. });
  1760. },
  1761. // 表单重置
  1762. reset() {
  1763. this.form = {
  1764. zfiNumber: null,
  1765. zfiStatus: null,
  1766. openCompany: null,
  1767. receiveCompany: null,
  1768. zfpName: null,
  1769. zfiRate: null,
  1770. zfiSignDate: [],
  1771. zfiExpireDate: [],
  1772. zfiCollectionAccount: null,
  1773. zfiAmount: ''
  1774. };
  1775. this.queryParams.startAmt = '';
  1776. this.queryParams.endAmt = '';
  1777. this.queryParamsSign.startAmt = '';
  1778. this.queryParamsSign.endAmt = '';
  1779. this.queryParamsFinancing.startAmt = '';
  1780. this.queryParamsFinancing.endAmt = '';
  1781. this.queryParamsOpening.startAmt = '';
  1782. this.queryParamsOpening.endAmt = '';
  1783. this.queryParamsFinanced.startAmt = '';
  1784. this.queryParamsFinanced.endAmt = '';
  1785. this.queryParamsInvalid.startAmt = '';
  1786. this.queryParamsInvalid.endAmt = '';
  1787. this.queryParamsSettlement.startAmt = '';
  1788. this.queryParamsSettlement.endAmt = '';
  1789. this.resetForm("form");
  1790. },
  1791. // 多选框选中数据
  1792. handleSelectionChange(selection) {
  1793. this.ids = selection.map(item => item.cifId)
  1794. this.single = selection.length !== 1
  1795. this.multiple = !selection.length
  1796. },
  1797. /** 全部搜索按钮操作 */
  1798. handleQuery() {
  1799. this.queryParams.pageNum = 1;
  1800. this.getList();
  1801. },
  1802. //待签收搜索
  1803. handleQuerySign() {
  1804. this.queryParamsSign.pageNum = 1;
  1805. this.getListSign();
  1806. },
  1807. //融资中搜索
  1808. handleQueryFinancing() {
  1809. this.queryParamsFinancing.pageNum = 1;
  1810. this.getListFinancing();
  1811. },
  1812. //开立中搜索
  1813. handleQueryOpening() {
  1814. this.queryParamsOpening.pageNum = 1;
  1815. this.getListOpening();
  1816. },
  1817. //已融资搜索
  1818. handleQueryFinanced() {
  1819. this.queryParamsFinanced.pageNum = 1;
  1820. this.getListFinanced();
  1821. },
  1822. //已拒绝搜索
  1823. handleQueryInvalid() {
  1824. this.queryParamsInvalid.pageNum = 1;
  1825. this.getListInvalid();
  1826. },
  1827. //已结算搜索
  1828. handleQuerySettlement() {
  1829. this.queryParamsSettlement.pageNum = 1;
  1830. this.getListSettlement();
  1831. },
  1832. //已过期搜索
  1833. handleQueryOverdue() {
  1834. this.queryParamsOverdue.pageNum = 1;
  1835. this.getListOverdue();
  1836. },
  1837. /** 全部重置按钮操作 */
  1838. resetQuery() {
  1839. this.queryParams.startAmt = '';
  1840. this.queryParams.endAmt = '';
  1841. this.resetForm("queryForm");
  1842. this.handleQuery();
  1843. },
  1844. //待签收重置
  1845. resetQuerySign() {
  1846. this.queryParamsSign.startAmt = '';
  1847. this.queryParamsSign.endAmt = '';
  1848. this.resetForm("queryFormSign");
  1849. this.handleQuerySign();
  1850. },
  1851. //融资中重置
  1852. resetQueryFinancing() {
  1853. this.queryParamsFinancing.startAmt = '';
  1854. this.queryParamsFinancing.endAmt = '';
  1855. this.resetForm("queryFormFinancing");
  1856. this.handleQueryFinancing();
  1857. },
  1858. //开立中重置
  1859. resetQueryOpening() {
  1860. this.queryParamsOpening.startAmt = '';
  1861. this.queryParamsOpening.endAmt = '';
  1862. this.resetForm("queryFormOpening");
  1863. this.handleQueryOpening();
  1864. },
  1865. //已融资重置
  1866. resetQueryFinanced() {
  1867. this.queryParamsFinanced.startAmt = '';
  1868. this.queryParamsFinanced.endAmt = '';
  1869. this.resetForm("queryFormFinanced");
  1870. this.handleQueryFinanced();
  1871. },
  1872. //已失效重置
  1873. resetQueryInvalid() {
  1874. this.queryParamsInvalid.startAmt = '';
  1875. this.queryParamsInvalid.endAmt = '';
  1876. this.resetForm("queryFormInvalid");
  1877. this.handleQueryInvalid();
  1878. },
  1879. //已结算重置
  1880. resetQuerySettlement() {
  1881. this.queryParamsSettlement.startAmt = '';
  1882. this.queryParamsSettlement.endAmt = '';
  1883. this.resetForm("queryFormSettlement");
  1884. this.handleQuerySettlement();
  1885. },
  1886. //已过期重置
  1887. resetQueryOverdue() {
  1888. this.queryParamsOverdue.startAmt = '';
  1889. this.queryParamsOverdue.endAmt = '';
  1890. this.resetForm("queryFormOverdue");
  1891. this.handleQueryOverdue();
  1892. },
  1893. /** 新增按钮操作 */
  1894. handleAdd() {
  1895. this.reset();
  1896. this.resetForm("queryForm");
  1897. this.resetForm("queryFormSign");
  1898. this.resetForm("queryFormFinancing");
  1899. this.resetForm("queryFormOpening");
  1900. this.resetForm("queryFormFinanced");
  1901. this.resetForm("queryFormInvalid");
  1902. this.resetForm("queryFormSettlement");
  1903. this.resetForm("queryFormOverdue");
  1904. Cookies.set("/credit/addCredit/", this.$route.fullPath);
  1905. this.$router.push({
  1906. path: "/credit/addCredit/"
  1907. });
  1908. },
  1909. //详情
  1910. handleDetail(row) {
  1911. const zfiId = row.zfiId || this.ids
  1912. this.resetForm("queryForm");
  1913. this.resetForm("queryFormSign");
  1914. this.resetForm("queryFormFinancing");
  1915. this.resetForm("queryFormOpening");
  1916. this.resetForm("queryFormFinanced");
  1917. this.resetForm("queryFormInvalid");
  1918. this.resetForm("queryFormSettlement");
  1919. this.resetForm("queryFormOverdue");
  1920. Cookies.set("/credit/creditDetail/" + zfiId + "/", this.$route.fullPath)
  1921. this.$router.push({
  1922. path: "/credit/creditDetail/" + zfiId + "/"
  1923. });
  1924. },
  1925. //修改
  1926. handleUpdate(row) {
  1927. const zfiId = row.zfiId || this.ids;
  1928. //获取融信类型
  1929. const zfiCreateType = row.zfiCreateType;
  1930. this.resetForm("queryForm");
  1931. this.resetForm("queryFormSign");
  1932. this.resetForm("queryFormFinancing");
  1933. this.resetForm("queryFormOpening");
  1934. this.resetForm("queryFormFinanced");
  1935. this.resetForm("queryFormInvalid");
  1936. this.resetForm("queryFormSettlement");
  1937. this.resetForm("queryFormOverdue");
  1938. //核心开立
  1939. if (zfiCreateType == '1') {
  1940. Cookies.set("/credit/creditUpdate/" + zfiId + "/", this.$route.fullPath)
  1941. this.$router.push({
  1942. path: "/credit/creditUpdate/" + zfiId + "/"
  1943. });
  1944. } else if (zfiCreateType == '2') {
  1945. Cookies.set("/credit/financeOpenUpdate/" + zfiId + "/", this.$route.fullPath)
  1946. this.$router.push({
  1947. path: "/credit/financeOpenUpdate/" + zfiId + "/"
  1948. });
  1949. } else if (zfiCreateType == '0') {
  1950. Cookies.set("/credit/applyCreditEdit/" + zfiId + "/", this.$route.fullPath)
  1951. this.$router.push({
  1952. path: "/credit/applyCreditEdit/" + zfiId + "/"
  1953. });
  1954. }
  1955. },
  1956. //确权审核
  1957. handleApprove(row) {
  1958. //判断审批是否审批中
  1959. if (row.zfiCoreStatus == "00") {
  1960. this.$message({
  1961. message: "请内部审批通过后,再确权",
  1962. type: 'warning'
  1963. });
  1964. return false;
  1965. }
  1966. //查询当前用户是否为经办人
  1967. listCompanyHandler().then((response) => {
  1968. if (false == response.data) {
  1969. this.$message({
  1970. message: "此操作需经办人权限,请确认您是否是经办人",
  1971. type: 'warning'
  1972. });
  1973. return false;
  1974. } else {
  1975. const zfiId = row.zfiId || this.ids
  1976. this.resetForm("queryForm");
  1977. this.resetForm("queryFormSign");
  1978. this.resetForm("queryFormFinancing");
  1979. this.resetForm("queryFormOpening");
  1980. this.resetForm("queryFormFinanced");
  1981. this.resetForm("queryFormInvalid");
  1982. this.resetForm("queryFormSettlement");
  1983. this.resetForm("queryFormOverdue");
  1984. Cookies.set("/credit/confirmationAudit/" + zfiId + "/", this.$route.fullPath)
  1985. this.$router.push({
  1986. path: "/credit/confirmationAudit/" + zfiId + "/"
  1987. });
  1988. }
  1989. });
  1990. },
  1991. //补充资料
  1992. handleAddInformation(row) {
  1993. //判断审批是否审批中
  1994. if (row.zfiSupplierStatus == "00") {
  1995. this.$message({
  1996. message: "请内部审批通过后,再签收",
  1997. type: 'warning'
  1998. });
  1999. return false;
  2000. }
  2001. //查询有无平台审批
  2002. /* var platParam = {};
  2003. platParam.menuId = "1000000004";
  2004. isOpenApproval(platParam).then((response) => {
  2005. var platResult = response.data.isOpen;
  2006. //开启平台审批
  2007. if (platResult == true) {
  2008. }
  2009. }) */
  2010. if (row.zfiPlatformStatus == '00') {
  2011. this.$message({
  2012. message: "平台正在审核资料,平台审核时间为工作日:9:00—18:00;当日16:00之前提交资料,预计2小时内完成,请平台审批通过后,再次签署",
  2013. type: 'warning'
  2014. });
  2015. return false;
  2016. }
  2017. //查询当前用户是否为经办人
  2018. listCompanyHandler().then((response) => {
  2019. if (false == response.data) {
  2020. this.$message({
  2021. message: "此操作需经办人权限,请确认您是否是经办人",
  2022. type: 'warning'
  2023. });
  2024. return false;
  2025. } else {
  2026. const zfiId = row.zfiId || this.ids
  2027. this.resetForm("queryForm");
  2028. this.resetForm("queryFormSign");
  2029. this.resetForm("queryFormFinancing");
  2030. this.resetForm("queryFormOpening");
  2031. this.resetForm("queryFormFinanced");
  2032. this.resetForm("queryFormInvalid");
  2033. this.resetForm("queryFormSettlement");
  2034. this.resetForm("queryFormOverdue");
  2035. Cookies.set("/credit/addInformation/" + zfiId + "/", this.$route.fullPath)
  2036. this.$router.push({
  2037. path: "/credit/addInformation/" + zfiId + "/"
  2038. });
  2039. }
  2040. });
  2041. },
  2042. //签收
  2043. handleSignFor(row) {
  2044. //判断审批是否审批中
  2045. if (row.zfiSupplierStatus == "00") {
  2046. this.$message({
  2047. message: "请内部审批通过后,再签收",
  2048. type: 'warning'
  2049. });
  2050. return false;
  2051. }
  2052. //查询当前用户是否为经办人
  2053. listCompanyHandler().then((response) => {
  2054. if (false == response.data) {
  2055. this.$message({
  2056. message: "此操作需经办人权限,请确认您是否是经办人",
  2057. type: 'warning'
  2058. });
  2059. return false;
  2060. } else {
  2061. const zfiId = row.zfiId || this.ids
  2062. this.resetForm("queryForm");
  2063. this.resetForm("queryFormSign");
  2064. this.resetForm("queryFormFinancing");
  2065. this.resetForm("queryFormOpening");
  2066. this.resetForm("queryFormFinanced");
  2067. this.resetForm("queryFormInvalid");
  2068. this.resetForm("queryFormSettlement");
  2069. this.resetForm("queryFormOverdue");
  2070. Cookies.set("/credit/signFor/" + zfiId + "/", this.$route.fullPath)
  2071. this.$router.push({
  2072. path: "/credit/signFor/" + zfiId + "/"
  2073. });
  2074. }
  2075. });
  2076. },
  2077. //去融资
  2078. handleGoFinance(row) {
  2079. const zfiId = row.zfiId || this.ids
  2080. this.resetForm("queryForm");
  2081. this.resetForm("queryFormSign");
  2082. this.resetForm("queryFormFinancing");
  2083. this.resetForm("queryFormOpening");
  2084. this.resetForm("queryFormFinanced");
  2085. this.resetForm("queryFormInvalid");
  2086. this.resetForm("queryFormSettlement");
  2087. this.resetForm("queryFormOverdue");
  2088. Cookies.set("/credit/goFinance/" + zfiId + "/", this.$route.fullPath)
  2089. this.$router.push({
  2090. path: "/credit/goFinance/" + zfiId + "/"
  2091. });
  2092. },
  2093. //盖章
  2094. seal(row) {
  2095. //获取融信类型
  2096. if (row.zfiCreateType == '1') { //核心开立
  2097. if (row.zfiCoreStatus != "01") {
  2098. this.$message({
  2099. message: "请内部审批通过后,再点击开立融信",
  2100. type: 'warning'
  2101. });
  2102. return false;
  2103. }
  2104. } else if (row.zfiCreateType == '2') { //供应商开立
  2105. if (row.zfiSupplierStatus != "01") {
  2106. this.$message({
  2107. message: "请内部审批通过后,再点击融信开立",
  2108. type: 'warning'
  2109. });
  2110. return false;
  2111. } else if (row.zfiPlatformStatus != "01") {
  2112. this.$message({
  2113. message: "融信资料已提交平台审核,平台审核时间为工作日:9:00—18:00;当日16:00之前提交资料,预计2小时内完成,请留意站内信息",
  2114. type: 'warning'
  2115. });
  2116. return false;
  2117. }
  2118. }
  2119. //查询当前用户是否为经办人
  2120. listCompanyHandler().then((response) => {
  2121. if (false == response.data) {
  2122. this.$message({
  2123. message: "此操作需经办人权限,请确认您是否是经办人",
  2124. type: 'warning'
  2125. });
  2126. return false;
  2127. } else {
  2128. const zfiId = row.zfiId || this.ids
  2129. this.resetForm("queryForm");
  2130. this.resetForm("queryFormSign");
  2131. this.resetForm("queryFormFinancing");
  2132. this.resetForm("queryFormOpening");
  2133. this.resetForm("queryFormFinanced");
  2134. this.resetForm("queryFormInvalid");
  2135. this.resetForm("queryFormSettlement");
  2136. this.resetForm("queryFormOverdue");
  2137. Cookies.set("/credit/creditSeal/" + zfiId + "/", this.$route.fullPath)
  2138. this.$router.push({
  2139. path: "/credit/creditSeal/" + zfiId + "/"
  2140. });
  2141. }
  2142. });
  2143. },
  2144. /**核心开立审批按钮操作*/
  2145. handleExam(row) {
  2146. this.$confirm("是否确认提交开立审批?", "警告", {
  2147. confirmButtonText: "确定",
  2148. cancelButtonText: "取消",
  2149. type: "warning"
  2150. }).then(function () {
  2151. return coreApproval(row);
  2152. }).then(() => {
  2153. this.getList();
  2154. this.getListSign();
  2155. this.getListFinancing();
  2156. this.getListOpening();
  2157. this.getListFinanced();
  2158. this.getListInvalid();
  2159. this.getListSettlement();
  2160. this.getListOverdue();
  2161. this.msgSuccess("提交审批成功");
  2162. }).catch(() => {
  2163. this.$message({
  2164. type: "warning",
  2165. message: "已取消提交审批",
  2166. });
  2167. });
  2168. },
  2169. //确权审批
  2170. handleConfirmationExam(row) {
  2171. this.$confirm("是否确认提交确权审批?", "警告", {
  2172. confirmButtonText: "确定",
  2173. cancelButtonText: "取消",
  2174. type: "warning"
  2175. }).then(function () {
  2176. return confirmationApproval(row);
  2177. }).then(() => {
  2178. this.getList();
  2179. this.getListSign();
  2180. this.getListFinancing();
  2181. this.getListOpening();
  2182. this.getListFinanced();
  2183. this.getListInvalid();
  2184. this.getListSettlement();
  2185. this.getListOverdue();
  2186. this.msgSuccess("提交审批成功");
  2187. }).catch(() => {
  2188. this.$message({
  2189. type: "warning",
  2190. message: "已取消提交审批",
  2191. });
  2192. });
  2193. },
  2194. //融资申请提交审批按钮
  2195. handleApproval(row) {
  2196. const zfiNumber = row.zfiNumber;
  2197. this.$confirm(
  2198. '是否确认提交审批融信编号为"' + zfiNumber + '"的数据项?',
  2199. "警告", {
  2200. confirmButtonText: "确定",
  2201. cancelButtonText: "取消",
  2202. type: "warning"
  2203. }
  2204. )
  2205. .then(function () {
  2206. //提交审批
  2207. return approval(row);
  2208. })
  2209. .then(() => {
  2210. this.getList();
  2211. this.getListSign();
  2212. this.getListFinancing();
  2213. this.getListOpening();
  2214. this.getListFinanced();
  2215. this.getListInvalid();
  2216. this.getListSettlement();
  2217. this.getListOverdue();
  2218. this.msgSuccess("提交审批成功");
  2219. })
  2220. .catch(() => {
  2221. this.$message({
  2222. type: "warning",
  2223. message: "已取消提交审批"
  2224. });
  2225. });
  2226. },
  2227. //融资开立提交审批按钮
  2228. openApproval(row) {
  2229. const zfiNumber = row.zfiNumber;
  2230. this.$confirm(
  2231. '是否确认提交审批融信编号为"' + zfiNumber + '"的数据项?',
  2232. "警告", {
  2233. confirmButtonText: "确定",
  2234. cancelButtonText: "取消",
  2235. type: "warning"
  2236. }
  2237. )
  2238. .then(function () {
  2239. //提交审批
  2240. return openApproval(row);
  2241. })
  2242. .then(() => {
  2243. this.getList();
  2244. this.getListSign();
  2245. this.getListFinancing();
  2246. this.getListOpening();
  2247. this.getListFinanced();
  2248. this.getListInvalid();
  2249. this.getListSettlement();
  2250. this.getListOverdue();
  2251. this.msgSuccess("提交审批成功");
  2252. })
  2253. .catch(() => {
  2254. this.$message({
  2255. type: "warning",
  2256. message: "已取消提交审批"
  2257. });
  2258. });
  2259. },
  2260. //补充资料提交审批
  2261. handleApprovals(row) {
  2262. const zfiNumber = row.zfiNumber;
  2263. this.$confirm('是否确认提交审批融信编号为"' + zfiNumber + '"的数据项?', "警告", {
  2264. confirmButtonText: "确定",
  2265. cancelButtonText: "取消",
  2266. type: "warning"
  2267. }).then(function () {
  2268. return informationApproval(row);
  2269. }).then(() => {
  2270. this.getList();
  2271. this.getListSign();
  2272. this.getListFinancing();
  2273. this.getListOpening();
  2274. this.getListFinanced();
  2275. this.getListInvalid();
  2276. this.getListSettlement();
  2277. this.getListOverdue();
  2278. this.msgSuccess("提交审批成功");
  2279. })
  2280. .catch(() => {
  2281. this.$message({
  2282. type: "warning",
  2283. message: "已取消提交审批",
  2284. });
  2285. });
  2286. },
  2287. //格式化融资产品方向
  2288. zfpTypeFormat(row, column) {
  2289. return this.selectDictLabel(this.zfpTypeOptions, row.zfpType);
  2290. },
  2291. //格式化类型
  2292. typeFormat(row, column) {
  2293. return this.selectDictLabel(this.typeOptions, row.zfiCreateType);
  2294. },
  2295. //格式化状态
  2296. stateFormat(row, column) {
  2297. return this.selectDictLabel(this.stateOptions, row.zfiStatus);
  2298. },
  2299. //格式化平台审批状态
  2300. platformStatusFormat(row, column) {
  2301. return this.selectDictLabel(this.platformOptions, row.zfiPlatformStatus);
  2302. },
  2303. //格式化核心审批
  2304. coreStatusFormat(row, column) {
  2305. return this.selectDictLabel(this.coreOptions, row.zfiCoreStatus);
  2306. },
  2307. //格式化融资方审批
  2308. supplierStatusFormat(row, column) {
  2309. return this.selectDictLabel(this.supplierOptions, row.zfiSupplierStatus);
  2310. },
  2311. //融资开立
  2312. finanOpening() {
  2313. this.reset();
  2314. this.resetForm("queryForm");
  2315. this.resetForm("queryFormSign");
  2316. this.resetForm("queryFormFinancing");
  2317. this.resetForm("queryFormOpening");
  2318. this.resetForm("queryFormFinanced");
  2319. this.resetForm("queryFormInvalid");
  2320. this.resetForm("queryFormSettlement");
  2321. this.resetForm("queryFormOverdue");
  2322. Cookies.set("/credit/financeOpen/", this.$route.fullPath);
  2323. this.$router.push({
  2324. path: "/credit/financeOpen/"
  2325. });
  2326. },
  2327. //融资申请
  2328. apply() {
  2329. this.reset();
  2330. this.resetForm("queryForm");
  2331. this.resetForm("queryFormSign");
  2332. this.resetForm("queryFormFinancing");
  2333. this.resetForm("queryFormOpening");
  2334. this.resetForm("queryFormFinanced");
  2335. this.resetForm("queryFormInvalid");
  2336. this.resetForm("queryFormSettlement");
  2337. this.resetForm("queryFormOverdue");
  2338. Cookies.set("/credit/creditApply/", this.$route.fullPath);
  2339. this.$router.push({
  2340. path: "/credit/creditApply/"
  2341. });
  2342. },
  2343. //拒签
  2344. handleRefuse(row) {
  2345. //查询当前用户是否为经办人
  2346. listCompanyHandler().then((response) => {
  2347. if (false == response.data) {
  2348. this.$message({
  2349. message: "此操作需经办人权限,请确认您是否是经办人",
  2350. type: 'warning'
  2351. });
  2352. return false;
  2353. } else {
  2354. const zfiNumber = row.zfiNumber;
  2355. this.$confirm('是否拒签融信编号为"' + zfiNumber + '"的数据项?', "警告", {
  2356. confirmButtonText: "确定",
  2357. cancelButtonText: "取消",
  2358. type: "warning"
  2359. }).then(function () {
  2360. //拒签
  2361. return creditRefuse(row);
  2362. }).then(() => {
  2363. this.getList();
  2364. this.getListSign();
  2365. this.getListFinancing();
  2366. this.getListOpening();
  2367. this.getListFinanced();
  2368. this.getListInvalid();
  2369. this.getListSettlement();
  2370. this.getListOverdue();
  2371. this.msgSuccess("拒签成功");
  2372. })
  2373. .catch(() => {
  2374. this.$message({
  2375. type: "warning",
  2376. message: "已取消",
  2377. });
  2378. });
  2379. }
  2380. });
  2381. },
  2382. //删除
  2383. handleDelete(row) {
  2384. const zfiNumber = row.zfiNumber;
  2385. this.$confirm('是否删除融信编号为"' + zfiNumber + '"的数据项?', "警告", {
  2386. confirmButtonText: "确定",
  2387. cancelButtonText: "取消",
  2388. type: "warning"
  2389. }).then(function () {
  2390. //删除
  2391. return creditDel(row);
  2392. }).then(() => {
  2393. this.getList();
  2394. this.getListSign();
  2395. this.getListFinancing();
  2396. this.getListOpening();
  2397. this.getListFinanced();
  2398. this.getListInvalid();
  2399. this.getListSettlement();
  2400. this.getListOverdue();
  2401. this.msgSuccess("删除成功");
  2402. })
  2403. .catch(() => {
  2404. this.$message({
  2405. type: "warning",
  2406. message: "已取消",
  2407. });
  2408. });
  2409. },
  2410. //列表格式化金额
  2411. moneyFormat(row, column, cellValue) {
  2412. if (cellValue == null || cellValue == undefined || cellValue == '') {
  2413. cellValue = '0.00'
  2414. }
  2415. cellValue += '';
  2416. if (!cellValue.includes('.')) {
  2417. cellValue += '.00';
  2418. }
  2419. return cellValue.replace(/(\d)(?=(\d{3})+\.)/g, function ($0, $1) {
  2420. return $1 + ',';
  2421. }).replace(/\.$/, '');
  2422. },
  2423. //input格式化金额
  2424. amtFormat(cellValue) {
  2425. if (cellValue == null || cellValue == undefined || cellValue == '') {
  2426. cellValue = '0.00'
  2427. }
  2428. cellValue += '';
  2429. if (!cellValue.includes('.')) {
  2430. cellValue += '.00';
  2431. }
  2432. console.log(cellValue);
  2433. return cellValue.replace(/(\d)(?=(\d{3})+\.)/g, function ($0, $1) {
  2434. return $1 + ',';
  2435. }).replace(/\.$/, '');
  2436. },
  2437. //作废
  2438. refuse(row) {
  2439. let form = {};
  2440. form.zfiId = row.zfiId;
  2441. this.$confirm('该笔融信将作废', "作废", {
  2442. confirmButtonText: "确定",
  2443. cancelButtonText: "取消",
  2444. type: "warning"
  2445. }).then(function () {
  2446. return sealRefuse(form);
  2447. }).then(() => {
  2448. this.getList();
  2449. this.getListSign();
  2450. this.getListFinancing();
  2451. this.getListOpening();
  2452. this.getListFinanced();
  2453. this.getListInvalid();
  2454. this.getListSettlement();
  2455. this.getListOverdue();
  2456. this.msgSuccess("作废成功");
  2457. }).catch(() => {
  2458. this.$message({
  2459. type: "warning",
  2460. message: "作废已取消",
  2461. });
  2462. });
  2463. },
  2464. //查看流程
  2465. handleFlowable(row) {
  2466. const zfiId = row.zfiId
  2467. const zfiCreateType = row.zfiCreateType
  2468. const zfiStatus = row.zfiStatus
  2469. const zfiCoreStatus = row.zfiCoreStatus
  2470. const zfiPlatformStatus = row.zfiPlatformStatus
  2471. const zfiSupplierStatus = row.zfiSupplierStatus
  2472. console.log(zfiStatus)
  2473. var active = 0
  2474. //融资企业
  2475. if (this.companyType == '02') {
  2476. //审批中||拒绝
  2477. if (row.zfiSupplierStatus == '00' || row.zfiSupplierStatus == '02') {
  2478. this.hisTaskForm = true;
  2479. approvalProcess(row).then((response) => {
  2480. this.histaskList = response.data;
  2481. })
  2482. } else {
  2483. if (zfiCreateType == '0') {
  2484. if (zfiStatus == '01' || !zfiStatus) {
  2485. active = 1
  2486. } else if (zfiStatus == '00') {
  2487. active = 2
  2488. } else if (zfiStatus == '01') {
  2489. active = 3
  2490. } else if (zfiStatus == '02') {
  2491. active = 4
  2492. }
  2493. } else if (zfiCreateType == '1') {
  2494. if (zfiStatus == '01') {
  2495. active = 1
  2496. } else if (zfiCoreStatus == '01' && zfiStatus == '01' || zfiCoreStatus == '01' && zfiStatus == '06') {
  2497. active = 2
  2498. } else if (zfiStatus == '01' && zfiPlatformStatus == '01') {
  2499. active = 3
  2500. } else if (zfiStatus == '02') {
  2501. active = 4
  2502. }
  2503. } else if (zfiCreateType == '2') {
  2504. if (zfiSupplierStatus == '01' && !zfiStatus) {
  2505. active = 1
  2506. } else if (zfiPlatformStatus == '01' && !zfiStatus) {
  2507. active = 2
  2508. } else if (zfiStatus == '02') {
  2509. active = 3
  2510. }
  2511. }
  2512. this.openFlowDetail = true
  2513. this.financeId = zfiId
  2514. this.financeType = zfiCreateType
  2515. this.financeActive = active
  2516. }
  2517. } else if (this.companyType == '01') { //核心企业
  2518. //审批中||拒绝
  2519. if (row.zfiCoreStatus == '00' || row.zfiCoreStatus == '02') {
  2520. this.hisTaskForm = true;
  2521. approvalProcess(row).then((response) => {
  2522. this.histaskList = response.data;
  2523. })
  2524. } else {
  2525. if (zfiCreateType == '0') {
  2526. if (zfiStatus == '01' || !zfiStatus) {
  2527. active = 1
  2528. } else if (zfiStatus == '00') {
  2529. active = 2
  2530. } else if (zfiStatus == '01') {
  2531. active = 3
  2532. } else if (zfiStatus == '02') {
  2533. active = 4
  2534. }
  2535. } else if (zfiCreateType == '1') {
  2536. if (zfiStatus == '01') {
  2537. active = 1
  2538. } else if (zfiCoreStatus == '01' && zfiStatus == '01' || zfiCoreStatus == '01' && zfiStatus == '06') {
  2539. active = 2
  2540. } else if (zfiStatus == '01' && zfiPlatformStatus == '01') {
  2541. active = 3
  2542. } else if (zfiStatus == '02') {
  2543. active = 4
  2544. }
  2545. } else if (zfiCreateType == '2') {
  2546. if (zfiSupplierStatus == '01' && !zfiStatus) {
  2547. active = 1
  2548. } else if (zfiPlatformStatus == '01' && !zfiStatus) {
  2549. active = 2
  2550. } else if (zfiStatus == '02') {
  2551. active = 3
  2552. }
  2553. }
  2554. this.openFlowDetail = true
  2555. this.financeId = zfiId
  2556. this.financeType = zfiCreateType
  2557. this.financeActive = active
  2558. }
  2559. } else { //其他类型企业看主流程
  2560. if (zfiCreateType == '0') {
  2561. if (zfiStatus == '01' || !zfiStatus) {
  2562. active = 1
  2563. } else if (zfiStatus == '00') {
  2564. active = 2
  2565. } else if (zfiStatus == '01') {
  2566. active = 3
  2567. } else if (zfiStatus == '02') {
  2568. active = 4
  2569. }
  2570. } else if (zfiCreateType == '1') {
  2571. if (zfiStatus == '01') {
  2572. active = 1
  2573. } else if (zfiCoreStatus == '01' && zfiStatus == '01' || zfiCoreStatus == '01' && zfiStatus == '06') {
  2574. active = 2
  2575. } else if (zfiStatus == '01' && zfiPlatformStatus == '01') {
  2576. active = 3
  2577. } else if (zfiStatus == '02') {
  2578. active = 4
  2579. }
  2580. } else if (zfiCreateType == '2') {
  2581. if (zfiSupplierStatus == '01' && !zfiStatus) {
  2582. active = 1
  2583. } else if (zfiPlatformStatus == '01' && !zfiStatus) {
  2584. active = 2
  2585. } else if (zfiStatus == '02') {
  2586. active = 3
  2587. }
  2588. }
  2589. this.openFlowDetail = true
  2590. this.financeId = zfiId
  2591. this.financeType = zfiCreateType
  2592. this.financeActive = active
  2593. }
  2594. },
  2595. //关闭流程
  2596. closeFliwDetail() {
  2597. this.openFlowDetail = false
  2598. }
  2599. }
  2600. };
  2601. </script>
  2602. <style lang="scss" scoped>
  2603. .zap-table-search {
  2604. padding-top: 12px;
  2605. background-color: #ffffff;
  2606. }
  2607. .zap-table-search__form {
  2608. padding: 25px 25px 0;
  2609. ::v-deep .el-form-item--medium.el-form-item {
  2610. margin-bottom: 25px;
  2611. }
  2612. ::v-deep .el-form-item__label {
  2613. line-height: 40px;
  2614. font-size: 14px;
  2615. color: #333333;
  2616. }
  2617. ::v-deep .el-range-editor--small.el-input__inner,
  2618. ::v-deep .el-input--small .el-input__inner {
  2619. height: 40px;
  2620. line-height: 40px;
  2621. }
  2622. }
  2623. .zap-credit__content {
  2624. position: relative;
  2625. padding: 0 13px;
  2626. background-color: #ffffff;
  2627. }
  2628. .zap-credit__tabs {
  2629. position: relative;
  2630. }
  2631. .zap-credit__buttons {
  2632. position: absolute;
  2633. top: 10px;
  2634. right: 20px;
  2635. display: flex;
  2636. align-items: center;
  2637. z-index: 10;
  2638. }
  2639. </style>