1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220 |
- <template>
- <view class="addbox" :style="'padding-top:'+listTop+'rpx;'">
- <!-- 步骤条 -->
- <view class="navtop">
- <uni-nav-bar color="#ffffff" leftWidth="160rpx" rightWidth="160rpx" title="业务申报" :background-color="actcolor" :border="false"
- statusBar='true'>
- <block slot="left">
- <view class="topl" v-if="ftype" @click="getBack">
- <image class="backimg" :src="backimg" ></image>
- </view>
- <cover-view class="topl" v-else @click="getBack">
- <cover-image class="backimg" :src="backimg" @click.stop="getBack"></cover-image>
- </cover-view>
- </block>
- <!-- #ifndef MP-WEIXIN -->
- <block slot="right">
- <view class="edit" v-if="ftype" @click="getGiveupFn">
- <image :src="feditimg"></image>
- 放弃编辑
- </view>
- <cover-view class="edit" v-else @click="getGiveupFn">
- <cover-image :src="feditimg" @click.stop="getGiveupFn" class="img"></cover-image>
- <cover-view @click.stop="getGiveupFn" class="txt">放弃编辑</cover-view>
- </cover-view>
- </block>
- <!-- #endif -->
-
- </uni-nav-bar>
- <!-- 头部 -->
- <step-bar :steps="steps" :fixeda='false' :stepval="stepval"></step-bar>
- </view>
- <uni-forms ref="form" :model="datainfo" :rules="rules">
- <view class="bgf plr12 mt12">
- <uni-forms-item label="项目编号" name="loanApplicationNumber">
- <view class="lbtabp">
- <view :class="datainfo.loanApplicationNumber?'':'coa'">{{datainfo.loanApplicationNumber}}</view>
- </view>
- </uni-forms-item>
- </view>
- <!-- 企业信息 -->
- <view v-show="stepval==1">
- <!-- 企业信息 -->
- <view class="addtit mt3"><text>*</text>企业信息</view>
- <view class="bgf plr12">
- <picker range-key='label' :value="qyidx" :range="qylist" class="isborder" @change='bindDateChangea'>
- <uni-forms-item label="企业名称" name="enterpriseName">
- <view class="lbtabp">
- <view class="chtit" :class="datainfo.enterpriseName?'':'coa'">{{datainfo.enterpriseName||"请选择已添加的企业"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker>
- <uni-forms-item label="行业类型" name="categoryType">
- <view class="lbtabp" @click="getTalbFn">
- <view :class="datainfo.categoryType?'':'coa'">{{datainfo.categoryType||"请选择行业类型"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- <uni-forms-item label="是否是制造业" name="isMake">
- <view class="checkbox">
- <uni-data-checkbox :selectedColor="actcolor" selectedTextColor='#222327' v-model="datainfo.isMake" :localdata="sfList" />
- </view>
- </uni-forms-item>
- <uni-forms-item label="是否专精特新" name="isNew">
- <view class="checkbox">
- <uni-data-checkbox :selectedColor="actcolor" selectedTextColor='#222327' v-model="datainfo.isNew" :localdata="sfList" />
- </view>
- </uni-forms-item>
- <uni-forms-item label="是否小微企业" name="isSmall">
- <view class="flexc">
- <view class="checkbox flex1">
- <uni-data-checkbox :selectedColor="actcolor" selectedTextColor='#222327' v-model="datainfo.isSmall" :localdata="sfList" />
- </view>
- <view class="ywicon flexc" @click="showImg"><image :src="ywicon"></image>划分标准</view>
- </view>
- </uni-forms-item>
- <uni-forms-item label="公司简介" name="companyIntroduction">
- <uni-easyinput type="textarea" autoHeight v-model="datainfo.companyIntroduction" :inputBorder='false' placeholder="请输入公司简介" />
- </uni-forms-item>
- <uni-forms-item label="公司简介" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.gszc">
- <!-- fileName 给label 0 -->
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.gsjj" fileVal='gsjj' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">公司简介附件与输入信息填一个即可。</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='gsjj'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="公司章程" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.gszc">
- <!-- fileName 给label 0 -->
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.gszc" fileVal='gszc' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传公司章程并盖市监局备案章</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='gszc'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="开户许可证" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.khxkz">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.khxkz" fileVal='khxkz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit">上传开户许可证</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='khxkz'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <!-- <uni-forms-item label="企业名称" name="email">
- <uni-easyinput v-model="datainfo.email" :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item> -->
-
- </view>
- <!-- 全体股东身份信息 -->
- <view class="addtit mt3"><text>*</text>全体股东身份信息<text style="color: red; font-size: 12px;">(身份证信息与营业执照两者只需上传一个)</text></view>
- <view class="bgf plr12">
- <block v-for="(ite,idx) in gdlist" :key="idx">
- <uni-forms-item name="iszcy">
- <view class="labtxt">股东{{(Number(idx)+1)}}身份证
- <text class="del" @click="getdelGdFn(idx,ite)">删除</text>
- </view>
- <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
- <view class="phoboxa">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="'股东'+(Number(idx)+1)+'身份证'" :fileVal='idx' bigType="cardz" :width="pwidth" :height="pheight" :formats="gdformats" :option="option" :size="size" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="gdonuploadEnd" >
- <view class="photop">
- <image v-if="ite.cardz" :src="baseUrl+ite.cardz" class="bgimg"></image>
- <image v-else :src="cardz" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit">上传人像面</view>
- </view>
- <view class="phoboxa" >
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="'股东'+(Number(idx)+1)+'身份证'" :fileVal='idx' bigType="cardf" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="gdonuploadEnd" >
- <view class="photop">
- <image v-if="ite.cardf" :src="baseUrl+ite.cardf" class="bgimg"></image>
- <image v-else :src="cardf" class="bgimg"></image>
-
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit">上传国徽面</view>
- </view>
-
- </view>
- </uni-forms-item>
- <uni-forms-item name="iszcy">
- <view class="labtxt">股东{{(Number(idx)+1)}}营业执照
- <text>(上传一张)</text>
- <text class="del" @click="getdelGdFn(idx,ite)">删除</text>
- </view>
- <view class="phobox">
- <view class="phoboxa">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="'股东'+(Number(idx)+1)+'营业执照'" :fileVal='idx' bigType="zhz" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="gdonuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit">上传实际控股人营业执照</view>
- </view>
- <block v-if="ite.zhizhao&&ite.zhizhao.length">
- <view class="phoboxa" v-for="(zxite,zxidx) in ite.zhizhao" :key="zxidx">
- <view class="photop" @click="getDown(zxite)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelgdyy(idx,zxidx)"></image>
- </view>
- <!-- <view class="photit">{{zxite.name}}</view> -->
- </view>
- </block>
- </view>
- </uni-forms-item>
- </block>
- <view class="addgdbox">
- <view class="rzbtnadd" @click="getAddGdFn">
- <image :src="addgd"></image>添加股东
- </view>
- </view>
- </view>
- <!-- * 企业征信(由中国人民银行提供) -->
- <view class="addtit mt3"><text>*</text>企业征信(由中国人民银行提供)</view>
- <view class="bgf plr12">
- <uni-forms-item label="申请企业" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.sqqyzxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.sqqyzxbg" fileVal='sqqyzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传申请企业征信报告</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='sqqyzxbg'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="关联企业" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.glqyzxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.glqyzxbg" fileVal='glqyzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传关联企业征信报告</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='glqyzxbg'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- </view>
- <!-- * 企业法人征信-->
- <view class="addtit mt3"><text>*</text>企业法人征信</view>
- <view class="bgf plr12">
- <uni-forms-item label="企业法人" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.qyfrzxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.qyfrzxbg" fileVal='qyfrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传企业法人征信报告</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='qyfrzxbg'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- </view>
- <!-- * 实际控股人夫妻双方征信-->
- <view class="addtit mt3"><text>*</text>实际控股人夫妻双方征信</view>
- <view class="bgf plr12">
- <uni-forms-item label="实际控股人" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.sjkgrzxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.sjkgrzxbg" fileVal='sjkgrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传实际控股人征信报告</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='sjkgrzxbg'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="配偶征信" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.sjkgrpozxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.sjkgrpozxbg" fileVal='sjkgrpozxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传实际控股人配偶征信报告</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='sjkgrpozxbg'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- </view>
- <!-- * 各股东个人征信(请与上面所填股东对应) -->
- <view class="addtit mt3"><text>*</text>各股东个人征信(请与上面所填股东对应)</view>
- <view class="bgf plr12">
- <block v-for="(ite,idx) in gdlist" :key="idx">
- <uni-forms-item :label="'股东'+(Number(idx)+1)+'征信'" name="iszcy">
- <view class="phobox">
- <view class="phoboxa">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="'股东'+(Number(idx)+1)+'征信'" :fileVal='idx' bigType="zx" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="gdonuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit">上传实际控股人征信报告</view>
- </view>
- <block v-if="ite.zxurl&&ite.zxurl.length">
- <view class="phoboxa" v-for="(zxite,zxidx) in ite.zxurl" :key="zxidx">
- <view class="photop" @click="getDown(zxite)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelgdFj(idx,zxidx)"></image>
- </view>
- <!-- <view class="photit">{{zxite.name}}</view> -->
- </view>
- </block>
- </view>
- </uni-forms-item>
- </block>
- </view>
- </view>
- <!-- 法人信息 -->
- <view v-show="stepval==2">
- <!-- 用户类型 -->
- <view class="addtit mt3"><text>*</text>用户类型</view>
- <view class="bgf plr12">
- <picker range-key='label' :value="yhlxidx" :range="yhlxlist" class="" @change='bindDateChangeb'>
- <uni-forms-item label="用户类型" name="customerType">
- <view class="lbtabp">
- <view v-if="datainfo.customerType&&!yhlx">{{statusFormat(datainfo.customerType,yhlxlist,'yhlx')}}</view>
- <view v-else :class="yhlx?'':'coa'">{{yhlx||"请选择用户类型"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker>
- </view>
- <!-- 法定代表人基本信息 -->
- <view class="addtit mt3"><text>*</text>法定代表人基本信息</view>
- <view class="bgf plr12">
- <uni-forms-item label="身份证" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frsfzrmx">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzrmx" fileVal='frsfzrmx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="ponuploadEnd" >
- <view class="photop">
- <image :src="cardz" class="bgimg"></image>
- <image v-if="datainfo.corporationFront" :src="baseUrl+datainfo.corporationFront" class="bgimga"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传人像面</view>
- </view>
- <view class="phoboxa" v-if="jcfjobj.frsfzghm">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzghm" fileVal='frsfzghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="ponuploadEnd" >
- <view class="photop">
- <view class="photop">
- <image :src="cardf" class="bgimg"></image>
- <image v-if="datainfo.corporationBack" :src="baseUrl+datainfo.corporationBack" class="bgimga"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </view>
- </lsj-upload>
- <view class="photit">上传国徽面</view>
- </view>
- </view>
- </uni-forms-item>
- <uni-forms-item label="姓名" name="corporationName">
- <uni-easyinput v-model="datainfo.corporationName" disabled :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- <!-- disabled -->
- <uni-forms-item label="身份证号" name="corporationIdCard">
- <uni-easyinput v-model="datainfo.corporationIdCard" disabled :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- <uni-forms-item label="手机号码" name="corporationPhone">
- <uni-easyinput v-model="datainfo.corporationPhone" type="number" :inputBorder='false' placeholder="请输入手机号码" />
- </uni-forms-item>
- <!-- 家庭人口选填-->
- <uni-forms-item label="家庭人口" name="familyPopulation">
- <uni-easyinput v-model="datainfo.familyPopulation" type="number" :inputBorder='false' placeholder="请输入家庭人口" />
- </uni-forms-item>
- <!-- <uni-forms-item label="法人职业" name="corporationJob">
- <uni-easyinput v-model="datainfo.corporationJob" :inputBorder='false' placeholder="请输入法人职业" />
- </uni-forms-item> -->
- <picker range-key='label' :value="ywidx" class="isborder" :range="ywList" @change='bindDateChangec'>
- <uni-forms-item label="有无贷款" name="qymc">
- <view class="lbtabp">
- <view v-if="datainfo.isLoan">{{datainfo.isLoan=='Y'?'有':'无'}}</view>
- <view v-else class="coa">请选择有/无</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker>
- <!-- <uni-forms-item label="应收应付款" name="email">
- <uni-easyinput v-model="datainfo.email" type="number" :inputBorder='false' placeholder="请输入应收应付款" />
- </uni-forms-item> -->
- <!-- <uni-forms-item label="经营情况" name="iszcy">
- <uni-easyinput type="textarea" autoHeight v-model="datainfo.email" :inputBorder='false' placeholder="请描述近几年经营情况" />
- </uni-forms-item> -->
- <!-- <uni-forms-item label="经营效益" name="email">
- <uni-easyinput v-model="datainfo.email" type="number" :inputBorder='false' placeholder="请输入经营效益" />
- </uni-forms-item> -->
- </view>
- <!-- * 家庭婚姻信息 -->
- <view class="addtit mt3"><text>*</text>家庭婚姻信息</view>
- <view class="bgf plr12">
- <picker range-key='label' :value="frhyzkidx" :range="hyztlist" class="isborder" @change='bindDateChanged'>
- <uni-forms-item label="婚姻状态" name="corporationMaritalStatus">
- <view class="lbtabp">
- <view v-if="datainfo.corporationMaritalStatus&&!frhyzk">{{statusFormat(datainfo.corporationMaritalStatus,hyztlist,'frhyzk')}}</view>
- <view v-else :class="frhyzk?'':'coa'">{{frhyzk||"请选择婚姻状态"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker>
- <uni-forms-item label="配偶身份证" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frsfzpormx">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzpormx" fileVal='frsfzpormx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="ponuploadEnd" >
- <view class="photop">
- <image :src="cardz" class="bgimg"></image>
- <image v-if="datainfo.spouseFront" :src="baseUrl+datainfo.spouseFront" class="bgimga"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <!-- 删除 -->
- <view class="frdelimg" v-if="datainfo.spouseFront" @click.stop="getDelfzpo('front')">
- <image :src="fdelimg"></image>
- </view>
- <view class="photit atit">上传人像面</view>
- </view>
- <view class="phoboxa" v-if="jcfjobj.frsfzpoghm">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frsfzpoghm" fileVal='frsfzpoghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="ponuploadEnd" >
- <view class="photop">
- <view class="photop">
- <image :src="cardf" class="bgimg"></image>
- <image v-if="datainfo.spouseBack" :src="baseUrl+datainfo.spouseBack" class="bgimga"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </view>
- </lsj-upload>
- <!-- 删除 -->
- <view class="frdelimg" v-if="datainfo.spouseBack" @click.stop="getDelfzpo('back')">
- <image :src="fdelimg"></image>
- </view>
- <view class="photit">上传国徽面</view>
- </view>
- </view>
- </uni-forms-item>
- <uni-forms-item label="配偶姓名" name="spouseName">
- <uni-easyinput v-model="datainfo.spouseName" disabled :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- <uni-forms-item label="配偶身份证号" name="spouseIdCard">
- <uni-easyinput v-model="datainfo.spouseIdCard" disabled :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- </view>
- <!-- * 企业法人征信-->
- <view class="addtit mt3"><text>*</text>婚姻证明</view>
- <view class="bgf plr12">
- <!-- 离婚状态上传 -->
- <uni-forms-item label="离婚证" name="iszcy" v-show="datainfo.corporationMaritalStatus==3">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frlhz">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frlhz" fileVal='frlhz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="jhico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传离婚证</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='frlhz'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="结婚证" name="iszcy" v-show="datainfo.corporationMaritalStatus!=3">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frjhz">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frjhz" fileVal='frjhz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="jhico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传结婚证</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='frjhz'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- </view>
- <!-- * 户口簿信息-->
- <view class="addtit mt3">户口簿信息</view>
- <view class="bgf plr12">
- <uni-forms-item label="户口簿首页" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frhkbsy">
- <lsj-upload ref="lsjUpload" childId="frhkbsy" :fileName="jcfjobj.frhkbsy" fileVal='frhkbsy' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="hkico" class="bgimg"></image>
- <!-- <block v-for="(ite,idx) in filelist" :key='idx'>
- <image v-if="ite.type=='frhkbsy'&&ite.bigType=='a'" :src="baseUrl+ite.url" class="bgimga"></image>
- </block> -->
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传户口簿第一页</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='frhkbsy'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="户口簿单页" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="jcfjobj.frhkbbry">
- <!-- 法人户口簿每一页 -->
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.frhkbbry" fileVal='frhkbbry' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="onuploadEnd" >
- <view class="photop" >
- <image :src="hkico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传户口簿每一页</view>
- </view>
- <block v-for="(ite,idx) in filelist" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='frhkbbry'&&ite.bigType=='a'">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- <!-- <view class="phoboxa">
- <view class="photop">
- <image :src="hkico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- <view class="photit atit">上传户口簿配偶页</view>
- </view> -->
- </view>
- </uni-forms-item>
- </view>
- </view>
- <!-- 反担保人信息 -->
- <view v-show="stepval==3">
- <!-- 担保类型 -->
- <view class="addtit mt3"><text>*</text>担保类型</view>
- <view class="bgf plr12">
- <uni-forms-item label="担保类型" name="guaranteeType">
- <view class="lbtabp" @click="getRecorddwFn">
- <view v-if="datainfo.guaranteeType&&!dblx">{{statusFormats(datainfo.guaranteeType,dblxlist,'dblx')}}</view>
- <view v-else :class="dblx?'':'coa'">{{dblx||"请选择担保类型"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- <!-- <picker range-key='label' :value="dblxidx" :range="dblxlist" class="" @change='bindDateChangee'>
- <uni-forms-item label="担保类型" name="guaranteeType">
- <view class="lbtabp">
- <view v-if="datainfo.guaranteeType&&!dblx">{{statusFormat(datainfo.guaranteeType,dblxlist,'dblx')}}</view>
- <view v-else :class="dblx?'':'coa'">{{dblx||"请选择担保类型"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker> -->
- </view>
- <!-- 反担保人基本信息 v-if="datainfo.guaranteeType==2"-->
- <view v-for="(fite,fidx) in fdarlist" :key="fidx">
- <view class="flexcj">
- <view class="addtit mt3"><text>*</text>反担保人{{(Number(fidx)+1)}}基本信息</view>
- <view class="fdbadd flexcc" @click="getAddFdbFn"><image :src="fadd"></image>添加反担保人</view>
- </view>
-
- <view class="bgf plr12">
- <uni-forms-item label="身份证" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="fdbrobj.fdbrsfzrmx">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbrobj.fdbrsfzrmx" fileVal='fdbrsfzrmx' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fdbuploadEnd" >
- <view class="photop">
- <image :src="cardz" class="bgimg"></image>
- <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
- <image v-if="ite.type=='fdbrsfzrmx'&&ite.remark!=1" :src="baseUrl+ite.url" class="bgimga"></image>
- </block>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <!-- <view class="frdelimg" v-if="datainfo.guaranteeFront" @click.stop="getDelfdbfzpo('fdbrsfzrmx',fidx)">
- <image :src="fdelimg"></image>
- </view> -->
- <view class="photit atit">上传人像面</view>
- </view>
- <view class="phoboxa" v-if="fdbrobj.fdbrsfzghm">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbrobj.fdbrsfzghm" fileVal='fdbrsfzghm' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fdbuploadEnd" >
- <view class="photop">
- <image :src="cardz" class="bgimg"></image>
- <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
- <image v-if="ite.type=='fdbrsfzghm'&&ite.remark!=1" :src="baseUrl+ite.url" class="bgimga"></image>
- </block>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <!-- <view class="frdelimg" v-if="datainfo.guaranteeBack" @click.stop="getDelfdbfzpo('fdbrsfzghm',fidx)">
- <image :src="fdelimg"></image>
- </view> -->
- <view class="photit">上传国徽面</view>
- </view>
- </view>
- </uni-forms-item>
- <uni-forms-item label="姓名" name="guaranteeName">
- <uni-easyinput v-model="fite.guaranteeName" disabled :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- <uni-forms-item label="身份证号" name="guaranteeIdCard">
- <uni-easyinput v-model="fite.guaranteeIdCard" disabled :inputBorder='false' placeholder="自动识别" />
- </uni-forms-item>
- <uni-forms-item label="手机号码" name="guaranteePhone">
- <uni-easyinput v-model="fite.guaranteePhone" type="number" :inputBorder='false' placeholder="请输入手机号码" />
- </uni-forms-item>
- </view>
- <!-- * 反担保人信用担保证明-->
- <view class="addtit mt3">反担保人{{(Number(fidx)+1)}}信用担保证明</view>
- <view class="bgf plr12">
- <uni-forms-item name="iszcy">
- <view class="labtxt">个人工作证明
- <text>(选填)</text>
- </view>
- <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
- <view class="phoboxa" v-if="fdbrobj.fdbrgrgzzm">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbrobj.fdbrgrgzzm" fileVal='fdbrgrgzzm' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fdbuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">公职人员上传个人工作证明</view>
- </view>
- <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='fdbrgrgzzm'&&ite.remark!=1">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getfdbDelFj(idx,fidx,1)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="身份证复印件" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="fdbrobj.fdbrsfzfyj">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbrobj.fdbrsfzfyj" fileVal='fdbrsfzfyj' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fdbuploadEnd" >
- <view class="photop" >
- <image :src="cardz" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传身份证复印件</view>
- </view>
- <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='fdbrsfzfyj'&&ite.remark!=1">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getfdbDelFj(idx,fidx,1)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="个人征信报告" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="fdbrobj.fdbrgrzxbg">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbrobj.fdbrgrzxbg" fileVal='fdbrgrzxbg' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fdbuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传个人征信报告</view>
- </view>
- <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='fdbrgrzxbg'&&ite.remark!=1">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getfdbDelFj(idx,fidx,1)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <view class="ptb15" v-if="fdarlist.length>1">
- <view class="fdbdel flexcc" @click="getdelFdbFn(fidx,fite)"><image :src="fdel"></image>删除反担保人信息</view>
- </view>
- </view>
-
- </view>
- <!-- 企业反担保 -->
- <block v-for="(fite,fidx) in fdaqylist" :key="fidx">
- <view class="flexcj">
- <view class="addtit mt3">企业{{(Number(fidx)+1)}}反担保证明</view>
- <view class="fdbadd flexcc" @click="getAddQiFn"><image :src="fadd"></image>添加反担企业</view>
- </view>
- <view class="bgf plr12">
- <!-- <picker range-key='shareholderName' :value="qyidx" :range="qygdlist" class="isborder" @change='bindDateChangeg'>
- <uni-forms-item label="企业名称" name="guaranteeShareholderName">
- <view class="lbtabp">
- <view class="chtit" :class="datainfo.guaranteeShareholderName?'':'coa'">{{datainfo.guaranteeShareholderName||"请选择关联企业"}}</view>
- <image :src="hrimg" class="rimg"></image>
- </view>
- </uni-forms-item>
- </picker> -->
- <uni-forms-item name="iszcy">
- <view class="labtxt">营业执照
- <text>(上传一张)</text>
- </view>
- <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
- <view class="phoboxa" v-if="fdbqyobj.fdbqyyyzz">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbqyobj.fdbqyyyzz" fileVal='fdbqyyyzz' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fdbqyuploadEnd" >
- <view class="photop" >
- <image :src="zico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传企业营业执照</view>
- </view>
- <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='fdbqyyyzz'&&ite.remark!=1">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getfdbDelFj(idx,fidx,2)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <uni-forms-item label="企业征信" name="iszcy">
- <view class="phobox">
- <view class="phoboxa" v-if="fdbqyobj.fdbqyzx">
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbqyobj.fdbqyzx" fileVal='fdbqyzx' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fdbqyuploadEnd" >
- <view class="photop" >
- <image :src="cardz" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- </view>
- </lsj-upload>
- <view class="photit atit">上传企业征信</view>
- </view>
- <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
- <view class="phoboxa" v-if="ite.type=='fdbqyzx'&&ite.remark!=1">
- <view class="photop" @click="getDown(ite.url)">
- <image :src="lookico" class="bgimg"></image>
- <image :src="phoicon" class="addimg"></image>
- <image :src="delimg" class="delimg" @click.stop="getfdbDelFj(idx,fidx,2)"></image>
- </view>
- <view class="photit">{{ite.name}}</view>
- </view>
- </block>
- </view>
- </uni-forms-item>
- <view class="ptb15" v-if="fdaqylist.length>1">
- <view class="fdbdel flexcc" @click="getdelQyFn(fidx,fite)"><image :src="fdel"></image>删除反担保企业</view>
- </view>
- </view>
- </block>
- </view>
- <!-- 添加附件 -->
- <view v-show="stepval==4">
- <!-- 附件信息 -->
- <view class="addtit mt3">
- <view @click="getDbclFn" class="flexc">附件信息<image :src="ywicon" class="ywimg"></image></view>
- </view>
- <block v-for="(ite,idx) in sbfjlist" :key="ite.val">
- <!-- 委托担保申请书 <text>*</text>-->
- <!-- ||ite.val=='gdhyjy' 股东会决议 -->
- <view class="bgf plr12 mb12" v-if="ite.val=='wtdbsqs'">
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}<text class="mtxt">(须面签)</text></view>
- <view class="fbtns cof64" @click="getExportMb(ite)">
- <image :src="downimg" class="downimg"></image>下载模板
- </view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image>
- <view>{{'上传附件'}}</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="bgf plr12" v-if="ite.val=='syndcwbb'||ite.val=='syndsjbg'">
- <view class="fjbox" :class="ite.val!='syndsjbg'?'isborder':''">
- <view class="fjtop flext">
- <view class="ftit"><text v-if="ite.val=='syndcwbb'">*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- {{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}} -->
- <view class="bgf plr12" v-if="ite.val=='dqcwbb'">
- <view class="fjbox isborder">
- <view class="fjtop flext">
- <view class="ftit"><text v-if="datainfo.applicationType==1">*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="bgf plr12 mt12" v-if="ite.val=='nszm'">
- <view class="fjbox isborder">
- <picker range-key='text' :value="sfidx" :range="sfList" @change='bindDateChangef'>
- <view class="fjtop flexc chek">
- <view class="ftit"><text>*</text>是否免税企业</view>
- <view v-if="datainfo.isDuty">{{datainfo.isDuty=='Y'?'是':'否'}}</view>
- <view v-else class="coa">请选择是/否</view>
- <!-- <view :class="datainfo.isDuty?'':'coa'">{{msqy||"请选择是/否"}}</view> -->
- <image :src="hrimg" class="rimg"></image>
- </view>
- </picker>
- </view>
- <view class="fjbox isborder">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="bgf plr12 " v-if="ite.val=='jsyyhdzd'">
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 主要账户银行流水 -->
- <view class="mt12" v-if="ite.val=='zyzhyhls'">
- <view class="bgf plr12 " >
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit"><text>*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="addtit tips">提供能够反映企业资金流向的法人或控股股东不低于半年的个人 主要账户银行流水</view>
- </view>
- <view class="bgf plr12 " :class="ite.val=='gxht'?'isborder':''" v-if="ite.val=='gxht'|| ite.val=='dqcsxmqkzm'">
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit"><text>*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 企业基本注册信息查询单 -->
- <view class="bgf plr12 mt12 mb12" v-if="ite.val=='qyjbzcxxcxd'">
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit"><text>*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 企业固定资产证明 -->
- <view class="bgf plr12 " v-if="ite.val=='qygdzczm'||ite.val=='frzczmfc'||ite.val=='frzczmdc'||ite.val=='frzczmcl'">
- <view class="fjbox" :class="ite.val!='frzczmcl'?'isborder':''">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 反担保抵(质)押物复印件 -->
- <view class="mt12" v-if="ite.val=='fdbdyfyj'">
- <view class="bgf plr12 " >
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="addtit tips">机械设备需提供发票原件;若上传附件,后期则需提供证明</view>
- </view>
- <!-- 代理相关品牌授权书 -->
- <view class="bgf plr12 " v-if="ite.val=='dlxgcpsqs'||ite.val=='dlxgppht'">
- <view class="fjbox isborder">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- 反担保抵(质)押物复印件 -->
- <view v-if="ite.val=='scjyxkzgy'">
- <view class="bgf plr12 " >
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit">{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="addtit tips">例如:塑料包装行业《印刷经营许可证》、食品卫生行业《卫生 许可证》、环保达标认定表原件(工业)</view>
- </view>
- <!-- 纳税申报表 -->
- <view class="bgf plr12 mb12" v-if="ite.val=='sdffpyn'||ite.val=='rggzb'||ite.val=='nssbb'">
- <view class="fjbox">
- <view class="fjtop flext">
- <view class="ftit"><text>*</text>{{ite.label}}</view>
- <lsj-upload ref="lsjUpload" :fileName="ite.label" :fjidx='idx' :fileVal='ite.val' bigType="b" childId="upload1" :width="width" :height="height" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
- @progress="" @uploadEnd="fjonuploadEnd" >
- <view class="fbtns co0a" :style="{width: width,height: height}">
- <image :src="upimg"></image><view>上传附件</view>
- </view>
- </lsj-upload>
- </view>
- <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
- <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
- <view class="flext" @click="getDown(fite.url)">
- <view class="imgl"><image :src="filico" ></image></view>
- <view class="tit">{{fite.name}}</view>
- </view>
- <!-- 删除 -->
- <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
- <image :src="fdelimg"></image>
- </view>
- </view>
- </view>
- </view>
- </view>
- </block>
- </view>
- </uni-forms>
- <!-- btnd -->
- <view class="addbtns" v-if="ftype">
- <view class="addlbtn" @click="getZanFn" v-if="!datainfo.loanSchedule||datainfo.loanSchedule<3">
- <image :src="zancio" class="addlbtna"></image>
- <view class="addlbtnb">暂存</view>
- </view>
- <view class="addrbtn bga" @click="getPreFn" v-if="stepval>1">上一步</view>
- <view class="addrbtn bgb" @click="getNextFn" v-if="stepval<4">下一步</view>
- <view class="addrbtn bgb" @click="getSubmit" v-if="stepval==4">提交</view>
- </view>
- <cover-view class="addbtns" v-else>
- <cover-view class="addlbtn" @click="getZanFn" v-if="!datainfo.loanSchedule||datainfo.loanSchedule<3">
- <cover-image :src="zancio" class="addlbtna" @click.stop="getZanFn"></cover-image>
- <cover-view class="addlbtnb" @click.stop="getZanFn">暂存</cover-view>
- </cover-view>
- <cover-view class="addrbtn bga" @click="getPreFn" v-if="stepval>1">上一步</cover-view>
- <cover-view class="addrbtn bgb" @click="getNextFn" v-if="stepval<4">下一步</cover-view>
- <cover-view class="addrbtn bgb" @click="getSubmit" v-if="stepval==4">提交</cover-view>
- </cover-view>
- <block v-if="lookflag">
- <view class="bgbox" @click="lookflag=false" ></view>
- <image :src="lookico" class="looimg" @click="getPreview(lookico)"></image>
- </block>
- <!-- 放弃编辑 -->
- <!-- #ifdef MP-WEIXIN -->
- <view class="edit editcir" v-if="ftype" @click="getGiveupFn">
- <image :src="feditimg"></image>
- 放弃编辑
- </view>
- <cover-view class="edit editcir" v-else @click="getGiveupFn">
- <cover-image :src="feditimg" @click.stop="getGiveupFn" class="img"></cover-image>
- <cover-view @click.stop="getGiveupFn" class="txt">放弃编辑</cover-view>
- </cover-view>
- <!-- #endif -->
- <!-- 选择担保类型 -->
- <bartree-pickerfixed ref="treePickerzrdw" deptType='1' :multiple='true' @select-change="selectChangezrdw" title="选择担保类型"
- :localdata="dblxlist" :checkVal='datainfo.guaranteeType' valueKey="value" textKey="label" childrenKey="children"></bartree-pickerfixed>
- <!--附件 remark==1 后台生成的pdf,自己删除 -->
- <pop-up :type='ftype' :xwimgList="xwimgList" :content="content" @getClose='getClose'></pop-up>
- </view>
- </template>
- <script>
- import config from '@/config'
- const baseUrl = config.baseUrl
- const baseUrlimg=config.baseUrlimg
- const baseName = config.baseName
- import self from '@/utils/location.js';
- import popUp from "@/work/components/popup/popup.vue"
- import stepBar from "@/components/toptab/stepbar.vue"
- import { getToken } from '@/utils/auth'
- import {getApplicationNum,getApplicationZc,getApplicationAdd,getApplicationDet,getApplicationEdit,getExportMb,getDocumentList,getGdlistNoPage} from "@/api/mine/work.js"
- import {getQyListNoPage,getOcrIdCard,getIdCardDet,getOcrBusinessLicense} from "@/api/mine/card.js"
- import {uploadmore,selectValueKey,showConfirm} from '@/utils/common.js'
- import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
- import {getDictionaryFn} from "@/api/mine/register.js"
- import bartreePickerfixed from "@/components/ba-tree-picker/ba-tree-pickerfixed.vue"
- export default{
- components:{stepBar,popUp,bartreePickerfixed},
- data(){
- return{
- //附件
- option: {
- // 上传服务器地址,需要替换为你的接口地址
- url: baseUrl+'/common/uploadNew', // 该地址非真实路径,需替换为你项目自己的接口地址
- // 上传附件的key
- name: 'file',
- // 根据你接口需求自定义请求头,默认不要写content-type,让浏览器自适配
- header: {
- // 示例参数可删除
- 'Authorization': 'Bearer ' + getToken(),
- },
- // 根据你接口需求自定义body参数
- formData: {
- loanApplicationNumber:'',
- }
- },
- gdformats: 'png,jpg,jpeg',
- // 选择文件后是否立即自动上传,true=选择后立即上传
- instantly: true,
- // 必传宽高且宽高应与slot宽高保持一致
- width: '',
- height: '100rpx',
- pwidth:'200rpx',
- pheight:'126rpx',
- // 限制允许上传的格式,空串=不限制,默认为空
- formats: 'doc,docx,xls,xlsx,ppt,txt,pdf,zip,rar,word,png,jpg,jpeg',
- // 文件上传大小限制
- size: 100,
- // 文件数量限制 默认10
- count: 5,
- // 文件回显列表
- files: new Map(),
- // 微信小程序Map对象for循环不显示,所以转成普通数组,不要问为什么,我也不知道
- wxFiles: [],
- // 是否打印日志
- debug: false,
- filelist:[],
- gdfilelist:[],//股东附件列表
-
- backimg:require("@/work/static/images/back.png"),
- feditimg:require("@/work/static/images/fedit.png"),
- hrimg:require('@/work/static/images/hrimg.png'),
- ywicon:require('@/work/static/images/busin/ywicon.png'),
- delimg:require('@/work/static/images/del.png'),
- lookico:require('@/work/static/images/busin/lookico.png'),
- phoicon:require('@/work/static/images/busin/phoicon.png'),
- zico:require('@/work/static/images/busin/zico.png'),
- cardz:require('@/work/static/images/busin/cardz.png'),
- cardf:require('@/work/static/images/busin/cardf.png'),
- addgd:require('@/work/static/images/busin/addgd.png'),
- jhico:require('@/work/static/images/busin/jhico.png'),
- hkico:require('@/work/static/images/busin/hkico.png'),
- zancio:require('@/work/static/images/zancio.png'),
- downimg:require('@/work/static/images/down.png'),
- upimg:require('@/work/static/images/fup.png'),
- filico:require('@/work/static/images/filico.png'),
- fdelimg:require('@/work/static/images/del.png'),
- fdel:require('@/work/static/images/fdel.png'),
- fadd:require('@/work/static/images/fadd.png'),
- steps:[{tit:'申请额度',status:0},{tit:'企业信息',status:1},{tit:'法人信息',status:2},{tit:'反担保人信息',status:3},{tit:'添加附件',status:4},],
- stepval:1,
- datainfo:{
- // qymcid:1,
- // hylx:'',
- // hylxid:'',
- // iszcy:'0',
- // "loanApplicationId": 1,//贷款申请id
- "loanApplicationNumber": "",//贷款申请编号
- 'applicationType':'',//申请类型 1:企业 2:个人
- "applicationAmount": '',//申请额度(万元)
- "applicationBank": "",//申请银行
- "usagePeriod": "",//使用期限(月)
- "purposeFunds": "",//资金用途
- "repaymentSource": "",//还款来源
- "enterpriseName": "",//企业名称
- "enterpriseId":"",//企业信息id
- "categoryType": "",//行业类型
- "isMake": "Y",//是否是制造业
- "isNew": "Y",//是否是精特新
- "isSmall": "Y",//是否是小微企业
- "isDuty": "",//是否是免税企业
- "companyIntroduction": "",//公司简介
- "customerType": "",//用户类型
- "corporationFront": "",//法人身份证正面
- "corporationBack": "",//法人身份证反面
- "corporationName": "",// 法人姓名
- "corporationIdCard": "",//法人身份证号
- "corporationPhone": "",// 法人手机号
- "familyPopulation": "",//家庭人口数
- "corporationJob": "",//法人职业
- "isLoan": "",//有无贷款
- "receivablePay": "",//应收应付款
- "businessSituation": "",//经营情况
- "businessEfficiency": "",//经营效益
- "corporationMaritalStatus": "",//法人婚姻状态
- "spouseFront": "",//配偶身份证正面
- "spouseBack": "",//配偶身份证反面
- "spouseName": "",//配偶姓名
- "spouseIdCard": "",//配偶身份证号
- "spousePhone": "",//配偶手机号
- "guaranteeType": "",//担保类型
- "guaranteeFront": "",//反担保人身份证正面
- "guaranteeBack": "",//反担保人身份证反面
- "guaranteeName": "",//反担保人姓名
- "guaranteeIdCard": "",//反担保人身份证号
- "guaranteePhone": "",//反担保人手机号
- // "guaranteeMaritalStatus": "",//反担保人婚姻状态
- // "guaranteeSpouseFront": "",//反担保人配偶身份证正面
- // "guaranteeSpouseBack": "",//反担保人配偶身份证反面
- // "guaranteeSpouseName": "",//反担保人配偶姓名
- // "guaranteeSpouseIdCard": "",//反担保人配偶身份证号
- // "guaranteeSpousePhone": "",//反担保人配偶手机号
- // "userId": '',//申请人用户ID
- // "idCard": "",//申请人身份证号码
- // "applicationTime": "",//申请时间
- // "fileTime": "",//归档时间
- // "loanSchedule": "",//贷款申请进度(业务进度表查询进度列表):1:申报提交2:业务审核/分配 3:担保初审 4:尽职调查 5:初审风险合规 6:评审会 7:合同签约 8:放款合规风险审核 9:放款通知 10:归档
- // "loanScheduleName": '',//贷款申请进度名称(中文字)
- // "auditSchedule": "",//审核进度1:担保初审 2:A角色审核 3:B角色审核 4:风险审核 5:尽职调查 6:上会评审
- // "auditType": "",//审核状态 1:待审核 2:已通过 3:未通过
- // "loanApplicationType": "",//贷款申请状态 1:暂存 2:正常 3:回收站 4:归档
- // "aUserId": "",//A角色用户ID
- // "aUserName": "",//A角色用户名称
- // "bUserId": '',//B角色用户ID
- // "bUserName": '',//B角色用户名称
- "shareholderFjList": [],//全体股东信息附件
- "loanApplicationFjList": [],//相关附件
- "loanApplicationFjIdList": [],//fj删除id集合
- "shareholderFjIdList": [],//股东fj表股东整体删除id集合
- "basicFj":{},//基础附件
- "declareFj":{},//申报附件
- "fileFj":{},//文件出具
- "otherFj":{},//其他附件
- },
- qymc:'',
- msqy:'',
- qyidx:0,
- ywidx:0,
- categoryId:'',//行业的id
- rules:{
- },
- gdlist:[{cardz:'',cardf:'',zxurl:[],zhizhao:[],shareholderName:"",shareholderIdCard:''}],
- qylist:[],//企业列表
- fdarlist:[{type:1,guaranteeName:'',guaranteeIdCard:'',guaranteePhone:'',guaranteeInfoFjList:[]}],
- fdaqylist:[{type:2,guaranteeName:'',guaranteeIdCard:'',guaranteeInfoFjList:[]}],
- fdbrobj:{},//反担保人附件
- fdbqyobj:{},//反担保企业附件
- fdbdelxIdList:[],//反担保删除小id集合
- fdbdeldIdList:[],//反担保删除大id集合
- sfList:[{text: '是',value: 'Y'},{text: '否',value: 'N'}],
- ywList:[{label: '有',value: 'Y'},{label: '无',value: 'N'}],
- actcolor:'#00A9F0',
- sqtype:'qy',//个人gr ,企业 qy,
- hyztlist:[],//婚姻状态
- yhlxlist:[],//用户类型
- dblxlist:[],//担保类型
- lookflag:false,
- listTop:70,
- userId:this.$store.state.user.userId,
- categoryId:"",//行业类型id;
- jcfjlist:[],//基础附件
- sbfjlist:[],//申报附件
- wjfjlist:[],//文件出具
- jcfjobj:{},//基础附件
- shareholderFjList:[],//全体股东信息附件
- loanApplicationFjList:[],//相关附件
- ftype:'',//弹窗type
- baseUrl:'',
- dblx:'',
- yhlx:'',
- frhyzk:'',//婚姻状况
- dblxidx:0,
- yhlxidx:0,
- sfidx:0,
- frhyzkidx:0,
- btfiles:[
- {tit:'公司章程',type:'gszc'},
- {tit:'开户许可证',type:'khxkz'},{tit:'申请企业征信报告',type:'sqqyzxbg'},{tit:'企业法人征信报告',type:'qyfrzxbg'},{tit:'实际控股人征信报告',type:'sjkgrzxbg'},
- // {tit:'户口簿首页',type:'frhkbsy'},
- ],
- sqbtfiles:[
- {tit:'上一年度财务报表',type:'syndcwbb'},{tit:'主要账户银行流水',type:'zyzhyhls'},{tit:'购销合同',type:'gxht'},
- {tit:'当前从事项目情况证明',type:'dqcsxmqkzm'},{tit:'企业基本注册信息查询单',type:'qyjbzcxxcxd'},{tit:'水电费发票(一年)',type:'sdffpyn'},{tit:'人员工资表',type:'rggzb'},{tit:'纳税申报表',type:'nssbb'},
- ],
- fbdfiles:[
- {tit:'身份证人像面',type:'fdbrsfzrmx'},{tit:'身份证国徽面',type:'fdbrsfzghm'}
- ],
- fdbqyfiles:[
- {tit:'营业执照',type:'fdbqyyyzz'},{tit:'征信',type:'fdbqyzx'},
- ],
- content:'',//小微企业富文本
- xwimgList:[],//小微企业图片
- ptype:'add',
- id:'',//申请id
- declareFj:{},//
- //{tit:'关联企业征信报告',type:'glqyzxbg'},
- // {tit:'法人结婚证',type:'frjhz'},{tit:'法人离婚证',type:'frlhz'},
- // {tit:'法人配偶身份证人像面',type:'frsfzpormx'},{tit:'法人配偶身份证国徽面',type:'frsfzpoghm'},
- //担保类型为反担保人担保{tit:'反担保人身份证人像面',type:'fdbrsfzrmx'},{tit:'反担保人身份证国徽面',type:'fdbrsfzghm'},
- //担保类型为抵押{tit:'企业固定资产证明',type:'qygdzczm'},
- ischange:false,
- isdetail:false,
- qygdlist:[],//企业股东列表
- dfdwpicker: {
- title: '选择担保类型',
- layer: null,
- titflag:true,
- data: []
- },
- loadflag:false,
- fjdelIdList:[],//fj删除id集合
- gdFjdelIdList:[],//股东fj表股东整体删除id集合
- fjRemarkFj:[],//附件pdf
- }
- },
- onUnload(){
- uni.$off('refreshtalb')
- },
- watch:{
- datainfo:{
- handler(newVal, oldVal) {
- if(this.isdetail){
- this.isdetail=false
- }else{
- this.ischange=true
- }
- },
- deep: true
- },
- },
- onBackPress(e) {
- var that=this;
- var datainfo=that.datainfo;
- if(this.ischange&&(!datainfo.loanSchedule||datainfo.loanSchedule<3)){
- var a=0;
- showConfirm('内容已做修改,是否暂存').then(res => {
- if (res.confirm) {
- this.getZanFn('back')
- }else{
- this.ischange=false;
- uni.navigateBack({
- delta:1
- })
- return false
- }
- })
- return true
- }else{
- return false
- uni.navigateBack({
- delta:1
- })
- }
-
- },
- onLoad(e) {
- // this.getIdCardDet()
- // return
- this.baseUrl=baseUrl
- var data=JSON.parse(decodeURIComponent(e.data))
- if(data.type){
- this.ptype=data.type;
- this.id=data.id;
- if(Number(data.val)<4){
- this.stepval=Number(data.val)+1
- }
- this.getDetail()
- }else{
- this.datainfo.applicationAmount=data.applicationAmount;
- this.datainfo.applicationBank=data.applicationBank;
- this.datainfo.usagePeriod=data.usagePeriod;
- this.datainfo.purposeFunds=data.purposeFunds;
- this.datainfo.repaymentSource=data.repaymentSource;
- this.datainfo.applicationType=data.applicationType;
- if(data.applicationType==1){
- var obj={tit:'当期财务报表',type:'dqcwbb'};
- this.sqbtfiles.push(obj)
- }
- this.getNumber();
- this.getSbjListFn()
- }
- uni.$on('refreshtalb', (e) => {
- this.datainfo.categoryType=e.categoryName
- this.categoryId=e.categoryId
- })
- this.init()
- this.getQylist()
- this.getDocumentList()
- },
- mounted() {
- this.getHeightFn()
- // var obj={
- // loanApplicationNumber:this.datainfo.loanApplicationNumber
- // }
- // this.option.formData=JSON.parse(JSON.stringify(obj))
- // this.$refs['lsjUpload'].setData('formData.loanApplicationNumber','RZDB202404251759453241637');
- },
- methods:{
- checkPermi, checkRole,
- getRecorddwFn(){
- this.$refs.treePickerzrdw._show();
- },
- selectChangezrdw(e){
- var val=e;
- var newArr=[],newVal=[];
- var a=0;
- e.forEach((ite,idx)=>{
- newArr[idx]=ite.deptName
- newVal[idx]=ite.deptId
- if(ite.deptId==4){
- a=1
- }
- })
- this.dblx=newArr.join(',')
- this.datainfo.guaranteeType=newVal.join(',');
- if(a==1){
- this.getGdFjlist()
- }
- },
- getIdCardDet(){
- getIdCardDet(this.userId).then(res=>{
- if(res.code==200){
-
- }
- })
- },
- init(){
- // 用户类型
- getDictionaryFn('customer_type').then(res=>{
- if(res.code==200){
- this.yhlxlist = res.data.map(v => {
- return {
- label: v.dictLabel,
- value: v.dictValue
- }
- })
- }
- })
- // 婚姻状况
- getDictionaryFn('marital_status').then(res=>{
- if(res.code==200){
- this.hyztlist = res.data.map(v => {
- return {
- label: v.dictLabel,
- value: v.dictValue
- }
- })
- }
- })
- // 担保类型
- getDictionaryFn('guarantee_type').then(res=>{
- if(res.code==200){
- this.dblxlist = res.data.map(v => {
- return {
- label: v.dictLabel,
- value: v.dictValue,
- }
- })
- }
- })
- // 基础附件
- getDictionaryFn('application_fj_jc').then(res=>{
- if(res.code==200){
- var obj={}
- var data=res.data;
- data.forEach(v=>{
- obj[v.dictValue]=v.dictLabel
- })
- this.jcfjobj=obj
- }
- })
- // 反担保人
- getDictionaryFn('counter_guarantor').then(res=>{
- if(res.code==200){
- var obj={}
- var data=res.data;
- data.forEach(v=>{
- obj[v.dictValue]=v.dictLabel
- })
- this.fdbrobj=obj
- }
- })
- // 反担保企业附件
- getDictionaryFn('counter_attachment').then(res=>{
- if(res.code==200){
- var obj={}
- var data=res.data;
- data.forEach(v=>{
- obj[v.dictValue]=v.dictLabel
- })
- this.fdbqyobj=obj
- }
- })
- },
- getSbjListFn(){
- // 申报附件
- getDictionaryFn('application_fj_sb').then(res=>{
- if(res.code==200){
- var declareFj=this.declareFj;
- this.sbfjlist = res.data.map(v => {
- return {
- label: v.dictLabel,
- val: v.dictValue,
- fjlist:declareFj[v.dictValue]||[]
- }
- })
- let signArr = JSON.parse(JSON.stringify(this.filelist));
- signArr = signArr.filter(s => {
- // if (res.data.find(l => l.dictValue == s.type && l.title == s.title)) return false
- if (res.data.find(l => l.dictValue == s.type)) return false
- else return true;
- })
- this.filelist = signArr;
- }
- })
- },
- getGdFjlist(){
- // var params={
- // loanApplicationNumber:this.datainfo.loanApplicationNumber
- // }
- // getGdlistNoPage(params).then(res=>{
- // if(res.code==200){
- // this.qygdlist=res.data
- // }
- // })
- },
- getQylist(){
- // 需要userid
- var params={
- userId:this.userId
- }
- getQyListNoPage(params).then(res=>{
- if(res.code==200){
- this.qylist = res.rows.map(v => {
- return {
- label: v.enterpriseName,
- value: v.enterpriseId
- }
- })
- }
- })
- },
- getNumber(){
- getApplicationNum().then(res=>{
- if(res.code==200){
- this.datainfo.loanApplicationNumber=res.data;
- var obj={
- loanApplicationNumber:this.datainfo.loanApplicationNumber
- }
- this.option.formData=JSON.parse(JSON.stringify(obj))
- }
- })
- },
- getHeightFn(){
- let query = uni.createSelectorQuery().in(this);
- var s=uni.getSystemInfoSync().statusBarHeight;
- //需要给黄色区域设置一个id标识,在这里是demo
- query.select('.navtop').boundingClientRect(data => {
- // #ifdef H5
- this.listTop =s ? Number(data.height)*2:(Number(data.height)-20)*2//赋值,待会要用
- // #endif
- // #ifndef H5
- this.listTop = Number(data.height)*2//赋值,待会要用
- // #endif
-
-
- }).exec();
- },
- getDbclFn(){
- this.$tab.navigateTo("/work/pages/prove/dbcltips")
- },
- getBack(){
- // 暂存
- uni.navigateBack({
- delta:1
- })
- },
- getGiveupFn(){
- var that=this;
- uni.showModal({
- title: '放弃编辑',
- content: "是否确认放弃编辑",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- that.$tab.reLaunch('/pages/index/index')
- } else if (res.cancel) {
- }
- }
- });
- },
- getPreFn(){
- uni.pageScrollTo({
- scrollTop: 0,
- duration: 0
- })
- this.stepval=Number(this.stepval)-1
- },
- getNextFn(){
- // 暂不判断必填写完否
- uni.pageScrollTo({
- scrollTop: 0,
- duration: 0
- })
- this.stepval=Number(this.stepval)+1
- },
- getPreview(url) {
- var newArr=[];
- newArr.push(url)
- uni.previewImage({
- urls: newArr,
- current:0,
- success: function(data) {
-
- },
- fail: function(err) {
-
- }
- });
- },
- showImg(){
- this.ftype='fwb'
- // this.lookflag=true
- },
- getClose(){
- this.ftype=''
- },
- getTalbFn(){
- var obj={
- id:this.categoryId,
- name:this.datainfo.categoryType,
- }
- this.$tab.navigateTo('/work/pages/business/talbclass?data='+encodeURIComponent(JSON.stringify(obj)))
- },
- // 添加股东
- getAddGdFn(){
- var obj = {cardz:'',cardf:'',zxurl:[],zhizhao:[],shareholderName:"",shareholderIdCard:'',}
- this.gdlist.push(obj);
- },
- // 添加反担保人
- getAddFdbFn(){
- var obj = {type:1,guaranteeName:'',guaranteeIdCard:'',guaranteePhone:'',guaranteeInfoFjList:[]}
- this.fdarlist.push(obj);
- },
- //添加反担保企业
- getAddQiFn(){
- var obj = {type:2,guaranteeName:'',guaranteeIdCard:'',guaranteeInfoFjList:[]}
- this.fdaqylist.push(obj);
- },
- // 删除股东
- getdelGdFn(idx,ite){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- if(ite.shareholderFjId){
- var id=ite.shareholderFjId;
- that.gdFjdelIdList.push(id)
- }
- that.gdlist.splice(idx,1);
- } else if (res.cancel) {
- }
- }
- });
- },
- // 删除反担保人
- getdelFdbFn(idx,ite){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- if(ite.guaranteeInfoId){
- var id=ite.guaranteeInfoId;
- that.fdbdeldIdList.push(id)
- }
- that.fdarlist.splice(idx,1);
- } else if (res.cancel) {
- }
- }
- });
- },
- // 删除反担保企业
- getdelQyFn(idx,ite){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- if(ite.guaranteeInfoId){
- var id=ite.guaranteeInfoId;
- that.fdbdeldIdList.push(id)
- }
- that.fdaqylist.splice(idx,1);
- } else if (res.cancel) {
- }
- }
- });
- },
- statusFormats(ite,list,type){//多选匹配
- if(ite){
- var actions = [];
- list.forEach(s => {
- if(ite.indexOf(s.value)>-1){
- actions.push(s.label);
- }
- })
- return actions.join(',')
- }else{
- return ''
- }
- },
- statusFormat(ite,list,type) {
- var aite=selectValueKey(list, ite);
- if(type=='qy'){
- this.qyidx=aite.key
- }else if(type=='dblx'){
- this.dblxidx=aite.key
- }else if(type=='yhlx'){
- this.yhlxidx=aite.key
- }else if(type=='ywdk'){
- this.ywidx=aite.key
- }else if(type=='msqy'){
- this.sfidx=aite.key
- }else if(type=='frhyzk'){
- this.frhyzkidx=aite.key
- this.frhyzk=aite.actions;
- }
- return aite.actions;
- },
- bindDateChangea(e){
- // 企业信息
- var val=e.detail.value;
- this.datainfo.enterpriseName=this.qylist[val].label;
- this.datainfo.enterpriseId=this.qylist[val].value;
- },
- bindDateChangeb(e){
- // 用户类型
- var val=e.detail.value;
- this.yhlx=this.yhlxlist[val].label;
- this.datainfo.customerType=this.yhlxlist[val].value;
- },
- bindDateChangec(e){
- // 有无贷款
- var val=e.detail.value;
- this.datainfo.isLoan=this.ywList[val].value;
- },
- getDelfzpo(type){
- if(type=='front'){
- this.datainfo.spouseFront="";
- this.datainfo.spouseName="";
- this.datainfo.spouseIdCard="";
- }else{
- this.datainfo.spouseBack="";
- }
- },
- getDelfdbfzpo(type,idx){
- var obj=this.fdarlist[idx];
- const index = obj.findIndex(text => text.type === type);
- if(type=='fdbrsfzrmx'){
- obj.guaranteeName="";
- obj.guaranteeIdCard="";
- }
- this.fdarlist[idx].fjlist.splice(index,1)
- },
- bindDateChanged(e){
- // 婚姻状态
- var val=e.detail.value;
- var value=this.hyztlist[val].value;
- var list=this.btfiles;
- if(this.datainfo.corporationMaritalStatus!=value){
- this.frhyzk=this.hyztlist[val].label;
- this.datainfo.corporationMaritalStatus=this.hyztlist[val].value;
- if(value==3){//离异
- // 删除结婚证
- var obj={tit:'法人离婚证',type:'frlhz'}
- const index = list.findIndex(text => text.type === "frjhz");
- if(index!=-1){
- this.btfiles.splice(index,1,obj)
- }else{
- this.btfiles.push(obj)
- }
- }else if(value==1){//已婚
- // 删除离婚证
- var obj={tit:'法人结婚证',type:'frjhz'}
- const index = list.findIndex(text => text.type === "frlhz");
- if(index!=-1){
- this.btfiles.splice(index,1,obj)
- }else{
- this.btfiles.push(obj)
- }
- }else{
- // 未婚
- const index = this.btfiles.findIndex(text => text.type === "frlhz");
- if(index!=-1){
- this.btfiles.splice(index,1)
- }
- const indexa = this.btfiles.findIndex(text => text.type === "frjhz");
- if(indexa!=-1){
- this.btfiles.splice(indexa,1)
- }
- }
- }
-
- },
- bindDateChangee(e){
- // 担保类型
- var val=e.detail.value;
- this.dblx=this.dblxlist[val].label;
- this.datainfo.guaranteeType=this.dblxlist[val].value;
- var value=this.dblxlist[val].value;
- var list=this.btfiles;
- var sqlist=this.sqlist;
- },
- // 反担保企业
- bindDateChangeg(e){
- var val=e.detail.value;
- var data=this.qygdlist[val]
- this.datainfo.guaranteeShareholderName=data.shareholderName;
- var obj={
- name:'企业营业执照',
- // oldName:oldName,
- url:data.shareholderBusinessUrl,
- type:'fdbqyyyzz',
- bigType:'a',
- }
- let indices = this.filelist.filter((ite, index) => ite.type!== "fdbqyyyzz")||[]
- indices.push(obj)
- this.filelist=indices
- this.datainfo.loanApplicationFjList=JSON.parse(JSON.stringify(this.filelist))
- },
- // 免税
- bindDateChangef(e){
- var val=e.detail.value;
- // this.dblx=this.sfList[val].text;
- this.datainfo.isDuty=this.sfList[val].value;
- },
- getZanFn(type){
- var that=this;
- if(this.loadflag){
- return
- }
- var params=JSON.parse(JSON.stringify(this.datainfo));
- var gdlist=this.gdlist;
- var shFjList=[]
- Object.keys(gdlist).some((key) => {
- var fjurl={
- shareholderFrontUrl:gdlist[key].cardz,
- shareholderBackUrl:gdlist[key].cardf,
- shareholderZxUrl:gdlist[key].zxurl.join(','),
- shareholderBusinessUrl:gdlist[key].zhizhao.join(','),
- shareholderName:gdlist[key].shareholderName,
- shareholderIdCard:gdlist[key].shareholderIdCard,
- shareholderFjId:gdlist[key].shareholderFjId,
- shareholderZxUrlPdf:gdlist[key].shareholderZxUrlPdf,
- loanApplicationNumber:gdlist[key].loanApplicationNumber,
- }
- shFjList.push(fjurl)
- })
- params.shareholderFjList=JSON.parse(JSON.stringify(shFjList))
- var flist=JSON.parse(JSON.stringify(this.filelist));
- var sbfjlist=this.sbfjlist;
- sbfjlist.forEach(ite=>{
- if(ite.fjlist&&ite.fjlist.length){
- ite.fjlist.forEach(itet=>{
- flist.push(itet)
- })
- }
- })
- if(this.fjRemarkFj&&this.fjRemarkFj.length>0){
- flist=flist.concat(this.fjRemarkFj)
- }
- params.loanApplicationFjList=JSON.parse(JSON.stringify(flist))
- params.loanApplicationFjIdList=JSON.parse(JSON.stringify(this.fjdelIdList))
- params.shareholderFjIdList=JSON.parse(JSON.stringify(this.gdFjdelIdList))
- var fdarlist=JSON.parse(JSON.stringify(this.fdarlist))
- var fdaqylist=JSON.parse(JSON.stringify(this.fdaqylist))
- var guaranteeInfoList=[];
- guaranteeInfoList=fdarlist.concat(fdaqylist)
- var fdbFjList=[]
- Object.keys(guaranteeInfoList).some((key) => {
- var fjurl=guaranteeInfoList[key];
- var fdbfjlist=fjurl.guaranteeInfoFjList
- fjurl.loanApplicationNumber=this.datainfo.loanApplicationNumber;
- fjurl.loanApplicationId=this.datainfo.loanApplicationId;
- if((!fdbfjlist||fdbfjlist.length<1)&&fjurl.type==1&&fjurl.guaranteeInfoId&&!fjurl.guaranteePhone){
- this.fdbdeldIdList.push(fjurl.guaranteeInfoId)
- }
- if((!fdbfjlist||fdbfjlist.length<1)&&fjurl.type==2&&fjurl.guaranteeInfoId){
- this.fdbdeldIdList.push(fjurl.guaranteeInfoId)
- }
- if(fjurl.type==1&&(fdbfjlist&&fdbfjlist.length||fjurl.guaranteePhone)){
- fdbFjList.push(fjurl)
- }else if(fjurl.type==2&&fdbfjlist&&fdbfjlist.length){
- fdbFjList.push(fjurl)
- }
- })
- params.guaranteeInfoList=JSON.parse(JSON.stringify(fdbFjList))
- params.guaranteeInfoFjIdList=JSON.parse(JSON.stringify(this.fdbdelxIdList))
- params.guaranteeInfoIdList=JSON.parse(JSON.stringify(this.fdbdeldIdList))
- console.log(this.fjdelIdList,this.gdFjdelIdList,123,this.fdbdelxIdList,this.fdbdeldIdList)
- uni.showLoading({
- title: '加载中'
- });
- this.loadflag=true;
- getApplicationZc(params).then(res=>{
- uni.hideLoading();
- this.loadflag=false;
- if(res.code==200){
- this.ischange=false;
-
- // 刷新列表
- setTimeout(function(){
- if(that.ptype=='add'){
- that.$toast('暂存成功')
- setTimeout(function(){
- that.$tab.reLaunch('/pages/index/index')
- },1200)
- }else{
- that.$toast('暂存成功,请稍后重新刷新')
- uni.$emit('refreshywlist')
- setTimeout(function(){
- uni.navigateBack({
- delta:2
- })
- },1200)
-
- // if(type&&type=='back'){
- // uni.navigateBack({
- // delta:1
- // })
- // }
- }
- },1200)
- }
- }).catch(error => {
- uni.hideLoading();
- this.loadflag=false;
- })
- },
- getDetail(){
- getApplicationDet(this.id).then(res=>{
- if(res.code==200){
- this.datainfo=res.data;
- this.isdetail=true;
- if(res.data&&res.data.applicationType==1){
- var obj={tit:'当期财务报表',type:'dqcwbb'};
- this.sqbtfiles.push(obj)
- }
- var data=res.data;
- var obj={
- loanApplicationNumber:res.data.loanApplicationNumber
- }
- this.option.formData=JSON.parse(JSON.stringify(obj))
-
- if(data.loanApplicationFjList){
- // 筛除自动生成的附件
- var filterlist=JSON.parse(JSON.stringify(data.loanApplicationFjList))
- var fjRemarkFj=[]
- this.filelist=filterlist.filter((ite) => {
- if(ite.remark==1){
- fjRemarkFj.push(ite)
- }
- return ite.remark!=1;
- })
- this.fjRemarkFj=JSON.parse(JSON.stringify(fjRemarkFj));
- // console.log(fjRemarkFj,1)
- // this.filelist=JSON.parse(JSON.stringify(data.loanApplicationFjList))
- }
- if(data.declareFj){
- var declareFj=data.declareFj;
- Object.keys(declareFj).some((key) => {
- declareFj[key]=declareFj[key].filter((ite) => {
- return ite.remark!=1
- })
- })
- this.declareFj=JSON.parse(JSON.stringify(declareFj));
- // this.declareFj=data.declareFj;
- }
- if(data.shareholderFjList){
- var shFjList=[]
- var gdlist=data.shareholderFjList;
- Object.keys(gdlist).some((key) => {
- var fjurl={
- shareholderFjId:gdlist[key].shareholderFjId,
- cardz:gdlist[key].shareholderFrontUrl,
- cardf:gdlist[key].shareholderBackUrl,
- zxurl:[],
- zhizhao:[],
- shareholderName:gdlist[key].shareholderName,
- shareholderIdCard:gdlist[key].shareholderIdCard,
- shareholderZxUrlPdf:gdlist[key].shareholderZxUrlPdf,
- loanApplicationNumber:gdlist[key].loanApplicationNumber,
- }
- if(gdlist[key].shareholderZxUrl){
- fjurl.zxurl=gdlist[key].shareholderZxUrl.split(',')
- }
- if(gdlist[key].shareholderBusinessUrl){
- fjurl.zhizhao=gdlist[key].shareholderBusinessUrl.split(',')
- }
- shFjList.push(fjurl)
- })
- this.gdlist=JSON.parse(JSON.stringify(shFjList))
- }
- // 反担保附件
- if(data.guaranteeInfoList&&data.guaranteeInfoList.length>0){
- var fdarlist=[],fdaqylist=[];
- var gInfoList=data.guaranteeInfoList;
- Object.keys(gInfoList).some((key) => {
- var obj=gInfoList[key];
- var fdblist=gInfoList[key].guaranteeInfoFjList;
- fdblist=fdblist.filter((ite) => {
- return ite.remark!=1
- })
- obj.guaranteeInfoFjList=JSON.parse(JSON.stringify(fdblist))
- if(obj.type==1){
- fdarlist.push(obj)
- }else if(obj.type==2){
- fdaqylist.push(obj)
- }
- })
- if(fdarlist&&fdarlist.length){
- this.fdarlist=JSON.parse(JSON.stringify(fdarlist))
- }
- if(fdaqylist&&fdaqylist.length){
- this.fdaqylist=JSON.parse(JSON.stringify(fdaqylist))
- }
- }
- this.getSbjListFn()
- this.getGdFjlist()
- }
- })
- },
- getSubmit(){
- var that=this;
- if(this.loadflag){
- return
- }
- // 判断附件是否完整
- var params=JSON.parse(JSON.stringify(this.datainfo));
- if(!params.enterpriseName){
- this.$toast("请选择企业名称")
- return
- }
- if(!params.categoryType){
- this.$toast("请选择行业类型")
- return
- }
- if(!params.customerType){
- this.$toast("请选择用户类型")
- return
- }
- if(!params.corporationFront){
- this.$toast("请上传法人身份证人像面")
- return
- }
- if(!params.corporationBack){
- this.$toast("请上传法人身份证国徽面")
- return
- }
- if(!params.isLoan){
- this.$toast("请选择有无贷款")
- return
- }
- if(!this.frhyzk){
- this.$toast("请选择婚姻状态")
- return
- }
- if(params.corporationMaritalStatus==1){
- if(!params.spouseFront){
- this.$toast("请上传配偶身份证人像面")
- return
- }
- if(!params.spouseBack){
- this.$toast("请上传配偶身份证国徽面")
- return
- }
- }
- if(!params.corporationPhone){
- // 验证手机号
- this.$toast("请输入法人手机号")
- return
- }
-
- let regphone = /^1[3|4|5|6|7|8|9][0-9]\d{8}$/
- if (params.corporationPhone && !regphone.test(params.corporationPhone)) {
- that.$toast("请输入正确的法人手机号")
- return
- }
-
- var gdlist=this.gdlist;
- var shFjList=[]
- var a=0;
- Object.keys(gdlist).some((key) => {
- var str="请上传股东"+(Number(key)+1)
- if(gdlist[key].zhizhao<1 && !gdlist[key].cardz){
- a=1;
- that.$toast(str+'营业执照或者身份证')
- return true;
- }else{
- if(gdlist[key].cardz){
- if(!gdlist[key].cardf){
- a=1;
- that.$toast(str+'身份证国徽面')
- return true;
- }
- }
- }
-
- // if(!gdlist[key].cardz){
- // a=1;
- // that.$toast(str+"身份证人像面")
- // return true;
- // }else if(!gdlist[key].cardf){
- // a=1;
- // that.$toast(str+'身份证国徽面')
- // return true;
- // }
-
- if(gdlist[key].zxurl<1){
- a=1;
- that.$toast(str+'征信报告')
- return true;
- }
- var fjurl={
- shareholderFrontUrl:gdlist[key].cardz,
- shareholderBackUrl:gdlist[key].cardf,
- shareholderZxUrl:gdlist[key].zxurl.join(','),
- shareholderBusinessUrl:gdlist[key].zhizhao.join(','),
- shareholderName:gdlist[key].shareholderName,
- shareholderIdCard:gdlist[key].shareholderIdCard,
- shareholderFjId:gdlist[key].shareholderFjId,
- shareholderZxUrlPdf:gdlist[key].shareholderZxUrlPdf,
- loanApplicationNumber:gdlist[key].loanApplicationNumber,
- }
- shFjList.push(fjurl)
- })
- params.shareholderFjList=JSON.parse(JSON.stringify(shFjList))
- if(a==1){
- return
- }
- if(!params.guaranteeType){
- this.$toast("请选择担保类型")
- return
- }
- var flist=JSON.parse(JSON.stringify(this.filelist));
- var btfiles=JSON.parse(JSON.stringify(this.btfiles));
- var sqbtfiles=JSON.parse(JSON.stringify(this.sqbtfiles));
-
- var fdarlist=JSON.parse(JSON.stringify(this.fdarlist))
- var fbdfiles=JSON.parse(JSON.stringify(this.fbdfiles))
- var fdaqylist=JSON.parse(JSON.stringify(this.fdaqylist))
- var fdbqyfiles=JSON.parse(JSON.stringify(this.fdbqyfiles))
- var guaranteeInfoList=[]
- if(params.guaranteeType.indexOf('1')>-1){//抵押担保
- var obj={tit:'企业固定资产证明',type:'qygdzczm'}
- sqbtfiles.push(obj)
- }
- // 反担保人担保
- var d=0,da=0;
- Object.keys(fdarlist).some((key) => {
- fdarlist[key].loanApplicationNumber=that.datainfo.loanApplicationNumber
- fdarlist[key].loanApplicationId=that.datainfo.loanApplicationId
- var str="请上传反担保人"+(Number(key)+1)
- var flist=fdarlist[key].guaranteeInfoFjList;
- var guaranteePhone=fdarlist[key].guaranteePhone;
- if(flist&&flist.length){
- da=1;
- guaranteeInfoList.push(fdarlist[key])
- if(params.guaranteeType.indexOf('2')>-1){
- if(!guaranteePhone){
- that.$toast(str+'手机号')
- d=1;
- return true;
- }
- // 验证手机号
- if (guaranteePhone && !regphone.test(guaranteePhone)) {
- that.$toast("请输入正确的反担保人"+(Number(key)+1)+"手机号")
- d=1;
- return true;
- }
- Object.keys(fbdfiles).some((fkey)=>{
- if (flist.find(l => l.type == fbdfiles[fkey].type)) {
- return false
- }else{
- d=1;
- that.$toast(str+fbdfiles[fkey].tit)
- return true;
- }
- })
- }
- }else{
- if(fdarlist[key].guaranteeInfoId&&!guaranteePhone){
- this.fdbdeldIdList.push(fdarlist[key].guaranteeInfoId)
- }
- if(guaranteePhone){
- guaranteeInfoList.push(fdarlist[key])
- }
- }
- if(d==1){
- return true
- }
- })
- if(da==0&¶ms.guaranteeType.indexOf('2')>-1){
- that.$toast('请上传反担保人身份证人面像')
- return true
- }
- if(d==1){
- return
- }
- // 反担保企业
- var e=0,ea=0;
- Object.keys(fdaqylist).some((key) => {
- fdaqylist[key].loanApplicationNumber=that.datainfo.loanApplicationNumber
- fdaqylist[key].loanApplicationId=that.datainfo.loanApplicationId
- var str="请上传反担保企业"+(Number(key)+1)
- var flist=fdaqylist[key].guaranteeInfoFjList;
- if(flist&&flist.length){
- ea=1;
- guaranteeInfoList.push(fdaqylist[key])
- if(params.guaranteeType.indexOf('4')>-1){//企业保证
- Object.keys(fdbqyfiles).some((fkey)=>{
- if (flist.find(l => l.type == fdbqyfiles[fkey].type)) {
- return false
- }else{
- e=1;
- that.$toast(str+fdbqyfiles[fkey].tit)
- return true;
- }
- })
- }
-
- }else{
- if(fdaqylist[key].guaranteeInfoId){
- this.fdbdeldIdList.push(fdaqylist[key].guaranteeInfoId)
- }
- }
- if(e==1){
- return true
- }
-
- })
- if(ea==0&¶ms.guaranteeType.indexOf('4')>-1){
- that.$toast('请上传反担保企业营业执照')
- return
- }
- if(e==1){
- return
- }
- // console.log(guaranteeInfoList)
- // return
- // if(params.guaranteeType.indexOf('2')>-1){//反担保人担保
- // // 选择担保人担保
- // if(!params.guaranteePhone){
- // // 验证手机号
- // this.$toast("请输入反担保人手机号")
- // return
- // }
- // if (params.guaranteePhone && !regphone.test(params.guaranteePhone)) {
- // that.$toast("请输入正确的反担保人手机号")
- // return
- // }
- // if(!params.guaranteeFront){
- // this.$toast("请上传反担保人身份证人像面")
- // return
- // }
- // if(!params.guaranteeBack){
- // this.$toast("请上传反担保人身份证国徽面")
- // return
- // }
- // }
- if(params.guaranteeType.indexOf('3')>-1){//企业保证
- var obj={tit:'反担保抵(质)押复印件',type:'fdbdyfyj'}
- sqbtfiles.push(obj)
- }
- // if(params.guaranteeType.indexOf('4')>-1){//企业保证
- // var obj={tit:'反担保企业营业执照',type:'fdbqyyyzz'}
- // var objb={tit:'反担保企业征信',type:'fdbqyzx'}
- // btfiles.push(obj)
- // btfiles.push(objb)
- // }
- var b=0;
- Object.keys(btfiles).some((key) => {
- if (flist.find(l => l.type == btfiles[key].type)) {
- return false
- }else{
- b=1;
- that.$toast('请上传'+btfiles[key].tit)
- return true;
- }
- })
- if(b==1){
- return
- }
- if(!params.isDuty){
- this.$toast("请选择是否免税企业")
- return
- }
- var sbfjlist=this.sbfjlist;
- var sbArr=[]
- var c=0;
- Object.keys(sqbtfiles).some((key) => {
- if (sbfjlist.find(l => (l.val == sqbtfiles[key].type) && l.fjlist.length>0)) {
- return false
- }else{
- c=1;
- that.$toast('请上传'+sqbtfiles[key].tit)
- return true;
- }
- })
- if(c==1){
- return
- }
- sbfjlist.forEach(ite=>{
- if(ite.fjlist&&ite.fjlist.length){
- ite.fjlist.forEach(itet=>{
- flist.push(itet)
- })
- }
- })
- if(this.fjRemarkFj&&this.fjRemarkFj.length>0){
- flist=flist.concat(this.fjRemarkFj)
- }
- params.loanApplicationFjList=JSON.parse(JSON.stringify(flist))
- params.loanApplicationFjIdList=JSON.parse(JSON.stringify(this.fjdelIdList))
- params.shareholderFjIdList=JSON.parse(JSON.stringify(this.gdFjdelIdList))
- params.guaranteeInfoList=JSON.parse(JSON.stringify(guaranteeInfoList))
- params.guaranteeInfoFjIdList=JSON.parse(JSON.stringify(this.fdbdelxIdList))
- params.guaranteeInfoIdList=JSON.parse(JSON.stringify(this.fdbdeldIdList))
- console.log(this.fjdelIdList,this.gdFjdelIdList,222,this.fdbdelxIdList,this.fdbdeldIdList)
-
- uni.showLoading({
- title: '加载中'
- });
- this.loadflag=true;
- if(this.ptype=='add'){
- getApplicationAdd(params).then(res=>{
- uni.hideLoading();
- this.loadflag=false;
- if(res.code==200){
- that.ischange=false;
- that.$toast("新增成功,请稍后重新刷新")
- setTimeout(function(){
- that.$tab.redirectTo('/work/pages/success')
- },1200)
- }
- }).catch(error => {
- uni.hideLoading();
- this.loadflag=false;
- })
- }else{
- getApplicationEdit(params).then(res=>{
- uni.hideLoading();
- this.loadflag=false;
- if(res.code==200){
- that.ischange=false;
- that.$toast("修改成功,请稍后重新刷新")
- setTimeout(function(){
- uni.$emit('refreshywlist')
- uni.navigateBack({
- delta:2
- })
- },1200)
- }
- }).catch(error => {
- uni.hideLoading();
- this.loadflag=false;
- })
- }
-
- //
- // this.$tab.navigateTo('/work/pages/success')
- },
- getaddImage(e){
- let that = this;
- let file =[],count=9
- // if(e=='zj'){
- // file = that.zjfile;
- // count=9
- // }else{
- // file = that.mjfile;
- // count=9
- // }
- uni.chooseImage({
- count: 1,
- success:function(res){
- let img= res.tempFilePaths;
- if(img.length + file.length > count){
- uni.showToast({
- title: '最多上传'+count+'张图片',
- icon: 'none',
- duration: 2000
- })
- }else{
- let imglen = res.tempFilePaths.length;
- var fuwufile = [];
- uploadmore('/common/upload',img,0,0,0,imglen,fuwufile,function(rs){
- if(e=='zj'){
- that.zjfile = that.zjfile.concat(rs);
- that.datainfo.identificationPhoto=that.zjfile.join(',')
- }
- })
- }
- }
- });
- },
- // 人像面
- ponuploadEnd(item,fileVal,bigType){
- var newobj={}
- var responseText=JSON.parse(item.responseText)
- if(responseText.code==200){
- var url=responseText.fileName
- var urlOnline=responseText.urlOnline
- if(fileVal=='frsfzrmx'){
- this.datainfo.corporationFront=url;
- // 获取姓名 身份证号
- this.getocrIdCard(urlOnline,fileVal)
- }else if(fileVal=='frsfzghm'){
- this.datainfo.corporationBack=url
- }else if(fileVal=='frsfzpormx'){
- this.datainfo.spouseFront=url
- this.getocrIdCard(urlOnline,fileVal)
- }else if(fileVal=='frsfzpoghm'){
- this.datainfo.spouseBack=url
- // }else if(fileVal=='fdbrsfzrmx'){
- // this.getocrIdCard(urlOnline,fileVal)
- // this.datainfo.guaranteeFront=url
- // }else if(fileVal=='fdbrsfzghm'){
- // this.datainfo.guaranteeBack=url
- }
- }else{
- this.$toast(responseText.msg)
- }
- },
- getDocumentList(){
- var params={
- explainType:2
- }
- getDocumentList(params).then(res=>{
- if(res.code==200){
- var list=res.rows;
- if(list&&list.length){
- var content=list[0].explainContent;
- this.content=this.formatRichText(content);
-
- // 图片
- if(list[0].explainImage){
- this.xwimgList=list[0].explainImage.split(',')
- }
-
- }
- }
- })
- },
- //解析富文本方法
- formatRichText(html) {
- let newContent = html.replace(/<img[^>]*>/gi, function(match, capture) {
- match = match.replace(/style="[^"]+"/gi, '').replace(/style='[^']+'/gi, '').replace(/style=""/gi, '');
- match = match.replace(/width="[^"]+"/gi, '').replace(/width='[^']+'/gi, '');
- match = match.replace(/height="[^"]+"/gi, '').replace(/height='[^']+'/gi, '');
- return match;
- });
- newContent = newContent.replace(/style="[^"]+"/gi, function(match, capture) {
- match = match.replace(/width:[^;]+;/gi, 'max-width:100%;').replace(/width:[^;]+;/gi, 'max-width:100%;');
- return match;
- });
- newContent = newContent.replace(/<br[^>]*\/>/gi, '');
- newContent = newContent.replace(/\<img src="/gi,
- '<img style="max-width:100%;height:auto;display:block;margin:10rpx auto;" src="' +baseUrlimg);
- return newContent;
- },
- getOcrBusinessLicense(url,fileName,idx){
- var that=this;
- var obj=this.gdlist[idx];
- var params={
- image:url,
- }
- getOcrBusinessLicense(params).then(res=>{
- if(res.code==200){
- var params=JSON.parse(JSON.stringify(res.data))
- obj.shareholderName=params.enterpriseName;
- obj.shareholderIdCard=params.creditCode;
- obj.zhizhao[0]=fileName
- this.gdlist.splice(idx,1,obj)
- this.$toast('营业执照上传成功')
- }
- })
- },
- // 反担保企业识别
- getOcrBusinessLicensefdb(newobj,url,idx){
- var that=this;
- var params={
- image:url,
- }
- getOcrBusinessLicense(params).then(res=>{
- if(res.code==200){
- var params=JSON.parse(JSON.stringify(res.data))
- var obj=this.fdaqylist[idx];
- obj.guaranteeName=params.enterpriseName;
- obj.guaranteeIdCard=params.creditCode;
- if(obj.guaranteeInfoFjList&&obj.guaranteeInfoFjList.length){
- var fdblist=obj.guaranteeInfoFjList
- that.fdbdelxIdList.push(fdblist[0].guaranteeInfoFjId)
- }
- obj.guaranteeInfoFjList[0]=JSON.parse(JSON.stringify(newobj))
- // obj.guaranteeInfoFjList.push(newobj)
- this.fdaqylist.splice(idx,1,obj)
- this.$toast('营业执照上传成功')
- }
- })
- },
- getocrIdCard(url,type,idx){
- var that=this;
- var burl=url;
- var params={
- image:url,
- idCardSide:'front'
- }
- getOcrIdCard(params).then(res=>{
- if(res.code==200){
- var data=res.data;
- if(type=='frsfzrmx'){
- that.datainfo.corporationName=data.realName
- that.datainfo.corporationIdCard=data.idCard
- }else if(type=='frsfzpormx'){
- that.datainfo.spouseName=data.realName
- that.datainfo.spouseIdCard=data.idCard
- }else if(type=='fdbrsfzrmx'){
- var obj=this.fdarlist[idx];
- obj.guaranteeName=data.realName;
- obj.guaranteeIdCard=data.idCard;
- this.fdarlist.splice(idx,1,obj)
- }
- }
- }).catch(error => {
- if(type=='fdbrsfzrmx'){
- var obj=this.fdarlist[idx].guaranteeInfoFjList;
- const index = obj.findIndex(text => text.type === "fdbrsfzrmx");
- if(index!=-1){
- this.fdarlist[idx].guaranteeInfoFjList.splice(index,1)
- }
- }else if(type=='frsfzrmx'){
- this.datainfo.corporationFront=''
- }else if(type=='frsfzpormx'){
- this.datainfo.spouseFront=''
- }
- })
- },
- onuploadEnd(item,fileVal,bigType) {
- var newobj={}
- var responseText=JSON.parse(item.responseText)
- if(responseText.code==200){
- newobj.name=responseText.newFileName;
- newobj.oldName=responseText.originalFilename;
- newobj.url=responseText.fileName;
- newobj.type=fileVal;
- newobj.bigType=bigType;
- this.filelist.push(newobj)
- this.datainfo.loanApplicationFjList=JSON.parse(JSON.stringify(this.filelist))
- if(fileVal=='fdbqyyyzz'){
- this.datainfo.guaranteeShareholderName='';
- }
- }else{
- this.$toast(responseText.msg)
- }
- },
- // 股东附件上传 fileVal 为索引
- gdonuploadEnd(item,fileVal,bigType){
- var idx=Number(fileVal);
- var type=bigType;
- var obj=this.gdlist[idx];
- var responseText=JSON.parse(item.responseText);
- if(responseText.code==200){
- if(type=='cardz'){
- obj.cardz=responseText.fileName
- }else if(type=='cardf'){
- obj.cardf=responseText.fileName
- }else if(type=='zx'){
- obj.zxurl.push(responseText.fileName)
- // obj.zxurl[0]=responseText.fileName
- }else if(type=='zhz'){
- // obj.zhizhao.push(responseText.fileName)
- // obj.zhizhao[0]=responseText.fileName
- this.getOcrBusinessLicense(responseText.urlOnline,responseText.fileName,idx)
- return
- }
- console.log(this.gdlist,3)
- this.gdlist.splice(idx,1,obj)
- // this.datainfo.shareholderFjList=JSON.parse(JSON.stringify(this.gdlist))
- }else{
- this.$toast(responseText.msg)
- }
- },
- // 反担保附件上传bigType 为索引
- fdbuploadEnd(item,fileVal,bigType){
- var idx=Number(bigType);
- var obj=this.fdarlist[idx].guaranteeInfoFjList;
- var responseText=JSON.parse(item.responseText);
- if(responseText.code==200){
- var urlOnline=responseText.urlOnline
- // 附件赋值
- var newobj={};
- newobj.name=responseText.newFileName;
- newobj.oldName=responseText.originalFilename;
- newobj.url=responseText.fileName;
- newobj.type=fileVal;
- if(fileVal=='fdbrsfzrmx'||fileVal=='fdbrsfzghm'){//身份证
- // 找索引
- const index = obj.findIndex(text => text.type === fileVal);
- if(index!=-1){
- this.fdarlist[idx].guaranteeInfoFjList.splice(index,1,newobj)
- }else{
- this.fdarlist[idx].guaranteeInfoFjList.push(newobj)
- }
- if(fileVal=='fdbrsfzrmx'){
- this.getocrIdCard(urlOnline,fileVal,idx)
- }
- return
- }
- this.fdarlist[idx].guaranteeInfoFjList.push(newobj)
- }else{
- this.$toast(responseText.msg)
- }
- },
- // 反担保企业附件上传bigType 为索引
- fdbqyuploadEnd(item,fileVal,bigType){
- var idx=Number(bigType);
- var obj=this.fdaqylist[idx].guaranteeInfoFjList;
- var responseText=JSON.parse(item.responseText);
- if(responseText.code==200){
- var urlOnline=responseText.urlOnline
- // 附件赋值
- var newobj={};
- newobj.name=responseText.newFileName;
- newobj.oldName=responseText.originalFilename;
- newobj.url=responseText.fileName;
- newobj.type=fileVal;
- if(fileVal=='fdbqyyyzz'){
- this.getOcrBusinessLicensefdb(newobj,urlOnline,idx)
- return
- }
- this.fdaqylist[idx].guaranteeInfoFjList.push(newobj)
- }else{
- this.$toast(responseText.msg)
- }
- },
- // 申请附件上传
- fjonuploadEnd(item,fileVal,bigType,idx){
-
- var newobj={};
- var sbfjlist=this.sbfjlist[idx].fjlist;
- var responseText=JSON.parse(item.responseText)
- if(responseText.code==200){
- newobj.name=responseText.newFileName;
- newobj.oldName=responseText.originalFilename;
- newobj.url=responseText.fileName;
- newobj.type=fileVal;
- newobj.bigType=bigType;
- this.sbfjlist[idx].fjlist.push(newobj)
- }else{
- this.$toast(responseText.msg)
- }
- },
- getDelsbFj(idx,fidx){
- var that=this;
- var obj=this.sbfjlist[idx];
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- var fjlist=obj.fjlist[fidx]
- if(fjlist.fjId){
- that.fjdelIdList.push(fjlist.fjId)
- }
- obj.fjlist.splice(fidx,1)
- that.sbfjlist.splice(idx,1,obj)
- } else if (res.cancel) {
- }
- }
- });
- },
- // 删除反担保
- getfdbDelFj(idx,fidx,type){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- if(type==1){//反担保人
- var obj=JSON.parse(JSON.stringify(that.fdarlist[fidx]));
- var fdblist=obj.guaranteeInfoFjList[idx];
- if(fdblist.guaranteeInfoFjId){
- that.fdbdelxIdList.push(fdblist.guaranteeInfoFjId)
- }
- obj.guaranteeInfoFjList.splice(idx,1)
- that.fdarlist.splice(fidx,1,obj)
- }else if(type==2) {//反担保企业
- var obj=JSON.parse(JSON.stringify(that.fdaqylist[fidx]));
- var fdblist=obj.guaranteeInfoFjList[idx];
- if(fdblist.guaranteeInfoFjId){
- that.fdbdelxIdList.push(fdblist.guaranteeInfoFjId)
- }
- obj.guaranteeInfoFjList.splice(idx,1)
- that.fdaqylist.splice(fidx,1,obj)
- }
- } else if (res.cancel) {
- }
- }
- });
- },
- getDelgdFj(idx,zxidx){
- var obj=this.gdlist[idx];
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- obj.zxurl.splice(zxidx,1)
- that.gdlist.splice(idx,1,obj)
- } else if (res.cancel) {
- }
- }
- });
- },
- getDelgdyy(idx,zxidx){
- var obj=this.gdlist[idx];
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- obj.zhizhao.splice(zxidx,1)
- that.gdlist.splice(idx,1,obj)
- } else if (res.cancel) {
- }
- }
- });
- },
- getDelFj(idx){
- var that=this;
- uni.showModal({
- title: '确认删除',
- content: "是否确认删除",
- cancelText: '取消',
- confirmText: '确认',
- success: function(res) {
- if (res.confirm) {
- var ite=that.filelist[idx];
- if(ite.fjId){
- that.fjdelIdList.push(ite.fjId)
- }
- that.filelist.splice(idx,1)
- that.datainfo.loanApplicationFjList=JSON.parse(JSON.stringify(that.filelist))
- } else if (res.cancel) {
- }
- }
- });
- },
- getDownloader(path,name){
- // console.log(path,name)
- // #ifdef APP-PLUS
- self.getFilePermissions(function(res){
- if(res==1){
- uni.showLoading({
- title: '加载中'
- });
- var url = baseUrl + path;
- let dtask = plus.downloader.createDownload(url, {
- filename: 'file://storage/emulated/0/'+baseName+'/' + name
- }, (d, status) => {
- //d为下载的文件对象
- if (status == 200) {
- uni.hideLoading();
- uni.showToast({
- icon: 'none',
- mask: true,
- title: '已保存到文件夹:/'+baseName+'/'+ name, //保存路径
- duration: 3000,
- });
-
- //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
- let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
- setTimeout(() => {
- plus.runtime.openFile(d.filename); //选择软件打开文件
- }, 1500)
- } else {
- //下载失败
- uni.hideLoading();
- plus.downloader.clear(); //清除下载任务
- uni.showToast({
- icon: 'none',
- mask: true,
- title: '下载失败,请稍后重试',
- });
- }
- })
- dtask.start();
- }else{
- uni.hideLoading();
- uni.showToast({
- title: '无法获取权限,文件下载将出错!',
- icon: 'none',
- })
- }
- })
- // #endif
- },
- getExportMb(ite){
- var that=this;
- var params=JSON.parse(JSON.stringify(this.datainfo));
- if(ite.val=='wtdbsqs'){
- params.type=1;
- }else{
- params.type=11;
- }
- params.bigType='b';
- params.fileType=ite.val;
- getExportMb(params).then(res=>{
- if(res.code==200){
- var data=res.data;
- var url=data.path;
- var name=data.fileName;
- that.getDownloader(url,name)
- }
- })
- },
- getDown(e){
- uni.showLoading({
- title: '加载中'
- });
- var url=baseUrl+e;
- let index1 = e.lastIndexOf("."); // 得到一个索引值
- let index2 = e.length;
- let type = e.substring(index1, index2);
- if ((type.indexOf('jpg') > -1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
- uni.previewImage({
- current: 0,
- urls: [url],
- // background: '#ffffff'
- });
- uni.hideLoading();
- } else {
- uni.downloadFile({
- url: url,//文件的下载路径
- success(result) {
- uni.hideLoading()
- var filePath = result.tempFilePath;
- uni.openDocument({
- filePath: filePath,
- showMenu: true,
- success: function (res) {
- // console.log('打开文档成功');
- }
- });
- },
- fail(res) {uni.hideLoading()}
- })
- }
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .addbox /deep/ .uni-forms-item{min-height: 112rpx;box-sizing: border-box;display: flex;align-items: center;margin-bottom: 0;border-bottom: 2rpx solid #E6E6E6;padding:18rpx 0;position: relative;}
- .addbox .bgf /deep/ .uni-forms-item:last-child{border-bottom: none;}
- .addbox /deep/ .uni-forms-item__label{font-weight: bold;font-size: 32rpx;color: #161616;flex: 0 0 auto;width: auto !important;padding-left: 12rpx;min-width: 240rpx;box-sizing: border-box;}
- .addbox /deep/ .uni-easyinput{flex: 1;text-align: left;font-size: 30rpx;color: #222327;}
- .addbox /deep/ .uni-easyinput__content-textarea{min-height: 40rpx;font-size: 30rpx;}
- .addbox /deep/ .uni-easyinput__placeholder-class{font-size: 30rpx;color: #AAAAAA;}
- .addbox /deep/ .uni-input-input{font-size: 30rpx;}
- .addbox /deep/ .uni-easyinput__content-input{padding-left: 0 !important;}
- .addbox /deep/ .uni-textarea-textarea{font-size: 30rpx;}
- .addbox /deep/ .is-disabled{color: #222327;background-color: #ffffff !important;}
- .isborder{border-bottom: 2rpx solid #E6E6E6;}
- .labtxt{font-weight: bold;font-size: 32rpx;color: #161616;flex: 0 0 auto;width: auto !important;padding-left: 12rpx;width: 240rpx;box-sizing: border-box;
- position: absolute;left: -240rpx;top:50%;transform: translateY(-50%);
- text{color: #AAAAAA;font-size: 26rpx;font-weight: normal;display: block;
- &.del{
- color: #FF6969;margin-top: 6rpx;text-align: center;padding: 4rpx 0;
- }
- }
- }
- .navtop{
- position: fixed;left:0;right: 0;top: 0;z-index: 2;
- }
- .topl{width: 60rpx;height: 60rpx;display: flex;align-items: center;justify-content: center;
- .backimg{width: 40rpx;height: 30rpx;}
- }
- .edit{font-weight: 500;font-size: 26rpx;color: #FFFFFF;display: flex;align-items: center;
- image{width: 24rpx;height: 26rpx;margin-right: 10rpx;}
- .img{width: 24rpx;height: 26rpx;margin-right: 10rpx;}
- .txt{font-weight: 500;font-size: 26rpx;color: #FFFFFF;}
- }
- .editcir{box-shadow: 0px 0px 20rpx 0px rgba(0,169,240,0.6);
- width: 120rpx;height: 120rpx;border-radius: 50%;position: fixed;right:0;bottom:140rpx;background-color: $com-cd3;flex-direction: column;align-items: center;justify-content: center;
- .img{margin-bottom: 8rpx;margin-right: 0;}
- }
- .addbox{padding: 140rpx 0 136rpx;
- .addtit{font-weight: bold;padding: 18rpx 34rpx;font-size: 26rpx;color: #666666;
- text{color: #DF0303;margin-right: 8rpx;}
- .ywimg{width: 30rpx;height: 30rpx;margin-left: 16rpx;}
- &.tips{font-weight: 500;font-size: 24rpx;color: #FF6969;}
- }
- .lbtabp{
- display: flex;align-items: center;
- view{flex: 1;font-size: 30rpx;color: #222327;}
- .rimg{flex: 0 0 auto;width: 16rpx;height: 26rpx;flex: 0 0 auto;margin-left: 18rpx;}
- }
- .ywicon{font-weight: 400;font-size: 26rpx;color: $com-cd3;padding-right: 14rpx;
- image{width: 26rpx;height: 26rpx;margin-right: 8rpx;}
- }
- // 上传样式
- .phobox{display: flex;flex-wrap: wrap;justify-content: space-between;
- .phoboxa{display: flex;flex-direction: column;align-items: center;margin: 10rpx 26rpx 0 0;padding-bottom: 4rpx;position: relative;min-height: 176rpx;box-sizing: border-box;
- .photop{width: 200rpx;height: 126rpx;position: relative;
- .bgimg{width: 100%;height: 100%;}
- .addimg{width: 34rpx;height: 30rpx;position: absolute;left: 50%;margin-left: -17rpx;top: 50%;margin-top: -15rpx;z-index: 1;}
- .delimg{position: absolute;width: 24rpx;height: 24rpx;right: -12rpx;top: -12rpx;}
- .bgimga{width: 100%;height: 100%;position: absolute;left:0;right: 0;top:0;bottom: 0;}
- }
- // .pupdata{position: absolute;left: 0;right: 0;top:0;bottom: 0;opacity: 0;}
- .photit{font-weight: 500;font-size: 20rpx;color: #AAAAAA;margin-top: 18rpx;max-width:200rpx;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
- &.atit{position: absolute;left: 50%;transform: translate(-50%);bottom: 4rpx;word-break: keep-all;max-width: none;}
- }
- }
- .frdelimg{
- position: absolute;width: 32rpx;height: 32rpx;right: -16rpx;top: -16rpx;
- image{width: 24rpx;height: 24rpx;}
- }
- }
- .addgdbox{padding: 34rpx 10rpx 36rpx;}
-
- // 附件
- .fjbox{padding: 24rpx 0;
- min-height: 150rpx;box-sizing: border-box;
- // &:last-child{border-bottom: none;border-bottom: 2rpx solid #E6E6E6;}
- .fjtop{
- &.chek{
- .chtit{flex: 1;font-size: 30rpx;color: #222327;text-align: right;}
- .rimg{flex: 0 0 auto;width: 16rpx;height: 26rpx;flex: 0 0 auto;margin-left: 18rpx;}
- }
- .ftit{font-weight: bold;font-size: 32rpx;color: #161616;flex: 1;padding:28rpx 0;
- text{color: #DF0303;margin-right: 8rpx;}
- .mtxt{color: #AAAAAA;font-size: 26rpx;}
- }
- .fbtns{font-weight: 500;font-size: 26rpx;padding-right: 12rpx;margin-left: 36rpx;display: flex;align-items: center;height: 100rpx;justify-content: center;
- image{width: 22rpx;height: 22rpx;margin-right: 10rpx;
- &.downimg{width: 20rpx;}
- }
- }
- }
-
-
- }
- // 18
- .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 12rpx;
- // image{flex: 0 0 auto;}
- .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;flex: 0 0 auto;
- image{width: 26rpx;height: 24rpx;}
- }
- .tit{font-size: 26rpx;color: #222327;font-weight: 500;margin-top: 4rpx;word-break: break-all;}
- .delimg{width: 40rpx;height:40rpx;margin-left: 16rpx;display: flex;align-items: center;justify-content: center;flex: 0 0 auto;
- image{width: 24rpx;height: 24rpx;}
- }
- }
- }
- .addbtns{z-index: 4;
- width: 100%;height: 100rpx;position: fixed;left: 0;right: 0;bottom: 0;display: flex;
- .addlbtn{background-color: #ffffff;font-weight: 500;justify-content: center;
- display: flex;align-items: center;width: 232rpx;flex: 0 0 auto;height: 100rpx;
- .addlbtna{width: 32rpx;height: 32rpx;margin-right: 12rpx;display: block;}
- .addlbtnb{font-size: 30rpx;color: $com-cd3;}
- }
-
- }
- .addrbtn{flex: 1;height: 100rpx;font-weight: bold;font-size: 30rpx;display: flex;align-items: center;justify-content: center;
- color: #FFFFFF;text-align: center;line-height: 100rpx;
- &.bga{background: #29E18A;}
- &.bgb{background: $com-cd3;}
- }
- // 标准
- .looimg{width: 100%;height: 400rpx;position: fixed;left: 0;right: 0;top: 50%;margin-top: -200rpx;z-index: 10;}
- .fdbdel{font-weight: bold;font-size: 30rpx;color: #FF5B5B;height: 100rpx;
- background: #FFEEEE;border-radius: 10rpx;
- image{width: 26rpx;height:30rpx;margin-right: 12rpx;}
- }
- .fdbadd{font-weight: bold;font-size: 26rpx;color: #0AC86E;padding: 16rpx 28rpx;flex:0 0 auto;
- image{width:22rpx;height: 24rpx;margin-right: 10rpx;flex:0 0 auto;}
- }
- </style>
|