credit.vue 194 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992
  1. <template>
  2. <div class="app-container zap-main">
  3. <el-row v-if="activeIndex === '0'" class="zap-table-search">
  4. <div class="zap-padding-end">
  5. <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getList">收起</right-toolbar>
  6. <span class="zap-padding-start zap-font-title">所选条件:</span>
  7. <div style="float: right;margin-right:1%">
  8. <el-button type="cyan" icon="el-icon-search" @click="handleQuery">搜索</el-button>
  9. <el-button icon="el-icon-refresh" @click="resetQuery" style="float: ;">重置</el-button>
  10. </div>
  11. </div>
  12. <hr style="margin-top: 16px;">
  13. <el-form class="zap-table-search__form" :model="queryParams" ref="queryForm" :inline="true" v-if="showSearch" label-width="68px">
  14. <el-row>
  15. <el-form-item prop="zfiTypes" size="large">
  16. <el-select v-model="queryParams.zfiTypes" clearable>
  17. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  18. </el-select>
  19. </el-form-item>
  20. <el-form-item prop="finaceStatus" size="large">
  21. <el-select v-model="queryParams.finaceStatus" clearable>
  22. <el-option v-for="dict in stateOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  23. </el-select>
  24. </el-form-item>
  25. <el-form-item prop="zfiQuery" size="large">
  26. <el-select v-model="queryParams.zfiQuery" clearable>
  27. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  28. </el-select>
  29. </el-form-item>
  30. <el-form-item prop="zfiValue" v-if="this.queryParams.zfiQuery" size="large">
  31. <el-input v-model="queryParams.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  32. </el-form-item>
  33. <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
  34. <el-date-picker v-model="queryParams.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
  35. </el-date-picker>
  36. </el-form-item>
  37. <!-- <el-form-item label="融信编码" prop="zfiNumber">
  38. <el-input
  39. v-model.trim="queryParams.zfiNumber"
  40. placeholder="请输入融信编码"
  41. clearable
  42. size="small"
  43. maxlength="25"
  44. @keyup.enter.native="handleQuery"
  45. />
  46. </el-form-item>
  47. <el-form-item label="开立企业" prop="openCompany">
  48. <el-input
  49. v-model.trim="queryParams.openCompany"
  50. placeholder="请输入开立企业"
  51. clearable
  52. size="small"
  53. maxlength="25"
  54. @keyup.enter.native="handleQuery"
  55. />
  56. </el-form-item>
  57. <el-form-item label="接收企业" prop="receiveCompany">
  58. <el-input
  59. v-model.trim="queryParams.receiveCompany"
  60. placeholder="请输入接收企业"
  61. clearable
  62. size="small"
  63. maxlength="25"
  64. @keyup.enter.native="handleQuery"
  65. />
  66. </el-form-item>
  67. <el-form-item label="融信产品" prop="zfpName">
  68. <el-input
  69. v-model.trim="queryParams.zfpName"
  70. placeholder="请输入融信产品"
  71. clearable
  72. size="small"
  73. maxlength="25"
  74. @keyup.enter.native="handleQuery"
  75. />
  76. </el-form-item>
  77. <el-form-item label="融信金额">
  78. <el-input
  79. v-model="queryParams.startAmt"
  80. placeholder="请输入融信金额"
  81. clearable
  82. size="small"
  83. maxlength="20"
  84. />
  85. </el-form-item>
  86. <el-form-item>
  87. ~
  88. </el-form-item>
  89. <el-form-item>
  90. <el-input
  91. v-model="queryParams.endAmt"
  92. placeholder="请输入融信金额"
  93. clearable
  94. size="small"
  95. @keyup.enter.native="handleQuery"
  96. maxlength="20"
  97. />
  98. </el-form-item>
  99. <el-form-item label="签收日期" prop="zfiSignDate">
  100. <el-date-picker size="small"
  101. v-model="queryParams.zfiSignDate"
  102. style="width: 240px"
  103. unlink-panels
  104. value-format="yyyy-MM-dd"
  105. type="daterange"
  106. range-separator="-"
  107. start-placeholder="开始日期"
  108. end-placeholder="结束日期">
  109. </el-date-picker>
  110. </el-form-item>
  111. <el-form-item label="承诺日期" prop="zfiExpireDate">
  112. <el-date-picker size="small"
  113. v-model="queryParams.zfiExpireDate"
  114. style="width: 240px"
  115. unlink-panels
  116. value-format="yyyy-MM-dd"
  117. type="daterange"
  118. range-separator="-"
  119. start-placeholder="开始日期"
  120. end-placeholder="结束日期">
  121. </el-date-picker>
  122. </el-form-item>
  123. <el-form-item label="融信利率" prop="zfiRate">
  124. <el-input
  125. v-model.trim="queryParams.zfiRate"
  126. placeholder="请输入融信利率"
  127. clearable
  128. size="small"
  129. maxlength="25"
  130. @keyup.enter.native="handleQuery"
  131. />
  132. </el-form-item> -->
  133. </el-row>
  134. </el-form>
  135. </el-row>
  136. <el-row v-else-if="activeIndex === '1'" class="zap-table-search">
  137. <div class="zap-padding-end">
  138. <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListOpening">收起</right-toolbar>
  139. <span class="zap-padding-start zap-font-title">所选条件:</span>
  140. <div style="float: right;margin-right:1%">
  141. <el-button type="cyan" icon="el-icon-search" @click="handleQueryOpening">搜索</el-button>
  142. <el-button icon="el-icon-refresh" @click="resetQueryOpening" style="float: ;">重置</el-button>
  143. </div>
  144. </div>
  145. <hr style="margin-top: 16px;">
  146. <el-form class="zap-table-search__form" :model="queryParamsOpening" ref="queryFormOpening" :inline="true" v-if="showSearch" label-width="68px">
  147. <el-form-item prop="zfiTypes" size="large">
  148. <el-select v-model="queryParamsOpening.zfiTypes" clearable>
  149. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  150. </el-select>
  151. </el-form-item>
  152. <el-form-item prop="zfiQuery" size="large">
  153. <el-select v-model="queryParamsOpening.zfiQuery" clearable>
  154. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  155. </el-select>
  156. </el-form-item>
  157. <el-form-item prop="zfiValue" v-if="this.queryParamsOpening.zfiQuery" size="large">
  158. <el-input v-model="queryParamsOpening.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  159. </el-form-item>
  160. <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
  161. <el-date-picker v-model="queryParamsOpening.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
  162. </el-date-picker>
  163. </el-form-item>
  164. <!-- <el-form-item label="融信编码" prop="zfiNumber">
  165. <el-input
  166. v-model.trim="queryParamsOpening.zfiNumber"
  167. placeholder="请输入融信编码"
  168. clearable
  169. size="small"
  170. maxlength="25"
  171. @keyup.enter.native="handleQueryOpening"
  172. />
  173. </el-form-item>
  174. <el-form-item label="开立企业" prop="openCompany">
  175. <el-input
  176. v-model.trim="queryParamsOpening.openCompany"
  177. placeholder="请输入开立企业"
  178. clearable
  179. size="small"
  180. maxlength="25"
  181. @keyup.enter.native="handleQueryOpening"
  182. />
  183. </el-form-item>
  184. <el-form-item label="接收企业" prop="receiveCompany">
  185. <el-input
  186. v-model.trim="queryParamsOpening.receiveCompany"
  187. placeholder="请输入接收企业"
  188. clearable
  189. size="small"
  190. maxlength="25"
  191. @keyup.enter.native="handleQueryOpening"
  192. />
  193. </el-form-item>
  194. <el-form-item label="融信产品" prop="zfpName">
  195. <el-input
  196. v-model.trim="queryParamsOpening.zfpName"
  197. placeholder="请输入融信产品"
  198. clearable
  199. size="small"
  200. maxlength="25"
  201. @keyup.enter.native="handleQueryOpening"
  202. />
  203. </el-form-item>
  204. <el-form-item label="融信金额">
  205. <el-input
  206. v-model="queryParamsOpening.startAmt"
  207. placeholder="请输入融信金额"
  208. clearable
  209. size="small"
  210. maxlength="20"
  211. />
  212. </el-form-item>
  213. <el-form-item>
  214. ~
  215. </el-form-item>
  216. <el-form-item>
  217. <el-input
  218. v-model="queryParamsOpening.endAmt"
  219. placeholder="请输入融信金额"
  220. clearable
  221. size="small"
  222. @keyup.enter.native="handleQueryOpening"
  223. maxlength="20"
  224. />
  225. </el-form-item>
  226. <el-form-item label="签收日期" prop="zfiSignDate">
  227. <el-date-picker size="small"
  228. v-model="queryParamsOpening.zfiSignDate"
  229. style="width: 240px"
  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-form-item label="承诺日期" prop="zfiExpireDate">
  239. <el-date-picker size="small"
  240. v-model="queryParamsOpening.zfiExpireDate"
  241. style="width: 240px"
  242. unlink-panels
  243. value-format="yyyy-MM-dd"
  244. type="daterange"
  245. range-separator="-"
  246. start-placeholder="开始日期"
  247. end-placeholder="结束日期">
  248. </el-date-picker>
  249. </el-form-item>
  250. <el-form-item label="融信利率" prop="zfiRate">
  251. <el-input
  252. v-model.trim="queryParamsOpening.zfiRate"
  253. placeholder="请输入融信利率"
  254. clearable
  255. size="small"
  256. maxlength="25"
  257. @keyup.enter.native="handleQueryOpening"
  258. />
  259. </el-form-item> -->
  260. <!-- <el-form-item label="状态" prop="zfiStatus">
  261. <el-select v-model="queryParams.zfiStatus" placeholder="请选择状态" clearable size="small">
  262. <el-option
  263. v-for="dict in stateOptions"
  264. :key="dict.dictValue"
  265. :label="dict.dictLabel"
  266. :value="dict.dictValue"
  267. />
  268. </el-select>
  269. </el-form-item> -->
  270. </el-form>
  271. </el-row>
  272. <el-row v-else-if="activeIndex === '2'" class="zap-table-search">
  273. <div class="zap-padding-end">
  274. <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListSign">收起</right-toolbar>
  275. <span class="zap-padding-start zap-font-title">所选条件:</span>
  276. <div style="float: right;margin-right:1%">
  277. <el-button type="cyan" icon="el-icon-search" @click="handleQuerySign">搜索</el-button>
  278. <el-button icon="el-icon-refresh" @click="resetQuerySign" style="float: ;">重置</el-button>
  279. </div>
  280. </div>
  281. <hr style="margin-top: 16px;">
  282. <el-form class="zap-table-search__form" :model="queryParamsSign" ref="queryFormSign" :inline="true" v-if="showSearch" label-width="68px">
  283. <el-form-item prop="zfiTypes" size="large">
  284. <el-select v-model="queryParamsSign.zfiTypes" clearable>
  285. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  286. </el-select>
  287. </el-form-item>
  288. <el-form-item prop="zfiQuery" size="large">
  289. <el-select v-model="queryParamsSign.zfiQuery" clearable>
  290. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  291. </el-select>
  292. </el-form-item>
  293. <el-form-item prop="zfiValue" v-if="this.queryParamsSign.zfiQuery" size="large">
  294. <el-input v-model="queryParamsSign.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  295. </el-form-item>
  296. <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
  297. <el-date-picker v-model="queryParamsSign.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
  298. </el-date-picker>
  299. </el-form-item>
  300. <!-- <el-form-item label="融信编码" prop="zfiNumber">
  301. <el-input
  302. v-model.trim="queryParamsSign.zfiNumber"
  303. placeholder="请输入融信编码"
  304. clearable
  305. size="small"
  306. maxlength="25"
  307. @keyup.enter.native="handleQuerySign"
  308. />
  309. </el-form-item>
  310. <el-form-item label="开立企业" prop="openCompany">
  311. <el-input
  312. v-model.trim="queryParamsSign.openCompany"
  313. placeholder="请输入开立企业"
  314. clearable
  315. size="small"
  316. maxlength="25"
  317. @keyup.enter.native="handleQuerySign"
  318. />
  319. </el-form-item>
  320. <el-form-item label="接收企业" prop="receiveCompany">
  321. <el-input
  322. v-model.trim="queryParamsSign.receiveCompany"
  323. placeholder="请输入接收企业"
  324. clearable
  325. size="small"
  326. maxlength="25"
  327. @keyup.enter.native="handleQuerySign"
  328. />
  329. </el-form-item>
  330. <el-form-item label="融信产品" prop="zfpName">
  331. <el-input
  332. v-model.trim="queryParamsSign.zfpName"
  333. placeholder="请输入融信产品"
  334. clearable
  335. size="small"
  336. maxlength="25"
  337. @keyup.enter.native="handleQuerySign"
  338. />
  339. </el-form-item>
  340. <el-form-item label="融信金额">
  341. <el-input
  342. v-model="queryParamsSign.startAmt"
  343. placeholder="请输入融信金额"
  344. clearable
  345. size="small"
  346. maxlength="20"
  347. />
  348. </el-form-item>
  349. <el-form-item>
  350. ~
  351. </el-form-item>
  352. <el-form-item>
  353. <el-input
  354. v-model="queryParamsSign.endAmt"
  355. placeholder="请输入融信金额"
  356. clearable
  357. size="small"
  358. @keyup.enter.native="handleQuerySign"
  359. maxlength="20"
  360. />
  361. </el-form-item>
  362. <el-form-item label="签收日期" prop="zfiSignDate">
  363. <el-date-picker size="small"
  364. v-model="queryParamsSign.zfiSignDate"
  365. style="width: 240px"
  366. unlink-panels
  367. value-format="yyyy-MM-dd"
  368. type="daterange"
  369. range-separator="-"
  370. start-placeholder="开始日期"
  371. end-placeholder="结束日期">
  372. </el-date-picker>
  373. </el-form-item>
  374. <el-form-item label="承诺日期" prop="zfiExpireDate">
  375. <el-date-picker size="small"
  376. v-model="queryParamsSign.zfiExpireDate"
  377. style="width: 240px"
  378. unlink-panels
  379. value-format="yyyy-MM-dd"
  380. type="daterange"
  381. range-separator="-"
  382. start-placeholder="开始日期"
  383. end-placeholder="结束日期">
  384. </el-date-picker>
  385. </el-form-item>
  386. <el-form-item label="融信利率" prop="zfiRate">
  387. <el-input
  388. v-model.trim="queryParamsSign.zfiRate"
  389. placeholder="请输入融信利率"
  390. clearable
  391. size="small"
  392. maxlength="25"
  393. @keyup.enter.native="handleQuerySign"
  394. />
  395. </el-form-item> -->
  396. </el-form>
  397. </el-row>
  398. <el-row v-else-if="activeIndex === '3'" class="zap-table-search">
  399. <div class="zap-padding-end">
  400. <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListFinancing">收起</right-toolbar>
  401. <span class="zap-padding-start zap-font-title">所选条件:</span>
  402. <div style="float: right;margin-right:1%">
  403. <el-button type="cyan" icon="el-icon-search" @click="handleQueryFinancing">搜索</el-button>
  404. <el-button icon="el-icon-refresh" @click="resetQueryFinancing" style="float: ;">重置</el-button>
  405. </div>
  406. </div>
  407. <hr style="margin-top: 16px;">
  408. <el-form class="zap-table-search__form" :model="queryParamsFinancing" ref="queryFormFinancing" :inline="true" v-if="showSearch" label-width="68px">
  409. <el-form-item prop="zfiTypes" size="large">
  410. <el-select v-model="queryParamsFinancing.zfiTypes" clearable>
  411. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  412. </el-select>
  413. </el-form-item>
  414. <el-form-item prop="zfiQuery" size="large">
  415. <el-select v-model="queryParamsFinancing.zfiQuery" clearable>
  416. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  417. </el-select>
  418. </el-form-item>
  419. <el-form-item prop="zfiValue" v-if="this.queryParamsFinancing.zfiQuery" size="large">
  420. <el-input v-model="queryParamsFinancing.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  421. </el-form-item>
  422. <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
  423. <el-date-picker v-model="queryParamsFinancing.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
  424. </el-date-picker>
  425. </el-form-item>
  426. <!-- <el-form-item label="融信编码" prop="zfiNumber">
  427. <el-input
  428. v-model.trim="queryParamsFinancing.zfiNumber"
  429. placeholder="请输入融信编码"
  430. clearable
  431. size="small"
  432. maxlength="25"
  433. @keyup.enter.native="handleQueryFinancing"
  434. />
  435. </el-form-item>
  436. <el-form-item label="开立企业" prop="openCompany">
  437. <el-input
  438. v-model.trim="queryParamsFinancing.openCompany"
  439. placeholder="请输入开立企业"
  440. clearable
  441. size="small"
  442. maxlength="25"
  443. @keyup.enter.native="handleQueryFinancing"
  444. />
  445. </el-form-item>
  446. <el-form-item label="接收企业" prop="receiveCompany">
  447. <el-input
  448. v-model.trim="queryParamsFinancing.receiveCompany"
  449. placeholder="请输入接收企业"
  450. clearable
  451. size="small"
  452. maxlength="25"
  453. @keyup.enter.native="handleQueryFinancing"
  454. />
  455. </el-form-item>
  456. <el-form-item label="融信产品" prop="zfpName">
  457. <el-input
  458. v-model.trim="queryParamsFinancing.zfpName"
  459. placeholder="请输入融信产品"
  460. clearable
  461. size="small"
  462. maxlength="25"
  463. @keyup.enter.native="handleQueryFinancing"
  464. />
  465. </el-form-item>
  466. <el-form-item label="融信金额">
  467. <el-input
  468. v-model="queryParamsFinancing.startAmt"
  469. placeholder="请输入融信金额"
  470. clearable
  471. size="small"
  472. maxlength="20"
  473. />
  474. </el-form-item>
  475. <el-form-item>
  476. ~
  477. </el-form-item>
  478. <el-form-item>
  479. <el-input
  480. v-model="queryParamsFinancing.endAmt"
  481. placeholder="请输入融信金额"
  482. clearable
  483. size="small"
  484. @keyup.enter.native="handleQueryFinancing"
  485. maxlength="20"
  486. />
  487. </el-form-item>
  488. <el-form-item label="签收日期" prop="zfiSignDate">
  489. <el-date-picker size="small"
  490. v-model="queryParamsFinancing.zfiSignDate"
  491. style="width: 240px"
  492. unlink-panels
  493. value-format="yyyy-MM-dd"
  494. type="daterange"
  495. range-separator="-"
  496. start-placeholder="开始日期"
  497. end-placeholder="结束日期">
  498. </el-date-picker>
  499. </el-form-item>
  500. <el-form-item label="承诺日期" prop="zfiExpireDate">
  501. <el-date-picker size="small"
  502. v-model="queryParamsFinancing.zfiExpireDate"
  503. style="width: 240px"
  504. unlink-panels
  505. value-format="yyyy-MM-dd"
  506. type="daterange"
  507. range-separator="-"
  508. start-placeholder="开始日期"
  509. end-placeholder="结束日期">
  510. </el-date-picker>
  511. </el-form-item>
  512. <el-form-item label="融信利率" prop="zfiRate">
  513. <el-input
  514. v-model.trim="queryParamsFinancing.zfiRate"
  515. placeholder="请输入融信利率"
  516. clearable
  517. size="small"
  518. maxlength="25"
  519. @keyup.enter.native="handleQueryFinancing"
  520. />
  521. </el-form-item> -->
  522. </el-form>
  523. </el-row>
  524. <el-row v-else-if="activeIndex === '4'" class="zap-table-search">
  525. <div class="zap-padding-end">
  526. <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListFinanced">收起</right-toolbar>
  527. <span class="zap-padding-start zap-font-title">所选条件:</span>
  528. <div style="float: right;margin-right:1%">
  529. <el-button type="cyan" icon="el-icon-search" @click="handleQueryFinanced">搜索</el-button>
  530. <el-button icon="el-icon-refresh" @click="resetQueryFinanced" style="float: ;">重置</el-button>
  531. </div>
  532. </div>
  533. <hr style="margin-top: 16px;">
  534. <el-form class="zap-table-search__form" :model="queryParamsFinanced" ref="queryFormFinanced" :inline="true" v-if="showSearch" label-width="68px">
  535. <el-form-item prop="zfiTypes" size="large">
  536. <el-select v-model="queryParamsFinanced.zfiTypes" clearable>
  537. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  538. </el-select>
  539. </el-form-item>
  540. <el-form-item prop="zfiQuery" size="large">
  541. <el-select v-model="queryParamsFinanced.zfiQuery" clearable>
  542. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  543. </el-select>
  544. </el-form-item>
  545. <el-form-item prop="zfiValue" v-if="this.queryParamsFinanced.zfiQuery" size="large">
  546. <el-input v-model="queryParamsFinanced.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  547. </el-form-item>
  548. <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
  549. <el-date-picker v-model="queryParamsFinanced.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
  550. </el-date-picker>
  551. </el-form-item>
  552. <!-- <el-form-item label="融信编码" prop="zfiNumber">
  553. <el-input
  554. v-model.trim="queryParamsFinanced.zfiNumber"
  555. placeholder="请输入融信编码"
  556. clearable
  557. size="small"
  558. maxlength="25"
  559. @keyup.enter.native="handleQueryFinanced"
  560. />
  561. </el-form-item>
  562. <el-form-item label="开立企业" prop="openCompany">
  563. <el-input
  564. v-model.trim="queryParamsFinanced.openCompany"
  565. placeholder="请输入开立企业"
  566. clearable
  567. size="small"
  568. maxlength="25"
  569. @keyup.enter.native="handleQueryFinanced"
  570. />
  571. </el-form-item>
  572. <el-form-item label="接收企业" prop="receiveCompany">
  573. <el-input
  574. v-model.trim="queryParamsFinanced.receiveCompany"
  575. placeholder="请输入接收企业"
  576. clearable
  577. size="small"
  578. maxlength="25"
  579. @keyup.enter.native="handleQueryFinanced"
  580. />
  581. </el-form-item>
  582. <el-form-item label="融信产品" prop="zfpName">
  583. <el-input
  584. v-model.trim="queryParamsFinanced.zfpName"
  585. placeholder="请输入融信产品"
  586. clearable
  587. size="small"
  588. maxlength="25"
  589. @keyup.enter.native="handleQueryFinanced"
  590. />
  591. </el-form-item>
  592. <el-form-item label="融信金额">
  593. <el-input
  594. v-model="queryParamsFinanced.startAmt"
  595. placeholder="请输入融信金额"
  596. clearable
  597. size="small"
  598. maxlength="20"
  599. />
  600. </el-form-item>
  601. <el-form-item>
  602. ~
  603. </el-form-item>
  604. <el-form-item>
  605. <el-input
  606. v-model="queryParamsFinanced.endAmt"
  607. placeholder="请输入融信金额"
  608. clearable
  609. size="small"
  610. @keyup.enter.native="handleQueryFinanced"
  611. maxlength="20"
  612. />
  613. </el-form-item>
  614. <el-form-item label="签收日期" prop="zfiSignDate">
  615. <el-date-picker size="small"
  616. v-model="queryParamsFinanced.zfiSignDate"
  617. style="width: 240px"
  618. unlink-panels
  619. value-format="yyyy-MM-dd"
  620. type="daterange"
  621. range-separator="-"
  622. start-placeholder="开始日期"
  623. end-placeholder="结束日期">
  624. </el-date-picker>
  625. </el-form-item>
  626. <el-form-item label="承诺日期" prop="zfiExpireDate">
  627. <el-date-picker size="small"
  628. v-model="queryParamsFinanced.zfiExpireDate"
  629. style="width: 240px"
  630. unlink-panels
  631. value-format="yyyy-MM-dd"
  632. type="daterange"
  633. range-separator="-"
  634. start-placeholder="开始日期"
  635. end-placeholder="结束日期">
  636. </el-date-picker>
  637. </el-form-item>
  638. <el-form-item label="融信利率" prop="zfiRate">
  639. <el-input
  640. v-model.trim="queryParamsFinanced.zfiRate"
  641. placeholder="请输入融信利率"
  642. clearable
  643. size="small"
  644. maxlength="25"
  645. @keyup.enter.native="handleQueryFinanced"
  646. />
  647. </el-form-item> -->
  648. </el-form>
  649. </el-row>
  650. <!-- 已拒绝 -->
  651. <el-row v-else-if="activeIndex === '5'" class="zap-table-search">
  652. <div class="zap-padding-end">
  653. <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListInvalid">收起</right-toolbar>
  654. <span class="zap-padding-start zap-font-title">所选条件:</span>
  655. <div style="float: right;margin-right:1%">
  656. <el-button type="cyan" icon="el-icon-search" @click="handleQueryInvalid">搜索</el-button>
  657. <el-button icon="el-icon-refresh" @click="resetQueryInvalid" style="float: ;">重置</el-button>
  658. </div>
  659. </div>
  660. <hr style="margin-top: 16px;">
  661. <el-form class="zap-table-search__form" :model="queryParamsInvalid" ref="queryFormInvalid" :inline="true" v-if="showSearch" label-width="68px">
  662. <el-form-item prop="zfiTypes" size="large">
  663. <el-select v-model="queryParamsInvalid.zfiTypes" clearable>
  664. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  665. </el-select>
  666. </el-form-item>
  667. <el-form-item prop="zfiQuery" size="large">
  668. <el-select v-model="queryParamsInvalid.zfiQuery" clearable>
  669. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  670. </el-select>
  671. </el-form-item>
  672. <el-form-item prop="zfiValue" v-if="this.queryParamsInvalid.zfiQuery" size="large">
  673. <el-input v-model="queryParamsInvalid.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  674. </el-form-item>
  675. <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
  676. <el-date-picker v-model="queryParamsInvalid.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
  677. </el-date-picker>
  678. </el-form-item>
  679. <!-- <el-form-item label="融信编码" prop="zfiNumber">
  680. <el-input
  681. v-model.trim="queryParamsInvalid.zfiNumber"
  682. placeholder="请输入融信编码"
  683. clearable
  684. size="small"
  685. maxlength="25"
  686. @keyup.enter.native="handleQueryInvalid"
  687. />
  688. </el-form-item>
  689. <el-form-item label="开立企业" prop="openCompany">
  690. <el-input
  691. v-model.trim="queryParamsInvalid.openCompany"
  692. placeholder="请输入开立企业"
  693. clearable
  694. size="small"
  695. maxlength="25"
  696. @keyup.enter.native="handleQueryInvalid"
  697. />
  698. </el-form-item>
  699. <el-form-item label="接收企业" prop="receiveCompany">
  700. <el-input
  701. v-model.trim="queryParamsInvalid.receiveCompany"
  702. placeholder="请输入接收企业"
  703. clearable
  704. size="small"
  705. maxlength="25"
  706. @keyup.enter.native="handleQueryInvalid"
  707. />
  708. </el-form-item>
  709. <el-form-item label="融信产品" prop="zfpName">
  710. <el-input
  711. v-model.trim="queryParamsInvalid.zfpName"
  712. placeholder="请输入融信产品"
  713. clearable
  714. size="small"
  715. maxlength="25"
  716. @keyup.enter.native="handleQueryInvalid"
  717. />
  718. </el-form-item>
  719. <el-form-item label="融信金额">
  720. <el-input
  721. v-model="queryParamsInvalid.startAmt"
  722. placeholder="请输入融信金额"
  723. clearable
  724. size="small"
  725. maxlength="20"
  726. />
  727. </el-form-item>
  728. <el-form-item>
  729. ~
  730. </el-form-item>
  731. <el-form-item>
  732. <el-input
  733. v-model="queryParamsInvalid.endAmt"
  734. placeholder="请输入融信金额"
  735. clearable
  736. size="small"
  737. @keyup.enter.native="handleQueryInvalid"
  738. maxlength="20"
  739. />
  740. </el-form-item>
  741. <el-form-item label="签收日期" prop="zfiSignDate">
  742. <el-date-picker size="small"
  743. v-model="queryParamsInvalid.zfiSignDate"
  744. style="width: 240px"
  745. unlink-panels
  746. value-format="yyyy-MM-dd"
  747. type="daterange"
  748. range-separator="-"
  749. start-placeholder="开始日期"
  750. end-placeholder="结束日期">
  751. </el-date-picker>
  752. </el-form-item>
  753. <el-form-item label="承诺日期" prop="zfiExpireDate">
  754. <el-date-picker size="small"
  755. v-model="queryParamsInvalid.zfiExpireDate"
  756. style="width: 240px"
  757. unlink-panels
  758. value-format="yyyy-MM-dd"
  759. type="daterange"
  760. range-separator="-"
  761. start-placeholder="开始日期"
  762. end-placeholder="结束日期">
  763. </el-date-picker>
  764. </el-form-item>
  765. <el-form-item label="融信利率" prop="zfiRate">
  766. <el-input
  767. v-model.trim="queryParamsInvalid.zfiRate"
  768. placeholder="请输入融信利率"
  769. clearable
  770. size="small"
  771. maxlength="25"
  772. @keyup.enter.native="handleQueryInvalid"
  773. />
  774. </el-form-item> -->
  775. <!-- <el-form-item label="状态" prop="zfiStatus">
  776. <el-select v-model="queryParams.zfiStatus" placeholder="请选择状态" clearable size="small">
  777. <el-option
  778. v-for="dict in stateOptions"
  779. :key="dict.dictValue"
  780. :label="dict.dictLabel"
  781. :value="dict.dictValue"
  782. />
  783. </el-select>
  784. </el-form-item> -->
  785. </el-form>
  786. </el-row>
  787. <!-- 已结算 -->
  788. <el-row v-else-if="activeIndex === '6'" class="zap-table-search">
  789. <div class="zap-padding-end">
  790. <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListSettlement">收起</right-toolbar>
  791. <span class="zap-padding-start zap-font-title">所选条件:</span>
  792. <div style="float: right;margin-right:1%">
  793. <el-button type="cyan" icon="el-icon-search" @click="handleQuerySettlement">搜索</el-button>
  794. <el-button icon="el-icon-refresh" @click="resetQuerySettlement" style="float: ;">重置</el-button>
  795. </div>
  796. </div>
  797. <hr style="margin-top: 16px;">
  798. <el-form class="zap-table-search__form" :model="queryParamsSettlement" ref="queryFormSettlement" :inline="true" v-if="showSearch" label-width="68px">
  799. <el-form-item prop="zfiTypes" size="large">
  800. <el-select v-model="queryParamsSettlement.zfiTypes" clearable>
  801. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  802. </el-select>
  803. </el-form-item>
  804. <el-form-item prop="zfiQuery" size="large">
  805. <el-select v-model="queryParamsSettlement.zfiQuery" clearable>
  806. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  807. </el-select>
  808. </el-form-item>
  809. <el-form-item prop="zfiValue" v-if="this.queryParamsSettlement.zfiQuery" size="large">
  810. <el-input v-model="queryParamsSettlement.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  811. </el-form-item>
  812. <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
  813. <el-date-picker v-model="queryParamsSettlement.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
  814. </el-date-picker>
  815. </el-form-item>
  816. </el-form>
  817. </el-row>
  818. <!-- 已过期 -->
  819. <el-row v-else-if="activeIndex === '7'" class="zap-table-search">
  820. <div class="zap-padding-end">
  821. <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListOverdue">收起</right-toolbar>
  822. <span class="zap-padding-start zap-font-title">所选条件:</span>
  823. <div style="float: right;margin-right:1%">
  824. <el-button type="cyan" icon="el-icon-search" @click="handleQueryOverdue">搜索</el-button>
  825. <el-button icon="el-icon-refresh" @click="resetQueryOverdue" style="float: ;">重置</el-button>
  826. </div>
  827. </div>
  828. <hr style="margin-top: 16px;">
  829. <el-form class="zap-table-search__form" :model="queryParamsOverdue" ref="queryFormOverdue" :inline="true" v-if="showSearch" label-width="68px">
  830. <el-form-item prop="zfiTypes" size="large">
  831. <el-select v-model="queryParamsOverdue.zfiTypes" clearable>
  832. <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  833. </el-select>
  834. </el-form-item>
  835. <el-form-item prop="zfiQuery" size="large">
  836. <el-select v-model="queryParamsOverdue.zfiQuery" clearable>
  837. <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
  838. </el-select>
  839. </el-form-item>
  840. <el-form-item prop="zfiValue" v-if="this.queryParamsOverdue.zfiQuery" size="large">
  841. <el-input v-model="queryParamsOverdue.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
  842. </el-form-item>
  843. <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
  844. <el-date-picker v-model="queryParamsOverdue.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
  845. </el-date-picker>
  846. </el-form-item>
  847. </el-form>
  848. </el-row>
  849. <el-row class="zap-margin-top">
  850. <el-col>
  851. <div class="zap-credit__content">
  852. <div class="zap-credit__buttons">
  853. <el-button
  854. type="success"
  855. icon="el-icon-plus"
  856. @click="handleAdd"
  857. v-hasPermi="['credit:credit:add']"
  858. >开立融信</el-button>
  859. <el-button
  860. type="success"
  861. icon="el-icon-plus"
  862. @click="finanOpening"
  863. v-hasPermi="['finanOpening:finanOpening:add']"
  864. >融资开立</el-button>
  865. <el-button
  866. type="primary"
  867. icon="el-icon-tickets"
  868. @click="apply"
  869. v-hasPermi="['finanOpening:finanOpening:apply']"
  870. >融资申请</el-button>
  871. </div>
  872. <el-tabs v-model="activeIndex">
  873. <!-- 全部-->
  874. <el-tab-pane label="全部">
  875. <el-table v-loading="loading" stripe :data="infList" @selection-change="handleSelectionChange" border>
  876. <el-table-column label="序号" type="index" width="50" align="center">
  877. <template slot-scope="scope">
  878. <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
  879. </template>
  880. </el-table-column>
  881. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
  882. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
  883. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
  884. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  885. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
  886. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
  887. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  888. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true"/>
  889. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  890. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
  891. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  892. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true"/>
  893. <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  894. <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
  895. <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  896. <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
  897. <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
  898. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
  899. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
  900. <template slot-scope="scope">
  901. <el-button
  902. size="mini"
  903. type="text"
  904. icon="el-icon-view"
  905. @click="handleDetail(scope.row)"
  906. v-hasPermi="['credit:credit:query']"
  907. >详情</el-button>
  908. <!--
  909. (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
  910. (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
  911. (融资方)融资开立+融资审批状态/平台审批拒绝||
  912. -->
  913. <el-button
  914. size="mini"
  915. type="text"
  916. icon="el-icon-edit"
  917. @click="handleUpdate(scope.row)"
  918. v-hasPermi="['credit:credit:update']"
  919. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  920. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  921. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
  922. "
  923. >修改</el-button>
  924. <!--融信状态待确权且为核心企业
  925. -->
  926. <el-button
  927. size="mini"
  928. type="text"
  929. icon="el-icon-edit"
  930. @click="handleApprove(scope.row)"
  931. v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
  932. v-hasPermi="['credit:credit:approve']"
  933. >确权</el-button>
  934. <!--原补充资料-->
  935. <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入
  936. -->
  937. <el-button
  938. size="mini"
  939. type="text"
  940. icon="el-icon-edit"
  941. @click="handleAddInformation(scope.row)"
  942. v-hasPermi="['credit:credit:addInfor']"
  943. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
  944. >签收</el-button>
  945. <!--融资申请+融信状态待签收+融资企业
  946. 判断是否内部通过 审批中不可进入
  947. -->
  948. <el-button
  949. size="mini"
  950. type="text"
  951. icon="el-icon-edit"
  952. @click="handleSignFor(scope.row)"
  953. v-hasPermi="['credit:credit:signFor']"
  954. v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
  955. >签收</el-button>
  956. <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
  957. (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
  958. -->
  959. <!-- <el-button
  960. size="mini"
  961. type="text"
  962. icon="el-icon-edit"
  963. @click="handleRefuse(scope.row)"
  964. v-hasPermi="['credit:credit:refuse']"
  965. v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
  966. (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
  967. >拒签</el-button> -->
  968. <!--生效-->
  969. <el-button
  970. size="mini"
  971. type="text"
  972. icon="el-icon-edit"
  973. @click="handleGoFinance(scope.row)"
  974. v-hasPermi="['finance:record:add']"
  975. v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
  976. >去融资</el-button>
  977. <!--(核心)核心开立:核心审批通过+其他状态为空||
  978. (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
  979. (融资方)融资开立:融资方通过+平台通过+其他为空||
  980. (核心)确权:融资方通过+核心通过+平台通过+待确权
  981. -->
  982. <!-- <el-button
  983. size="mini"
  984. type="text"
  985. icon="el-icon-edit"
  986. @click="seal(scope.row)"
  987. v-hasPermi="['credit:credit:seal']"
  988. v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  989. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
  990. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  991. (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
  992. >盖章</el-button> -->
  993. <!--核心开立
  994. 类型为核心开立,状态为空,并且核心企业
  995. -->
  996. <el-button
  997. size="mini"
  998. type="text"
  999. icon="el-icon-edit"
  1000. @click="seal(scope.row)"
  1001. v-hasPermi="['credit:credit:seal']"
  1002. v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1003. >开立融信</el-button>
  1004. <el-button
  1005. size="mini"
  1006. type="text"
  1007. icon="el-icon-edit"
  1008. @click="refuse(scope.row)"
  1009. v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
  1010. && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
  1011. && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1012. >作废</el-button>
  1013. <!--供应商开立
  1014. 类型为供应商开立,状态为空,并且融资企业
  1015. -->
  1016. <el-button
  1017. size="mini"
  1018. type="text"
  1019. icon="el-icon-edit"
  1020. @click="seal(scope.row)"
  1021. v-hasPermi="['credit:credit:seal']"
  1022. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1023. >融信开立</el-button>
  1024. <el-button
  1025. size="mini"
  1026. type="text"
  1027. icon="el-icon-delete"
  1028. @click="handleDelete(scope.row)"
  1029. v-hasPermi="['credit:credit:del']"
  1030. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  1031. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  1032. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
  1033. >删除</el-button>
  1034. <el-button
  1035. size="mini"
  1036. type="text"
  1037. icon="el-icon-info"
  1038. @click="handleFlowable(scope.row)"
  1039. >查看流程</el-button>
  1040. </template>
  1041. </el-table-column>
  1042. </el-table>
  1043. <span>总合计:{{allAmount}}</span>
  1044. <span>开立中:{{klzAllAmount}}</span>
  1045. <span>已生效:{{ysxAllAmount}}</span>
  1046. <span>融资中:{{rzzAllAmount}}</span>
  1047. <span>已融资:{{yrzAllAmount}}</span>
  1048. <span>已拒绝:{{yjjAllAmount}}</span>
  1049. <span>已结算:{{yjsAllAmount}}</span>
  1050. <span>已过期:{{ygqAllAmount}}</span>
  1051. <pagination
  1052. v-show="total>0"
  1053. :total="total"
  1054. :page.sync="queryParams.pageNum"
  1055. :limit.sync="queryParams.pageSize"
  1056. @pagination="getList"
  1057. />
  1058. <!--开立中-->
  1059. </el-tab-pane>
  1060. <el-tab-pane label="开立中">
  1061. <el-table v-loading="loading" stripe :data="infOpeningList" @selection-change="handleSelectionChange" border>
  1062. <el-table-column label="序号" type="index" width="50" align="center">
  1063. <template slot-scope="scope">
  1064. <span>{{(queryParamsOpening.pageNum - 1) * queryParamsOpening.pageSize + scope.$index + 1}}</span>
  1065. </template>
  1066. </el-table-column>
  1067. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
  1068. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
  1069. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
  1070. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  1071. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
  1072. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
  1073. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  1074. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true"/>
  1075. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  1076. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
  1077. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  1078. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true"/>
  1079. <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1080. <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
  1081. <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1082. <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
  1083. <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
  1084. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
  1085. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
  1086. <template slot-scope="scope">
  1087. <el-button
  1088. size="mini"
  1089. type="text"
  1090. icon="el-icon-view"
  1091. @click="handleDetail(scope.row)"
  1092. v-hasPermi="['credit:credit:query']"
  1093. >详情</el-button>
  1094. <!--
  1095. (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
  1096. (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
  1097. (融资方)融资开立+融资审批状态/平台审批拒绝||
  1098. -->
  1099. <el-button
  1100. size="mini"
  1101. type="text"
  1102. icon="el-icon-edit"
  1103. @click="handleUpdate(scope.row)"
  1104. v-hasPermi="['credit:credit:update']"
  1105. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  1106. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  1107. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
  1108. "
  1109. >修改</el-button>
  1110. <!--融信状态待确权且为核心企业
  1111. -->
  1112. <el-button
  1113. size="mini"
  1114. type="text"
  1115. icon="el-icon-edit"
  1116. @click="handleApprove(scope.row)"
  1117. v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
  1118. v-hasPermi="['credit:credit:approve']"
  1119. >确权</el-button>
  1120. <!--原补充资料-->
  1121. <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
  1122. <el-button
  1123. size="mini"
  1124. type="text"
  1125. icon="el-icon-edit"
  1126. @click="handleAddInformation(scope.row)"
  1127. v-hasPermi="['credit:credit:addInfor']"
  1128. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
  1129. >签收</el-button>
  1130. <!--融资申请+融信状态待签收+融资企业
  1131. 判断是否内部通过 审批中不可进入
  1132. -->
  1133. <el-button
  1134. size="mini"
  1135. type="text"
  1136. icon="el-icon-edit"
  1137. @click="handleSignFor(scope.row)"
  1138. v-hasPermi="['credit:credit:signFor']"
  1139. v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
  1140. >签收</el-button>
  1141. <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
  1142. (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
  1143. -->
  1144. <!-- <el-button
  1145. size="mini"
  1146. type="text"
  1147. icon="el-icon-edit"
  1148. @click="handleRefuse(scope.row)"
  1149. v-hasPermi="['credit:credit:refuse']"
  1150. v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
  1151. (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
  1152. >拒签</el-button> -->
  1153. <!--生效-->
  1154. <el-button
  1155. size="mini"
  1156. type="text"
  1157. icon="el-icon-edit"
  1158. @click="handleGoFinance(scope.row)"
  1159. v-hasPermi="['finance:record:add']"
  1160. v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
  1161. >去融资</el-button>
  1162. <!--(核心)核心开立:核心审批通过+其他状态为空||
  1163. (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
  1164. (融资方)融资开立:融资方通过+平台通过+其他为空||
  1165. (核心)确权:融资方通过+核心通过+平台通过+待确权
  1166. -->
  1167. <!-- <el-button
  1168. size="mini"
  1169. type="text"
  1170. icon="el-icon-edit"
  1171. @click="seal(scope.row)"
  1172. v-hasPermi="['credit:credit:seal']"
  1173. v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  1174. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
  1175. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  1176. (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
  1177. >盖章</el-button> -->
  1178. <!--核心开立
  1179. 类型为核心开立,状态为空,并且核心企业
  1180. -->
  1181. <el-button
  1182. size="mini"
  1183. type="text"
  1184. icon="el-icon-edit"
  1185. @click="seal(scope.row)"
  1186. v-hasPermi="['credit:credit:seal']"
  1187. v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1188. >开立融信</el-button>
  1189. <el-button
  1190. size="mini"
  1191. type="text"
  1192. icon="el-icon-edit"
  1193. @click="refuse(scope.row)"
  1194. v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
  1195. && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
  1196. && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1197. >作废</el-button>
  1198. <!--供应商开立
  1199. 类型为供应商开立,状态为空,并且融资企业
  1200. -->
  1201. <el-button
  1202. size="mini"
  1203. type="text"
  1204. icon="el-icon-edit"
  1205. @click="seal(scope.row)"
  1206. v-hasPermi="['credit:credit:seal']"
  1207. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1208. >融信开立</el-button>
  1209. <el-button
  1210. size="mini"
  1211. type="text"
  1212. icon="el-icon-delete"
  1213. @click="handleDelete(scope.row)"
  1214. v-hasPermi="['credit:credit:del']"
  1215. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  1216. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  1217. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
  1218. >删除</el-button>
  1219. <el-button
  1220. size="mini"
  1221. type="text"
  1222. icon="el-icon-info"
  1223. @click="handleFlowable(scope.row)"
  1224. >查看流程</el-button>
  1225. </template>
  1226. </el-table-column>
  1227. </el-table>
  1228. <pagination
  1229. v-show="totalOpening>0"
  1230. :total="totalOpening"
  1231. :page.sync="queryParamsOpening.pageNum"
  1232. :limit.sync="queryParamsOpening.pageSize"
  1233. @pagination="getListOpening"
  1234. />
  1235. <span>总合计:{{klzAmount}}</span>
  1236. <span>开立中:{{klzAmount}}</span>
  1237. </el-tab-pane>
  1238. <!--已生效-->
  1239. <el-tab-pane label="已生效">
  1240. <el-table v-loading="loading" stripe :data="infSignList" @selection-change="handleSelectionChange" border>
  1241. <el-table-column label="序号" type="index" width="50" align="center">
  1242. <template slot-scope="scope">
  1243. <span>{{(queryParamsSign.pageNum - 1) * queryParamsSign.pageSize + scope.$index + 1}}</span>
  1244. </template>
  1245. </el-table-column>
  1246. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
  1247. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
  1248. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
  1249. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  1250. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
  1251. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
  1252. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  1253. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  1254. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  1255. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
  1256. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  1257. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  1258. <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1259. <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
  1260. <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1261. <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
  1262. <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
  1263. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
  1264. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
  1265. <template slot-scope="scope">
  1266. <el-button
  1267. size="mini"
  1268. type="text"
  1269. icon="el-icon-view"
  1270. @click="handleDetail(scope.row)"
  1271. v-hasPermi="['credit:credit:query']"
  1272. >详情</el-button>
  1273. <!--
  1274. (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
  1275. (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
  1276. (融资方)融资开立+融资审批状态/平台审批拒绝||
  1277. -->
  1278. <el-button
  1279. size="mini"
  1280. type="text"
  1281. icon="el-icon-edit"
  1282. @click="handleUpdate(scope.row)"
  1283. v-hasPermi="['credit:credit:update']"
  1284. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  1285. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  1286. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
  1287. "
  1288. >修改</el-button>
  1289. <!--融信状态待确权且为核心企业
  1290. -->
  1291. <el-button
  1292. size="mini"
  1293. type="text"
  1294. icon="el-icon-edit"
  1295. @click="handleApprove(scope.row)"
  1296. v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
  1297. v-hasPermi="['credit:credit:approve']"
  1298. >确权</el-button>
  1299. <!--原补充资料-->
  1300. <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
  1301. <el-button
  1302. size="mini"
  1303. type="text"
  1304. icon="el-icon-edit"
  1305. @click="handleAddInformation(scope.row)"
  1306. v-hasPermi="['credit:credit:addInfor']"
  1307. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
  1308. >签收</el-button>
  1309. <!--融资申请+融信状态待签收+融资企业
  1310. 判断是否内部通过 审批中不可进入
  1311. -->
  1312. <el-button
  1313. size="mini"
  1314. type="text"
  1315. icon="el-icon-edit"
  1316. @click="handleSignFor(scope.row)"
  1317. v-hasPermi="['credit:credit:signFor']"
  1318. v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
  1319. >签收</el-button>
  1320. <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
  1321. (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
  1322. -->
  1323. <!-- <el-button
  1324. size="mini"
  1325. type="text"
  1326. icon="el-icon-edit"
  1327. @click="handleRefuse(scope.row)"
  1328. v-hasPermi="['credit:credit:refuse']"
  1329. v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
  1330. (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
  1331. >拒签</el-button> -->
  1332. <!--生效-->
  1333. <el-button
  1334. size="mini"
  1335. type="text"
  1336. icon="el-icon-edit"
  1337. @click="handleGoFinance(scope.row)"
  1338. v-hasPermi="['finance:record:add']"
  1339. v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
  1340. >去融资</el-button>
  1341. <!--(核心)核心开立:核心审批通过+其他状态为空||
  1342. (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
  1343. (融资方)融资开立:融资方通过+平台通过+其他为空||
  1344. (核心)确权:融资方通过+核心通过+平台通过+待确权
  1345. -->
  1346. <!-- <el-button
  1347. size="mini"
  1348. type="text"
  1349. icon="el-icon-edit"
  1350. @click="seal(scope.row)"
  1351. v-hasPermi="['credit:credit:seal']"
  1352. v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  1353. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
  1354. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  1355. (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
  1356. >盖章</el-button> -->
  1357. <!--核心开立
  1358. 类型为核心开立,状态为空,并且核心企业
  1359. -->
  1360. <el-button
  1361. size="mini"
  1362. type="text"
  1363. icon="el-icon-edit"
  1364. @click="seal(scope.row)"
  1365. v-hasPermi="['credit:credit:seal']"
  1366. v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1367. >开立融信</el-button>
  1368. <el-button
  1369. size="mini"
  1370. type="text"
  1371. icon="el-icon-edit"
  1372. @click="refuse(scope.row)"
  1373. v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
  1374. && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
  1375. && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1376. >作废</el-button>
  1377. <!--供应商开立
  1378. 类型为供应商开立,状态为空,并且融资企业
  1379. -->
  1380. <el-button
  1381. size="mini"
  1382. type="text"
  1383. icon="el-icon-edit"
  1384. @click="seal(scope.row)"
  1385. v-hasPermi="['credit:credit:seal']"
  1386. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1387. >融信开立</el-button>
  1388. <el-button
  1389. size="mini"
  1390. type="text"
  1391. icon="el-icon-delete"
  1392. @click="handleDelete(scope.row)"
  1393. v-hasPermi="['credit:credit:del']"
  1394. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  1395. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  1396. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
  1397. >删除</el-button>
  1398. <el-button
  1399. size="mini"
  1400. type="text"
  1401. icon="el-icon-info"
  1402. @click="handleFlowable(scope.row)"
  1403. >查看流程</el-button>
  1404. </template>
  1405. </el-table-column>
  1406. </el-table>
  1407. <pagination
  1408. v-show="totalSign>0"
  1409. :total="totalSign"
  1410. :page.sync="queryParamsSign.pageNum"
  1411. :limit.sync="queryParamsSign.pageSize"
  1412. @pagination="getListSign"
  1413. />
  1414. <span>总合计:{{ysxAmount}}</span>
  1415. <span>已生效:{{ysxAmount}}</span>
  1416. </el-tab-pane>
  1417. <!--融资中-->
  1418. <el-tab-pane label="融资中">
  1419. <el-table v-loading="loading" stripe :data="infFinancingList" @selection-change="handleSelectionChange" border>
  1420. <el-table-column label="序号" type="index" width="50" align="center">
  1421. <template slot-scope="scope">
  1422. <span>{{(queryParamsFinancing.pageNum - 1) * queryParamsFinancing.pageSize + scope.$index + 1}}</span>
  1423. </template>
  1424. </el-table-column>
  1425. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
  1426. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
  1427. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
  1428. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  1429. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
  1430. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
  1431. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  1432. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  1433. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  1434. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
  1435. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  1436. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  1437. <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1438. <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
  1439. <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1440. <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
  1441. <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
  1442. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
  1443. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
  1444. <template slot-scope="scope">
  1445. <el-button
  1446. size="mini"
  1447. type="text"
  1448. icon="el-icon-view"
  1449. @click="handleDetail(scope.row)"
  1450. v-hasPermi="['credit:credit:query']"
  1451. >详情</el-button>
  1452. <!--
  1453. (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
  1454. (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
  1455. (融资方)融资开立+融资审批状态/平台审批拒绝||
  1456. -->
  1457. <el-button
  1458. size="mini"
  1459. type="text"
  1460. icon="el-icon-edit"
  1461. @click="handleUpdate(scope.row)"
  1462. v-hasPermi="['credit:credit:update']"
  1463. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  1464. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  1465. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
  1466. "
  1467. >修改</el-button>
  1468. <!--融信状态待确权且为核心企业
  1469. -->
  1470. <el-button
  1471. size="mini"
  1472. type="text"
  1473. icon="el-icon-edit"
  1474. @click="handleApprove(scope.row)"
  1475. v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
  1476. v-hasPermi="['credit:credit:approve']"
  1477. >确权</el-button>
  1478. <!--原补充资料-->
  1479. <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
  1480. <el-button
  1481. size="mini"
  1482. type="text"
  1483. icon="el-icon-edit"
  1484. @click="handleAddInformation(scope.row)"
  1485. v-hasPermi="['credit:credit:addInfor']"
  1486. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
  1487. >签收</el-button>
  1488. <!--融资申请+融信状态待签收+融资企业
  1489. 判断是否内部通过 审批中不可进入
  1490. -->
  1491. <el-button
  1492. size="mini"
  1493. type="text"
  1494. icon="el-icon-edit"
  1495. @click="handleSignFor(scope.row)"
  1496. v-hasPermi="['credit:credit:signFor']"
  1497. v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
  1498. >签收</el-button>
  1499. <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
  1500. (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
  1501. -->
  1502. <!-- <el-button
  1503. size="mini"
  1504. type="text"
  1505. icon="el-icon-edit"
  1506. @click="handleRefuse(scope.row)"
  1507. v-hasPermi="['credit:credit:refuse']"
  1508. v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
  1509. (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
  1510. >拒签</el-button> -->
  1511. <!--生效-->
  1512. <el-button
  1513. size="mini"
  1514. type="text"
  1515. icon="el-icon-edit"
  1516. @click="handleGoFinance(scope.row)"
  1517. v-hasPermi="['finance:record:add']"
  1518. v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
  1519. >去融资</el-button>
  1520. <!--(核心)核心开立:核心审批通过+其他状态为空||
  1521. (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
  1522. (融资方)融资开立:融资方通过+平台通过+其他为空||
  1523. (核心)确权:融资方通过+核心通过+平台通过+待确权
  1524. -->
  1525. <!-- <el-button
  1526. size="mini"
  1527. type="text"
  1528. icon="el-icon-edit"
  1529. @click="seal(scope.row)"
  1530. v-hasPermi="['credit:credit:seal']"
  1531. v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  1532. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
  1533. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  1534. (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
  1535. >盖章</el-button> -->
  1536. <!--核心开立
  1537. 类型为核心开立,状态为空,并且核心企业
  1538. -->
  1539. <el-button
  1540. size="mini"
  1541. type="text"
  1542. icon="el-icon-edit"
  1543. @click="seal(scope.row)"
  1544. v-hasPermi="['credit:credit:seal']"
  1545. v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1546. >开立融信</el-button>
  1547. <el-button
  1548. size="mini"
  1549. type="text"
  1550. icon="el-icon-edit"
  1551. @click="refuse(scope.row)"
  1552. v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
  1553. && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
  1554. && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1555. >作废</el-button>
  1556. <!--供应商开立
  1557. 类型为供应商开立,状态为空,并且融资企业
  1558. -->
  1559. <el-button
  1560. size="mini"
  1561. type="text"
  1562. icon="el-icon-edit"
  1563. @click="seal(scope.row)"
  1564. v-hasPermi="['credit:credit:seal']"
  1565. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1566. >融信开立</el-button>
  1567. <!--
  1568. (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
  1569. (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
  1570. (融资方)融资开立+融资审批状态/平台审批拒绝||
  1571. -->
  1572. <el-button
  1573. size="mini"
  1574. type="text"
  1575. icon="el-icon-delete"
  1576. @click="handleDelete(scope.row)"
  1577. v-hasPermi="['credit:credit:del']"
  1578. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  1579. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  1580. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
  1581. >删除</el-button>
  1582. <el-button
  1583. size="mini"
  1584. type="text"
  1585. icon="el-icon-info"
  1586. @click="handleFlowable(scope.row)"
  1587. >查看流程</el-button>
  1588. </template>
  1589. </el-table-column>
  1590. </el-table>
  1591. <pagination
  1592. v-show="totalFinancing>0"
  1593. :total="totalFinancing"
  1594. :page.sync="queryParamsFinancing.pageNum"
  1595. :limit.sync="queryParamsFinancing.pageSize"
  1596. @pagination="getListFinancing"
  1597. />
  1598. <span>总合计:{{rzzAmount}}</span>
  1599. <span>融资中:{{rzzAmount}}</span>
  1600. </el-tab-pane>
  1601. <!--已融资-->
  1602. <el-tab-pane label="已融资">
  1603. <el-table v-loading="loading" stripe :data="infFinancedList" @selection-change="handleSelectionChange" border>
  1604. <el-table-column label="序号" type="index" width="50" align="center">
  1605. <template slot-scope="scope">
  1606. <span>{{(queryParamsFinanced.pageNum - 1) * queryParamsFinanced.pageSize + scope.$index + 1}}</span>
  1607. </template>
  1608. </el-table-column>
  1609. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
  1610. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
  1611. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
  1612. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  1613. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
  1614. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
  1615. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  1616. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  1617. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  1618. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
  1619. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  1620. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  1621. <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1622. <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
  1623. <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1624. <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
  1625. <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
  1626. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
  1627. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
  1628. <template slot-scope="scope">
  1629. <el-button
  1630. size="mini"
  1631. type="text"
  1632. icon="el-icon-view"
  1633. @click="handleDetail(scope.row)"
  1634. v-hasPermi="['credit:credit:query']"
  1635. >详情</el-button>
  1636. <!--
  1637. (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
  1638. (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
  1639. (融资方)融资开立+融资审批状态/平台审批拒绝||
  1640. -->
  1641. <el-button
  1642. size="mini"
  1643. type="text"
  1644. icon="el-icon-edit"
  1645. @click="handleUpdate(scope.row)"
  1646. v-hasPermi="['credit:credit:update']"
  1647. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  1648. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  1649. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
  1650. "
  1651. >修改</el-button>
  1652. <!--融信状态待确权且为核心企业
  1653. -->
  1654. <el-button
  1655. size="mini"
  1656. type="text"
  1657. icon="el-icon-edit"
  1658. @click="handleApprove(scope.row)"
  1659. v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
  1660. v-hasPermi="['credit:credit:approve']"
  1661. >确权</el-button>
  1662. <!--原补充资料-->
  1663. <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
  1664. <el-button
  1665. size="mini"
  1666. type="text"
  1667. icon="el-icon-edit"
  1668. @click="handleAddInformation(scope.row)"
  1669. v-hasPermi="['credit:credit:addInfor']"
  1670. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
  1671. >签收</el-button>
  1672. <!--融资申请+融信状态待签收+融资企业
  1673. 判断是否内部通过 审批中不可进入
  1674. -->
  1675. <el-button
  1676. size="mini"
  1677. type="text"
  1678. icon="el-icon-edit"
  1679. @click="handleSignFor(scope.row)"
  1680. v-hasPermi="['credit:credit:signFor']"
  1681. v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
  1682. >签收</el-button>
  1683. <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
  1684. (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
  1685. -->
  1686. <!-- <el-button
  1687. size="mini"
  1688. type="text"
  1689. icon="el-icon-edit"
  1690. @click="handleRefuse(scope.row)"
  1691. v-hasPermi="['credit:credit:refuse']"
  1692. v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
  1693. (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
  1694. >拒签</el-button> -->
  1695. <!--生效-->
  1696. <el-button
  1697. size="mini"
  1698. type="text"
  1699. icon="el-icon-edit"
  1700. @click="handleGoFinance(scope.row)"
  1701. v-hasPermi="['finance:record:add']"
  1702. v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
  1703. >去融资</el-button>
  1704. <!--(核心)核心开立:核心审批通过+其他状态为空||
  1705. (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
  1706. (融资方)融资开立:融资方通过+平台通过+其他为空||
  1707. (核心)确权:融资方通过+核心通过+平台通过+待确权
  1708. -->
  1709. <!-- <el-button
  1710. size="mini"
  1711. type="text"
  1712. icon="el-icon-edit"
  1713. @click="seal(scope.row)"
  1714. v-hasPermi="['credit:credit:seal']"
  1715. v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  1716. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
  1717. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  1718. (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
  1719. >盖章</el-button> -->
  1720. <!--核心开立
  1721. 类型为核心开立,状态为空,并且核心企业
  1722. -->
  1723. <el-button
  1724. size="mini"
  1725. type="text"
  1726. icon="el-icon-edit"
  1727. @click="seal(scope.row)"
  1728. v-hasPermi="['credit:credit:seal']"
  1729. v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1730. >开立融信</el-button>
  1731. <el-button
  1732. size="mini"
  1733. type="text"
  1734. icon="el-icon-edit"
  1735. @click="refuse(scope.row)"
  1736. v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
  1737. && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
  1738. && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1739. >作废</el-button>
  1740. <!--供应商开立
  1741. 类型为供应商开立,状态为空,并且融资企业
  1742. -->
  1743. <el-button
  1744. size="mini"
  1745. type="text"
  1746. icon="el-icon-edit"
  1747. @click="seal(scope.row)"
  1748. v-hasPermi="['credit:credit:seal']"
  1749. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1750. >融信开立</el-button>
  1751. <el-button
  1752. size="mini"
  1753. type="text"
  1754. icon="el-icon-delete"
  1755. @click="handleDelete(scope.row)"
  1756. v-hasPermi="['credit:credit:del']"
  1757. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  1758. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  1759. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
  1760. >删除</el-button>
  1761. <el-button
  1762. size="mini"
  1763. type="text"
  1764. icon="el-icon-info"
  1765. @click="handleFlowable(scope.row)"
  1766. >查看流程</el-button>
  1767. </template>
  1768. </el-table-column>
  1769. </el-table>
  1770. <pagination
  1771. v-show="totalFinanced>0"
  1772. :total="totalFinanced"
  1773. :page.sync="queryParamsFinanced.pageNum"
  1774. :limit.sync="queryParamsFinanced.pageSize"
  1775. @pagination="getListFinanced"
  1776. />
  1777. <span>总合计:{{yrzAmount}}</span>
  1778. <span>已融资:{{yrzAmount}}</span>
  1779. </el-tab-pane>
  1780. <!--已拒绝-->
  1781. <el-tab-pane label="已拒绝">
  1782. <el-table v-loading="loading" stripe :data="infInvalidList" @selection-change="handleSelectionChange" border>
  1783. <el-table-column label="序号" type="index" width="50" align="center">
  1784. <template slot-scope="scope">
  1785. <span>{{(queryParamsInvalid.pageNum - 1) * queryParamsInvalid.pageSize + scope.$index + 1}}</span>
  1786. </template>
  1787. </el-table-column>
  1788. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
  1789. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
  1790. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
  1791. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  1792. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
  1793. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
  1794. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  1795. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  1796. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  1797. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
  1798. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  1799. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  1800. <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1801. <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
  1802. <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1803. <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
  1804. <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
  1805. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
  1806. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
  1807. <template slot-scope="scope">
  1808. <el-button
  1809. size="mini"
  1810. type="text"
  1811. icon="el-icon-view"
  1812. @click="handleDetail(scope.row)"
  1813. v-hasPermi="['credit:credit:query']"
  1814. >详情</el-button>
  1815. <!--
  1816. (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
  1817. (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
  1818. (融资方)融资开立+融资审批状态/平台审批拒绝||
  1819. -->
  1820. <el-button
  1821. size="mini"
  1822. type="text"
  1823. icon="el-icon-edit"
  1824. @click="handleUpdate(scope.row)"
  1825. v-hasPermi="['credit:credit:update']"
  1826. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  1827. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  1828. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
  1829. "
  1830. >修改</el-button>
  1831. <!--融信状态待确权且为核心企业
  1832. -->
  1833. <el-button
  1834. size="mini"
  1835. type="text"
  1836. icon="el-icon-edit"
  1837. @click="handleApprove(scope.row)"
  1838. v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
  1839. v-hasPermi="['credit:credit:approve']"
  1840. >确权</el-button>
  1841. <!--原补充资料-->
  1842. <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
  1843. <el-button
  1844. size="mini"
  1845. type="text"
  1846. icon="el-icon-edit"
  1847. @click="handleAddInformation(scope.row)"
  1848. v-hasPermi="['credit:credit:addInfor']"
  1849. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
  1850. >签收</el-button>
  1851. <!--融资申请+融信状态待签收+融资企业
  1852. 判断是否内部通过 审批中不可进入
  1853. -->
  1854. <el-button
  1855. size="mini"
  1856. type="text"
  1857. icon="el-icon-edit"
  1858. @click="handleSignFor(scope.row)"
  1859. v-hasPermi="['credit:credit:signFor']"
  1860. v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
  1861. >签收</el-button>
  1862. <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
  1863. (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
  1864. -->
  1865. <!-- <el-button
  1866. size="mini"
  1867. type="text"
  1868. icon="el-icon-edit"
  1869. @click="handleRefuse(scope.row)"
  1870. v-hasPermi="['credit:credit:refuse']"
  1871. v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
  1872. (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
  1873. >拒签</el-button> -->
  1874. <!--生效-->
  1875. <el-button
  1876. size="mini"
  1877. type="text"
  1878. icon="el-icon-edit"
  1879. @click="handleGoFinance(scope.row)"
  1880. v-hasPermi="['finance:record:add']"
  1881. v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
  1882. >去融资</el-button>
  1883. <!--(核心)核心开立:核心审批通过+其他状态为空||
  1884. (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
  1885. (融资方)融资开立:融资方通过+平台通过+其他为空||
  1886. (核心)确权:融资方通过+核心通过+平台通过+待确权
  1887. -->
  1888. <!-- <el-button
  1889. size="mini"
  1890. type="text"
  1891. icon="el-icon-edit"
  1892. @click="seal(scope.row)"
  1893. v-hasPermi="['credit:credit:seal']"
  1894. v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  1895. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
  1896. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  1897. (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
  1898. >盖章</el-button> -->
  1899. <!--核心开立
  1900. 类型为核心开立,状态为空,并且核心企业
  1901. -->
  1902. <el-button
  1903. size="mini"
  1904. type="text"
  1905. icon="el-icon-edit"
  1906. @click="seal(scope.row)"
  1907. v-hasPermi="['credit:credit:seal']"
  1908. v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1909. >开立融信</el-button>
  1910. <el-button
  1911. size="mini"
  1912. type="text"
  1913. icon="el-icon-edit"
  1914. @click="refuse(scope.row)"
  1915. v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
  1916. && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
  1917. && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1918. >作废</el-button>
  1919. <!--供应商开立
  1920. 类型为供应商开立,状态为空,并且融资企业
  1921. -->
  1922. <el-button
  1923. size="mini"
  1924. type="text"
  1925. icon="el-icon-edit"
  1926. @click="seal(scope.row)"
  1927. v-hasPermi="['credit:credit:seal']"
  1928. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  1929. >融信开立</el-button>
  1930. <el-button
  1931. size="mini"
  1932. type="text"
  1933. icon="el-icon-delete"
  1934. @click="handleDelete(scope.row)"
  1935. v-hasPermi="['credit:credit:del']"
  1936. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  1937. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  1938. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
  1939. >删除</el-button>
  1940. <el-button
  1941. size="mini"
  1942. type="text"
  1943. icon="el-icon-info"
  1944. @click="handleFlowable(scope.row)"
  1945. >查看流程</el-button>
  1946. </template>
  1947. </el-table-column>
  1948. </el-table>
  1949. <pagination
  1950. v-show="totalInvalid>0"
  1951. :total="totalInvalid"
  1952. :page.sync="queryParamsInvalid.pageNum"
  1953. :limit.sync="queryParamsInvalid.pageSize"
  1954. @pagination="getListInvalid"
  1955. />
  1956. <span>总合计:{{yjjAmount}}</span>
  1957. <span>已拒绝:{{yjjAmount}}</span>
  1958. </el-tab-pane>
  1959. <!--已结算-->
  1960. <el-tab-pane label="已结算">
  1961. <el-table v-loading="loading" stripe :data="settlementList" @selection-change="handleSelectionChange" border>
  1962. <el-table-column label="序号" type="index" width="50" align="center">
  1963. <template slot-scope="scope">
  1964. <span>{{(queryParamsSettlement.pageNum - 1) * queryParamsSettlement.pageSize + scope.$index + 1}}</span>
  1965. </template>
  1966. </el-table-column>
  1967. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
  1968. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
  1969. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
  1970. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  1971. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
  1972. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
  1973. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  1974. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  1975. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  1976. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
  1977. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  1978. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  1979. <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1980. <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
  1981. <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  1982. <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
  1983. <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
  1984. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
  1985. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
  1986. <template slot-scope="scope">
  1987. <el-button
  1988. size="mini"
  1989. type="text"
  1990. icon="el-icon-view"
  1991. @click="handleDetail(scope.row)"
  1992. v-hasPermi="['credit:credit:query']"
  1993. >详情</el-button>
  1994. <!--
  1995. (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
  1996. (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
  1997. (融资方)融资开立+融资审批状态/平台审批拒绝||
  1998. -->
  1999. <el-button
  2000. size="mini"
  2001. type="text"
  2002. icon="el-icon-edit"
  2003. @click="handleUpdate(scope.row)"
  2004. v-hasPermi="['credit:credit:update']"
  2005. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  2006. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  2007. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
  2008. "
  2009. >修改</el-button>
  2010. <!--融信状态待确权且为核心企业
  2011. -->
  2012. <el-button
  2013. size="mini"
  2014. type="text"
  2015. icon="el-icon-edit"
  2016. @click="handleApprove(scope.row)"
  2017. v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
  2018. v-hasPermi="['credit:credit:approve']"
  2019. >确权</el-button>
  2020. <!--原补充资料-->
  2021. <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
  2022. <el-button
  2023. size="mini"
  2024. type="text"
  2025. icon="el-icon-edit"
  2026. @click="handleAddInformation(scope.row)"
  2027. v-hasPermi="['credit:credit:addInfor']"
  2028. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
  2029. >签收</el-button>
  2030. <!--融资申请+融信状态待签收+融资企业
  2031. 判断是否内部通过 审批中不可进入
  2032. -->
  2033. <el-button
  2034. size="mini"
  2035. type="text"
  2036. icon="el-icon-edit"
  2037. @click="handleSignFor(scope.row)"
  2038. v-hasPermi="['credit:credit:signFor']"
  2039. v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
  2040. >签收</el-button>
  2041. <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
  2042. (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
  2043. -->
  2044. <!-- <el-button
  2045. size="mini"
  2046. type="text"
  2047. icon="el-icon-edit"
  2048. @click="handleRefuse(scope.row)"
  2049. v-hasPermi="['credit:credit:refuse']"
  2050. v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
  2051. (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
  2052. >拒签</el-button> -->
  2053. <!--生效-->
  2054. <el-button
  2055. size="mini"
  2056. type="text"
  2057. icon="el-icon-edit"
  2058. @click="handleGoFinance(scope.row)"
  2059. v-hasPermi="['finance:record:add']"
  2060. v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
  2061. >去融资</el-button>
  2062. <!--(核心)核心开立:核心审批通过+其他状态为空||
  2063. (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
  2064. (融资方)融资开立:融资方通过+平台通过+其他为空||
  2065. (核心)确权:融资方通过+核心通过+平台通过+待确权
  2066. -->
  2067. <!-- <el-button
  2068. size="mini"
  2069. type="text"
  2070. icon="el-icon-edit"
  2071. @click="seal(scope.row)"
  2072. v-hasPermi="['credit:credit:seal']"
  2073. v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  2074. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
  2075. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  2076. (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
  2077. >盖章</el-button> -->
  2078. <!--核心开立
  2079. 类型为核心开立,状态为空,并且核心企业
  2080. -->
  2081. <el-button
  2082. size="mini"
  2083. type="text"
  2084. icon="el-icon-edit"
  2085. @click="seal(scope.row)"
  2086. v-hasPermi="['credit:credit:seal']"
  2087. v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  2088. >开立融信</el-button>
  2089. <el-button
  2090. size="mini"
  2091. type="text"
  2092. icon="el-icon-edit"
  2093. @click="refuse(scope.row)"
  2094. v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
  2095. && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
  2096. && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  2097. >作废</el-button>
  2098. <!--供应商开立
  2099. 类型为供应商开立,状态为空,并且融资企业
  2100. -->
  2101. <el-button
  2102. size="mini"
  2103. type="text"
  2104. icon="el-icon-edit"
  2105. @click="seal(scope.row)"
  2106. v-hasPermi="['credit:credit:seal']"
  2107. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  2108. >融信开立</el-button>
  2109. <el-button
  2110. size="mini"
  2111. type="text"
  2112. icon="el-icon-delete"
  2113. @click="handleDelete(scope.row)"
  2114. v-hasPermi="['credit:credit:del']"
  2115. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  2116. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  2117. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
  2118. >删除</el-button>
  2119. <el-button
  2120. size="mini"
  2121. type="text"
  2122. icon="el-icon-info"
  2123. @click="handleFlowable(scope.row)"
  2124. >查看流程</el-button>
  2125. </template>
  2126. </el-table-column>
  2127. </el-table>
  2128. <pagination
  2129. v-show="totalSettlement>0"
  2130. :total="totalSettlement"
  2131. :page.sync="queryParamsSettlement.pageNum"
  2132. :limit.sync="queryParamsSettlement.pageSize"
  2133. @pagination="getListSettlement"
  2134. />
  2135. <span>总合计:{{yjsAmount}}</span>
  2136. <span>已结算:{{yjsAmount}}</span>
  2137. </el-tab-pane>
  2138. <!--已过期-->
  2139. <el-tab-pane label="已过期">
  2140. <el-table v-loading="loading" stripe :data="overdueList" @selection-change="handleSelectionChange" border>
  2141. <el-table-column label="序号" type="index" width="50" align="center">
  2142. <template slot-scope="scope">
  2143. <span>{{(queryParamsOverdue.pageNum - 1) * queryParamsOverdue.pageSize + scope.$index + 1}}</span>
  2144. </template>
  2145. </el-table-column>
  2146. <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
  2147. <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
  2148. <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
  2149. <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
  2150. <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
  2151. <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
  2152. <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
  2153. <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
  2154. <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
  2155. <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
  2156. <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
  2157. <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
  2158. <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  2159. <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
  2160. <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
  2161. <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
  2162. <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
  2163. <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
  2164. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
  2165. <template slot-scope="scope">
  2166. <el-button
  2167. size="mini"
  2168. type="text"
  2169. icon="el-icon-view"
  2170. @click="handleDetail(scope.row)"
  2171. v-hasPermi="['credit:credit:query']"
  2172. >详情</el-button>
  2173. <!--
  2174. (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
  2175. (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
  2176. (融资方)融资开立+融资审批状态/平台审批拒绝||
  2177. -->
  2178. <el-button
  2179. size="mini"
  2180. type="text"
  2181. icon="el-icon-edit"
  2182. @click="handleUpdate(scope.row)"
  2183. v-hasPermi="['credit:credit:update']"
  2184. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  2185. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  2186. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
  2187. "
  2188. >修改</el-button>
  2189. <!--融信状态待确权且为核心企业
  2190. -->
  2191. <el-button
  2192. size="mini"
  2193. type="text"
  2194. icon="el-icon-edit"
  2195. @click="handleApprove(scope.row)"
  2196. v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
  2197. v-hasPermi="['credit:credit:approve']"
  2198. >确权</el-button>
  2199. <!--原补充资料-->
  2200. <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
  2201. <el-button
  2202. size="mini"
  2203. type="text"
  2204. icon="el-icon-edit"
  2205. @click="handleAddInformation(scope.row)"
  2206. v-hasPermi="['credit:credit:addInfor']"
  2207. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
  2208. >签收</el-button>
  2209. <!--融资申请+融信状态待签收+融资企业
  2210. 判断是否内部通过 审批中不可进入
  2211. -->
  2212. <el-button
  2213. size="mini"
  2214. type="text"
  2215. icon="el-icon-edit"
  2216. @click="handleSignFor(scope.row)"
  2217. v-hasPermi="['credit:credit:signFor']"
  2218. v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
  2219. >签收</el-button>
  2220. <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
  2221. (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
  2222. -->
  2223. <!-- <el-button
  2224. size="mini"
  2225. type="text"
  2226. icon="el-icon-edit"
  2227. @click="handleRefuse(scope.row)"
  2228. v-hasPermi="['credit:credit:refuse']"
  2229. v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
  2230. (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
  2231. >拒签</el-button> -->
  2232. <!--生效-->
  2233. <el-button
  2234. size="mini"
  2235. type="text"
  2236. icon="el-icon-edit"
  2237. @click="handleGoFinance(scope.row)"
  2238. v-hasPermi="['finance:record:add']"
  2239. v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
  2240. >去融资</el-button>
  2241. <!--(核心)核心开立:核心审批通过+其他状态为空||
  2242. (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
  2243. (融资方)融资开立:融资方通过+平台通过+其他为空||
  2244. (核心)确权:融资方通过+核心通过+平台通过+待确权
  2245. -->
  2246. <!-- <el-button
  2247. size="mini"
  2248. type="text"
  2249. icon="el-icon-edit"
  2250. @click="seal(scope.row)"
  2251. v-hasPermi="['credit:credit:seal']"
  2252. v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  2253. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
  2254. (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
  2255. (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
  2256. >盖章</el-button> -->
  2257. <!--核心开立
  2258. 类型为核心开立,状态为空,并且核心企业
  2259. -->
  2260. <el-button
  2261. size="mini"
  2262. type="text"
  2263. icon="el-icon-edit"
  2264. @click="seal(scope.row)"
  2265. v-hasPermi="['credit:credit:seal']"
  2266. v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  2267. >开立融信</el-button>
  2268. <el-button
  2269. size="mini"
  2270. type="text"
  2271. icon="el-icon-edit"
  2272. @click="refuse(scope.row)"
  2273. v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
  2274. && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
  2275. && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  2276. >作废</el-button>
  2277. <!--供应商开立
  2278. 类型为供应商开立,状态为空,并且融资企业
  2279. -->
  2280. <el-button
  2281. size="mini"
  2282. type="text"
  2283. icon="el-icon-edit"
  2284. @click="seal(scope.row)"
  2285. v-hasPermi="['credit:credit:seal']"
  2286. v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
  2287. >融信开立</el-button>
  2288. <el-button
  2289. size="mini"
  2290. type="text"
  2291. icon="el-icon-delete"
  2292. @click="handleDelete(scope.row)"
  2293. v-hasPermi="['credit:credit:del']"
  2294. v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
  2295. (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
  2296. (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
  2297. >删除</el-button>
  2298. <el-button
  2299. size="mini"
  2300. type="text"
  2301. icon="el-icon-info"
  2302. @click="handleFlowable(scope.row)"
  2303. >查看流程</el-button>
  2304. </template>
  2305. </el-table-column>
  2306. </el-table>
  2307. <pagination
  2308. v-show="totalOverdue>0"
  2309. :total="totalOverdue"
  2310. :page.sync="queryParamsOverdue.pageNum"
  2311. :limit.sync="queryParamsOverdue.pageSize"
  2312. @pagination="getListOverdue"
  2313. />
  2314. <span>总合计:{{ygqAmount}}</span>
  2315. <span>已过期:{{ygqAmount}}</span>
  2316. </el-tab-pane>
  2317. <!-- 查看流程 -->
  2318. <el-dialog title="查看流程" :visible.sync="openFlowDetail" width="1120px" append-to-body>
  2319. <flow-detail :financeId="financeId" :financeType="financeType" :financeActive="financeActive" v-if="openFlowDetail"></flow-detail>
  2320. <span slot="footer" class="dialog-footer">
  2321. <el-button type="primary" @click="closeFliwDetail">关闭</el-button>
  2322. </span>
  2323. </el-dialog>
  2324. <!--查看内部审批流程-->
  2325. <el-dialog title="流程进度" :visible.sync="hisTaskForm">
  2326. <div>
  2327. <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">
  2328. <el-step :title="item.name" v-for="(item,index) in histaskList" :key="index">
  2329. <template slot="description">
  2330. <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}'):''}}
  2331. <div v-for="(comment,index) in item.commentList" class="text item" :key="index">
  2332. {{'审批意见: ' + comment.message }}
  2333. </div>
  2334. </template>
  2335. </el-step>
  2336. </el-steps>
  2337. </div>
  2338. <div slot="footer" class="dialog-footer">
  2339. <el-button @click="hisTaskForm = false">关 闭</el-button>
  2340. </div>
  2341. </el-dialog>
  2342. </el-tabs>
  2343. </div>
  2344. </el-col>
  2345. </el-row>
  2346. </div>
  2347. </template>
  2348. <script>
  2349. import { listCredit, coreApproval, confirmationApproval, informationApproval,approval,openApproval, getUser,listStatisticalAmount } from "@/api/service/credit/credit";
  2350. import {creditRefuse,sealRefuse,creditDel} from "@/api/service/credit/creditHandle";
  2351. import Editor from '@/components/Editor';
  2352. import {listCompanyHandler} from "@/api/common/companyHandler";
  2353. import {approvalProcess} from "@/api/service/credit/approvalRelatedCredit";
  2354. import FlowDetail from "@/views/service/credit/flowDetail";
  2355. import Cookies from 'js-cookie';
  2356. import { getUserProfile} from "@/api/system/user";
  2357. import { isOpenApproval } from "@/api/service/credit/approvalRelatedCredit";
  2358. export default {
  2359. name: "invoice",
  2360. components: {
  2361. Editor,
  2362. FlowDetail
  2363. },
  2364. data() {
  2365. return {
  2366. allAmount : '0.00',
  2367. klzAllAmount: '0.00',
  2368. ysxAllAmount: '0.00',
  2369. rzzAllAmount: '0.00',
  2370. yrzAllAmount: '0.00',
  2371. yjjAllAmount: '0.00',
  2372. yjsAllAmount: '0.00',
  2373. ygqAllAmount: '0.00',
  2374. klzAmount: '0.00',
  2375. ysxAmount: '0.00',
  2376. rzzAmount: '0.00',
  2377. yrzAmount: '0.00',
  2378. yjjAmount: '0.00',
  2379. yjsAmount: '0.00',
  2380. ygqAmount: '0.00',
  2381. activeIndex: '',
  2382. //当前登录企业Id
  2383. companyId:'',
  2384. // 遮罩层
  2385. loading: true,
  2386. // 选中数组
  2387. ids: [],
  2388. // 非单个禁用
  2389. single: true,
  2390. // 非多个禁用
  2391. multiple: true,
  2392. // 显示搜索条件
  2393. showSearch: true,
  2394. // 总条数
  2395. total: 0,
  2396. //待签收总条数
  2397. totalSign:0,
  2398. //融资中
  2399. totalFinancing:0,
  2400. //开立中
  2401. totalOpening:0,
  2402. //已融资
  2403. totalFinanced:0,
  2404. //已拒绝
  2405. totalInvalid:0,
  2406. //已结算
  2407. totalSettlement:0,
  2408. //已过期
  2409. totalOverdue:0,
  2410. // 弹出层标题
  2411. title: "",
  2412. // 是否显示弹出层
  2413. open: false,
  2414. openFlowDetail: false,
  2415. //融资产品
  2416. zfpTypeOptions: [],
  2417. //融信类型
  2418. typeOptions: [],
  2419. //状态
  2420. stateOptions:[],
  2421. //平台审批状态
  2422. platformOptions:[],
  2423. //核心审批状态
  2424. coreOptions:[],
  2425. //供应商审批状态
  2426. supplierOptions:[],
  2427. //开始金额
  2428. startAmt:undefined,
  2429. //结束金额
  2430. endAmt:undefined,
  2431. //当前企业类型
  2432. companyType:'',
  2433. //筛选条件数据字典
  2434. typesOptions: [],
  2435. queryOptions: [],
  2436. //审批
  2437. hisTaskForm:false,
  2438. histaskList:[],
  2439. // 查询参数
  2440. queryParams:{
  2441. pageNum: 1,
  2442. pageSize: 10,
  2443. zfiNumber: null,
  2444. zfiStatus:null,
  2445. openCompany:null,
  2446. receiveCompany:null,
  2447. startAmt:null,
  2448. endAmt:null,
  2449. zfpName:null,
  2450. zfiRate:null,
  2451. zfiSignDate:[],
  2452. zfiExpireDate:[],
  2453. zfiTypes: '00',
  2454. zfiQuery: null,
  2455. zfiValue: null,
  2456. },
  2457. // 已生效查询参数
  2458. queryParamsSign:{
  2459. pageNum: 1,
  2460. pageSize: 10,
  2461. zfiNumber: null,
  2462. zfiStatus:"02",
  2463. openCompany:null,
  2464. receiveCompany:null,
  2465. startAmt:null,
  2466. endAmt:null,
  2467. zfpName:null,
  2468. zfiRate:null,
  2469. zfiSignDate:[],
  2470. zfiExpireDate:[],
  2471. zfiTypes: '00',
  2472. zfiQuery: null,
  2473. zfiValue: null,
  2474. },
  2475. //融资中查询参数
  2476. queryParamsFinancing:{
  2477. pageNum: 1,
  2478. pageSize: 10,
  2479. zfiNumber: null,
  2480. zfiStatus:"04",
  2481. openCompany:null,
  2482. receiveCompany:null,
  2483. startAmt:null,
  2484. endAmt:null,
  2485. zfpName:null,
  2486. zfiRate:null,
  2487. zfiSignDate:[],
  2488. zfiExpireDate:[],
  2489. zfiTypes: '00',
  2490. zfiQuery: null,
  2491. zfiValue: null,
  2492. },
  2493. //开立中查询参数
  2494. queryParamsOpening:{
  2495. pageNum: 1,
  2496. pageSize: 10,
  2497. zfiNumber: null,
  2498. zfiStatus:"00,01,06",
  2499. openCompany:null,
  2500. receiveCompany:null,
  2501. startAmt:null,
  2502. endAmt:null,
  2503. zfpName:null,
  2504. zfiRate:null,
  2505. zfiSignDate:[],
  2506. zfiExpireDate:[],
  2507. zfiTypes: '00',
  2508. zfiQuery: null,
  2509. zfiValue: null,
  2510. },
  2511. //已融资搜索
  2512. queryParamsFinanced:{
  2513. pageNum: 1,
  2514. pageSize: 10,
  2515. zfiNumber: null,
  2516. zfiStatus:"05",
  2517. openCompany:null,
  2518. receiveCompany:null,
  2519. startAmt:null,
  2520. endAmt:null,
  2521. zfpName:null,
  2522. zfiRate:null,
  2523. zfiSignDate:[],
  2524. zfiExpireDate:[],
  2525. zfiTypes: '00',
  2526. zfiQuery: null,
  2527. zfiValue: null,
  2528. },
  2529. //已拒绝
  2530. queryParamsInvalid:{
  2531. pageNum: 1,
  2532. pageSize: 10,
  2533. zfiNumber: null,
  2534. zfiStatus:"03",
  2535. openCompany:null,
  2536. receiveCompany:null,
  2537. startAmt:null,
  2538. endAmt:null,
  2539. zfpName:null,
  2540. zfiRate:null,
  2541. zfiSignDate:[],
  2542. zfiExpireDate:[],
  2543. zfiTypes: '00',
  2544. zfiQuery: null,
  2545. zfiValue: null,
  2546. },
  2547. //已结算
  2548. queryParamsSettlement:{
  2549. pageNum: 1,
  2550. pageSize: 10,
  2551. zfiNumber: null,
  2552. zfiStatus:"08",
  2553. openCompany:null,
  2554. receiveCompany:null,
  2555. startAmt:null,
  2556. endAmt:null,
  2557. zfpName:null,
  2558. zfiRate:null,
  2559. zfiSignDate:[],
  2560. zfiExpireDate:[],
  2561. zfiTypes: '00',
  2562. zfiQuery: null,
  2563. zfiValue: null,
  2564. },
  2565. //已过期
  2566. queryParamsOverdue:{
  2567. pageNum: 1,
  2568. pageSize: 10,
  2569. zfiNumber: null,
  2570. zfiStatus:"07",
  2571. openCompany:null,
  2572. receiveCompany:null,
  2573. startAmt:null,
  2574. endAmt:null,
  2575. zfpName:null,
  2576. zfiRate:null,
  2577. zfiSignDate:[],
  2578. zfiExpireDate:[],
  2579. zfiTypes: '00',
  2580. zfiQuery: null,
  2581. zfiValue: null,
  2582. },
  2583. //全部数据
  2584. infList:[],
  2585. //待签收
  2586. infSignList:[],
  2587. //融资中
  2588. infFinancingList:[],
  2589. //开立中
  2590. infOpeningList:[],
  2591. //已融资
  2592. infFinancedList:[],
  2593. //已拒绝
  2594. infInvalidList:[],
  2595. //已结算
  2596. settlementList: [],
  2597. //已过期
  2598. overdueList:[],
  2599. // 表单参数
  2600. form: {
  2601. },
  2602. financeId: null,
  2603. financeType: null,
  2604. financeActive: 0
  2605. };
  2606. },
  2607. created() {
  2608. this.getDicts("zc_zfp_type").then(response => {
  2609. this.zfpTypeOptions = response.data;
  2610. });
  2611. this.getDicts("zfi_create_type").then(response => {
  2612. this.typeOptions = response.data;
  2613. });
  2614. this.getDicts("zc_finance_state").then(response => {
  2615. this.stateOptions = response.data;
  2616. });
  2617. this.getDicts("finance_platform_status").then(response => {
  2618. this.platformOptions = response.data;
  2619. });
  2620. this.getDicts("finance_core_status").then(response => {
  2621. this.coreOptions = response.data;
  2622. });
  2623. this.getDicts("finance_supplier_status").then(response => {
  2624. this.supplierOptions = response.data;
  2625. });
  2626. this.getDicts("zc_zfr_types").then((response) => {
  2627. this.typesOptions = response.data;
  2628. });
  2629. this.getDicts("zc_zfi_query").then((response) => {
  2630. this.queryOptions = response.data;
  2631. });
  2632. this.getUser();
  2633. this.getList().then(() => {
  2634. getUserProfile().then((response) => {
  2635. if ("00" == response.data.companyType) {
  2636. this.queryParams.zfiQuery = '02';
  2637. } else if ("01" == response.data.companyType) {
  2638. this.queryParams.zfiQuery = '01';
  2639. } else if ("02" == response.data.companyType) {
  2640. this.queryParams.zfiQuery = '00';
  2641. }
  2642. })
  2643. listStatisticalAmount(this.queryParams).then(response => {
  2644. debugger
  2645. this.allAmount = response.data.allAmount;
  2646. this.klzAllAmount = response.data.klzAmount;
  2647. this.ysxAllAmount = response.data.ysxAmount;
  2648. this.rzzAllAmount = response.data.rzzAmount;
  2649. this.yrzAllAmount = response.data.yrzAmount;
  2650. this.yjjAllAmount = response.data.yjjAmount;
  2651. this.yjsAllAmount = response.data.yjsAmount;
  2652. this.ygqAllAmount = response.data.ygqAmount;
  2653. })
  2654. //this.listStatisticalAmount(this.queryParams);
  2655. })
  2656. this.getListSign().then(() => {
  2657. getUserProfile().then((response) => {
  2658. if ("00" == response.data.companyType) {
  2659. this.queryParamsSign.zfiQuery = '02';
  2660. } else if ("01" == response.data.companyType) {
  2661. this.queryParamsSign.zfiQuery = '01';
  2662. } else if ("02" == response.data.companyType) {
  2663. this.queryParamsSign.zfiQuery = '00';
  2664. }
  2665. })
  2666. listStatisticalAmount(this.queryParamsSign).then(response => {
  2667. this.ysxAmount = response.data.ysxAmount;
  2668. })
  2669. //this.listStatisticalAmount(this.queryParamsSign);
  2670. })
  2671. this.getListFinancing().then(() => {
  2672. getUserProfile().then((response) => {
  2673. if ("00" == response.data.companyType) {
  2674. this.queryParamsFinancing.zfiQuery = '02';
  2675. } else if ("01" == response.data.companyType) {
  2676. this.queryParamsFinancing.zfiQuery = '01';
  2677. } else if ("02" == response.data.companyType) {
  2678. this.queryParamsFinancing.zfiQuery = '00';
  2679. }
  2680. })
  2681. listStatisticalAmount(this.queryParamsFinancing).then(response => {
  2682. this.rzzAmount = response.data.rzzAmount;
  2683. })
  2684. //this.listStatisticalAmount(this.queryParamsFinancing);
  2685. })
  2686. this.getListOpening().then(() => {
  2687. getUserProfile().then((response) => {
  2688. if ("00" == response.data.companyType) {
  2689. this.queryParamsOpening.zfiQuery = '02';
  2690. } else if ("01" == response.data.companyType) {
  2691. this.queryParamsOpening.zfiQuery = '01';
  2692. } else if ("02" == response.data.companyType) {
  2693. }
  2694. })
  2695. listStatisticalAmount(this.queryParamsOpening).then(response => {
  2696. this.klzAmount = response.data.klzAmount;
  2697. })
  2698. //this.listStatisticalAmount(this.queryParamsOpening);
  2699. })
  2700. this.getListFinanced().then(() => {
  2701. getUserProfile().then((response) => {
  2702. if ("00" == response.data.companyType) {
  2703. this.queryParamsFinanced.zfiQuery = '02';
  2704. } else if ("01" == response.data.companyType) {
  2705. this.queryParamsFinanced.zfiQuery = '01';
  2706. } else if ("02" == response.data.companyType) {
  2707. this.queryParamsFinanced.zfiQuery = '00';
  2708. }
  2709. })
  2710. listStatisticalAmount(this.queryParamsFinanced).then(response => {
  2711. this.yrzAmount = response.data.yrzAmount;
  2712. })
  2713. //this.listStatisticalAmount(this.queryParamsFinanced);
  2714. })
  2715. this.getListInvalid().then(() => {
  2716. getUserProfile().then((response) => {
  2717. if ("00" == response.data.companyType) {
  2718. this.queryParamsInvalid.zfiQuery = '02';
  2719. } else if ("01" == response.data.companyType) {
  2720. this.queryParamsInvalid.zfiQuery = '01';
  2721. } else if ("02" == response.data.companyType) {
  2722. this.queryParamsInvalid.zfiQuery = '00';
  2723. }
  2724. })
  2725. listStatisticalAmount(this.queryParamsInvalid).then(response => {
  2726. this.yjjAmount = response.data.yjjAmount;
  2727. })
  2728. //this.listStatisticalAmount(this.queryParamsInvalid);
  2729. })
  2730. this.getListSettlement().then(() => {
  2731. getUserProfile().then((response) => {
  2732. if ("00" == response.data.companyType) {
  2733. this.queryParamsSettlement.zfiQuery = '02';
  2734. } else if ("01" == response.data.companyType) {
  2735. this.queryParamsSettlement.zfiQuery = '01';
  2736. } else if ("02" == response.data.companyType) {
  2737. this.queryParamsSettlement.zfiQuery = '00';
  2738. }
  2739. })
  2740. listStatisticalAmount(this.queryParamsSettlement).then(response => {
  2741. this.yjsAmount = response.data.yjsAmount;
  2742. })
  2743. //this.listStatisticalAmount(this.queryParamsSettlement);
  2744. })
  2745. this.getListOverdue().then(() => {
  2746. getUserProfile().then((response) => {
  2747. if ("00" == response.data.companyType) {
  2748. this.queryParamsOverdue.zfiQuery = '02';
  2749. } else if ("01" == response.data.companyType) {
  2750. this.queryParamsOverdue.zfiQuery = '01';
  2751. } else if ("02" == response.data.companyType) {
  2752. this.queryParamsOverdue.zfiQuery = '00';
  2753. }
  2754. })
  2755. listStatisticalAmount(this.queryParamsOverdue).then(response => {
  2756. this.ygqAmount = response.data.ygqAmount;
  2757. })
  2758. //this.listStatisticalAmount(this.queryParamsOverdue);
  2759. })
  2760. },
  2761. activated () {
  2762. this.getDicts("zc_zfp_type").then(response => {
  2763. this.zfpTypeOptions = response.data;
  2764. });
  2765. this.getDicts("zfi_create_type").then(response => {
  2766. this.typeOptions = response.data;
  2767. });
  2768. this.getDicts("zc_finance_state").then(response => {
  2769. this.stateOptions = response.data;
  2770. });
  2771. this.getDicts("finance_platform_status").then(response => {
  2772. this.platformOptions = response.data;
  2773. });
  2774. this.getDicts("finance_core_status").then(response => {
  2775. this.coreOptions = response.data;
  2776. });
  2777. this.getDicts("finance_supplier_status").then(response => {
  2778. this.supplierOptions = response.data;
  2779. });
  2780. this.getUser();
  2781. this.getList().then(() => {
  2782. getUserProfile().then((response) => {
  2783. if ("00" == response.data.companyType) {
  2784. this.queryParams.zfiQuery = '02';
  2785. } else if ("01" == response.data.companyType) {
  2786. this.queryParams.zfiQuery = '01';
  2787. } else if ("02" == response.data.companyType) {
  2788. this.queryParams.zfiQuery = '00';
  2789. }
  2790. })
  2791. listStatisticalAmount(this.queryParams).then(response => {
  2792. debugger
  2793. this.allAmount = response.data.allAmount;
  2794. this.klzAllAmount = response.data.klzAmount;
  2795. this.ysxAllAmount = response.data.ysxAmount;
  2796. this.rzzAllAmount = response.data.rzzAmount;
  2797. this.yrzAllAmount = response.data.yrzAmount;
  2798. this.yjjAllAmount = response.data.yjjAmount;
  2799. this.yjsAllAmount = response.data.yjsAmount;
  2800. this.ygqAllAmount = response.data.ygqAmount;
  2801. })
  2802. //this.listStatisticalAmount(this.queryParams);
  2803. })
  2804. this.getListSign().then(() => {
  2805. getUserProfile().then((response) => {
  2806. if ("00" == response.data.companyType) {
  2807. this.queryParamsSign.zfiQuery = '02';
  2808. } else if ("01" == response.data.companyType) {
  2809. this.queryParamsSign.zfiQuery = '01';
  2810. } else if ("02" == response.data.companyType) {
  2811. this.queryParamsSign.zfiQuery = '00';
  2812. }
  2813. })
  2814. listStatisticalAmount(this.queryParamsSign).then(response => {
  2815. this.ysxAmount = response.data.klzAmount;
  2816. })
  2817. //this.listStatisticalAmount(this.queryParamsSign);
  2818. })
  2819. this.getListFinancing().then(() => {
  2820. getUserProfile().then((response) => {
  2821. if ("00" == response.data.companyType) {
  2822. this.queryParamsFinancing.zfiQuery = '02';
  2823. } else if ("01" == response.data.companyType) {
  2824. this.queryParamsFinancing.zfiQuery = '01';
  2825. } else if ("02" == response.data.companyType) {
  2826. this.queryParamsFinancing.zfiQuery = '00';
  2827. }
  2828. })
  2829. listStatisticalAmount(this.queryParamsFinancing).then(response => {
  2830. this.rzzAmount = response.data.klzAmount;
  2831. })
  2832. //this.listStatisticalAmount(this.queryParamsFinancing);
  2833. })
  2834. this.getListOpening().then(() => {
  2835. getUserProfile().then((response) => {
  2836. if ("00" == response.data.companyType) {
  2837. this.queryParamsOpening.zfiQuery = '02';
  2838. } else if ("01" == response.data.companyType) {
  2839. this.queryParamsOpening.zfiQuery = '01';
  2840. } else if ("02" == response.data.companyType) {
  2841. }
  2842. })
  2843. listStatisticalAmount(this.queryParamsOpening).then(response => {
  2844. this.klzAmount = response.data.klzAmount;
  2845. })
  2846. //this.listStatisticalAmount(this.queryParamsOpening);
  2847. })
  2848. this.getListFinanced().then(() => {
  2849. getUserProfile().then((response) => {
  2850. if ("00" == response.data.companyType) {
  2851. this.queryParamsFinanced.zfiQuery = '02';
  2852. } else if ("01" == response.data.companyType) {
  2853. this.queryParamsFinanced.zfiQuery = '01';
  2854. } else if ("02" == response.data.companyType) {
  2855. this.queryParamsFinanced.zfiQuery = '00';
  2856. }
  2857. })
  2858. listStatisticalAmount(this.queryParamsFinanced).then(response => {
  2859. this.yrzAmount = response.data.yrzAmount;
  2860. })
  2861. //this.listStatisticalAmount(this.queryParamsFinanced);
  2862. })
  2863. this.getListInvalid().then(() => {
  2864. getUserProfile().then((response) => {
  2865. if ("00" == response.data.companyType) {
  2866. this.queryParamsInvalid.zfiQuery = '02';
  2867. } else if ("01" == response.data.companyType) {
  2868. this.queryParamsInvalid.zfiQuery = '01';
  2869. } else if ("02" == response.data.companyType) {
  2870. this.queryParamsInvalid.zfiQuery = '00';
  2871. }
  2872. })
  2873. listStatisticalAmount(this.queryParamsInvalid).then(response => {
  2874. this.yjjAmount = response.data.yjjAmount;
  2875. })
  2876. //this.listStatisticalAmount(this.queryParamsInvalid);
  2877. })
  2878. this.getListSettlement().then(() => {
  2879. getUserProfile().then((response) => {
  2880. if ("00" == response.data.companyType) {
  2881. this.queryParamsSettlement.zfiQuery = '02';
  2882. } else if ("01" == response.data.companyType) {
  2883. this.queryParamsSettlement.zfiQuery = '01';
  2884. } else if ("02" == response.data.companyType) {
  2885. this.queryParamsSettlement.zfiQuery = '00';
  2886. }
  2887. })
  2888. listStatisticalAmount(this.queryParamsSettlement).then(response => {
  2889. this.yjsAmount = response.data.yjsAmount;
  2890. })
  2891. //this.listStatisticalAmount(this.queryParamsSettlement);
  2892. })
  2893. this.getListOverdue().then(() => {
  2894. getUserProfile().then((response) => {
  2895. if ("00" == response.data.companyType) {
  2896. this.queryParamsOverdue.zfiQuery = '02';
  2897. } else if ("01" == response.data.companyType) {
  2898. this.queryParamsOverdue.zfiQuery = '01';
  2899. } else if ("02" == response.data.companyType) {
  2900. this.queryParamsOverdue.zfiQuery = '00';
  2901. }
  2902. })
  2903. listStatisticalAmount(this.queryParamsOverdue).then(response => {
  2904. this.ygqAmount = response.data.ygqAmount;
  2905. })
  2906. })
  2907. },
  2908. methods: {
  2909. listStatisticalAmount(queryParamsMoney){
  2910. // listStatisticalAmount(queryParamsMoney).then(response => {
  2911. // debugger
  2912. // this.allAmount = response.data.allAmount;
  2913. // this.klzAmount = response.data.klzAmount;
  2914. // this.ysxAmount = response.data.ysxAmount;
  2915. // this.rzzAmount = response.data.rzzAmount;
  2916. // this.yrzAmount = response.data.yrzAmount;
  2917. // this.yjjAmount = response.data.yjjAmount;
  2918. // this.yjsAmount = response.data.yjsAmount;
  2919. // this.ygqAmount = response.data.ygqAmount;
  2920. // })
  2921. },
  2922. //获取操作员Id
  2923. getUser(){
  2924. getUser().then(response => {
  2925. debugger
  2926. this.companyId = response.data;
  2927. })
  2928. },
  2929. /** 查询全部列表 */
  2930. getList() {
  2931. this.loading = true;
  2932. return listCredit(this.queryParams).then(response => {
  2933. debugger
  2934. this.infList = response.data.records;
  2935. if(this.infList){
  2936. if(this.infList.length > 0){
  2937. //企业类型
  2938. this.companyType = this.infList[0].companyType;
  2939. }
  2940. }
  2941. this.total = response.data.total;
  2942. this.loading = false;
  2943. listStatisticalAmount(this.queryParams).then(response => {
  2944. debugger
  2945. this.allAmount = response.data.allAmount;
  2946. this.klzAllAmount = response.data.klzAmount;
  2947. this.ysxAllAmount = response.data.ysxAmount;
  2948. this.rzzAllAmount = response.data.rzzAmount;
  2949. this.yrzAllAmount = response.data.yrzAmount;
  2950. this.yjjAllAmount = response.data.yjjAmount;
  2951. this.yjsAllAmount = response.data.yjsAmount;
  2952. this.ygqAllAmount = response.data.ygqAmount;
  2953. })
  2954. return Promise.resolve(response)
  2955. }).catch((response) => {
  2956. this.loading = false;
  2957. return Promise.reject('error')
  2958. })
  2959. //this.listStatisticalAmount(this.queryParams);
  2960. },
  2961. //查询待签收
  2962. getListSign() {
  2963. this.loading = true;
  2964. return listCredit(this.queryParamsSign).then(response => {
  2965. this.infSignList = response.data.records;
  2966. this.totalSign = response.data.total;
  2967. this.loading = false;
  2968. listStatisticalAmount(this.queryParams).then(response => {
  2969. this.ysxAmount = response.data.ysxAmount;
  2970. })
  2971. return Promise.resolve(response)
  2972. }).catch((response) => {
  2973. this.loading = false;
  2974. return Promise.reject('error')
  2975. });
  2976. },
  2977. //融资中
  2978. getListFinancing() {
  2979. this.loading = true;
  2980. return listCredit(this.queryParamsFinancing).then(response => {
  2981. this.infFinancingList = response.data.records;
  2982. this.totalFinancing = response.data.total;
  2983. this.loading = false;
  2984. return Promise.resolve(response)
  2985. listStatisticalAmount(this.queryParamsFinancing).then(response => {
  2986. this.rzzAmount = response.data.rzzAmount;
  2987. })
  2988. }).catch((response) => {
  2989. this.loading = false;
  2990. return Promise.reject('error')
  2991. });
  2992. },
  2993. //开立中
  2994. getListOpening(){
  2995. this.loading = true;
  2996. return listCredit(this.queryParamsOpening).then(response => {
  2997. this.infOpeningList = response.data.records;
  2998. this.totalOpening = response.data.total;
  2999. this.loading = false;
  3000. listStatisticalAmount(this.queryParamsOpening).then(response => {
  3001. this.klzAmount = response.data.klzAmount;
  3002. })
  3003. return Promise.resolve(response)
  3004. }).catch((response) => {
  3005. this.loading = false;
  3006. return Promise.reject('error')
  3007. });
  3008. },
  3009. //已融资
  3010. getListFinanced() {
  3011. this.loading = true;
  3012. return listCredit(this.queryParamsFinanced).then(response => {
  3013. this.infFinancedList = response.data.records;
  3014. this.totalFinanced = response.data.total;
  3015. this.loading = false;
  3016. listStatisticalAmount(this.queryParamsFinanced).then(response => {
  3017. this.yrzAmount = response.data.yrzAmount;
  3018. })
  3019. return Promise.resolve(response)
  3020. }).catch((response) => {
  3021. this.loading = false;
  3022. return Promise.reject('error')
  3023. });
  3024. },
  3025. //已拒绝
  3026. getListInvalid(){
  3027. this.loading = true;
  3028. return listCredit(this.queryParamsInvalid).then(response => {
  3029. this.infInvalidList = response.data.records;
  3030. this.totalInvalid = response.data.total;
  3031. this.loading = false;
  3032. listStatisticalAmount(this.queryParamsInvalid).then(response => {
  3033. this.yjjAmount = response.data.yjjAmount;
  3034. })
  3035. return Promise.resolve(response)
  3036. }).catch((response) => {
  3037. this.loading = false;
  3038. return Promise.reject('error')
  3039. });
  3040. },
  3041. //已结算
  3042. getListSettlement(){
  3043. this.loading = true;
  3044. return listCredit(this.queryParamsSettlement).then(response => {
  3045. this.settlementList = response.data.records;
  3046. this.totalInvalid = response.data.total;
  3047. this.loading = false;
  3048. listStatisticalAmount(this.queryParamsSettlement).then(response => {
  3049. this.yjsAmount = response.data.yjsAmount;
  3050. })
  3051. return Promise.resolve(response)
  3052. }).catch((response) => {
  3053. this.loading = false;
  3054. return Promise.reject('error')
  3055. });
  3056. },
  3057. //已过期
  3058. getListOverdue(){
  3059. this.loading = true;
  3060. return listCredit(this.queryParamsOverdue).then(response => {
  3061. this.overdueList = response.data.records;
  3062. this.totalOverdue = response.data.total;
  3063. this.loading = false;
  3064. listStatisticalAmount(this.queryParamsOverdue).then(response => {
  3065. this.ygqAmount = response.data.ygqAmount;
  3066. })
  3067. return Promise.resolve(response)
  3068. }).catch((response) => {
  3069. this.loading = false;
  3070. return Promise.reject('error')
  3071. });
  3072. },
  3073. // 表单重置
  3074. reset() {
  3075. this.form = {
  3076. zfiNumber: null,
  3077. zfiStatus:null,
  3078. openCompany:null,
  3079. receiveCompany:null,
  3080. zfpName:null,
  3081. zfiRate:null,
  3082. zfiSignDate:[],
  3083. zfiExpireDate:[],
  3084. zfiCollectionAccount:null,
  3085. zfiAmount:''
  3086. };
  3087. this.queryParams.startAmt = '';
  3088. this.queryParams.endAmt = '';
  3089. this.queryParamsSign.startAmt = '';
  3090. this.queryParamsSign.endAmt = '';
  3091. this.queryParamsFinancing.startAmt = '';
  3092. this.queryParamsFinancing.endAmt = '';
  3093. this.queryParamsOpening.startAmt = '';
  3094. this.queryParamsOpening.endAmt = '';
  3095. this.queryParamsFinanced.startAmt = '';
  3096. this.queryParamsFinanced.endAmt = '';
  3097. this.queryParamsInvalid.startAmt = '';
  3098. this.queryParamsInvalid.endAmt = '';
  3099. this.queryParamsSettlement.startAmt = '';
  3100. this.queryParamsSettlement.endAmt = '';
  3101. this.resetForm("form");
  3102. },
  3103. // 多选框选中数据
  3104. handleSelectionChange(selection) {
  3105. this.ids = selection.map(item => item.cifId)
  3106. this.single = selection.length!==1
  3107. this.multiple = !selection.length
  3108. },
  3109. /** 全部搜索按钮操作 */
  3110. handleQuery() {
  3111. this.queryParams.pageNum = 1;
  3112. this.getList();
  3113. },
  3114. //待签收搜索
  3115. handleQuerySign() {
  3116. this.queryParamsSign.pageNum = 1;
  3117. this.getListSign();
  3118. },
  3119. //融资中搜索
  3120. handleQueryFinancing() {
  3121. this.queryParamsFinancing.pageNum = 1;
  3122. this.getListFinancing();
  3123. },
  3124. //开立中搜索
  3125. handleQueryOpening() {
  3126. this.queryParamsOpening.pageNum = 1;
  3127. this.getListOpening();
  3128. },
  3129. //已融资搜索
  3130. handleQueryFinanced() {
  3131. this.queryParamsFinanced.pageNum = 1;
  3132. this.getListFinanced();
  3133. },
  3134. //已拒绝搜索
  3135. handleQueryInvalid() {
  3136. this.queryParamsInvalid.pageNum = 1;
  3137. this.getListInvalid();
  3138. },
  3139. //已结算搜索
  3140. handleQuerySettlement() {
  3141. this.queryParamsSettlement.pageNum = 1;
  3142. this.getListSettlement();
  3143. },
  3144. //已过期搜索
  3145. handleQueryOverdue() {
  3146. this.queryParamsOverdue.pageNum = 1;
  3147. this.getListOverdue();
  3148. },
  3149. /** 全部重置按钮操作 */
  3150. resetQuery() {
  3151. this.queryParams.startAmt = '';
  3152. this.queryParams.endAmt = '';
  3153. this.resetForm("queryForm");
  3154. this.handleQuery();
  3155. },
  3156. //待签收重置
  3157. resetQuerySign() {
  3158. this.queryParamsSign.startAmt = '';
  3159. this.queryParamsSign.endAmt = '';
  3160. this.resetForm("queryFormSign");
  3161. this.handleQuerySign();
  3162. },
  3163. //融资中重置
  3164. resetQueryFinancing() {
  3165. this.queryParamsFinancing.startAmt = '';
  3166. this.queryParamsFinancing.endAmt = '';
  3167. this.resetForm("queryFormFinancing");
  3168. this.handleQueryFinancing();
  3169. },
  3170. //开立中重置
  3171. resetQueryOpening() {
  3172. this.queryParamsOpening.startAmt = '';
  3173. this.queryParamsOpening.endAmt = '';
  3174. this.resetForm("queryFormOpening");
  3175. this.handleQueryOpening();
  3176. },
  3177. //已融资重置
  3178. resetQueryFinanced() {
  3179. this.queryParamsFinanced.startAmt = '';
  3180. this.queryParamsFinanced.endAmt = '';
  3181. this.resetForm("queryFormFinanced");
  3182. this.handleQueryFinanced();
  3183. },
  3184. //已失效重置
  3185. resetQueryInvalid() {
  3186. this.queryParamsInvalid.startAmt = '';
  3187. this.queryParamsInvalid.endAmt = '';
  3188. this.resetForm("queryFormInvalid");
  3189. this.handleQueryInvalid();
  3190. },
  3191. //已结算重置
  3192. resetQuerySettlement() {
  3193. this.queryParamsSettlement.startAmt = '';
  3194. this.queryParamsSettlement.endAmt = '';
  3195. this.resetForm("queryFormSettlement");
  3196. this.handleQuerySettlement();
  3197. },
  3198. //已过期重置
  3199. resetQueryOverdue() {
  3200. this.queryParamsOverdue.startAmt = '';
  3201. this.queryParamsOverdue.endAmt = '';
  3202. this.resetForm("queryFormOverdue");
  3203. this.handleQueryOverdue();
  3204. },
  3205. /** 新增按钮操作 */
  3206. handleAdd() {
  3207. this.reset();
  3208. this.resetForm("queryForm");
  3209. this.resetForm("queryFormSign");
  3210. this.resetForm("queryFormFinancing");
  3211. this.resetForm("queryFormOpening");
  3212. this.resetForm("queryFormFinanced");
  3213. this.resetForm("queryFormInvalid");
  3214. this.resetForm("queryFormSettlement");
  3215. this.resetForm("queryFormOverdue");
  3216. Cookies.set("/credit/addCredit/", this.$route.fullPath);
  3217. this.$router.push({ path: "/credit/addCredit/" });
  3218. },
  3219. //详情
  3220. handleDetail(row){
  3221. const zfiId = row.zfiId || this.ids
  3222. this.resetForm("queryForm");
  3223. this.resetForm("queryFormSign");
  3224. this.resetForm("queryFormFinancing");
  3225. this.resetForm("queryFormOpening");
  3226. this.resetForm("queryFormFinanced");
  3227. this.resetForm("queryFormInvalid");
  3228. this.resetForm("queryFormSettlement");
  3229. this.resetForm("queryFormOverdue");
  3230. Cookies.set("/credit/creditDetail/"+zfiId + "/", this.$route.fullPath)
  3231. this.$router.push({ path: "/credit/creditDetail/"+zfiId + "/" });
  3232. },
  3233. //修改
  3234. handleUpdate(row){
  3235. const zfiId = row.zfiId || this.ids;
  3236. //获取融信类型
  3237. const zfiCreateType = row.zfiCreateType;
  3238. this.resetForm("queryForm");
  3239. this.resetForm("queryFormSign");
  3240. this.resetForm("queryFormFinancing");
  3241. this.resetForm("queryFormOpening");
  3242. this.resetForm("queryFormFinanced");
  3243. this.resetForm("queryFormInvalid");
  3244. this.resetForm("queryFormSettlement");
  3245. this.resetForm("queryFormOverdue");
  3246. //核心开立
  3247. if(zfiCreateType == '1'){
  3248. Cookies.set("/credit/creditUpdate/"+zfiId + "/", this.$route.fullPath)
  3249. this.$router.push({ path: "/credit/creditUpdate/"+zfiId + "/" });
  3250. }else if(zfiCreateType == '2'){
  3251. Cookies.set("/credit/financeOpenUpdate/"+zfiId + "/", this.$route.fullPath)
  3252. this.$router.push({ path: "/credit/financeOpenUpdate/"+zfiId + "/" });
  3253. }else if(zfiCreateType == '0'){
  3254. Cookies.set("/credit/applyCreditEdit/"+zfiId + "/", this.$route.fullPath)
  3255. this.$router.push({ path: "/credit/applyCreditEdit/"+zfiId + "/" });
  3256. }
  3257. },
  3258. //确权审核
  3259. handleApprove(row){
  3260. //判断审批是否审批中
  3261. if(row.zfiCoreStatus == "00"){
  3262. this.$message({
  3263. message: "请内部审批通过后,再确权",
  3264. type: 'warning'
  3265. });
  3266. return false;
  3267. }
  3268. //查询当前用户是否为经办人
  3269. listCompanyHandler().then((response) => {
  3270. if(false == response.data){
  3271. this.$message({
  3272. message: "此操作需经办人权限,请确认您是否是经办人",
  3273. type: 'warning'
  3274. });
  3275. return false;
  3276. }else{
  3277. const zfiId = row.zfiId || this.ids
  3278. this.resetForm("queryForm");
  3279. this.resetForm("queryFormSign");
  3280. this.resetForm("queryFormFinancing");
  3281. this.resetForm("queryFormOpening");
  3282. this.resetForm("queryFormFinanced");
  3283. this.resetForm("queryFormInvalid");
  3284. this.resetForm("queryFormSettlement");
  3285. this.resetForm("queryFormOverdue");
  3286. Cookies.set("/credit/confirmationAudit/"+zfiId + "/", this.$route.fullPath)
  3287. this.$router.push({ path: "/credit/confirmationAudit/"+zfiId + "/" });
  3288. }
  3289. });
  3290. },
  3291. //补充资料
  3292. handleAddInformation(row){
  3293. //判断审批是否审批中
  3294. if(row.zfiSupplierStatus == "00"){
  3295. this.$message({
  3296. message: "请内部审批通过后,再签收",
  3297. type: 'warning'
  3298. });
  3299. return false;
  3300. }
  3301. //查询有无平台审批
  3302. var platParam = {};
  3303. platParam.menuId = "1000000004";
  3304. isOpenApproval(platParam).then((response) => {
  3305. var platResult = response.data.isOpen;
  3306. //开启平台审批
  3307. if (platResult == true) {
  3308. if(row.zfiPlatformStatus == '00'){
  3309. this.$message({
  3310. message: "平台正在审核资料,平台审核时间为工作日:9:00—18:00;单日16:00之前提交资料,预计2小时内完成,请平台审批通过后,再次签署",
  3311. type: 'warning'
  3312. });
  3313. return false;
  3314. }
  3315. }
  3316. })
  3317. //查询当前用户是否为经办人
  3318. listCompanyHandler().then((response) => {
  3319. if(false == response.data){
  3320. this.$message({
  3321. message: "此操作需经办人权限,请确认您是否是经办人",
  3322. type: 'warning'
  3323. });
  3324. return false;
  3325. }else{
  3326. const zfiId = row.zfiId || this.ids
  3327. this.resetForm("queryForm");
  3328. this.resetForm("queryFormSign");
  3329. this.resetForm("queryFormFinancing");
  3330. this.resetForm("queryFormOpening");
  3331. this.resetForm("queryFormFinanced");
  3332. this.resetForm("queryFormInvalid");
  3333. this.resetForm("queryFormSettlement");
  3334. this.resetForm("queryFormOverdue");
  3335. Cookies.set("/credit/addInformation/"+zfiId + "/", this.$route.fullPath)
  3336. this.$router.push({ path: "/credit/addInformation/"+zfiId + "/" });
  3337. }
  3338. });
  3339. },
  3340. //签收
  3341. handleSignFor(row){
  3342. //判断审批是否审批中
  3343. if(row.zfiSupplierStatus == "00"){
  3344. this.$message({
  3345. message: "请内部审批通过后,再签收",
  3346. type: 'warning'
  3347. });
  3348. return false;
  3349. }
  3350. //查询当前用户是否为经办人
  3351. listCompanyHandler().then((response) => {
  3352. if(false == response.data){
  3353. this.$message({
  3354. message: "此操作需经办人权限,请确认您是否是经办人",
  3355. type: 'warning'
  3356. });
  3357. return false;
  3358. }else{
  3359. const zfiId = row.zfiId || this.ids
  3360. this.resetForm("queryForm");
  3361. this.resetForm("queryFormSign");
  3362. this.resetForm("queryFormFinancing");
  3363. this.resetForm("queryFormOpening");
  3364. this.resetForm("queryFormFinanced");
  3365. this.resetForm("queryFormInvalid");
  3366. this.resetForm("queryFormSettlement");
  3367. this.resetForm("queryFormOverdue");
  3368. Cookies.set("/credit/signFor/"+zfiId + "/", this.$route.fullPath)
  3369. this.$router.push({ path: "/credit/signFor/"+zfiId + "/" });
  3370. }
  3371. });
  3372. },
  3373. //去融资
  3374. handleGoFinance(row){
  3375. const zfiId = row.zfiId || this.ids
  3376. this.resetForm("queryForm");
  3377. this.resetForm("queryFormSign");
  3378. this.resetForm("queryFormFinancing");
  3379. this.resetForm("queryFormOpening");
  3380. this.resetForm("queryFormFinanced");
  3381. this.resetForm("queryFormInvalid");
  3382. this.resetForm("queryFormSettlement");
  3383. this.resetForm("queryFormOverdue");
  3384. Cookies.set("/credit/goFinance/"+zfiId + "/", this.$route.fullPath)
  3385. this.$router.push({ path: "/credit/goFinance/"+zfiId + "/" });
  3386. },
  3387. //盖章
  3388. seal(row){
  3389. //获取融信类型
  3390. if(row.zfiCreateType == '1'){//核心开立
  3391. if(row.zfiCoreStatus != "01"){
  3392. this.$message({
  3393. message: "请内部审批通过后,再点击开立融信",
  3394. type: 'warning'
  3395. });
  3396. return false;
  3397. }
  3398. }else if(row.zfiCreateType == '2'){//供应商开立
  3399. if(row.zfiSupplierStatus != "01"){
  3400. this.$message({
  3401. message: "请内部审批通过后,再点击融信开立",
  3402. type: 'warning'
  3403. });
  3404. return false;
  3405. }else if(row.zfiPlatformStatus != "01"){
  3406. this.$message({
  3407. message: "融信资料已提交平台审核,平台审核时间为工作日:9:00—18:00;单日16:00之前提交资料,预计2小时内完成,请留意站内信息",
  3408. type: 'warning'
  3409. });
  3410. return false;
  3411. }
  3412. }
  3413. //查询当前用户是否为经办人
  3414. listCompanyHandler().then((response) => {
  3415. if(false == response.data){
  3416. this.$message({
  3417. message: "此操作需经办人权限,请确认您是否是经办人",
  3418. type: 'warning'
  3419. });
  3420. return false;
  3421. }else{
  3422. const zfiId = row.zfiId || this.ids
  3423. this.resetForm("queryForm");
  3424. this.resetForm("queryFormSign");
  3425. this.resetForm("queryFormFinancing");
  3426. this.resetForm("queryFormOpening");
  3427. this.resetForm("queryFormFinanced");
  3428. this.resetForm("queryFormInvalid");
  3429. this.resetForm("queryFormSettlement");
  3430. this.resetForm("queryFormOverdue");
  3431. Cookies.set("/credit/creditSeal/"+zfiId + "/", this.$route.fullPath)
  3432. this.$router.push({ path: "/credit/creditSeal/"+zfiId + "/" });
  3433. }
  3434. });
  3435. },
  3436. /**核心开立审批按钮操作*/
  3437. handleExam(row){
  3438. this.$confirm("是否确认提交开立审批?", "警告", {
  3439. confirmButtonText: "确定",
  3440. cancelButtonText: "取消",
  3441. type: "warning"
  3442. }).then(function() {
  3443. return coreApproval(row);
  3444. }).then(() => {
  3445. this.getList();
  3446. this.getListSign();
  3447. this.getListFinancing();
  3448. this.getListOpening();
  3449. this.getListFinanced();
  3450. this.getListInvalid();
  3451. this.getListSettlement();
  3452. this.getListOverdue();
  3453. this.msgSuccess("提交审批成功");
  3454. }).catch(() => {
  3455. this.$message({
  3456. type: "warning",
  3457. message: "已取消提交审批",
  3458. });
  3459. });
  3460. },
  3461. //确权审批
  3462. handleConfirmationExam(row){
  3463. this.$confirm("是否确认提交确权审批?", "警告", {
  3464. confirmButtonText: "确定",
  3465. cancelButtonText: "取消",
  3466. type: "warning"
  3467. }).then(function() {
  3468. return confirmationApproval(row);
  3469. }).then(() => {
  3470. this.getList();
  3471. this.getListSign();
  3472. this.getListFinancing();
  3473. this.getListOpening();
  3474. this.getListFinanced();
  3475. this.getListInvalid();
  3476. this.getListSettlement();
  3477. this.getListOverdue();
  3478. this.msgSuccess("提交审批成功");
  3479. }).catch(() => {
  3480. this.$message({
  3481. type: "warning",
  3482. message: "已取消提交审批",
  3483. });
  3484. });
  3485. },
  3486. //融资申请提交审批按钮
  3487.     handleApproval(row) {
  3488.       const zfiNumber = row.zfiNumber;
  3489.       this.$confirm(
  3490.         '是否确认提交审批融信编号为"' + zfiNumber + '"的数据项?',
  3491.         "警告",
  3492.         {
  3493.           confirmButtonText: "确定",
  3494.           cancelButtonText: "取消",
  3495.           type: "warning"
  3496.         }
  3497.       )
  3498.         .then(function() {
  3499.           //提交审批
  3500.           return approval(row);
  3501.         })
  3502.         .then(() => {
  3503. this.getList();
  3504. this.getListSign();
  3505. this.getListFinancing();
  3506. this.getListOpening();
  3507. this.getListFinanced();
  3508. this.getListInvalid();
  3509. this.getListSettlement();
  3510. this.getListOverdue();
  3511.           this.msgSuccess("提交审批成功");
  3512.         })
  3513.         .catch(() => {
  3514.           this.$message({
  3515.             type: "warning",
  3516.             message: "已取消提交审批"
  3517.           });
  3518.         });
  3519.     },
  3520. //融资开立提交审批按钮
  3521.     openApproval(row) {
  3522.       const zfiNumber = row.zfiNumber;
  3523.       this.$confirm(
  3524.         '是否确认提交审批融信编号为"' + zfiNumber + '"的数据项?',
  3525.         "警告",
  3526.         {
  3527.           confirmButtonText: "确定",
  3528.           cancelButtonText: "取消",
  3529.           type: "warning"
  3530.         }
  3531.       )
  3532.         .then(function() {
  3533.           //提交审批
  3534.           return openApproval(row);
  3535.         })
  3536.         .then(() => {
  3537. this.getList();
  3538. this.getListSign();
  3539. this.getListFinancing();
  3540. this.getListOpening();
  3541. this.getListFinanced();
  3542. this.getListInvalid();
  3543. this.getListSettlement();
  3544. this.getListOverdue();
  3545.           this.msgSuccess("提交审批成功");
  3546.         })
  3547.         .catch(() => {
  3548.           this.$message({
  3549.             type: "warning",
  3550.             message: "已取消提交审批"
  3551.           });
  3552.         });
  3553.     },
  3554. //补充资料提交审批
  3555. handleApprovals(row){
  3556. const zfiNumber = row.zfiNumber;
  3557. this.$confirm('是否确认提交审批融信编号为"' + zfiNumber + '"的数据项?', "警告",{
  3558. confirmButtonText: "确定",
  3559. cancelButtonText: "取消",
  3560. type: "warning"
  3561. }).then(function() {
  3562. return informationApproval(row);
  3563. }).then(() => {
  3564. this.getList();
  3565. this.getListSign();
  3566. this.getListFinancing();
  3567. this.getListOpening();
  3568. this.getListFinanced();
  3569. this.getListInvalid();
  3570. this.getListSettlement();
  3571. this.getListOverdue();
  3572. this.msgSuccess("提交审批成功");
  3573. })
  3574. .catch(() => {
  3575. this.$message({
  3576. type: "warning",
  3577. message: "已取消提交审批",
  3578. });
  3579. });
  3580. },
  3581. //格式化融资产品方向
  3582. zfpTypeFormat(row, column) {
  3583. return this.selectDictLabel(this.zfpTypeOptions, row.zfpType);
  3584. },
  3585. //格式化类型
  3586. typeFormat(row, column) {
  3587. return this.selectDictLabel(this.typeOptions, row.zfiCreateType);
  3588. },
  3589. //格式化状态
  3590. stateFormat(row, column) {
  3591. return this.selectDictLabel(this.stateOptions, row.zfiStatus);
  3592. },
  3593. //格式化平台审批状态
  3594. platformStatusFormat(row, column) {
  3595. return this.selectDictLabel(this.platformOptions, row.zfiPlatformStatus);
  3596. },
  3597. //格式化核心审批
  3598. coreStatusFormat(row, column) {
  3599. return this.selectDictLabel(this.coreOptions, row.zfiCoreStatus);
  3600. },
  3601. //格式化融资方审批
  3602. supplierStatusFormat(row, column) {
  3603. return this.selectDictLabel(this.supplierOptions, row.zfiSupplierStatus);
  3604. },
  3605. //融资开立
  3606. finanOpening(){
  3607. this.reset();
  3608. this.resetForm("queryForm");
  3609. this.resetForm("queryFormSign");
  3610. this.resetForm("queryFormFinancing");
  3611. this.resetForm("queryFormOpening");
  3612. this.resetForm("queryFormFinanced");
  3613. this.resetForm("queryFormInvalid");
  3614. this.resetForm("queryFormSettlement");
  3615. this.resetForm("queryFormOverdue");
  3616. Cookies.set("/credit/financeOpen/", this.$route.fullPath);
  3617. this.$router.push({ path: "/credit/financeOpen/" });
  3618. },
  3619. //融资申请
  3620. apply(){
  3621. this.reset();
  3622. this.resetForm("queryForm");
  3623. this.resetForm("queryFormSign");
  3624. this.resetForm("queryFormFinancing");
  3625. this.resetForm("queryFormOpening");
  3626. this.resetForm("queryFormFinanced");
  3627. this.resetForm("queryFormInvalid");
  3628. this.resetForm("queryFormSettlement");
  3629. this.resetForm("queryFormOverdue");
  3630. Cookies.set("/credit/creditApply/", this.$route.fullPath);
  3631. this.$router.push({ path: "/credit/creditApply/" });
  3632. },
  3633. //拒签
  3634. handleRefuse(row){
  3635. //查询当前用户是否为经办人
  3636. listCompanyHandler().then((response) => {
  3637. if(false == response.data){
  3638. this.$message({
  3639. message: "此操作需经办人权限,请确认您是否是经办人",
  3640. type: 'warning'
  3641. });
  3642. return false;
  3643. }else{
  3644. const zfiNumber = row.zfiNumber ;
  3645. this.$confirm('是否拒签融信编号为"' + zfiNumber + '"的数据项?', "警告",{
  3646. confirmButtonText: "确定",
  3647. cancelButtonText: "取消",
  3648. type: "warning"
  3649. }).then(function() {
  3650. //拒签
  3651. return creditRefuse(row);
  3652. }).then(() => {
  3653. this.getList();
  3654. this.getListSign();
  3655. this.getListFinancing();
  3656. this.getListOpening();
  3657. this.getListFinanced();
  3658. this.getListInvalid();
  3659. this.getListSettlement();
  3660. this.getListOverdue();
  3661. this.msgSuccess("拒签成功");
  3662. })
  3663. .catch(() => {
  3664. this.$message({
  3665. type: "warning",
  3666. message: "已取消",
  3667. });
  3668. });
  3669. }
  3670. });
  3671. },
  3672. //删除
  3673. handleDelete(row){
  3674. const zfiNumber = row.zfiNumber ;
  3675. this.$confirm('是否删除融信编号为"' + zfiNumber + '"的数据项?', "警告",{
  3676. confirmButtonText: "确定",
  3677. cancelButtonText: "取消",
  3678. type: "warning"
  3679. }).then(function() {
  3680. //删除
  3681. return creditDel(row);
  3682. }).then(() => {
  3683. this.getList();
  3684. this.getListSign();
  3685. this.getListFinancing();
  3686. this.getListOpening();
  3687. this.getListFinanced();
  3688. this.getListInvalid();
  3689. this.getListSettlement();
  3690. this.getListOverdue();
  3691. this.msgSuccess("删除成功");
  3692. })
  3693. .catch(() => {
  3694. this.$message({
  3695. type: "warning",
  3696. message: "已取消",
  3697. });
  3698. });
  3699. },
  3700. //列表格式化金额
  3701. moneyFormat(row, column, cellValue) {
  3702. if(cellValue == null || cellValue== undefined || cellValue == ''){
  3703. cellValue = '0.00'
  3704. }
  3705. cellValue += '';
  3706. if (!cellValue.includes('.')) {
  3707. cellValue += '.00';
  3708. }
  3709.     return cellValue.replace(/(\d)(?=(\d{3})+\.)/g, function ($0, $1) {
  3710.         return $1 + ',';
  3711.       }).replace(/\.$/, '');
  3712. },
  3713. //input格式化金额
  3714. amtFormat(cellValue) {
  3715. if(cellValue == null || cellValue== undefined || cellValue == ''){
  3716. cellValue = '0.00'
  3717. }
  3718. cellValue += '';
  3719.       if (!cellValue.includes('.')) {
  3720. cellValue += '.00';
  3721. }
  3722. console.log(cellValue);
  3723.       return cellValue.replace(/(\d)(?=(\d{3})+\.)/g, function ($0, $1) {
  3724.         return $1 + ',';
  3725.       }).replace(/\.$/, '');
  3726. },
  3727. //作废
  3728. refuse(row){
  3729. let form = {};
  3730. form.zfiId = row.zfiId;
  3731. this.$confirm('该笔融信将作废', "作废", {
  3732. confirmButtonText: "确定",
  3733. cancelButtonText: "取消",
  3734. type: "warning"
  3735. }).then(function() {
  3736. return sealRefuse(form);
  3737. }).then(() => {
  3738. this.getList();
  3739. this.getListSign();
  3740. this.getListFinancing();
  3741. this.getListOpening();
  3742. this.getListFinanced();
  3743. this.getListInvalid();
  3744. this.getListSettlement();
  3745. this.getListOverdue();
  3746. this.msgSuccess("作废成功");
  3747. }).catch(() => {
  3748. this.$message({
  3749. type: "warning",
  3750. message: "作废已取消",
  3751. });
  3752. });
  3753. },
  3754. //查看流程
  3755. handleFlowable(row){
  3756. const zfiId = row.zfiId
  3757. const zfiCreateType = row.zfiCreateType
  3758. const zfiStatus = row.zfiStatus
  3759. const zfiCoreStatus = row.zfiCoreStatus
  3760. const zfiPlatformStatus = row.zfiPlatformStatus
  3761. const zfiSupplierStatus = row.zfiSupplierStatus
  3762. console.log(zfiStatus)
  3763. var active = 0
  3764. //融资企业
  3765. if(this.companyType == '02'){
  3766. //审批中||拒绝
  3767. if(row.zfiSupplierStatus == '00' || row.zfiSupplierStatus == '02'){
  3768. this.hisTaskForm = true;
  3769. approvalProcess(row).then((response) => {
  3770. this.histaskList = response.data;
  3771. })
  3772. }else{
  3773. if(zfiCreateType == '0'){
  3774. if(zfiStatus == '01' || !zfiStatus){
  3775. active = 1
  3776. }else if(zfiStatus == '00'){
  3777. active = 2
  3778. }else if(zfiStatus == '01'){
  3779. active = 3
  3780. }else if(zfiStatus == '02'){
  3781. active = 4
  3782. }
  3783. }else if(zfiCreateType == '1'){
  3784. if(zfiStatus == '01'){
  3785. active = 1
  3786. }else if(zfiCoreStatus == '01' && zfiStatus == '01' || zfiCoreStatus == '01' && zfiStatus == '06'){
  3787. active = 2
  3788. }else if(zfiStatus == '01' && zfiPlatformStatus == '01'){
  3789. active = 3
  3790. }else if(zfiStatus == '02'){
  3791. active = 4
  3792. }
  3793. }else if(zfiCreateType == '2'){
  3794. if(zfiSupplierStatus == '01' && !zfiStatus){
  3795. active = 1
  3796. }else if(zfiPlatformStatus == '01' && !zfiStatus){
  3797. active = 2
  3798. }else if(zfiStatus == '02'){
  3799. active = 3
  3800. }
  3801. }
  3802. this.openFlowDetail = true
  3803. this.financeId = zfiId
  3804. this.financeType = zfiCreateType
  3805. this.financeActive = active
  3806. }
  3807. }else if(this.companyType == '01'){//核心企业
  3808. //审批中||拒绝
  3809. if(row.zfiCoreStatus == '00' || row.zfiCoreStatus == '02'){
  3810. this.hisTaskForm = true;
  3811. approvalProcess(row).then((response) => {
  3812. this.histaskList = response.data;
  3813. })
  3814. }else{
  3815. if(zfiCreateType == '0'){
  3816. if(zfiStatus == '01' || !zfiStatus){
  3817. active = 1
  3818. }else if(zfiStatus == '00'){
  3819. active = 2
  3820. }else if(zfiStatus == '01'){
  3821. active = 3
  3822. }else if(zfiStatus == '02'){
  3823. active = 4
  3824. }
  3825. }else if(zfiCreateType == '1'){
  3826. if(zfiStatus == '01'){
  3827. active = 1
  3828. }else if(zfiCoreStatus == '01' && zfiStatus == '01' || zfiCoreStatus == '01' && zfiStatus == '06'){
  3829. active = 2
  3830. }else if(zfiStatus == '01' && zfiPlatformStatus == '01'){
  3831. active = 3
  3832. }else if(zfiStatus == '02'){
  3833. active = 4
  3834. }
  3835. }else if(zfiCreateType == '2'){
  3836. if(zfiSupplierStatus == '01' && !zfiStatus){
  3837. active = 1
  3838. }else if(zfiPlatformStatus == '01' && !zfiStatus){
  3839. active = 2
  3840. }else if(zfiStatus == '02'){
  3841. active = 3
  3842. }
  3843. }
  3844. this.openFlowDetail = true
  3845. this.financeId = zfiId
  3846. this.financeType = zfiCreateType
  3847. this.financeActive = active
  3848. }
  3849. }else{//其他类型企业看主流程
  3850. if(zfiCreateType == '0'){
  3851. if(zfiStatus == '01' || !zfiStatus){
  3852. active = 1
  3853. }else if(zfiStatus == '00'){
  3854. active = 2
  3855. }else if(zfiStatus == '01'){
  3856. active = 3
  3857. }else if(zfiStatus == '02'){
  3858. active = 4
  3859. }
  3860. }else if(zfiCreateType == '1'){
  3861. if(zfiStatus == '01'){
  3862. active = 1
  3863. }else if(zfiCoreStatus == '01' && zfiStatus == '01' || zfiCoreStatus == '01' && zfiStatus == '06'){
  3864. active = 2
  3865. }else if(zfiStatus == '01' && zfiPlatformStatus == '01'){
  3866. active = 3
  3867. }else if(zfiStatus == '02'){
  3868. active = 4
  3869. }
  3870. }else if(zfiCreateType == '2'){
  3871. if(zfiSupplierStatus == '01' && !zfiStatus){
  3872. active = 1
  3873. }else if(zfiPlatformStatus == '01' && !zfiStatus){
  3874. active = 2
  3875. }else if(zfiStatus == '02'){
  3876. active = 3
  3877. }
  3878. }
  3879. this.openFlowDetail = true
  3880. this.financeId = zfiId
  3881. this.financeType = zfiCreateType
  3882. this.financeActive = active
  3883. }
  3884. },
  3885. //关闭流程
  3886. closeFliwDetail(){
  3887. this.openFlowDetail = false
  3888. }
  3889. }
  3890. };
  3891. </script>
  3892. <style lang="scss" scoped>
  3893. .zap-table-search{
  3894. padding-top: 12px;
  3895. background-color: #ffffff;
  3896. }
  3897. .zap-table-search__form{
  3898. padding: 25px 25px 0;
  3899. ::v-deep .el-form-item--medium.el-form-item{
  3900. margin-bottom: 25px;
  3901. }
  3902. ::v-deep .el-form-item__label {
  3903. line-height: 40px;
  3904. font-size: 14px;
  3905. color: #333333;
  3906. }
  3907. ::v-deep .el-range-editor--small.el-input__inner,
  3908. ::v-deep .el-input--small .el-input__inner{
  3909. height: 40px;
  3910. line-height: 40px;
  3911. }
  3912. }
  3913. .zap-credit__content{
  3914. position: relative;
  3915. padding: 0 13px;
  3916. background-color: #ffffff;
  3917. }
  3918. ::v-deep .el-tabs__item{
  3919. width: 105px;
  3920. height: 55px;
  3921. padding: 0;
  3922. line-height: 55px;
  3923. text-align: center;
  3924. font-size: 16px;
  3925. }
  3926. .zap-credit__tabs{
  3927. position: relative;
  3928. }
  3929. .zap-credit__buttons{
  3930. // position: absolute; 此属性导致按钮无法点击
  3931. top: 0;
  3932. right: 13px;
  3933. display: flex;
  3934. align-items: center;
  3935. height: 55px;
  3936. }
  3937. </style>