| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992 |
- <template>
- <div class="app-container zap-main">
- <el-row v-if="activeIndex === '0'" class="zap-table-search">
- <div class="zap-padding-end">
- <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getList">收起</right-toolbar>
- <span class="zap-padding-start zap-font-title">所选条件:</span>
- <div style="float: right;margin-right:1%">
- <el-button type="cyan" icon="el-icon-search" @click="handleQuery">搜索</el-button>
- <el-button icon="el-icon-refresh" @click="resetQuery" style="float: ;">重置</el-button>
- </div>
- </div>
- <hr style="margin-top: 16px;">
- <el-form class="zap-table-search__form" :model="queryParams" ref="queryForm" :inline="true" v-if="showSearch" label-width="68px">
- <el-row>
- <el-form-item prop="zfiTypes" size="large">
- <el-select v-model="queryParams.zfiTypes" clearable>
- <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="finaceStatus" size="large">
- <el-select v-model="queryParams.finaceStatus" clearable>
- <el-option v-for="dict in stateOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
-
- <el-form-item prop="zfiQuery" size="large">
- <el-select v-model="queryParams.zfiQuery" clearable>
- <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiValue" v-if="this.queryParams.zfiQuery" size="large">
- <el-input v-model="queryParams.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
- </el-form-item>
- <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
- <el-date-picker v-model="queryParams.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <!-- <el-form-item label="融信编码" prop="zfiNumber">
- <el-input
- v-model.trim="queryParams.zfiNumber"
- placeholder="请输入融信编码"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="开立企业" prop="openCompany">
- <el-input
- v-model.trim="queryParams.openCompany"
- placeholder="请输入开立企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="接收企业" prop="receiveCompany">
- <el-input
- v-model.trim="queryParams.receiveCompany"
- placeholder="请输入接收企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="融信产品" prop="zfpName">
- <el-input
- v-model.trim="queryParams.zfpName"
- placeholder="请输入融信产品"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item>
- <el-form-item label="融信金额">
- <el-input
- v-model="queryParams.startAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item>
- ~
- </el-form-item>
- <el-form-item>
- <el-input
- v-model="queryParams.endAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- @keyup.enter.native="handleQuery"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item label="签收日期" prop="zfiSignDate">
- <el-date-picker size="small"
- v-model="queryParams.zfiSignDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="承诺日期" prop="zfiExpireDate">
- <el-date-picker size="small"
- v-model="queryParams.zfiExpireDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="融信利率" prop="zfiRate">
- <el-input
- v-model.trim="queryParams.zfiRate"
- placeholder="请输入融信利率"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQuery"
- />
- </el-form-item> -->
- </el-row>
- </el-form>
- </el-row>
- <el-row v-else-if="activeIndex === '1'" class="zap-table-search">
- <div class="zap-padding-end">
- <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListOpening">收起</right-toolbar>
- <span class="zap-padding-start zap-font-title">所选条件:</span>
- <div style="float: right;margin-right:1%">
- <el-button type="cyan" icon="el-icon-search" @click="handleQueryOpening">搜索</el-button>
- <el-button icon="el-icon-refresh" @click="resetQueryOpening" style="float: ;">重置</el-button>
- </div>
- </div>
- <hr style="margin-top: 16px;">
- <el-form class="zap-table-search__form" :model="queryParamsOpening" ref="queryFormOpening" :inline="true" v-if="showSearch" label-width="68px">
- <el-form-item prop="zfiTypes" size="large">
- <el-select v-model="queryParamsOpening.zfiTypes" clearable>
- <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiQuery" size="large">
- <el-select v-model="queryParamsOpening.zfiQuery" clearable>
- <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiValue" v-if="this.queryParamsOpening.zfiQuery" size="large">
- <el-input v-model="queryParamsOpening.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
- </el-form-item>
- <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
- <el-date-picker v-model="queryParamsOpening.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <!-- <el-form-item label="融信编码" prop="zfiNumber">
- <el-input
- v-model.trim="queryParamsOpening.zfiNumber"
- placeholder="请输入融信编码"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryOpening"
- />
- </el-form-item>
- <el-form-item label="开立企业" prop="openCompany">
- <el-input
- v-model.trim="queryParamsOpening.openCompany"
- placeholder="请输入开立企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryOpening"
- />
- </el-form-item>
- <el-form-item label="接收企业" prop="receiveCompany">
- <el-input
- v-model.trim="queryParamsOpening.receiveCompany"
- placeholder="请输入接收企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryOpening"
- />
- </el-form-item>
- <el-form-item label="融信产品" prop="zfpName">
- <el-input
- v-model.trim="queryParamsOpening.zfpName"
- placeholder="请输入融信产品"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryOpening"
- />
- </el-form-item>
- <el-form-item label="融信金额">
- <el-input
- v-model="queryParamsOpening.startAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item>
- ~
- </el-form-item>
- <el-form-item>
- <el-input
- v-model="queryParamsOpening.endAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- @keyup.enter.native="handleQueryOpening"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item label="签收日期" prop="zfiSignDate">
- <el-date-picker size="small"
- v-model="queryParamsOpening.zfiSignDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="承诺日期" prop="zfiExpireDate">
- <el-date-picker size="small"
- v-model="queryParamsOpening.zfiExpireDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="融信利率" prop="zfiRate">
- <el-input
- v-model.trim="queryParamsOpening.zfiRate"
- placeholder="请输入融信利率"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryOpening"
- />
- </el-form-item> -->
- <!-- <el-form-item label="状态" prop="zfiStatus">
- <el-select v-model="queryParams.zfiStatus" placeholder="请选择状态" clearable size="small">
- <el-option
- v-for="dict in stateOptions"
- :key="dict.dictValue"
- :label="dict.dictLabel"
- :value="dict.dictValue"
- />
- </el-select>
- </el-form-item> -->
- </el-form>
- </el-row>
- <el-row v-else-if="activeIndex === '2'" class="zap-table-search">
- <div class="zap-padding-end">
- <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListSign">收起</right-toolbar>
- <span class="zap-padding-start zap-font-title">所选条件:</span>
- <div style="float: right;margin-right:1%">
- <el-button type="cyan" icon="el-icon-search" @click="handleQuerySign">搜索</el-button>
- <el-button icon="el-icon-refresh" @click="resetQuerySign" style="float: ;">重置</el-button>
- </div>
- </div>
- <hr style="margin-top: 16px;">
- <el-form class="zap-table-search__form" :model="queryParamsSign" ref="queryFormSign" :inline="true" v-if="showSearch" label-width="68px">
- <el-form-item prop="zfiTypes" size="large">
- <el-select v-model="queryParamsSign.zfiTypes" clearable>
- <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiQuery" size="large">
- <el-select v-model="queryParamsSign.zfiQuery" clearable>
- <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiValue" v-if="this.queryParamsSign.zfiQuery" size="large">
- <el-input v-model="queryParamsSign.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
- </el-form-item>
- <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
- <el-date-picker v-model="queryParamsSign.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <!-- <el-form-item label="融信编码" prop="zfiNumber">
- <el-input
- v-model.trim="queryParamsSign.zfiNumber"
- placeholder="请输入融信编码"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQuerySign"
- />
- </el-form-item>
- <el-form-item label="开立企业" prop="openCompany">
- <el-input
- v-model.trim="queryParamsSign.openCompany"
- placeholder="请输入开立企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQuerySign"
- />
- </el-form-item>
- <el-form-item label="接收企业" prop="receiveCompany">
- <el-input
- v-model.trim="queryParamsSign.receiveCompany"
- placeholder="请输入接收企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQuerySign"
- />
- </el-form-item>
- <el-form-item label="融信产品" prop="zfpName">
- <el-input
- v-model.trim="queryParamsSign.zfpName"
- placeholder="请输入融信产品"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQuerySign"
- />
- </el-form-item>
- <el-form-item label="融信金额">
- <el-input
- v-model="queryParamsSign.startAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item>
- ~
- </el-form-item>
- <el-form-item>
- <el-input
- v-model="queryParamsSign.endAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- @keyup.enter.native="handleQuerySign"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item label="签收日期" prop="zfiSignDate">
- <el-date-picker size="small"
- v-model="queryParamsSign.zfiSignDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="承诺日期" prop="zfiExpireDate">
- <el-date-picker size="small"
- v-model="queryParamsSign.zfiExpireDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="融信利率" prop="zfiRate">
- <el-input
- v-model.trim="queryParamsSign.zfiRate"
- placeholder="请输入融信利率"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQuerySign"
- />
- </el-form-item> -->
- </el-form>
- </el-row>
- <el-row v-else-if="activeIndex === '3'" class="zap-table-search">
- <div class="zap-padding-end">
- <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListFinancing">收起</right-toolbar>
- <span class="zap-padding-start zap-font-title">所选条件:</span>
- <div style="float: right;margin-right:1%">
- <el-button type="cyan" icon="el-icon-search" @click="handleQueryFinancing">搜索</el-button>
- <el-button icon="el-icon-refresh" @click="resetQueryFinancing" style="float: ;">重置</el-button>
- </div>
- </div>
- <hr style="margin-top: 16px;">
- <el-form class="zap-table-search__form" :model="queryParamsFinancing" ref="queryFormFinancing" :inline="true" v-if="showSearch" label-width="68px">
- <el-form-item prop="zfiTypes" size="large">
- <el-select v-model="queryParamsFinancing.zfiTypes" clearable>
- <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiQuery" size="large">
- <el-select v-model="queryParamsFinancing.zfiQuery" clearable>
- <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiValue" v-if="this.queryParamsFinancing.zfiQuery" size="large">
- <el-input v-model="queryParamsFinancing.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
- </el-form-item>
- <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
- <el-date-picker v-model="queryParamsFinancing.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <!-- <el-form-item label="融信编码" prop="zfiNumber">
- <el-input
- v-model.trim="queryParamsFinancing.zfiNumber"
- placeholder="请输入融信编码"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryFinancing"
- />
- </el-form-item>
- <el-form-item label="开立企业" prop="openCompany">
- <el-input
- v-model.trim="queryParamsFinancing.openCompany"
- placeholder="请输入开立企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryFinancing"
- />
- </el-form-item>
- <el-form-item label="接收企业" prop="receiveCompany">
- <el-input
- v-model.trim="queryParamsFinancing.receiveCompany"
- placeholder="请输入接收企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryFinancing"
- />
- </el-form-item>
- <el-form-item label="融信产品" prop="zfpName">
- <el-input
- v-model.trim="queryParamsFinancing.zfpName"
- placeholder="请输入融信产品"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryFinancing"
- />
- </el-form-item>
- <el-form-item label="融信金额">
- <el-input
- v-model="queryParamsFinancing.startAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item>
- ~
- </el-form-item>
- <el-form-item>
- <el-input
- v-model="queryParamsFinancing.endAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- @keyup.enter.native="handleQueryFinancing"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item label="签收日期" prop="zfiSignDate">
- <el-date-picker size="small"
- v-model="queryParamsFinancing.zfiSignDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="承诺日期" prop="zfiExpireDate">
- <el-date-picker size="small"
- v-model="queryParamsFinancing.zfiExpireDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="融信利率" prop="zfiRate">
- <el-input
- v-model.trim="queryParamsFinancing.zfiRate"
- placeholder="请输入融信利率"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryFinancing"
- />
- </el-form-item> -->
- </el-form>
- </el-row>
- <el-row v-else-if="activeIndex === '4'" class="zap-table-search">
- <div class="zap-padding-end">
- <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListFinanced">收起</right-toolbar>
- <span class="zap-padding-start zap-font-title">所选条件:</span>
- <div style="float: right;margin-right:1%">
- <el-button type="cyan" icon="el-icon-search" @click="handleQueryFinanced">搜索</el-button>
- <el-button icon="el-icon-refresh" @click="resetQueryFinanced" style="float: ;">重置</el-button>
- </div>
- </div>
- <hr style="margin-top: 16px;">
- <el-form class="zap-table-search__form" :model="queryParamsFinanced" ref="queryFormFinanced" :inline="true" v-if="showSearch" label-width="68px">
- <el-form-item prop="zfiTypes" size="large">
- <el-select v-model="queryParamsFinanced.zfiTypes" clearable>
- <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiQuery" size="large">
- <el-select v-model="queryParamsFinanced.zfiQuery" clearable>
- <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiValue" v-if="this.queryParamsFinanced.zfiQuery" size="large">
- <el-input v-model="queryParamsFinanced.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
- </el-form-item>
- <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
- <el-date-picker v-model="queryParamsFinanced.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <!-- <el-form-item label="融信编码" prop="zfiNumber">
- <el-input
- v-model.trim="queryParamsFinanced.zfiNumber"
- placeholder="请输入融信编码"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryFinanced"
- />
- </el-form-item>
- <el-form-item label="开立企业" prop="openCompany">
- <el-input
- v-model.trim="queryParamsFinanced.openCompany"
- placeholder="请输入开立企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryFinanced"
- />
- </el-form-item>
- <el-form-item label="接收企业" prop="receiveCompany">
- <el-input
- v-model.trim="queryParamsFinanced.receiveCompany"
- placeholder="请输入接收企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryFinanced"
- />
- </el-form-item>
- <el-form-item label="融信产品" prop="zfpName">
- <el-input
- v-model.trim="queryParamsFinanced.zfpName"
- placeholder="请输入融信产品"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryFinanced"
- />
- </el-form-item>
- <el-form-item label="融信金额">
- <el-input
- v-model="queryParamsFinanced.startAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item>
- ~
- </el-form-item>
- <el-form-item>
- <el-input
- v-model="queryParamsFinanced.endAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- @keyup.enter.native="handleQueryFinanced"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item label="签收日期" prop="zfiSignDate">
- <el-date-picker size="small"
- v-model="queryParamsFinanced.zfiSignDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="承诺日期" prop="zfiExpireDate">
- <el-date-picker size="small"
- v-model="queryParamsFinanced.zfiExpireDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="融信利率" prop="zfiRate">
- <el-input
- v-model.trim="queryParamsFinanced.zfiRate"
- placeholder="请输入融信利率"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryFinanced"
- />
- </el-form-item> -->
- </el-form>
- </el-row>
- <!-- 已拒绝 -->
- <el-row v-else-if="activeIndex === '5'" class="zap-table-search">
- <div class="zap-padding-end">
- <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListInvalid">收起</right-toolbar>
- <span class="zap-padding-start zap-font-title">所选条件:</span>
- <div style="float: right;margin-right:1%">
- <el-button type="cyan" icon="el-icon-search" @click="handleQueryInvalid">搜索</el-button>
- <el-button icon="el-icon-refresh" @click="resetQueryInvalid" style="float: ;">重置</el-button>
- </div>
- </div>
- <hr style="margin-top: 16px;">
- <el-form class="zap-table-search__form" :model="queryParamsInvalid" ref="queryFormInvalid" :inline="true" v-if="showSearch" label-width="68px">
- <el-form-item prop="zfiTypes" size="large">
- <el-select v-model="queryParamsInvalid.zfiTypes" clearable>
- <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiQuery" size="large">
- <el-select v-model="queryParamsInvalid.zfiQuery" clearable>
- <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiValue" v-if="this.queryParamsInvalid.zfiQuery" size="large">
- <el-input v-model="queryParamsInvalid.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
- </el-form-item>
- <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
- <el-date-picker v-model="queryParamsInvalid.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <!-- <el-form-item label="融信编码" prop="zfiNumber">
- <el-input
- v-model.trim="queryParamsInvalid.zfiNumber"
- placeholder="请输入融信编码"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryInvalid"
- />
- </el-form-item>
- <el-form-item label="开立企业" prop="openCompany">
- <el-input
- v-model.trim="queryParamsInvalid.openCompany"
- placeholder="请输入开立企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryInvalid"
- />
- </el-form-item>
- <el-form-item label="接收企业" prop="receiveCompany">
- <el-input
- v-model.trim="queryParamsInvalid.receiveCompany"
- placeholder="请输入接收企业"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryInvalid"
- />
- </el-form-item>
- <el-form-item label="融信产品" prop="zfpName">
- <el-input
- v-model.trim="queryParamsInvalid.zfpName"
- placeholder="请输入融信产品"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryInvalid"
- />
- </el-form-item>
- <el-form-item label="融信金额">
- <el-input
- v-model="queryParamsInvalid.startAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item>
- ~
- </el-form-item>
- <el-form-item>
- <el-input
- v-model="queryParamsInvalid.endAmt"
- placeholder="请输入融信金额"
- clearable
- size="small"
- @keyup.enter.native="handleQueryInvalid"
- maxlength="20"
- />
- </el-form-item>
- <el-form-item label="签收日期" prop="zfiSignDate">
- <el-date-picker size="small"
- v-model="queryParamsInvalid.zfiSignDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="承诺日期" prop="zfiExpireDate">
- <el-date-picker size="small"
- v-model="queryParamsInvalid.zfiExpireDate"
- style="width: 240px"
- unlink-panels
- value-format="yyyy-MM-dd"
- type="daterange"
- range-separator="-"
- start-placeholder="开始日期"
- end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- <el-form-item label="融信利率" prop="zfiRate">
- <el-input
- v-model.trim="queryParamsInvalid.zfiRate"
- placeholder="请输入融信利率"
- clearable
- size="small"
- maxlength="25"
- @keyup.enter.native="handleQueryInvalid"
- />
- </el-form-item> -->
- <!-- <el-form-item label="状态" prop="zfiStatus">
- <el-select v-model="queryParams.zfiStatus" placeholder="请选择状态" clearable size="small">
- <el-option
- v-for="dict in stateOptions"
- :key="dict.dictValue"
- :label="dict.dictLabel"
- :value="dict.dictValue"
- />
- </el-select>
- </el-form-item> -->
- </el-form>
- </el-row>
- <!-- 已结算 -->
- <el-row v-else-if="activeIndex === '6'" class="zap-table-search">
- <div class="zap-padding-end">
- <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListSettlement">收起</right-toolbar>
- <span class="zap-padding-start zap-font-title">所选条件:</span>
- <div style="float: right;margin-right:1%">
- <el-button type="cyan" icon="el-icon-search" @click="handleQuerySettlement">搜索</el-button>
- <el-button icon="el-icon-refresh" @click="resetQuerySettlement" style="float: ;">重置</el-button>
- </div>
- </div>
- <hr style="margin-top: 16px;">
- <el-form class="zap-table-search__form" :model="queryParamsSettlement" ref="queryFormSettlement" :inline="true" v-if="showSearch" label-width="68px">
- <el-form-item prop="zfiTypes" size="large">
- <el-select v-model="queryParamsSettlement.zfiTypes" clearable>
- <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiQuery" size="large">
- <el-select v-model="queryParamsSettlement.zfiQuery" clearable>
- <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiValue" v-if="this.queryParamsSettlement.zfiQuery" size="large">
- <el-input v-model="queryParamsSettlement.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
- </el-form-item>
- <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
- <el-date-picker v-model="queryParamsSettlement.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- </el-form>
- </el-row>
- <!-- 已过期 -->
- <el-row v-else-if="activeIndex === '7'" class="zap-table-search">
- <div class="zap-padding-end">
- <right-toolbar style="margin-top: 4px;" :showSearch.sync="showSearch" @queryTable="getListOverdue">收起</right-toolbar>
- <span class="zap-padding-start zap-font-title">所选条件:</span>
- <div style="float: right;margin-right:1%">
- <el-button type="cyan" icon="el-icon-search" @click="handleQueryOverdue">搜索</el-button>
- <el-button icon="el-icon-refresh" @click="resetQueryOverdue" style="float: ;">重置</el-button>
- </div>
- </div>
- <hr style="margin-top: 16px;">
- <el-form class="zap-table-search__form" :model="queryParamsOverdue" ref="queryFormOverdue" :inline="true" v-if="showSearch" label-width="68px">
- <el-form-item prop="zfiTypes" size="large">
- <el-select v-model="queryParamsOverdue.zfiTypes" clearable>
- <el-option v-for="dict in typesOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiQuery" size="large">
- <el-select v-model="queryParamsOverdue.zfiQuery" clearable>
- <el-option v-for="dict in queryOptions" :key="dict.dictValue" :label="dict.dictLabel" :value="dict.dictValue" />
- </el-select>
- </el-form-item>
- <el-form-item prop="zfiValue" v-if="this.queryParamsOverdue.zfiQuery" size="large">
- <el-input v-model="queryParamsOverdue.zfiValue" placeholder="请输入关键字模糊查询" clearable maxlength="25" />
- </el-form-item>
- <el-form-item label="承诺付款日期" prop="zfiExpireDate" label-width="96px" size="large">
- <el-date-picker v-model="queryParamsOverdue.zfiExpireDate" unlink-panels value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期">
- </el-date-picker>
- </el-form-item>
- </el-form>
- </el-row>
- <el-row class="zap-margin-top">
- <el-col>
- <div class="zap-credit__content">
- <div class="zap-credit__buttons">
- <el-button
- type="success"
- icon="el-icon-plus"
- @click="handleAdd"
- v-hasPermi="['credit:credit:add']"
- >开立融信</el-button>
- <el-button
- type="success"
- icon="el-icon-plus"
- @click="finanOpening"
- v-hasPermi="['finanOpening:finanOpening:add']"
- >融资开立</el-button>
- <el-button
- type="primary"
- icon="el-icon-tickets"
- @click="apply"
- v-hasPermi="['finanOpening:finanOpening:apply']"
- >融资申请</el-button>
- </div>
- <el-tabs v-model="activeIndex">
- <!-- 全部-->
- <el-tab-pane label="全部">
- <el-table v-loading="loading" stripe :data="infList" @selection-change="handleSelectionChange" border>
- <el-table-column label="序号" type="index" width="50" align="center">
- <template slot-scope="scope">
- <span>{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}</span>
- </template>
- </el-table-column>
- <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
- <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
- <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
- <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
- <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
- <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
- <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
- <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true"/>
- <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
- <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
- <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
- <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true"/>
- <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
- <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
- <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
- <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
- <template slot-scope="scope">
- <el-button
- size="mini"
- type="text"
- icon="el-icon-view"
- @click="handleDetail(scope.row)"
- v-hasPermi="['credit:credit:query']"
- >详情</el-button>
- <!--
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
- (融资方)融资开立+融资审批状态/平台审批拒绝||
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['credit:credit:update']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
- "
-
- >修改</el-button>
- <!--融信状态待确权且为核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleApprove(scope.row)"
- v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
- v-hasPermi="['credit:credit:approve']"
- >确权</el-button>
- <!--原补充资料-->
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleAddInformation(scope.row)"
- v-hasPermi="['credit:credit:addInfor']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
- >签收</el-button>
- <!--融资申请+融信状态待签收+融资企业
- 判断是否内部通过 审批中不可进入
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleSignFor(scope.row)"
- v-hasPermi="['credit:credit:signFor']"
- v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
- >签收</el-button>
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleRefuse(scope.row)"
- v-hasPermi="['credit:credit:refuse']"
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
- >拒签</el-button> -->
- <!--生效-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleGoFinance(scope.row)"
- v-hasPermi="['finance:record:add']"
- v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
- >去融资</el-button>
- <!--(核心)核心开立:核心审批通过+其他状态为空||
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
- (融资方)融资开立:融资方通过+平台通过+其他为空||
- (核心)确权:融资方通过+核心通过+平台通过+待确权
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
- >盖章</el-button> -->
- <!--核心开立
- 类型为核心开立,状态为空,并且核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >开立融信</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="refuse(scope.row)"
- v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >作废</el-button>
- <!--供应商开立
- 类型为供应商开立,状态为空,并且融资企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >融信开立</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-delete"
- @click="handleDelete(scope.row)"
- v-hasPermi="['credit:credit:del']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
- >删除</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-info"
- @click="handleFlowable(scope.row)"
- >查看流程</el-button>
- </template>
- </el-table-column>
- </el-table>
- <span>总合计:{{allAmount}}</span>
- <span>开立中:{{klzAllAmount}}</span>
- <span>已生效:{{ysxAllAmount}}</span>
- <span>融资中:{{rzzAllAmount}}</span>
- <span>已融资:{{yrzAllAmount}}</span>
- <span>已拒绝:{{yjjAllAmount}}</span>
- <span>已结算:{{yjsAllAmount}}</span>
- <span>已过期:{{ygqAllAmount}}</span>
- <pagination
- v-show="total>0"
- :total="total"
- :page.sync="queryParams.pageNum"
- :limit.sync="queryParams.pageSize"
- @pagination="getList"
- />
- <!--开立中-->
- </el-tab-pane>
- <el-tab-pane label="开立中">
- <el-table v-loading="loading" stripe :data="infOpeningList" @selection-change="handleSelectionChange" border>
- <el-table-column label="序号" type="index" width="50" align="center">
- <template slot-scope="scope">
- <span>{{(queryParamsOpening.pageNum - 1) * queryParamsOpening.pageSize + scope.$index + 1}}</span>
- </template>
- </el-table-column>
- <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
- <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
- <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
- <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
- <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
- <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
- <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
- <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true"/>
- <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
- <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true" />
- <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
- <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true"/>
- <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
- <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
- <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
- <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true" />
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
- <template slot-scope="scope">
- <el-button
- size="mini"
- type="text"
- icon="el-icon-view"
- @click="handleDetail(scope.row)"
- v-hasPermi="['credit:credit:query']"
- >详情</el-button>
- <!--
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
- (融资方)融资开立+融资审批状态/平台审批拒绝||
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['credit:credit:update']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
- "
-
- >修改</el-button>
- <!--融信状态待确权且为核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleApprove(scope.row)"
- v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
- v-hasPermi="['credit:credit:approve']"
- >确权</el-button>
- <!--原补充资料-->
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleAddInformation(scope.row)"
- v-hasPermi="['credit:credit:addInfor']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
- >签收</el-button>
- <!--融资申请+融信状态待签收+融资企业
- 判断是否内部通过 审批中不可进入
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleSignFor(scope.row)"
- v-hasPermi="['credit:credit:signFor']"
- v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
- >签收</el-button>
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleRefuse(scope.row)"
- v-hasPermi="['credit:credit:refuse']"
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
- >拒签</el-button> -->
- <!--生效-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleGoFinance(scope.row)"
- v-hasPermi="['finance:record:add']"
- v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
- >去融资</el-button>
- <!--(核心)核心开立:核心审批通过+其他状态为空||
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
- (融资方)融资开立:融资方通过+平台通过+其他为空||
- (核心)确权:融资方通过+核心通过+平台通过+待确权
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
- >盖章</el-button> -->
- <!--核心开立
- 类型为核心开立,状态为空,并且核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >开立融信</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="refuse(scope.row)"
- v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >作废</el-button>
- <!--供应商开立
- 类型为供应商开立,状态为空,并且融资企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >融信开立</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-delete"
- @click="handleDelete(scope.row)"
- v-hasPermi="['credit:credit:del']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
- >删除</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-info"
- @click="handleFlowable(scope.row)"
- >查看流程</el-button>
- </template>
- </el-table-column>
- </el-table>
- <pagination
- v-show="totalOpening>0"
- :total="totalOpening"
- :page.sync="queryParamsOpening.pageNum"
- :limit.sync="queryParamsOpening.pageSize"
- @pagination="getListOpening"
- />
- <span>总合计:{{klzAmount}}</span>
- <span>开立中:{{klzAmount}}</span>
- </el-tab-pane>
- <!--已生效-->
- <el-tab-pane label="已生效">
- <el-table v-loading="loading" stripe :data="infSignList" @selection-change="handleSelectionChange" border>
- <el-table-column label="序号" type="index" width="50" align="center">
- <template slot-scope="scope">
- <span>{{(queryParamsSign.pageNum - 1) * queryParamsSign.pageSize + scope.$index + 1}}</span>
- </template>
- </el-table-column>
- <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
- <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
- <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
- <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
- <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
- <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
- <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
- <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
- <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
- <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
- <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
- <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
- <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
- <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
- <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
- <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
- <template slot-scope="scope">
- <el-button
- size="mini"
- type="text"
- icon="el-icon-view"
- @click="handleDetail(scope.row)"
- v-hasPermi="['credit:credit:query']"
- >详情</el-button>
- <!--
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
- (融资方)融资开立+融资审批状态/平台审批拒绝||
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['credit:credit:update']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
- "
-
- >修改</el-button>
- <!--融信状态待确权且为核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleApprove(scope.row)"
- v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
- v-hasPermi="['credit:credit:approve']"
- >确权</el-button>
- <!--原补充资料-->
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleAddInformation(scope.row)"
- v-hasPermi="['credit:credit:addInfor']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
- >签收</el-button>
- <!--融资申请+融信状态待签收+融资企业
- 判断是否内部通过 审批中不可进入
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleSignFor(scope.row)"
- v-hasPermi="['credit:credit:signFor']"
- v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
- >签收</el-button>
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleRefuse(scope.row)"
- v-hasPermi="['credit:credit:refuse']"
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
- >拒签</el-button> -->
- <!--生效-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleGoFinance(scope.row)"
- v-hasPermi="['finance:record:add']"
- v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
- >去融资</el-button>
- <!--(核心)核心开立:核心审批通过+其他状态为空||
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
- (融资方)融资开立:融资方通过+平台通过+其他为空||
- (核心)确权:融资方通过+核心通过+平台通过+待确权
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
- >盖章</el-button> -->
- <!--核心开立
- 类型为核心开立,状态为空,并且核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >开立融信</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="refuse(scope.row)"
- v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >作废</el-button>
- <!--供应商开立
- 类型为供应商开立,状态为空,并且融资企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >融信开立</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-delete"
- @click="handleDelete(scope.row)"
- v-hasPermi="['credit:credit:del']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
- >删除</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-info"
- @click="handleFlowable(scope.row)"
- >查看流程</el-button>
- </template>
- </el-table-column>
- </el-table>
- <pagination
- v-show="totalSign>0"
- :total="totalSign"
- :page.sync="queryParamsSign.pageNum"
- :limit.sync="queryParamsSign.pageSize"
- @pagination="getListSign"
- />
- <span>总合计:{{ysxAmount}}</span>
- <span>已生效:{{ysxAmount}}</span>
- </el-tab-pane>
-
- <!--融资中-->
- <el-tab-pane label="融资中">
- <el-table v-loading="loading" stripe :data="infFinancingList" @selection-change="handleSelectionChange" border>
- <el-table-column label="序号" type="index" width="50" align="center">
- <template slot-scope="scope">
- <span>{{(queryParamsFinancing.pageNum - 1) * queryParamsFinancing.pageSize + scope.$index + 1}}</span>
- </template>
- </el-table-column>
- <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
- <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
- <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
- <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
- <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
- <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
- <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
- <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
- <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
- <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
- <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
- <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
- <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
- <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
- <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
- <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
- <template slot-scope="scope">
- <el-button
- size="mini"
- type="text"
- icon="el-icon-view"
- @click="handleDetail(scope.row)"
- v-hasPermi="['credit:credit:query']"
- >详情</el-button>
- <!--
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
- (融资方)融资开立+融资审批状态/平台审批拒绝||
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['credit:credit:update']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
- "
-
- >修改</el-button>
- <!--融信状态待确权且为核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleApprove(scope.row)"
- v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
- v-hasPermi="['credit:credit:approve']"
- >确权</el-button>
- <!--原补充资料-->
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleAddInformation(scope.row)"
- v-hasPermi="['credit:credit:addInfor']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
- >签收</el-button>
- <!--融资申请+融信状态待签收+融资企业
- 判断是否内部通过 审批中不可进入
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleSignFor(scope.row)"
- v-hasPermi="['credit:credit:signFor']"
- v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
- >签收</el-button>
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleRefuse(scope.row)"
- v-hasPermi="['credit:credit:refuse']"
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
- >拒签</el-button> -->
- <!--生效-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleGoFinance(scope.row)"
- v-hasPermi="['finance:record:add']"
- v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
- >去融资</el-button>
- <!--(核心)核心开立:核心审批通过+其他状态为空||
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
- (融资方)融资开立:融资方通过+平台通过+其他为空||
- (核心)确权:融资方通过+核心通过+平台通过+待确权
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
- >盖章</el-button> -->
- <!--核心开立
- 类型为核心开立,状态为空,并且核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >开立融信</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="refuse(scope.row)"
- v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >作废</el-button>
- <!--供应商开立
- 类型为供应商开立,状态为空,并且融资企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >融信开立</el-button>
- <!--
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
- (融资方)融资开立+融资审批状态/平台审批拒绝||
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-delete"
- @click="handleDelete(scope.row)"
- v-hasPermi="['credit:credit:del']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
- >删除</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-info"
- @click="handleFlowable(scope.row)"
- >查看流程</el-button>
- </template>
- </el-table-column>
- </el-table>
-
- <pagination
- v-show="totalFinancing>0"
- :total="totalFinancing"
- :page.sync="queryParamsFinancing.pageNum"
- :limit.sync="queryParamsFinancing.pageSize"
- @pagination="getListFinancing"
- />
- <span>总合计:{{rzzAmount}}</span>
- <span>融资中:{{rzzAmount}}</span>
- </el-tab-pane>
- <!--已融资-->
- <el-tab-pane label="已融资">
- <el-table v-loading="loading" stripe :data="infFinancedList" @selection-change="handleSelectionChange" border>
- <el-table-column label="序号" type="index" width="50" align="center">
- <template slot-scope="scope">
- <span>{{(queryParamsFinanced.pageNum - 1) * queryParamsFinanced.pageSize + scope.$index + 1}}</span>
- </template>
- </el-table-column>
- <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
- <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
- <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
- <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
- <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
- <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
- <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
- <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
- <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
- <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
- <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
- <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
- <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
- <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
- <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
- <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
- <template slot-scope="scope">
- <el-button
- size="mini"
- type="text"
- icon="el-icon-view"
- @click="handleDetail(scope.row)"
- v-hasPermi="['credit:credit:query']"
- >详情</el-button>
- <!--
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
- (融资方)融资开立+融资审批状态/平台审批拒绝||
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['credit:credit:update']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
- "
-
- >修改</el-button>
- <!--融信状态待确权且为核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleApprove(scope.row)"
- v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
- v-hasPermi="['credit:credit:approve']"
- >确权</el-button>
- <!--原补充资料-->
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleAddInformation(scope.row)"
- v-hasPermi="['credit:credit:addInfor']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
- >签收</el-button>
- <!--融资申请+融信状态待签收+融资企业
- 判断是否内部通过 审批中不可进入
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleSignFor(scope.row)"
- v-hasPermi="['credit:credit:signFor']"
- v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
- >签收</el-button>
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleRefuse(scope.row)"
- v-hasPermi="['credit:credit:refuse']"
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
- >拒签</el-button> -->
- <!--生效-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleGoFinance(scope.row)"
- v-hasPermi="['finance:record:add']"
- v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
- >去融资</el-button>
- <!--(核心)核心开立:核心审批通过+其他状态为空||
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
- (融资方)融资开立:融资方通过+平台通过+其他为空||
- (核心)确权:融资方通过+核心通过+平台通过+待确权
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
- >盖章</el-button> -->
- <!--核心开立
- 类型为核心开立,状态为空,并且核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >开立融信</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="refuse(scope.row)"
- v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >作废</el-button>
- <!--供应商开立
- 类型为供应商开立,状态为空,并且融资企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >融信开立</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-delete"
- @click="handleDelete(scope.row)"
- v-hasPermi="['credit:credit:del']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
- >删除</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-info"
- @click="handleFlowable(scope.row)"
- >查看流程</el-button>
- </template>
- </el-table-column>
- </el-table>
-
- <pagination
- v-show="totalFinanced>0"
- :total="totalFinanced"
- :page.sync="queryParamsFinanced.pageNum"
- :limit.sync="queryParamsFinanced.pageSize"
- @pagination="getListFinanced"
- />
- <span>总合计:{{yrzAmount}}</span>
- <span>已融资:{{yrzAmount}}</span>
- </el-tab-pane>
- <!--已拒绝-->
- <el-tab-pane label="已拒绝">
- <el-table v-loading="loading" stripe :data="infInvalidList" @selection-change="handleSelectionChange" border>
- <el-table-column label="序号" type="index" width="50" align="center">
- <template slot-scope="scope">
- <span>{{(queryParamsInvalid.pageNum - 1) * queryParamsInvalid.pageSize + scope.$index + 1}}</span>
- </template>
- </el-table-column>
- <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
- <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
- <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
- <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
- <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
- <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
- <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
- <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
- <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
- <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
- <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
- <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
- <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
- <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
- <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
- <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
- <template slot-scope="scope">
- <el-button
- size="mini"
- type="text"
- icon="el-icon-view"
- @click="handleDetail(scope.row)"
- v-hasPermi="['credit:credit:query']"
- >详情</el-button>
- <!--
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
- (融资方)融资开立+融资审批状态/平台审批拒绝||
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['credit:credit:update']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
- "
-
- >修改</el-button>
- <!--融信状态待确权且为核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleApprove(scope.row)"
- v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
- v-hasPermi="['credit:credit:approve']"
- >确权</el-button>
- <!--原补充资料-->
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleAddInformation(scope.row)"
- v-hasPermi="['credit:credit:addInfor']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
- >签收</el-button>
- <!--融资申请+融信状态待签收+融资企业
- 判断是否内部通过 审批中不可进入
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleSignFor(scope.row)"
- v-hasPermi="['credit:credit:signFor']"
- v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
- >签收</el-button>
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleRefuse(scope.row)"
- v-hasPermi="['credit:credit:refuse']"
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
- >拒签</el-button> -->
- <!--生效-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleGoFinance(scope.row)"
- v-hasPermi="['finance:record:add']"
- v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
- >去融资</el-button>
- <!--(核心)核心开立:核心审批通过+其他状态为空||
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
- (融资方)融资开立:融资方通过+平台通过+其他为空||
- (核心)确权:融资方通过+核心通过+平台通过+待确权
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
- >盖章</el-button> -->
- <!--核心开立
- 类型为核心开立,状态为空,并且核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >开立融信</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="refuse(scope.row)"
- v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >作废</el-button>
- <!--供应商开立
- 类型为供应商开立,状态为空,并且融资企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >融信开立</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-delete"
- @click="handleDelete(scope.row)"
- v-hasPermi="['credit:credit:del']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
- >删除</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-info"
- @click="handleFlowable(scope.row)"
- >查看流程</el-button>
- </template>
- </el-table-column>
- </el-table>
-
- <pagination
- v-show="totalInvalid>0"
- :total="totalInvalid"
- :page.sync="queryParamsInvalid.pageNum"
- :limit.sync="queryParamsInvalid.pageSize"
- @pagination="getListInvalid"
- />
- <span>总合计:{{yjjAmount}}</span>
- <span>已拒绝:{{yjjAmount}}</span>
- </el-tab-pane>
- <!--已结算-->
- <el-tab-pane label="已结算">
- <el-table v-loading="loading" stripe :data="settlementList" @selection-change="handleSelectionChange" border>
- <el-table-column label="序号" type="index" width="50" align="center">
- <template slot-scope="scope">
- <span>{{(queryParamsSettlement.pageNum - 1) * queryParamsSettlement.pageSize + scope.$index + 1}}</span>
- </template>
- </el-table-column>
- <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
- <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
- <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
- <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
- <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
- <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
- <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
- <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
- <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
- <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
- <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
- <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
- <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
- <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
- <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
- <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
- <template slot-scope="scope">
- <el-button
- size="mini"
- type="text"
- icon="el-icon-view"
- @click="handleDetail(scope.row)"
- v-hasPermi="['credit:credit:query']"
- >详情</el-button>
- <!--
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
- (融资方)融资开立+融资审批状态/平台审批拒绝||
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['credit:credit:update']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
- "
-
- >修改</el-button>
- <!--融信状态待确权且为核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleApprove(scope.row)"
- v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
- v-hasPermi="['credit:credit:approve']"
- >确权</el-button>
- <!--原补充资料-->
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleAddInformation(scope.row)"
- v-hasPermi="['credit:credit:addInfor']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
- >签收</el-button>
- <!--融资申请+融信状态待签收+融资企业
- 判断是否内部通过 审批中不可进入
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleSignFor(scope.row)"
- v-hasPermi="['credit:credit:signFor']"
- v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
- >签收</el-button>
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleRefuse(scope.row)"
- v-hasPermi="['credit:credit:refuse']"
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
- >拒签</el-button> -->
- <!--生效-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleGoFinance(scope.row)"
- v-hasPermi="['finance:record:add']"
- v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
- >去融资</el-button>
- <!--(核心)核心开立:核心审批通过+其他状态为空||
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
- (融资方)融资开立:融资方通过+平台通过+其他为空||
- (核心)确权:融资方通过+核心通过+平台通过+待确权
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
- >盖章</el-button> -->
- <!--核心开立
- 类型为核心开立,状态为空,并且核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >开立融信</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="refuse(scope.row)"
- v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >作废</el-button>
- <!--供应商开立
- 类型为供应商开立,状态为空,并且融资企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >融信开立</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-delete"
- @click="handleDelete(scope.row)"
- v-hasPermi="['credit:credit:del']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
- >删除</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-info"
- @click="handleFlowable(scope.row)"
- >查看流程</el-button>
- </template>
- </el-table-column>
- </el-table>
-
- <pagination
- v-show="totalSettlement>0"
- :total="totalSettlement"
- :page.sync="queryParamsSettlement.pageNum"
- :limit.sync="queryParamsSettlement.pageSize"
- @pagination="getListSettlement"
- />
- <span>总合计:{{yjsAmount}}</span>
- <span>已结算:{{yjsAmount}}</span>
- </el-tab-pane>
- <!--已过期-->
- <el-tab-pane label="已过期">
- <el-table v-loading="loading" stripe :data="overdueList" @selection-change="handleSelectionChange" border>
- <el-table-column label="序号" type="index" width="50" align="center">
- <template slot-scope="scope">
- <span>{{(queryParamsOverdue.pageNum - 1) * queryParamsOverdue.pageSize + scope.$index + 1}}</span>
- </template>
- </el-table-column>
- <el-table-column label="融信编号" align="center" prop="zfiNumber" :show-overflow-tooltip="true"/>
- <el-table-column label="开立方" align="center" prop="openName" :show-overflow-tooltip="true"/>
- <el-table-column label="接收方" align="center" prop="receiveName" :show-overflow-tooltip="true"/>
- <el-table-column label="授信类型" :formatter="zfpTypeFormat" align="center" prop="zfpType" show-overflow-tooltip />
- <el-table-column label="融信类型" :formatter="typeFormat" align="center" prop="zfiCreateType" :show-overflow-tooltip="true"/>
- <el-table-column label="融信产品" align="center" prop="zfpName" :show-overflow-tooltip="true"/>
- <el-table-column label="融信金额" align="center" :formatter="moneyFormat" prop="zfiAmount" :show-overflow-tooltip="true" />
- <el-table-column label="融信利率(%)" align="center" width="100px;" prop="zfiRate" :show-overflow-tooltip="true" />
- <!-- <el-table-column label="签发有效期" align="center" width="100px;" prop="zfiEffectiveDate" :show-overflow-tooltip="true" /> -->
- <el-table-column label="承诺还款日" align="center" width="100px;" prop="zfiExpireDate" :show-overflow-tooltip="true"/>
- <el-table-column label="签收日期" align="center" prop="zfiSignDate" :show-overflow-tooltip="true" />
- <el-table-column label="承诺函编号" align="center" width="100px;" prop="zfiPaymentNumber" :show-overflow-tooltip="true" />
- <el-table-column label="融资方审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="平台审批状态" :formatter="platformStatusFormat" align="center" width="100px;" prop="zfiPlatformStatus" :show-overflow-tooltip="true" v-if="this.companyType == '00'"/>
- <el-table-column label="核心审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '00'"/>
- <el-table-column label="内部审批状态" :formatter="supplierStatusFormat" align="center" width="110px;" prop="zfiSupplierStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '02'"/>
- <el-table-column label="内部审批状态" :formatter="coreStatusFormat" align="center" width="100px;" prop="zfiCoreStatus" :show-overflow-tooltip="true" v-if=" this.companyType == '01'"/>
- <el-table-column label="融信状态" :formatter="stateFormat" align="center" prop="zfiStatus" :show-overflow-tooltip="true"/>
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='400' fixed="right" >
- <template slot-scope="scope">
- <el-button
- size="mini"
- type="text"
- icon="el-icon-view"
- @click="handleDetail(scope.row)"
- v-hasPermi="['credit:credit:query']"
- >详情</el-button>
- <!--
- (核心方)核心开立+核心审批拒绝||融资/平台拒绝||
- (融资方)融资申请+融资审批状态/平台审批拒绝+融信不等于待签收||
- (融资方)融资开立+融资审批状态/平台审批拒绝||
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleUpdate(scope.row)"
- v-hasPermi="['credit:credit:update']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))
- "
-
- >修改</el-button>
- <!--融信状态待确权且为核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleApprove(scope.row)"
- v-show="scope.row.zfiStatus == '00' && scope.row.companyType == '01'"
- v-hasPermi="['credit:credit:approve']"
- >确权</el-button>
- <!--原补充资料-->
- <!--核心开立+融信状态为待签收+融资企业 判断内部,平台,审批中不可进入-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleAddInformation(scope.row)"
- v-hasPermi="['credit:credit:addInfor']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus=='01' || scope.row.zfiStatus=='06')"
- >签收</el-button>
- <!--融资申请+融信状态待签收+融资企业
- 判断是否内部通过 审批中不可进入
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleSignFor(scope.row)"
- v-hasPermi="['credit:credit:signFor']"
- v-show="scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' && scope.row.companyType == '02'"
- >签收</el-button>
- <!--(融资申请+融信状态待签收+融资审批状态不是审批中并且不是审批通过)||
- (核心开立+融信状态为待签收+(融资审批状态不是审批中并且不是审批通过)或者(平台审批状态不是审批中并且不是审批通过))
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleRefuse(scope.row)"
- v-hasPermi="['credit:credit:refuse']"
- v-show="(scope.row.zfiCreateType == '0' && scope.row.zfiStatus=='01' &&(scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '1' && scope.row.zfiStatus=='01' &&((scope.row.zfiSupplierStatus != '00' && scope.row.zfiSupplierStatus != '01') || (scope.row.zfiPlatformStatus != '00' && scope.row.zfiPlatformStatus != '01')))"
- >拒签</el-button> -->
- <!--生效-->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="handleGoFinance(scope.row)"
- v-hasPermi="['finance:record:add']"
- v-show="(scope.row.zfiCreateType == '1' ||scope.row.zfiCreateType == '0' || scope.row.zfiCreateType == '2') && scope.row.zfiStatus == '02'"
- >去融资</el-button>
- <!--(核心)核心开立:核心审批通过+其他状态为空||
- (融资方)补充资料:融资方通过+核心通过+平台通过+待签收||
- (融资方)融资开立:融资方通过+平台通过+其他为空||
- (核心)确权:融资方通过+核心通过+平台通过+待确权
- -->
- <!-- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCoreStatus == '01' && (scope.row.zfiSupplierStatus == '' || scope.row.zfiSupplierStatus == null || scope.row.zfiSupplierStatus == 'null') && (scope.row.zfiPlatformStatus == '' || scope.row.zfiPlatformStatus == null || scope.row.zfiPlatformStatus == 'null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '01')||
- (scope.row.companyType == '02' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiPlatformStatus == '01' && (scope.row.zfiCoreStatus == '' || scope.row.zfiCoreStatus == null || scope.row.zfiCoreStatus =='null') && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null))||
- (scope.row.companyType == '01' && scope.row.zfiSupplierStatus == '01' && scope.row.zfiCoreStatus == '01' && scope.row.zfiPlatformStatus == '01' && scope.row.zfiStatus == '00')"
- >盖章</el-button> -->
- <!--核心开立
- 类型为核心开立,状态为空,并且核心企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >开立融信</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="refuse(scope.row)"
- v-show="(scope.row.companyType == '01' || scope.row.companyType == '02')
- && (scope.row.zfiCreateType == '1' || scope.row.zfiCreateType == '2')
- && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >作废</el-button>
- <!--供应商开立
- 类型为供应商开立,状态为空,并且融资企业
- -->
- <el-button
- size="mini"
- type="text"
- icon="el-icon-edit"
- @click="seal(scope.row)"
- v-hasPermi="['credit:credit:seal']"
- v-show="scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiStatus == '' || scope.row.zfiStatus == 'null' || scope.row.zfiStatus == null)"
- >融信开立</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-delete"
- @click="handleDelete(scope.row)"
- v-hasPermi="['credit:credit:del']"
- v-show="(scope.row.companyType == '01' && scope.row.zfiCreateType == '1' && (scope.row.zfiCoreStatus == '02' || scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '0' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02') && scope.row.zfiStatus != '01')||
- (scope.row.companyType == '02' && scope.row.zfiCreateType == '2' && (scope.row.zfiSupplierStatus == '02' || scope.row.zfiPlatformStatus == '02'))"
- >删除</el-button>
- <el-button
- size="mini"
- type="text"
- icon="el-icon-info"
- @click="handleFlowable(scope.row)"
- >查看流程</el-button>
- </template>
- </el-table-column>
- </el-table>
-
- <pagination
- v-show="totalOverdue>0"
- :total="totalOverdue"
- :page.sync="queryParamsOverdue.pageNum"
- :limit.sync="queryParamsOverdue.pageSize"
- @pagination="getListOverdue"
- />
- <span>总合计:{{ygqAmount}}</span>
- <span>已过期:{{ygqAmount}}</span>
- </el-tab-pane>
- <!-- 查看流程 -->
- <el-dialog title="查看流程" :visible.sync="openFlowDetail" width="1120px" append-to-body>
- <flow-detail :financeId="financeId" :financeType="financeType" :financeActive="financeActive" v-if="openFlowDetail"></flow-detail>
- <span slot="footer" class="dialog-footer">
- <el-button type="primary" @click="closeFliwDetail">关闭</el-button>
- </span>
- </el-dialog>
- <!--查看内部审批流程-->
- <el-dialog title="流程进度" :visible.sync="hisTaskForm">
- <div>
- <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">
- <el-step :title="item.name" v-for="(item,index) in histaskList" :key="index">
- <template slot="description">
- <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}'):''}}
- <div v-for="(comment,index) in item.commentList" class="text item" :key="index">
- {{'审批意见: ' + comment.message }}
- </div>
- </template>
- </el-step>
- </el-steps>
- </div>
- <div slot="footer" class="dialog-footer">
- <el-button @click="hisTaskForm = false">关 闭</el-button>
- </div>
- </el-dialog>
- </el-tabs>
- </div>
- </el-col>
- </el-row>
- </div>
-
- </template>
- <script>
- import { listCredit, coreApproval, confirmationApproval, informationApproval,approval,openApproval, getUser,listStatisticalAmount } from "@/api/service/credit/credit";
- import {creditRefuse,sealRefuse,creditDel} from "@/api/service/credit/creditHandle";
- import Editor from '@/components/Editor';
- import {listCompanyHandler} from "@/api/common/companyHandler";
- import {approvalProcess} from "@/api/service/credit/approvalRelatedCredit";
- import FlowDetail from "@/views/service/credit/flowDetail";
- import Cookies from 'js-cookie';
- import { getUserProfile} from "@/api/system/user";
- import { isOpenApproval } from "@/api/service/credit/approvalRelatedCredit";
- export default {
- name: "invoice",
- components: {
- Editor,
- FlowDetail
- },
- data() {
- return {
- allAmount : '0.00',
- klzAllAmount: '0.00',
- ysxAllAmount: '0.00',
- rzzAllAmount: '0.00',
- yrzAllAmount: '0.00',
- yjjAllAmount: '0.00',
- yjsAllAmount: '0.00',
- ygqAllAmount: '0.00',
- klzAmount: '0.00',
- ysxAmount: '0.00',
- rzzAmount: '0.00',
- yrzAmount: '0.00',
- yjjAmount: '0.00',
- yjsAmount: '0.00',
- ygqAmount: '0.00',
- activeIndex: '',
- //当前登录企业Id
- companyId:'',
- // 遮罩层
- loading: true,
- // 选中数组
- ids: [],
- // 非单个禁用
- single: true,
- // 非多个禁用
- multiple: true,
- // 显示搜索条件
- showSearch: true,
- // 总条数
- total: 0,
- //待签收总条数
- totalSign:0,
- //融资中
- totalFinancing:0,
- //开立中
- totalOpening:0,
- //已融资
- totalFinanced:0,
- //已拒绝
- totalInvalid:0,
- //已结算
- totalSettlement:0,
- //已过期
- totalOverdue:0,
- // 弹出层标题
- title: "",
- // 是否显示弹出层
- open: false,
- openFlowDetail: false,
- //融资产品
- zfpTypeOptions: [],
- //融信类型
- typeOptions: [],
- //状态
- stateOptions:[],
- //平台审批状态
- platformOptions:[],
- //核心审批状态
- coreOptions:[],
- //供应商审批状态
- supplierOptions:[],
- //开始金额
- startAmt:undefined,
- //结束金额
- endAmt:undefined,
- //当前企业类型
- companyType:'',
- //筛选条件数据字典
- typesOptions: [],
- queryOptions: [],
- //审批
- hisTaskForm:false,
- histaskList:[],
- // 查询参数
- queryParams:{
- pageNum: 1,
- pageSize: 10,
- zfiNumber: null,
- zfiStatus:null,
- openCompany:null,
- receiveCompany:null,
- startAmt:null,
- endAmt:null,
- zfpName:null,
- zfiRate:null,
- zfiSignDate:[],
- zfiExpireDate:[],
- zfiTypes: '00',
- zfiQuery: null,
- zfiValue: null,
- },
- // 已生效查询参数
- queryParamsSign:{
- pageNum: 1,
- pageSize: 10,
- zfiNumber: null,
- zfiStatus:"02",
- openCompany:null,
- receiveCompany:null,
- startAmt:null,
- endAmt:null,
- zfpName:null,
- zfiRate:null,
- zfiSignDate:[],
- zfiExpireDate:[],
- zfiTypes: '00',
- zfiQuery: null,
- zfiValue: null,
- },
- //融资中查询参数
- queryParamsFinancing:{
- pageNum: 1,
- pageSize: 10,
- zfiNumber: null,
- zfiStatus:"04",
- openCompany:null,
- receiveCompany:null,
- startAmt:null,
- endAmt:null,
- zfpName:null,
- zfiRate:null,
- zfiSignDate:[],
- zfiExpireDate:[],
- zfiTypes: '00',
- zfiQuery: null,
- zfiValue: null,
- },
- //开立中查询参数
- queryParamsOpening:{
- pageNum: 1,
- pageSize: 10,
- zfiNumber: null,
- zfiStatus:"00,01,06",
- openCompany:null,
- receiveCompany:null,
- startAmt:null,
- endAmt:null,
- zfpName:null,
- zfiRate:null,
- zfiSignDate:[],
- zfiExpireDate:[],
- zfiTypes: '00',
- zfiQuery: null,
- zfiValue: null,
- },
- //已融资搜索
- queryParamsFinanced:{
- pageNum: 1,
- pageSize: 10,
- zfiNumber: null,
- zfiStatus:"05",
- openCompany:null,
- receiveCompany:null,
- startAmt:null,
- endAmt:null,
- zfpName:null,
- zfiRate:null,
- zfiSignDate:[],
- zfiExpireDate:[],
- zfiTypes: '00',
- zfiQuery: null,
- zfiValue: null,
- },
- //已拒绝
- queryParamsInvalid:{
- pageNum: 1,
- pageSize: 10,
- zfiNumber: null,
- zfiStatus:"03",
- openCompany:null,
- receiveCompany:null,
- startAmt:null,
- endAmt:null,
- zfpName:null,
- zfiRate:null,
- zfiSignDate:[],
- zfiExpireDate:[],
- zfiTypes: '00',
- zfiQuery: null,
- zfiValue: null,
- },
- //已结算
- queryParamsSettlement:{
- pageNum: 1,
- pageSize: 10,
- zfiNumber: null,
- zfiStatus:"08",
- openCompany:null,
- receiveCompany:null,
- startAmt:null,
- endAmt:null,
- zfpName:null,
- zfiRate:null,
- zfiSignDate:[],
- zfiExpireDate:[],
- zfiTypes: '00',
- zfiQuery: null,
- zfiValue: null,
- },
- //已过期
- queryParamsOverdue:{
- pageNum: 1,
- pageSize: 10,
- zfiNumber: null,
- zfiStatus:"07",
- openCompany:null,
- receiveCompany:null,
- startAmt:null,
- endAmt:null,
- zfpName:null,
- zfiRate:null,
- zfiSignDate:[],
- zfiExpireDate:[],
- zfiTypes: '00',
- zfiQuery: null,
- zfiValue: null,
- },
- //全部数据
- infList:[],
- //待签收
- infSignList:[],
- //融资中
- infFinancingList:[],
- //开立中
- infOpeningList:[],
- //已融资
- infFinancedList:[],
- //已拒绝
- infInvalidList:[],
- //已结算
- settlementList: [],
- //已过期
- overdueList:[],
- // 表单参数
- form: {
- },
- financeId: null,
- financeType: null,
- financeActive: 0
- };
- },
- created() {
- this.getDicts("zc_zfp_type").then(response => {
- this.zfpTypeOptions = response.data;
- });
- this.getDicts("zfi_create_type").then(response => {
- this.typeOptions = response.data;
- });
- this.getDicts("zc_finance_state").then(response => {
- this.stateOptions = response.data;
- });
- this.getDicts("finance_platform_status").then(response => {
- this.platformOptions = response.data;
- });
- this.getDicts("finance_core_status").then(response => {
- this.coreOptions = response.data;
- });
- this.getDicts("finance_supplier_status").then(response => {
- this.supplierOptions = response.data;
- });
- this.getDicts("zc_zfr_types").then((response) => {
- this.typesOptions = response.data;
- });
- this.getDicts("zc_zfi_query").then((response) => {
- this.queryOptions = response.data;
- });
-
- this.getUser();
- this.getList().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParams.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParams.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParams.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParams).then(response => {
- debugger
- this.allAmount = response.data.allAmount;
- this.klzAllAmount = response.data.klzAmount;
- this.ysxAllAmount = response.data.ysxAmount;
- this.rzzAllAmount = response.data.rzzAmount;
- this.yrzAllAmount = response.data.yrzAmount;
- this.yjjAllAmount = response.data.yjjAmount;
- this.yjsAllAmount = response.data.yjsAmount;
- this.ygqAllAmount = response.data.ygqAmount;
- })
- //this.listStatisticalAmount(this.queryParams);
- })
- this.getListSign().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsSign.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsSign.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsSign.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsSign).then(response => {
- this.ysxAmount = response.data.ysxAmount;
- })
- //this.listStatisticalAmount(this.queryParamsSign);
- })
- this.getListFinancing().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsFinancing.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsFinancing.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsFinancing.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsFinancing).then(response => {
- this.rzzAmount = response.data.rzzAmount;
- })
- //this.listStatisticalAmount(this.queryParamsFinancing);
- })
- this.getListOpening().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsOpening.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsOpening.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- }
- })
- listStatisticalAmount(this.queryParamsOpening).then(response => {
- this.klzAmount = response.data.klzAmount;
- })
- //this.listStatisticalAmount(this.queryParamsOpening);
- })
- this.getListFinanced().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsFinanced.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsFinanced.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsFinanced.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsFinanced).then(response => {
- this.yrzAmount = response.data.yrzAmount;
- })
- //this.listStatisticalAmount(this.queryParamsFinanced);
- })
- this.getListInvalid().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsInvalid.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsInvalid.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsInvalid.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsInvalid).then(response => {
- this.yjjAmount = response.data.yjjAmount;
- })
- //this.listStatisticalAmount(this.queryParamsInvalid);
- })
- this.getListSettlement().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsSettlement.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsSettlement.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsSettlement.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsSettlement).then(response => {
- this.yjsAmount = response.data.yjsAmount;
- })
- //this.listStatisticalAmount(this.queryParamsSettlement);
- })
- this.getListOverdue().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsOverdue.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsOverdue.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsOverdue.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsOverdue).then(response => {
- this.ygqAmount = response.data.ygqAmount;
- })
- //this.listStatisticalAmount(this.queryParamsOverdue);
- })
- },
- activated () {
- this.getDicts("zc_zfp_type").then(response => {
- this.zfpTypeOptions = response.data;
- });
- this.getDicts("zfi_create_type").then(response => {
- this.typeOptions = response.data;
- });
- this.getDicts("zc_finance_state").then(response => {
- this.stateOptions = response.data;
- });
- this.getDicts("finance_platform_status").then(response => {
- this.platformOptions = response.data;
- });
- this.getDicts("finance_core_status").then(response => {
- this.coreOptions = response.data;
- });
- this.getDicts("finance_supplier_status").then(response => {
- this.supplierOptions = response.data;
- });
- this.getUser();
- this.getList().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParams.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParams.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParams.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParams).then(response => {
- debugger
- this.allAmount = response.data.allAmount;
- this.klzAllAmount = response.data.klzAmount;
- this.ysxAllAmount = response.data.ysxAmount;
- this.rzzAllAmount = response.data.rzzAmount;
- this.yrzAllAmount = response.data.yrzAmount;
- this.yjjAllAmount = response.data.yjjAmount;
- this.yjsAllAmount = response.data.yjsAmount;
- this.ygqAllAmount = response.data.ygqAmount;
- })
- //this.listStatisticalAmount(this.queryParams);
- })
- this.getListSign().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsSign.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsSign.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsSign.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsSign).then(response => {
- this.ysxAmount = response.data.klzAmount;
- })
- //this.listStatisticalAmount(this.queryParamsSign);
- })
- this.getListFinancing().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsFinancing.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsFinancing.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsFinancing.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsFinancing).then(response => {
- this.rzzAmount = response.data.klzAmount;
- })
- //this.listStatisticalAmount(this.queryParamsFinancing);
- })
- this.getListOpening().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsOpening.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsOpening.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- }
- })
- listStatisticalAmount(this.queryParamsOpening).then(response => {
- this.klzAmount = response.data.klzAmount;
- })
- //this.listStatisticalAmount(this.queryParamsOpening);
- })
- this.getListFinanced().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsFinanced.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsFinanced.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsFinanced.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsFinanced).then(response => {
- this.yrzAmount = response.data.yrzAmount;
- })
- //this.listStatisticalAmount(this.queryParamsFinanced);
- })
- this.getListInvalid().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsInvalid.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsInvalid.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsInvalid.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsInvalid).then(response => {
- this.yjjAmount = response.data.yjjAmount;
- })
- //this.listStatisticalAmount(this.queryParamsInvalid);
- })
- this.getListSettlement().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsSettlement.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsSettlement.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsSettlement.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsSettlement).then(response => {
- this.yjsAmount = response.data.yjsAmount;
- })
-
- //this.listStatisticalAmount(this.queryParamsSettlement);
- })
- this.getListOverdue().then(() => {
- getUserProfile().then((response) => {
- if ("00" == response.data.companyType) {
- this.queryParamsOverdue.zfiQuery = '02';
- } else if ("01" == response.data.companyType) {
- this.queryParamsOverdue.zfiQuery = '01';
- } else if ("02" == response.data.companyType) {
- this.queryParamsOverdue.zfiQuery = '00';
- }
- })
- listStatisticalAmount(this.queryParamsOverdue).then(response => {
- this.ygqAmount = response.data.ygqAmount;
- })
- })
- },
- methods: {
- listStatisticalAmount(queryParamsMoney){
- // listStatisticalAmount(queryParamsMoney).then(response => {
- // debugger
- // this.allAmount = response.data.allAmount;
- // this.klzAmount = response.data.klzAmount;
- // this.ysxAmount = response.data.ysxAmount;
- // this.rzzAmount = response.data.rzzAmount;
- // this.yrzAmount = response.data.yrzAmount;
- // this.yjjAmount = response.data.yjjAmount;
- // this.yjsAmount = response.data.yjsAmount;
- // this.ygqAmount = response.data.ygqAmount;
- // })
- },
- //获取操作员Id
- getUser(){
- getUser().then(response => {
- debugger
- this.companyId = response.data;
- })
- },
- /** 查询全部列表 */
- getList() {
- this.loading = true;
- return listCredit(this.queryParams).then(response => {
- debugger
- this.infList = response.data.records;
- if(this.infList){
- if(this.infList.length > 0){
- //企业类型
- this.companyType = this.infList[0].companyType;
- }
- }
- this.total = response.data.total;
- this.loading = false;
- listStatisticalAmount(this.queryParams).then(response => {
- debugger
- this.allAmount = response.data.allAmount;
- this.klzAllAmount = response.data.klzAmount;
- this.ysxAllAmount = response.data.ysxAmount;
- this.rzzAllAmount = response.data.rzzAmount;
- this.yrzAllAmount = response.data.yrzAmount;
- this.yjjAllAmount = response.data.yjjAmount;
- this.yjsAllAmount = response.data.yjsAmount;
- this.ygqAllAmount = response.data.ygqAmount;
- })
- return Promise.resolve(response)
- }).catch((response) => {
- this.loading = false;
- return Promise.reject('error')
- })
-
- //this.listStatisticalAmount(this.queryParams);
- },
- //查询待签收
- getListSign() {
- this.loading = true;
- return listCredit(this.queryParamsSign).then(response => {
- this.infSignList = response.data.records;
- this.totalSign = response.data.total;
- this.loading = false;
- listStatisticalAmount(this.queryParams).then(response => {
- this.ysxAmount = response.data.ysxAmount;
- })
- return Promise.resolve(response)
- }).catch((response) => {
- this.loading = false;
- return Promise.reject('error')
- });
-
- },
- //融资中
- getListFinancing() {
- this.loading = true;
- return listCredit(this.queryParamsFinancing).then(response => {
- this.infFinancingList = response.data.records;
- this.totalFinancing = response.data.total;
- this.loading = false;
- return Promise.resolve(response)
- listStatisticalAmount(this.queryParamsFinancing).then(response => {
- this.rzzAmount = response.data.rzzAmount;
- })
- }).catch((response) => {
- this.loading = false;
- return Promise.reject('error')
- });
-
- },
- //开立中
- getListOpening(){
- this.loading = true;
- return listCredit(this.queryParamsOpening).then(response => {
- this.infOpeningList = response.data.records;
- this.totalOpening = response.data.total;
- this.loading = false;
- listStatisticalAmount(this.queryParamsOpening).then(response => {
- this.klzAmount = response.data.klzAmount;
- })
- return Promise.resolve(response)
- }).catch((response) => {
- this.loading = false;
- return Promise.reject('error')
- });
-
- },
- //已融资
- getListFinanced() {
- this.loading = true;
- return listCredit(this.queryParamsFinanced).then(response => {
- this.infFinancedList = response.data.records;
- this.totalFinanced = response.data.total;
- this.loading = false;
- listStatisticalAmount(this.queryParamsFinanced).then(response => {
- this.yrzAmount = response.data.yrzAmount;
- })
- return Promise.resolve(response)
- }).catch((response) => {
- this.loading = false;
- return Promise.reject('error')
- });
-
- },
- //已拒绝
- getListInvalid(){
- this.loading = true;
- return listCredit(this.queryParamsInvalid).then(response => {
- this.infInvalidList = response.data.records;
- this.totalInvalid = response.data.total;
- this.loading = false;
- listStatisticalAmount(this.queryParamsInvalid).then(response => {
- this.yjjAmount = response.data.yjjAmount;
- })
- return Promise.resolve(response)
- }).catch((response) => {
- this.loading = false;
- return Promise.reject('error')
- });
-
- },
- //已结算
- getListSettlement(){
- this.loading = true;
- return listCredit(this.queryParamsSettlement).then(response => {
- this.settlementList = response.data.records;
- this.totalInvalid = response.data.total;
- this.loading = false;
- listStatisticalAmount(this.queryParamsSettlement).then(response => {
- this.yjsAmount = response.data.yjsAmount;
- })
- return Promise.resolve(response)
- }).catch((response) => {
- this.loading = false;
- return Promise.reject('error')
- });
-
- },
- //已过期
- getListOverdue(){
- this.loading = true;
- return listCredit(this.queryParamsOverdue).then(response => {
- this.overdueList = response.data.records;
- this.totalOverdue = response.data.total;
- this.loading = false;
- listStatisticalAmount(this.queryParamsOverdue).then(response => {
- this.ygqAmount = response.data.ygqAmount;
- })
- return Promise.resolve(response)
- }).catch((response) => {
- this.loading = false;
- return Promise.reject('error')
- });
-
- },
- // 表单重置
- reset() {
- this.form = {
- zfiNumber: null,
- zfiStatus:null,
- openCompany:null,
- receiveCompany:null,
- zfpName:null,
- zfiRate:null,
- zfiSignDate:[],
- zfiExpireDate:[],
- zfiCollectionAccount:null,
- zfiAmount:''
- };
- this.queryParams.startAmt = '';
- this.queryParams.endAmt = '';
- this.queryParamsSign.startAmt = '';
- this.queryParamsSign.endAmt = '';
- this.queryParamsFinancing.startAmt = '';
- this.queryParamsFinancing.endAmt = '';
- this.queryParamsOpening.startAmt = '';
- this.queryParamsOpening.endAmt = '';
- this.queryParamsFinanced.startAmt = '';
- this.queryParamsFinanced.endAmt = '';
- this.queryParamsInvalid.startAmt = '';
- this.queryParamsInvalid.endAmt = '';
- this.queryParamsSettlement.startAmt = '';
- this.queryParamsSettlement.endAmt = '';
- this.resetForm("form");
- },
- // 多选框选中数据
- handleSelectionChange(selection) {
- this.ids = selection.map(item => item.cifId)
- this.single = selection.length!==1
- this.multiple = !selection.length
- },
- /** 全部搜索按钮操作 */
- handleQuery() {
- this.queryParams.pageNum = 1;
- this.getList();
- },
- //待签收搜索
- handleQuerySign() {
- this.queryParamsSign.pageNum = 1;
- this.getListSign();
- },
- //融资中搜索
- handleQueryFinancing() {
- this.queryParamsFinancing.pageNum = 1;
- this.getListFinancing();
- },
- //开立中搜索
- handleQueryOpening() {
- this.queryParamsOpening.pageNum = 1;
- this.getListOpening();
- },
- //已融资搜索
- handleQueryFinanced() {
- this.queryParamsFinanced.pageNum = 1;
- this.getListFinanced();
- },
- //已拒绝搜索
- handleQueryInvalid() {
- this.queryParamsInvalid.pageNum = 1;
- this.getListInvalid();
- },
- //已结算搜索
- handleQuerySettlement() {
- this.queryParamsSettlement.pageNum = 1;
- this.getListSettlement();
- },
- //已过期搜索
- handleQueryOverdue() {
- this.queryParamsOverdue.pageNum = 1;
- this.getListOverdue();
- },
- /** 全部重置按钮操作 */
- resetQuery() {
- this.queryParams.startAmt = '';
- this.queryParams.endAmt = '';
- this.resetForm("queryForm");
- this.handleQuery();
- },
- //待签收重置
- resetQuerySign() {
- this.queryParamsSign.startAmt = '';
- this.queryParamsSign.endAmt = '';
- this.resetForm("queryFormSign");
- this.handleQuerySign();
- },
- //融资中重置
- resetQueryFinancing() {
- this.queryParamsFinancing.startAmt = '';
- this.queryParamsFinancing.endAmt = '';
- this.resetForm("queryFormFinancing");
- this.handleQueryFinancing();
- },
- //开立中重置
- resetQueryOpening() {
- this.queryParamsOpening.startAmt = '';
- this.queryParamsOpening.endAmt = '';
- this.resetForm("queryFormOpening");
- this.handleQueryOpening();
- },
- //已融资重置
- resetQueryFinanced() {
- this.queryParamsFinanced.startAmt = '';
- this.queryParamsFinanced.endAmt = '';
- this.resetForm("queryFormFinanced");
- this.handleQueryFinanced();
- },
- //已失效重置
- resetQueryInvalid() {
- this.queryParamsInvalid.startAmt = '';
- this.queryParamsInvalid.endAmt = '';
- this.resetForm("queryFormInvalid");
- this.handleQueryInvalid();
- },
- //已结算重置
- resetQuerySettlement() {
- this.queryParamsSettlement.startAmt = '';
- this.queryParamsSettlement.endAmt = '';
- this.resetForm("queryFormSettlement");
- this.handleQuerySettlement();
- },
- //已过期重置
- resetQueryOverdue() {
- this.queryParamsOverdue.startAmt = '';
- this.queryParamsOverdue.endAmt = '';
- this.resetForm("queryFormOverdue");
- this.handleQueryOverdue();
- },
- /** 新增按钮操作 */
- handleAdd() {
- this.reset();
- this.resetForm("queryForm");
- this.resetForm("queryFormSign");
- this.resetForm("queryFormFinancing");
- this.resetForm("queryFormOpening");
- this.resetForm("queryFormFinanced");
- this.resetForm("queryFormInvalid");
- this.resetForm("queryFormSettlement");
- this.resetForm("queryFormOverdue");
- Cookies.set("/credit/addCredit/", this.$route.fullPath);
- this.$router.push({ path: "/credit/addCredit/" });
- },
- //详情
- handleDetail(row){
- const zfiId = row.zfiId || this.ids
- this.resetForm("queryForm");
- this.resetForm("queryFormSign");
- this.resetForm("queryFormFinancing");
- this.resetForm("queryFormOpening");
- this.resetForm("queryFormFinanced");
- this.resetForm("queryFormInvalid");
- this.resetForm("queryFormSettlement");
- this.resetForm("queryFormOverdue");
- Cookies.set("/credit/creditDetail/"+zfiId + "/", this.$route.fullPath)
- this.$router.push({ path: "/credit/creditDetail/"+zfiId + "/" });
- },
- //修改
- handleUpdate(row){
- const zfiId = row.zfiId || this.ids;
- //获取融信类型
- const zfiCreateType = row.zfiCreateType;
- this.resetForm("queryForm");
- this.resetForm("queryFormSign");
- this.resetForm("queryFormFinancing");
- this.resetForm("queryFormOpening");
- this.resetForm("queryFormFinanced");
- this.resetForm("queryFormInvalid");
- this.resetForm("queryFormSettlement");
- this.resetForm("queryFormOverdue");
- //核心开立
- if(zfiCreateType == '1'){
- Cookies.set("/credit/creditUpdate/"+zfiId + "/", this.$route.fullPath)
- this.$router.push({ path: "/credit/creditUpdate/"+zfiId + "/" });
- }else if(zfiCreateType == '2'){
- Cookies.set("/credit/financeOpenUpdate/"+zfiId + "/", this.$route.fullPath)
- this.$router.push({ path: "/credit/financeOpenUpdate/"+zfiId + "/" });
- }else if(zfiCreateType == '0'){
- Cookies.set("/credit/applyCreditEdit/"+zfiId + "/", this.$route.fullPath)
- this.$router.push({ path: "/credit/applyCreditEdit/"+zfiId + "/" });
- }
-
- },
- //确权审核
- handleApprove(row){
- //判断审批是否审批中
- if(row.zfiCoreStatus == "00"){
- this.$message({
- message: "请内部审批通过后,再确权",
- type: 'warning'
- });
- return false;
- }
- //查询当前用户是否为经办人
- listCompanyHandler().then((response) => {
- if(false == response.data){
- this.$message({
- message: "此操作需经办人权限,请确认您是否是经办人",
- type: 'warning'
- });
- return false;
- }else{
- const zfiId = row.zfiId || this.ids
- this.resetForm("queryForm");
- this.resetForm("queryFormSign");
- this.resetForm("queryFormFinancing");
- this.resetForm("queryFormOpening");
- this.resetForm("queryFormFinanced");
- this.resetForm("queryFormInvalid");
- this.resetForm("queryFormSettlement");
- this.resetForm("queryFormOverdue");
- Cookies.set("/credit/confirmationAudit/"+zfiId + "/", this.$route.fullPath)
- this.$router.push({ path: "/credit/confirmationAudit/"+zfiId + "/" });
- }
- });
-
- },
- //补充资料
- handleAddInformation(row){
- //判断审批是否审批中
- if(row.zfiSupplierStatus == "00"){
- this.$message({
- message: "请内部审批通过后,再签收",
- type: 'warning'
- });
- return false;
- }
- //查询有无平台审批
- var platParam = {};
- platParam.menuId = "1000000004";
- isOpenApproval(platParam).then((response) => {
- var platResult = response.data.isOpen;
- //开启平台审批
- if (platResult == true) {
- if(row.zfiPlatformStatus == '00'){
- this.$message({
- message: "平台正在审核资料,平台审核时间为工作日:9:00—18:00;单日16:00之前提交资料,预计2小时内完成,请平台审批通过后,再次签署",
- type: 'warning'
- });
- return false;
- }
- }
- })
- //查询当前用户是否为经办人
- listCompanyHandler().then((response) => {
- if(false == response.data){
- this.$message({
- message: "此操作需经办人权限,请确认您是否是经办人",
- type: 'warning'
- });
- return false;
- }else{
- const zfiId = row.zfiId || this.ids
- this.resetForm("queryForm");
- this.resetForm("queryFormSign");
- this.resetForm("queryFormFinancing");
- this.resetForm("queryFormOpening");
- this.resetForm("queryFormFinanced");
- this.resetForm("queryFormInvalid");
- this.resetForm("queryFormSettlement");
- this.resetForm("queryFormOverdue");
- Cookies.set("/credit/addInformation/"+zfiId + "/", this.$route.fullPath)
- this.$router.push({ path: "/credit/addInformation/"+zfiId + "/" });
- }
- });
-
- },
- //签收
- handleSignFor(row){
- //判断审批是否审批中
- if(row.zfiSupplierStatus == "00"){
- this.$message({
- message: "请内部审批通过后,再签收",
- type: 'warning'
- });
- return false;
- }
- //查询当前用户是否为经办人
- listCompanyHandler().then((response) => {
- if(false == response.data){
- this.$message({
- message: "此操作需经办人权限,请确认您是否是经办人",
- type: 'warning'
- });
- return false;
- }else{
- const zfiId = row.zfiId || this.ids
- this.resetForm("queryForm");
- this.resetForm("queryFormSign");
- this.resetForm("queryFormFinancing");
- this.resetForm("queryFormOpening");
- this.resetForm("queryFormFinanced");
- this.resetForm("queryFormInvalid");
- this.resetForm("queryFormSettlement");
- this.resetForm("queryFormOverdue");
- Cookies.set("/credit/signFor/"+zfiId + "/", this.$route.fullPath)
- this.$router.push({ path: "/credit/signFor/"+zfiId + "/" });
- }
- });
-
- },
- //去融资
- handleGoFinance(row){
- const zfiId = row.zfiId || this.ids
- this.resetForm("queryForm");
- this.resetForm("queryFormSign");
- this.resetForm("queryFormFinancing");
- this.resetForm("queryFormOpening");
- this.resetForm("queryFormFinanced");
- this.resetForm("queryFormInvalid");
- this.resetForm("queryFormSettlement");
- this.resetForm("queryFormOverdue");
- Cookies.set("/credit/goFinance/"+zfiId + "/", this.$route.fullPath)
- this.$router.push({ path: "/credit/goFinance/"+zfiId + "/" });
- },
- //盖章
- seal(row){
- //获取融信类型
- if(row.zfiCreateType == '1'){//核心开立
- if(row.zfiCoreStatus != "01"){
- this.$message({
- message: "请内部审批通过后,再点击开立融信",
- type: 'warning'
- });
- return false;
- }
- }else if(row.zfiCreateType == '2'){//供应商开立
- if(row.zfiSupplierStatus != "01"){
- this.$message({
- message: "请内部审批通过后,再点击融信开立",
- type: 'warning'
- });
- return false;
- }else if(row.zfiPlatformStatus != "01"){
- this.$message({
- message: "融信资料已提交平台审核,平台审核时间为工作日:9:00—18:00;单日16:00之前提交资料,预计2小时内完成,请留意站内信息",
- type: 'warning'
- });
- return false;
- }
- }
- //查询当前用户是否为经办人
- listCompanyHandler().then((response) => {
- if(false == response.data){
- this.$message({
- message: "此操作需经办人权限,请确认您是否是经办人",
- type: 'warning'
- });
- return false;
- }else{
- const zfiId = row.zfiId || this.ids
- this.resetForm("queryForm");
- this.resetForm("queryFormSign");
- this.resetForm("queryFormFinancing");
- this.resetForm("queryFormOpening");
- this.resetForm("queryFormFinanced");
- this.resetForm("queryFormInvalid");
- this.resetForm("queryFormSettlement");
- this.resetForm("queryFormOverdue");
- Cookies.set("/credit/creditSeal/"+zfiId + "/", this.$route.fullPath)
- this.$router.push({ path: "/credit/creditSeal/"+zfiId + "/" });
- }
- });
-
- },
- /**核心开立审批按钮操作*/
- handleExam(row){
- this.$confirm("是否确认提交开立审批?", "警告", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning"
- }).then(function() {
- return coreApproval(row);
- }).then(() => {
- this.getList();
- this.getListSign();
- this.getListFinancing();
- this.getListOpening();
- this.getListFinanced();
- this.getListInvalid();
- this.getListSettlement();
- this.getListOverdue();
- this.msgSuccess("提交审批成功");
- }).catch(() => {
- this.$message({
- type: "warning",
- message: "已取消提交审批",
- });
- });
- },
- //确权审批
- handleConfirmationExam(row){
- this.$confirm("是否确认提交确权审批?", "警告", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning"
- }).then(function() {
- return confirmationApproval(row);
- }).then(() => {
- this.getList();
- this.getListSign();
- this.getListFinancing();
- this.getListOpening();
- this.getListFinanced();
- this.getListInvalid();
- this.getListSettlement();
- this.getListOverdue();
- this.msgSuccess("提交审批成功");
- }).catch(() => {
- this.$message({
- type: "warning",
- message: "已取消提交审批",
- });
- });
- },
- //融资申请提交审批按钮
- handleApproval(row) {
- const zfiNumber = row.zfiNumber;
- this.$confirm(
- '是否确认提交审批融信编号为"' + zfiNumber + '"的数据项?',
- "警告",
- {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning"
- }
- )
- .then(function() {
- //提交审批
- return approval(row);
- })
- .then(() => {
- this.getList();
- this.getListSign();
- this.getListFinancing();
- this.getListOpening();
- this.getListFinanced();
- this.getListInvalid();
- this.getListSettlement();
- this.getListOverdue();
- this.msgSuccess("提交审批成功");
- })
- .catch(() => {
- this.$message({
- type: "warning",
- message: "已取消提交审批"
- });
- });
- },
- //融资开立提交审批按钮
- openApproval(row) {
- const zfiNumber = row.zfiNumber;
- this.$confirm(
- '是否确认提交审批融信编号为"' + zfiNumber + '"的数据项?',
- "警告",
- {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning"
- }
- )
- .then(function() {
- //提交审批
- return openApproval(row);
- })
- .then(() => {
- this.getList();
- this.getListSign();
- this.getListFinancing();
- this.getListOpening();
- this.getListFinanced();
- this.getListInvalid();
- this.getListSettlement();
- this.getListOverdue();
- this.msgSuccess("提交审批成功");
- })
- .catch(() => {
- this.$message({
- type: "warning",
- message: "已取消提交审批"
- });
- });
- },
- //补充资料提交审批
- handleApprovals(row){
- const zfiNumber = row.zfiNumber;
- this.$confirm('是否确认提交审批融信编号为"' + zfiNumber + '"的数据项?', "警告",{
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning"
- }).then(function() {
- return informationApproval(row);
- }).then(() => {
- this.getList();
- this.getListSign();
- this.getListFinancing();
- this.getListOpening();
- this.getListFinanced();
- this.getListInvalid();
- this.getListSettlement();
- this.getListOverdue();
- this.msgSuccess("提交审批成功");
- })
- .catch(() => {
- this.$message({
- type: "warning",
- message: "已取消提交审批",
-
- });
- });
- },
- //格式化融资产品方向
- zfpTypeFormat(row, column) {
- return this.selectDictLabel(this.zfpTypeOptions, row.zfpType);
- },
- //格式化类型
- typeFormat(row, column) {
- return this.selectDictLabel(this.typeOptions, row.zfiCreateType);
- },
- //格式化状态
- stateFormat(row, column) {
- return this.selectDictLabel(this.stateOptions, row.zfiStatus);
- },
- //格式化平台审批状态
- platformStatusFormat(row, column) {
- return this.selectDictLabel(this.platformOptions, row.zfiPlatformStatus);
- },
- //格式化核心审批
- coreStatusFormat(row, column) {
- return this.selectDictLabel(this.coreOptions, row.zfiCoreStatus);
- },
- //格式化融资方审批
- supplierStatusFormat(row, column) {
- return this.selectDictLabel(this.supplierOptions, row.zfiSupplierStatus);
- },
- //融资开立
- finanOpening(){
- this.reset();
- this.resetForm("queryForm");
- this.resetForm("queryFormSign");
- this.resetForm("queryFormFinancing");
- this.resetForm("queryFormOpening");
- this.resetForm("queryFormFinanced");
- this.resetForm("queryFormInvalid");
- this.resetForm("queryFormSettlement");
- this.resetForm("queryFormOverdue");
- Cookies.set("/credit/financeOpen/", this.$route.fullPath);
- this.$router.push({ path: "/credit/financeOpen/" });
- },
- //融资申请
- apply(){
- this.reset();
- this.resetForm("queryForm");
- this.resetForm("queryFormSign");
- this.resetForm("queryFormFinancing");
- this.resetForm("queryFormOpening");
- this.resetForm("queryFormFinanced");
- this.resetForm("queryFormInvalid");
- this.resetForm("queryFormSettlement");
- this.resetForm("queryFormOverdue");
- Cookies.set("/credit/creditApply/", this.$route.fullPath);
- this.$router.push({ path: "/credit/creditApply/" });
- },
- //拒签
- handleRefuse(row){
- //查询当前用户是否为经办人
- listCompanyHandler().then((response) => {
- if(false == response.data){
- this.$message({
- message: "此操作需经办人权限,请确认您是否是经办人",
- type: 'warning'
- });
- return false;
- }else{
- const zfiNumber = row.zfiNumber ;
- this.$confirm('是否拒签融信编号为"' + zfiNumber + '"的数据项?', "警告",{
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning"
- }).then(function() {
- //拒签
- return creditRefuse(row);
- }).then(() => {
- this.getList();
- this.getListSign();
- this.getListFinancing();
- this.getListOpening();
- this.getListFinanced();
- this.getListInvalid();
- this.getListSettlement();
- this.getListOverdue();
- this.msgSuccess("拒签成功");
- })
- .catch(() => {
- this.$message({
- type: "warning",
- message: "已取消",
-
- });
- });
- }
- });
- },
- //删除
- handleDelete(row){
- const zfiNumber = row.zfiNumber ;
- this.$confirm('是否删除融信编号为"' + zfiNumber + '"的数据项?', "警告",{
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning"
- }).then(function() {
- //删除
- return creditDel(row);
- }).then(() => {
- this.getList();
- this.getListSign();
- this.getListFinancing();
- this.getListOpening();
- this.getListFinanced();
- this.getListInvalid();
- this.getListSettlement();
- this.getListOverdue();
- this.msgSuccess("删除成功");
- })
- .catch(() => {
- this.$message({
- type: "warning",
- message: "已取消",
-
- });
- });
- },
- //列表格式化金额
- moneyFormat(row, column, cellValue) {
- if(cellValue == null || cellValue== undefined || cellValue == ''){
- cellValue = '0.00'
- }
- cellValue += '';
- if (!cellValue.includes('.')) {
- cellValue += '.00';
- }
- return cellValue.replace(/(\d)(?=(\d{3})+\.)/g, function ($0, $1) {
- return $1 + ',';
- }).replace(/\.$/, '');
- },
- //input格式化金额
- amtFormat(cellValue) {
- if(cellValue == null || cellValue== undefined || cellValue == ''){
- cellValue = '0.00'
- }
- cellValue += '';
- if (!cellValue.includes('.')) {
- cellValue += '.00';
- }
- console.log(cellValue);
- return cellValue.replace(/(\d)(?=(\d{3})+\.)/g, function ($0, $1) {
- return $1 + ',';
- }).replace(/\.$/, '');
- },
- //作废
- refuse(row){
- let form = {};
- form.zfiId = row.zfiId;
- this.$confirm('该笔融信将作废', "作废", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning"
- }).then(function() {
- return sealRefuse(form);
- }).then(() => {
- this.getList();
- this.getListSign();
- this.getListFinancing();
- this.getListOpening();
- this.getListFinanced();
- this.getListInvalid();
- this.getListSettlement();
- this.getListOverdue();
- this.msgSuccess("作废成功");
- }).catch(() => {
- this.$message({
- type: "warning",
- message: "作废已取消",
- });
- });
- },
- //查看流程
- handleFlowable(row){
- const zfiId = row.zfiId
- const zfiCreateType = row.zfiCreateType
- const zfiStatus = row.zfiStatus
- const zfiCoreStatus = row.zfiCoreStatus
- const zfiPlatformStatus = row.zfiPlatformStatus
- const zfiSupplierStatus = row.zfiSupplierStatus
- console.log(zfiStatus)
- var active = 0
- //融资企业
- if(this.companyType == '02'){
- //审批中||拒绝
- if(row.zfiSupplierStatus == '00' || row.zfiSupplierStatus == '02'){
- this.hisTaskForm = true;
- approvalProcess(row).then((response) => {
- this.histaskList = response.data;
- })
- }else{
- if(zfiCreateType == '0'){
- if(zfiStatus == '01' || !zfiStatus){
- active = 1
- }else if(zfiStatus == '00'){
- active = 2
- }else if(zfiStatus == '01'){
- active = 3
- }else if(zfiStatus == '02'){
- active = 4
- }
- }else if(zfiCreateType == '1'){
- if(zfiStatus == '01'){
- active = 1
- }else if(zfiCoreStatus == '01' && zfiStatus == '01' || zfiCoreStatus == '01' && zfiStatus == '06'){
- active = 2
- }else if(zfiStatus == '01' && zfiPlatformStatus == '01'){
- active = 3
- }else if(zfiStatus == '02'){
- active = 4
- }
- }else if(zfiCreateType == '2'){
- if(zfiSupplierStatus == '01' && !zfiStatus){
- active = 1
- }else if(zfiPlatformStatus == '01' && !zfiStatus){
- active = 2
- }else if(zfiStatus == '02'){
- active = 3
- }
- }
- this.openFlowDetail = true
- this.financeId = zfiId
- this.financeType = zfiCreateType
- this.financeActive = active
- }
- }else if(this.companyType == '01'){//核心企业
- //审批中||拒绝
- if(row.zfiCoreStatus == '00' || row.zfiCoreStatus == '02'){
- this.hisTaskForm = true;
- approvalProcess(row).then((response) => {
- this.histaskList = response.data;
- })
- }else{
- if(zfiCreateType == '0'){
- if(zfiStatus == '01' || !zfiStatus){
- active = 1
- }else if(zfiStatus == '00'){
- active = 2
- }else if(zfiStatus == '01'){
- active = 3
- }else if(zfiStatus == '02'){
- active = 4
- }
- }else if(zfiCreateType == '1'){
- if(zfiStatus == '01'){
- active = 1
- }else if(zfiCoreStatus == '01' && zfiStatus == '01' || zfiCoreStatus == '01' && zfiStatus == '06'){
- active = 2
- }else if(zfiStatus == '01' && zfiPlatformStatus == '01'){
- active = 3
- }else if(zfiStatus == '02'){
- active = 4
- }
- }else if(zfiCreateType == '2'){
- if(zfiSupplierStatus == '01' && !zfiStatus){
- active = 1
- }else if(zfiPlatformStatus == '01' && !zfiStatus){
- active = 2
- }else if(zfiStatus == '02'){
- active = 3
- }
- }
- this.openFlowDetail = true
- this.financeId = zfiId
- this.financeType = zfiCreateType
- this.financeActive = active
- }
- }else{//其他类型企业看主流程
- if(zfiCreateType == '0'){
- if(zfiStatus == '01' || !zfiStatus){
- active = 1
- }else if(zfiStatus == '00'){
- active = 2
- }else if(zfiStatus == '01'){
- active = 3
- }else if(zfiStatus == '02'){
- active = 4
- }
- }else if(zfiCreateType == '1'){
- if(zfiStatus == '01'){
- active = 1
- }else if(zfiCoreStatus == '01' && zfiStatus == '01' || zfiCoreStatus == '01' && zfiStatus == '06'){
- active = 2
- }else if(zfiStatus == '01' && zfiPlatformStatus == '01'){
- active = 3
- }else if(zfiStatus == '02'){
- active = 4
- }
- }else if(zfiCreateType == '2'){
- if(zfiSupplierStatus == '01' && !zfiStatus){
- active = 1
- }else if(zfiPlatformStatus == '01' && !zfiStatus){
- active = 2
- }else if(zfiStatus == '02'){
- active = 3
- }
- }
- this.openFlowDetail = true
- this.financeId = zfiId
- this.financeType = zfiCreateType
- this.financeActive = active
- }
-
-
- },
- //关闭流程
- closeFliwDetail(){
- this.openFlowDetail = false
- }
-
- }
- };
- </script>
- <style lang="scss" scoped>
- .zap-table-search{
- padding-top: 12px;
- background-color: #ffffff;
- }
- .zap-table-search__form{
- padding: 25px 25px 0;
- ::v-deep .el-form-item--medium.el-form-item{
- margin-bottom: 25px;
- }
- ::v-deep .el-form-item__label {
- line-height: 40px;
- font-size: 14px;
- color: #333333;
- }
- ::v-deep .el-range-editor--small.el-input__inner,
- ::v-deep .el-input--small .el-input__inner{
- height: 40px;
- line-height: 40px;
- }
- }
- .zap-credit__content{
- position: relative;
- padding: 0 13px;
- background-color: #ffffff;
- }
- ::v-deep .el-tabs__item{
- width: 105px;
- height: 55px;
- padding: 0;
- line-height: 55px;
- text-align: center;
- font-size: 16px;
- }
- .zap-credit__tabs{
- position: relative;
- }
- .zap-credit__buttons{
- // position: absolute; 此属性导致按钮无法点击
- top: 0;
- right: 13px;
- display: flex;
- align-items: center;
- height: 55px;
- }
- </style>
|