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