1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992 |
- <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="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 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="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='300' 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="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="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="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='300' 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="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"
- />
- </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="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='300' 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="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"
- />
- </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="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='300' 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="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"
- />
- </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="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='300' 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="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"
- />
- </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="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='300' 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="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"
- />
- </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-tabs>
- </div>
- </el-col>
- </el-row>
- </div>
-
- </template>
- <script>
- import { listCredit, coreApproval, confirmationApproval, informationApproval,approval,openApproval, getUser } from "@/api/service/credit/credit";
- import {creditRefuse,creditDel} from "@/api/service/credit/creditHandle";
- import Editor from '@/components/Editor';
- import {listCompanyHandler} from "@/api/common/companyHandler";
- import FlowDetail from "@/views/service/credit/flowDetail";
- import Cookies from 'js-cookie';
- import { getUserProfile} from "@/api/system/user";
- export default {
- name: "invoice",
- components: {
- Editor,
- FlowDetail
- },
- data() {
- return {
- activeIndex: '',
- //当前登录企业Id
- companyId:'',
- // 遮罩层
- loading: true,
- // 选中数组
- ids: [],
- // 非单个禁用
- single: true,
- // 非多个禁用
- multiple: true,
- // 显示搜索条件
- showSearch: true,
- // 总条数
- total: 0,
- //待签收总条数
- totalSign:0,
- //融资中
- totalFinancing:0,
- //开立中
- totalOpening:0,
- //已融资
- totalFinanced:0,
- //已失效
- totalInvalid:0,
- // 弹出层标题
- title: "",
- // 是否显示弹出层
- open: false,
- openFlowDetail: false,
- //融信类型
- typeOptions: [],
- //状态
- stateOptions:[],
- //平台审批状态
- platformOptions:[],
- //核心审批状态
- coreOptions:[],
- //供应商审批状态
- supplierOptions:[],
- //开始金额
- startAmt:undefined,
- //结束金额
- endAmt:undefined,
- //当前企业类型
- companyType:'',
- //筛选条件数据字典
- typesOptions: [],
- queryOptions: [],
- // 查询参数
- 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,07,08",
- 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:[],
- // 表单参数
- form: {
- },
- financeId: null,
- financeType: null,
- financeActive: 0
- };
- },
- created() {
- 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';
- d
- } else if ("02" == response.data.companyType) {
- this.queryParams.zfiQuery = '00';
- }
- })
- })
- 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';
- }
- })
- })
- 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';
- }
- })
- })
- 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) {
- }
- })
- })
- 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';
- }
- })
- })
- 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';
- }
- })
- })
- },
- activated () {
- 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';
- d
- } else if ("02" == response.data.companyType) {
- this.queryParams.zfiQuery = '00';
- }
- })
- })
- 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';
- }
- })
- })
- 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';
- }
- })
- })
- 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) {
- }
- })
- })
- 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';
- }
- })
- })
- 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';
- }
- })
- })
- },
- methods: {
- //获取操作员Id
- getUser(){
- getUser().then(response => {
- debugger
- this.companyId = response.data;
- })
- },
- /** 查询全部列表 */
- getList() {
- this.loading = true;
- return listCredit(this.queryParams).then(response => {
- 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;
- return Promise.resolve(response)
- }).catch((response) => {
- this.loading = false;
- return Promise.reject('error')
- });
- },
- //查询待签收
- getListSign() {
- this.loading = true;
- return listCredit(this.queryParamsSign).then(response => {
- this.infSignList = response.data.records;
- this.totalSign = response.data.total;
- this.loading = false;
- 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)
- }).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;
- 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;
- 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;
- 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.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();
- },
- /** 全部重置按钮操作 */
- 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();
- },
- /** 新增按钮操作 */
- handleAdd() {
- this.reset();
- this.resetForm("queryForm");
- this.resetForm("queryFormSign");
- this.resetForm("queryFormFinancing");
- this.resetForm("queryFormOpening");
- this.resetForm("queryFormFinanced");
- this.resetForm("queryFormInvalid");
- 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");
- 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");
- //核心开立
- 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");
- 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;
- }
- 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");
- 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");
- 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");
- 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");
- 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.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.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.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.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.msgSuccess("提交审批成功");
- })
- .catch(() => {
- this.$message({
- type: "warning",
- message: "已取消提交审批",
-
- });
- });
- },
- //格式化类型
- 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");
- 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");
- 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.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.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(/\.$/, '');
- },
- //查看流程
- 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(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>
|