add.vue 108 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739
  1. <template>
  2. <view class="addbox" :style="'padding-top:'+listTop+'rpx;'">
  3. <!-- 步骤条 -->
  4. <view class="navtop">
  5. <uni-nav-bar color="#ffffff" leftWidth="160rpx" rightWidth="160rpx" title="业务申报" :background-color="actcolor" :border="false"
  6. statusBar='true'>
  7. <block slot="left">
  8. <view class="topl" v-if="ftype" @click="getBack">
  9. <image class="backimg" :src="backimg" ></image>
  10. </view>
  11. <cover-view class="topl" v-else @click="getBack">
  12. <cover-image class="backimg" :src="backimg" @click.stop="getBack"></cover-image>
  13. </cover-view>
  14. </block>
  15. <!-- #ifndef MP-WEIXIN -->
  16. <block slot="right">
  17. <view class="edit" v-if="ftype" @click="getGiveupFn">
  18. <image :src="feditimg"></image>
  19. 放弃编辑
  20. </view>
  21. <cover-view class="edit" v-else @click="getGiveupFn">
  22. <cover-image :src="feditimg" @click.stop="getGiveupFn" class="img"></cover-image>
  23. <cover-view @click.stop="getGiveupFn" class="txt">放弃编辑</cover-view>
  24. </cover-view>
  25. </block>
  26. <!-- #endif -->
  27. </uni-nav-bar>
  28. <!-- 头部 -->
  29. <step-bar :steps="steps" :fixeda='false' :stepval="stepval"></step-bar>
  30. </view>
  31. <uni-forms ref="form" :model="datainfo" :rules="rules">
  32. <view class="bgf plr12 mt12">
  33. <uni-forms-item label="项目编号" name="loanApplicationNumber">
  34. <view class="lbtabp">
  35. <view :class="datainfo.loanApplicationNumber?'':'coa'">{{datainfo.loanApplicationNumber}}</view>
  36. </view>
  37. </uni-forms-item>
  38. </view>
  39. <!-- 企业信息 -->
  40. <view v-show="stepval==1">
  41. <!-- 企业信息 -->
  42. <view class="addtit mt3"><text>*</text>企业信息</view>
  43. <view class="bgf plr12">
  44. <picker range-key='label' :value="qyidx" :range="qylist" class="isborder" @change='bindDateChangea'>
  45. <uni-forms-item label="企业名称" name="enterpriseName">
  46. <view class="lbtabp">
  47. <view class="chtit" :class="datainfo.enterpriseName?'':'coa'">{{datainfo.enterpriseName||"请选择已添加的企业"}}</view>
  48. <image :src="hrimg" class="rimg"></image>
  49. </view>
  50. </uni-forms-item>
  51. </picker>
  52. <uni-forms-item label="行业类型" name="categoryType">
  53. <view class="lbtabp" @click="getTalbFn">
  54. <view :class="datainfo.categoryType?'':'coa'">{{datainfo.categoryType||"请选择行业类型"}}</view>
  55. <image :src="hrimg" class="rimg"></image>
  56. </view>
  57. </uni-forms-item>
  58. <uni-forms-item label="是否是制造业" name="isMake">
  59. <view class="checkbox">
  60. <uni-data-checkbox :selectedColor="actcolor" selectedTextColor='#222327' v-model="datainfo.isMake" :localdata="sfList" />
  61. </view>
  62. </uni-forms-item>
  63. <uni-forms-item label="是否专精特新" name="isNew">
  64. <view class="checkbox">
  65. <uni-data-checkbox :selectedColor="actcolor" selectedTextColor='#222327' v-model="datainfo.isNew" :localdata="sfList" />
  66. </view>
  67. </uni-forms-item>
  68. <uni-forms-item label="是否小微企业" name="isSmall">
  69. <view class="flexc">
  70. <view class="checkbox flex1">
  71. <uni-data-checkbox :selectedColor="actcolor" selectedTextColor='#222327' v-model="datainfo.isSmall" :localdata="sfList" />
  72. </view>
  73. <view class="ywicon flexc" @click="showImg"><image :src="ywicon"></image>划分标准</view>
  74. </view>
  75. </uni-forms-item>
  76. <uni-forms-item label="公司简介" name="companyIntroduction">
  77. <uni-easyinput type="textarea" autoHeight v-model="datainfo.companyIntroduction" :inputBorder='false' placeholder="请输入公司简介" />
  78. </uni-forms-item>
  79. <uni-forms-item label="公司简介" name="iszcy">
  80. <view class="phobox">
  81. <view class="phoboxa" v-if="jcfjobj.gszc">
  82. <!-- fileName 给label 0 -->
  83. <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"
  84. @progress="" @uploadEnd="onuploadEnd" >
  85. <view class="photop" >
  86. <image :src="zico" class="bgimg"></image>
  87. <image :src="phoicon" class="addimg"></image>
  88. </view>
  89. </lsj-upload>
  90. <view class="photit atit">公司简介附件与输入信息填一个即可。</view>
  91. </view>
  92. <block v-for="(ite,idx) in filelist" :key='idx'>
  93. <view class="phoboxa" v-if="ite.type=='gsjj'&&ite.bigType=='a'">
  94. <view class="photop" @click="getDown(ite.url)">
  95. <image :src="lookico" class="bgimg"></image>
  96. <image :src="phoicon" class="addimg"></image>
  97. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  98. </view>
  99. <view class="photit">{{ite.name}}</view>
  100. </view>
  101. </block>
  102. </view>
  103. </uni-forms-item>
  104. <uni-forms-item label="公司章程" name="iszcy">
  105. <view class="phobox">
  106. <view class="phoboxa" v-if="jcfjobj.gszc">
  107. <!-- fileName 给label 0 -->
  108. <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"
  109. @progress="" @uploadEnd="onuploadEnd" >
  110. <view class="photop" >
  111. <image :src="zico" class="bgimg"></image>
  112. <image :src="phoicon" class="addimg"></image>
  113. </view>
  114. </lsj-upload>
  115. <view class="photit atit">上传公司章程并盖市监局备案章</view>
  116. </view>
  117. <block v-for="(ite,idx) in filelist" :key='idx'>
  118. <view class="phoboxa" v-if="ite.type=='gszc'&&ite.bigType=='a'">
  119. <view class="photop" @click="getDown(ite.url)">
  120. <image :src="lookico" class="bgimg"></image>
  121. <image :src="phoicon" class="addimg"></image>
  122. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  123. </view>
  124. <view class="photit">{{ite.name}}</view>
  125. </view>
  126. </block>
  127. </view>
  128. </uni-forms-item>
  129. <uni-forms-item label="开户许可证" name="iszcy">
  130. <view class="phobox">
  131. <view class="phoboxa" v-if="jcfjobj.khxkz">
  132. <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"
  133. @progress="" @uploadEnd="onuploadEnd" >
  134. <view class="photop" >
  135. <image :src="zico" class="bgimg"></image>
  136. <image :src="phoicon" class="addimg"></image>
  137. </view>
  138. </lsj-upload>
  139. <view class="photit">上传开户许可证</view>
  140. </view>
  141. <block v-for="(ite,idx) in filelist" :key='idx'>
  142. <view class="phoboxa" v-if="ite.type=='khxkz'&&ite.bigType=='a'">
  143. <view class="photop" @click="getDown(ite.url)">
  144. <image :src="lookico" class="bgimg"></image>
  145. <image :src="phoicon" class="addimg"></image>
  146. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  147. </view>
  148. <view class="photit">{{ite.name}}</view>
  149. </view>
  150. </block>
  151. </view>
  152. </uni-forms-item>
  153. <!-- <uni-forms-item label="企业名称" name="email">
  154. <uni-easyinput v-model="datainfo.email" :inputBorder='false' placeholder="自动识别" />
  155. </uni-forms-item> -->
  156. </view>
  157. <!-- 全体股东身份信息 -->
  158. <view class="addtit mt3"><text>*</text>全体股东身份信息<text style="color: red; font-size: 12px;">(身份证信息与营业执照两者只需上传一个)</text></view>
  159. <view class="bgf plr12">
  160. <block v-for="(ite,idx) in gdlist" :key="idx">
  161. <uni-forms-item name="iszcy">
  162. <view class="labtxt">股东{{(Number(idx)+1)}}身份证
  163. <text class="del" @click="getdelGdFn(idx)">删除</text>
  164. </view>
  165. <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
  166. <view class="phoboxa">
  167. <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"
  168. @progress="" @uploadEnd="gdonuploadEnd" >
  169. <view class="photop">
  170. <image v-if="ite.cardz" :src="baseUrl+ite.cardz" class="bgimg"></image>
  171. <image v-else :src="cardz" class="bgimg"></image>
  172. <image :src="phoicon" class="addimg"></image>
  173. </view>
  174. </lsj-upload>
  175. <view class="photit">上传人像面</view>
  176. </view>
  177. <view class="phoboxa" >
  178. <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"
  179. @progress="" @uploadEnd="gdonuploadEnd" >
  180. <view class="photop">
  181. <image v-if="ite.cardf" :src="baseUrl+ite.cardf" class="bgimg"></image>
  182. <image v-else :src="cardf" class="bgimg"></image>
  183. <image :src="phoicon" class="addimg"></image>
  184. </view>
  185. </lsj-upload>
  186. <view class="photit">上传国徽面</view>
  187. </view>
  188. </view>
  189. </uni-forms-item>
  190. <uni-forms-item name="iszcy">
  191. <view class="labtxt">股东{{(Number(idx)+1)}}营业执照
  192. <text class="del" @click="getdelGdFn(idx)">删除</text>
  193. </view>
  194. <view class="phobox">
  195. <view class="phoboxa">
  196. <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"
  197. @progress="" @uploadEnd="gdonuploadEnd" >
  198. <view class="photop" >
  199. <image :src="zico" class="bgimg"></image>
  200. <image :src="phoicon" class="addimg"></image>
  201. </view>
  202. </lsj-upload>
  203. <view class="photit">上传实际控股人营业执照</view>
  204. </view>
  205. <block v-if="ite.zhizhao&&ite.zhizhao.length">
  206. <view class="phoboxa" v-for="(zxite,zxidx) in ite.zhizhao" :key="zxidx">
  207. <view class="photop" @click="getDown(zxite)">
  208. <image :src="lookico" class="bgimg"></image>
  209. <image :src="phoicon" class="addimg"></image>
  210. <image :src="delimg" class="delimg" @click.stop="getDelgdyy(idx,zxidx)"></image>
  211. </view>
  212. <!-- <view class="photit">{{zxite.name}}</view> -->
  213. </view>
  214. </block>
  215. </view>
  216. </uni-forms-item>
  217. </block>
  218. <view class="addgdbox">
  219. <view class="rzbtnadd" @click="getAddGdFn">
  220. <image :src="addgd"></image>添加股东
  221. </view>
  222. </view>
  223. </view>
  224. <!-- * 企业征信(由中国人民银行提供) -->
  225. <view class="addtit mt3"><text>*</text>企业征信(由中国人民银行提供)</view>
  226. <view class="bgf plr12">
  227. <uni-forms-item label="申请企业" name="iszcy">
  228. <view class="phobox">
  229. <view class="phoboxa" v-if="jcfjobj.sqqyzxbg">
  230. <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"
  231. @progress="" @uploadEnd="onuploadEnd" >
  232. <view class="photop" >
  233. <image :src="zico" class="bgimg"></image>
  234. <image :src="phoicon" class="addimg"></image>
  235. </view>
  236. </lsj-upload>
  237. <view class="photit atit">上传申请企业征信报告</view>
  238. </view>
  239. <block v-for="(ite,idx) in filelist" :key='idx'>
  240. <view class="phoboxa" v-if="ite.type=='sqqyzxbg'&&ite.bigType=='a'">
  241. <view class="photop" @click="getDown(ite.url)">
  242. <image :src="lookico" class="bgimg"></image>
  243. <image :src="phoicon" class="addimg"></image>
  244. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  245. </view>
  246. <view class="photit">{{ite.name}}</view>
  247. </view>
  248. </block>
  249. </view>
  250. </uni-forms-item>
  251. <uni-forms-item label="关联企业" name="iszcy">
  252. <view class="phobox">
  253. <view class="phoboxa" v-if="jcfjobj.glqyzxbg">
  254. <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"
  255. @progress="" @uploadEnd="onuploadEnd" >
  256. <view class="photop" >
  257. <image :src="zico" class="bgimg"></image>
  258. <image :src="phoicon" class="addimg"></image>
  259. </view>
  260. </lsj-upload>
  261. <view class="photit atit">上传关联企业征信报告</view>
  262. </view>
  263. <block v-for="(ite,idx) in filelist" :key='idx'>
  264. <view class="phoboxa" v-if="ite.type=='glqyzxbg'&&ite.bigType=='a'">
  265. <view class="photop" @click="getDown(ite.url)">
  266. <image :src="lookico" class="bgimg"></image>
  267. <image :src="phoicon" class="addimg"></image>
  268. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  269. </view>
  270. <view class="photit">{{ite.name}}</view>
  271. </view>
  272. </block>
  273. </view>
  274. </uni-forms-item>
  275. </view>
  276. <!-- * 企业法人征信-->
  277. <view class="addtit mt3"><text>*</text>企业法人征信</view>
  278. <view class="bgf plr12">
  279. <uni-forms-item label="企业法人" name="iszcy">
  280. <view class="phobox">
  281. <view class="phoboxa" v-if="jcfjobj.qyfrzxbg">
  282. <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"
  283. @progress="" @uploadEnd="onuploadEnd" >
  284. <view class="photop" >
  285. <image :src="zico" class="bgimg"></image>
  286. <image :src="phoicon" class="addimg"></image>
  287. </view>
  288. </lsj-upload>
  289. <view class="photit atit">上传企业法人征信报告</view>
  290. </view>
  291. <block v-for="(ite,idx) in filelist" :key='idx'>
  292. <view class="phoboxa" v-if="ite.type=='qyfrzxbg'&&ite.bigType=='a'">
  293. <view class="photop" @click="getDown(ite.url)">
  294. <image :src="lookico" class="bgimg"></image>
  295. <image :src="phoicon" class="addimg"></image>
  296. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  297. </view>
  298. <view class="photit">{{ite.name}}</view>
  299. </view>
  300. </block>
  301. </view>
  302. </uni-forms-item>
  303. </view>
  304. <!-- * 实际控股人夫妻双方征信-->
  305. <view class="addtit mt3"><text>*</text>实际控股人夫妻双方征信</view>
  306. <view class="bgf plr12">
  307. <uni-forms-item label="实际控股人" name="iszcy">
  308. <view class="phobox">
  309. <view class="phoboxa" v-if="jcfjobj.sjkgrzxbg">
  310. <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"
  311. @progress="" @uploadEnd="onuploadEnd" >
  312. <view class="photop" >
  313. <image :src="zico" class="bgimg"></image>
  314. <image :src="phoicon" class="addimg"></image>
  315. </view>
  316. </lsj-upload>
  317. <view class="photit atit">上传实际控股人征信报告</view>
  318. </view>
  319. <block v-for="(ite,idx) in filelist" :key='idx'>
  320. <view class="phoboxa" v-if="ite.type=='sjkgrzxbg'&&ite.bigType=='a'">
  321. <view class="photop" @click="getDown(ite.url)">
  322. <image :src="lookico" class="bgimg"></image>
  323. <image :src="phoicon" class="addimg"></image>
  324. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  325. </view>
  326. <view class="photit">{{ite.name}}</view>
  327. </view>
  328. </block>
  329. </view>
  330. </uni-forms-item>
  331. <uni-forms-item label="配偶征信" name="iszcy">
  332. <view class="phobox">
  333. <view class="phoboxa" v-if="jcfjobj.sjkgrpozxbg">
  334. <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"
  335. @progress="" @uploadEnd="onuploadEnd" >
  336. <view class="photop" >
  337. <image :src="zico" class="bgimg"></image>
  338. <image :src="phoicon" class="addimg"></image>
  339. </view>
  340. </lsj-upload>
  341. <view class="photit atit">上传实际控股人配偶征信报告</view>
  342. </view>
  343. <block v-for="(ite,idx) in filelist" :key='idx'>
  344. <view class="phoboxa" v-if="ite.type=='sjkgrpozxbg'&&ite.bigType=='a'">
  345. <view class="photop" @click="getDown(ite.url)">
  346. <image :src="lookico" class="bgimg"></image>
  347. <image :src="phoicon" class="addimg"></image>
  348. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  349. </view>
  350. <view class="photit">{{ite.name}}</view>
  351. </view>
  352. </block>
  353. </view>
  354. </uni-forms-item>
  355. </view>
  356. <!-- * 各股东个人征信(请与上面所填股东对应) -->
  357. <view class="addtit mt3"><text>*</text>各股东个人征信(请与上面所填股东对应)</view>
  358. <view class="bgf plr12">
  359. <block v-for="(ite,idx) in gdlist" :key="idx">
  360. <uni-forms-item :label="'股东'+(Number(idx)+1)+'征信'" name="iszcy">
  361. <view class="phobox">
  362. <view class="phoboxa">
  363. <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"
  364. @progress="" @uploadEnd="gdonuploadEnd" >
  365. <view class="photop" >
  366. <image :src="zico" class="bgimg"></image>
  367. <image :src="phoicon" class="addimg"></image>
  368. </view>
  369. </lsj-upload>
  370. <view class="photit">上传实际控股人征信报告</view>
  371. </view>
  372. <block v-if="ite.zxurl&&ite.zxurl.length">
  373. <view class="phoboxa" v-for="(zxite,zxidx) in ite.zxurl" :key="zxidx">
  374. <view class="photop" @click="getDown(zxite)">
  375. <image :src="lookico" class="bgimg"></image>
  376. <image :src="phoicon" class="addimg"></image>
  377. <image :src="delimg" class="delimg" @click.stop="getDelgdFj(idx,zxidx)"></image>
  378. </view>
  379. <!-- <view class="photit">{{zxite.name}}</view> -->
  380. </view>
  381. </block>
  382. </view>
  383. </uni-forms-item>
  384. </block>
  385. </view>
  386. </view>
  387. <!-- 法人信息 -->
  388. <view v-show="stepval==2">
  389. <!-- 用户类型 -->
  390. <view class="addtit mt3"><text>*</text>用户类型</view>
  391. <view class="bgf plr12">
  392. <picker range-key='label' :value="yhlxidx" :range="yhlxlist" class="" @change='bindDateChangeb'>
  393. <uni-forms-item label="用户类型" name="customerType">
  394. <view class="lbtabp">
  395. <view v-if="datainfo.customerType&&!yhlx">{{statusFormat(datainfo.customerType,yhlxlist,'yhlx')}}</view>
  396. <view v-else :class="yhlx?'':'coa'">{{yhlx||"请选择用户类型"}}</view>
  397. <image :src="hrimg" class="rimg"></image>
  398. </view>
  399. </uni-forms-item>
  400. </picker>
  401. </view>
  402. <!-- 法定代表人基本信息 -->
  403. <view class="addtit mt3"><text>*</text>法定代表人基本信息</view>
  404. <view class="bgf plr12">
  405. <uni-forms-item label="身份证" name="iszcy">
  406. <view class="phobox">
  407. <view class="phoboxa" v-if="jcfjobj.frsfzrmx">
  408. <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"
  409. @progress="" @uploadEnd="ponuploadEnd" >
  410. <view class="photop">
  411. <image :src="cardz" class="bgimg"></image>
  412. <image v-if="datainfo.corporationFront" :src="baseUrl+datainfo.corporationFront" class="bgimga"></image>
  413. <image :src="phoicon" class="addimg"></image>
  414. </view>
  415. </lsj-upload>
  416. <view class="photit atit">上传人像面</view>
  417. </view>
  418. <view class="phoboxa" v-if="jcfjobj.frsfzghm">
  419. <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"
  420. @progress="" @uploadEnd="ponuploadEnd" >
  421. <view class="photop">
  422. <view class="photop">
  423. <image :src="cardf" class="bgimg"></image>
  424. <image v-if="datainfo.corporationBack" :src="baseUrl+datainfo.corporationBack" class="bgimga"></image>
  425. <image :src="phoicon" class="addimg"></image>
  426. </view>
  427. </view>
  428. </lsj-upload>
  429. <view class="photit">上传国徽面</view>
  430. </view>
  431. </view>
  432. </uni-forms-item>
  433. <uni-forms-item label="姓名" name="corporationName">
  434. <uni-easyinput v-model="datainfo.corporationName" disabled :inputBorder='false' placeholder="自动识别" />
  435. </uni-forms-item>
  436. <!-- disabled -->
  437. <uni-forms-item label="身份证号" name="corporationIdCard">
  438. <uni-easyinput v-model="datainfo.corporationIdCard" disabled :inputBorder='false' placeholder="自动识别" />
  439. </uni-forms-item>
  440. <uni-forms-item label="手机号码" name="corporationPhone">
  441. <uni-easyinput v-model="datainfo.corporationPhone" type="number" :inputBorder='false' placeholder="请输入手机号码" />
  442. </uni-forms-item>
  443. <!-- 家庭人口选填-->
  444. <uni-forms-item label="家庭人口" name="familyPopulation">
  445. <uni-easyinput v-model="datainfo.familyPopulation" type="number" :inputBorder='false' placeholder="请输入家庭人口" />
  446. </uni-forms-item>
  447. <uni-forms-item label="法人职业" name="corporationJob">
  448. <uni-easyinput v-model="datainfo.corporationJob" :inputBorder='false' placeholder="请输入法人职业" />
  449. </uni-forms-item>
  450. <picker range-key='label' :value="ywidx" class="isborder" :range="ywList" @change='bindDateChangec'>
  451. <uni-forms-item label="有无贷款" name="qymc">
  452. <view class="lbtabp">
  453. <view v-if="datainfo.isLoan">{{datainfo.isLoan=='Y'?'有':'无'}}</view>
  454. <view v-else class="coa">请选择有/无</view>
  455. <image :src="hrimg" class="rimg"></image>
  456. </view>
  457. </uni-forms-item>
  458. </picker>
  459. <!-- <uni-forms-item label="应收应付款" name="email">
  460. <uni-easyinput v-model="datainfo.email" type="number" :inputBorder='false' placeholder="请输入应收应付款" />
  461. </uni-forms-item> -->
  462. <!-- <uni-forms-item label="经营情况" name="iszcy">
  463. <uni-easyinput type="textarea" autoHeight v-model="datainfo.email" :inputBorder='false' placeholder="请描述近几年经营情况" />
  464. </uni-forms-item> -->
  465. <!-- <uni-forms-item label="经营效益" name="email">
  466. <uni-easyinput v-model="datainfo.email" type="number" :inputBorder='false' placeholder="请输入经营效益" />
  467. </uni-forms-item> -->
  468. </view>
  469. <!-- * 家庭婚姻信息 -->
  470. <view class="addtit mt3"><text>*</text>家庭婚姻信息</view>
  471. <view class="bgf plr12">
  472. <picker range-key='label' :value="frhyzkidx" :range="hyztlist" class="isborder" @change='bindDateChanged'>
  473. <uni-forms-item label="婚姻状态" name="corporationMaritalStatus">
  474. <view class="lbtabp">
  475. <view v-if="datainfo.corporationMaritalStatus&&!frhyzk">{{statusFormat(datainfo.corporationMaritalStatus,hyztlist,'frhyzk')}}</view>
  476. <view v-else :class="frhyzk?'':'coa'">{{frhyzk||"请选择婚姻状态"}}</view>
  477. <image :src="hrimg" class="rimg"></image>
  478. </view>
  479. </uni-forms-item>
  480. </picker>
  481. <uni-forms-item label="配偶身份证" name="iszcy">
  482. <view class="phobox">
  483. <view class="phoboxa" v-if="jcfjobj.frsfzpormx">
  484. <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"
  485. @progress="" @uploadEnd="ponuploadEnd" >
  486. <view class="photop">
  487. <image :src="cardz" class="bgimg"></image>
  488. <image v-if="datainfo.spouseFront" :src="baseUrl+datainfo.spouseFront" class="bgimga"></image>
  489. <image :src="phoicon" class="addimg"></image>
  490. </view>
  491. </lsj-upload>
  492. <!-- 删除 -->
  493. <view class="frdelimg" v-if="datainfo.spouseFront" @click.stop="getDelfzpo('front')">
  494. <image :src="fdelimg"></image>
  495. </view>
  496. <view class="photit atit">上传人像面</view>
  497. </view>
  498. <view class="phoboxa" v-if="jcfjobj.frsfzpoghm">
  499. <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"
  500. @progress="" @uploadEnd="ponuploadEnd" >
  501. <view class="photop">
  502. <view class="photop">
  503. <image :src="cardf" class="bgimg"></image>
  504. <image v-if="datainfo.spouseBack" :src="baseUrl+datainfo.spouseBack" class="bgimga"></image>
  505. <image :src="phoicon" class="addimg"></image>
  506. </view>
  507. </view>
  508. </lsj-upload>
  509. <!-- 删除 -->
  510. <view class="frdelimg" v-if="datainfo.spouseBack" @click.stop="getDelfzpo('back')">
  511. <image :src="fdelimg"></image>
  512. </view>
  513. <view class="photit">上传国徽面</view>
  514. </view>
  515. </view>
  516. </uni-forms-item>
  517. <uni-forms-item label="配偶姓名" name="spouseName">
  518. <uni-easyinput v-model="datainfo.spouseName" disabled :inputBorder='false' placeholder="自动识别" />
  519. </uni-forms-item>
  520. <uni-forms-item label="配偶身份证号" name="spouseIdCard">
  521. <uni-easyinput v-model="datainfo.spouseIdCard" disabled :inputBorder='false' placeholder="自动识别" />
  522. </uni-forms-item>
  523. </view>
  524. <!-- * 企业法人征信-->
  525. <view class="addtit mt3"><text>*</text>婚姻证明</view>
  526. <view class="bgf plr12">
  527. <!-- 离婚状态上传 -->
  528. <uni-forms-item label="离婚证" name="iszcy" v-if="datainfo.corporationMaritalStatus==3">
  529. <view class="phobox">
  530. <view class="phoboxa" v-if="jcfjobj.frlhz">
  531. <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"
  532. @progress="" @uploadEnd="onuploadEnd" >
  533. <view class="photop" >
  534. <image :src="jhico" class="bgimg"></image>
  535. <image :src="phoicon" class="addimg"></image>
  536. </view>
  537. </lsj-upload>
  538. <view class="photit atit">上传离婚证</view>
  539. </view>
  540. <block v-for="(ite,idx) in filelist" :key='idx'>
  541. <view class="phoboxa" v-if="ite.type=='frlhz'&&ite.bigType=='a'">
  542. <view class="photop" @click="getDown(ite.url)">
  543. <image :src="lookico" class="bgimg"></image>
  544. <image :src="phoicon" class="addimg"></image>
  545. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  546. </view>
  547. <view class="photit">{{ite.name}}</view>
  548. </view>
  549. </block>
  550. </view>
  551. </uni-forms-item>
  552. <uni-forms-item label="结婚证" name="iszcy" v-else>
  553. <view class="phobox">
  554. <view class="phoboxa" v-if="jcfjobj.frjhz">
  555. <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"
  556. @progress="" @uploadEnd="onuploadEnd" >
  557. <view class="photop" >
  558. <image :src="jhico" class="bgimg"></image>
  559. <image :src="phoicon" class="addimg"></image>
  560. </view>
  561. </lsj-upload>
  562. <view class="photit atit">上传结婚证</view>
  563. </view>
  564. <block v-for="(ite,idx) in filelist" :key='idx'>
  565. <view class="phoboxa" v-if="ite.type=='frjhz'&&ite.bigType=='a'">
  566. <view class="photop" @click="getDown(ite.url)">
  567. <image :src="lookico" class="bgimg"></image>
  568. <image :src="phoicon" class="addimg"></image>
  569. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  570. </view>
  571. <view class="photit">{{ite.name}}</view>
  572. </view>
  573. </block>
  574. </view>
  575. </uni-forms-item>
  576. </view>
  577. <!-- * 户口簿信息-->
  578. <view class="addtit mt3"><text>*</text>户口簿信息</view>
  579. <view class="bgf plr12">
  580. <uni-forms-item label="户口簿首页" name="iszcy">
  581. <view class="phobox">
  582. <view class="phoboxa" v-if="jcfjobj.frhkbsy">
  583. <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"
  584. @progress="" @uploadEnd="onuploadEnd" >
  585. <view class="photop" >
  586. <image :src="hkico" class="bgimg"></image>
  587. <!-- <block v-for="(ite,idx) in filelist" :key='idx'>
  588. <image v-if="ite.type=='frhkbsy'&&ite.bigType=='a'" :src="baseUrl+ite.url" class="bgimga"></image>
  589. </block> -->
  590. <image :src="phoicon" class="addimg"></image>
  591. </view>
  592. </lsj-upload>
  593. <view class="photit atit">上传户口簿第一页</view>
  594. </view>
  595. <block v-for="(ite,idx) in filelist" :key='idx'>
  596. <view class="phoboxa" v-if="ite.type=='frhkbsy'&&ite.bigType=='a'">
  597. <view class="photop" @click="getDown(ite.url)">
  598. <image :src="lookico" class="bgimg"></image>
  599. <image :src="phoicon" class="addimg"></image>
  600. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  601. </view>
  602. <view class="photit">{{ite.name}}</view>
  603. </view>
  604. </block>
  605. </view>
  606. </uni-forms-item>
  607. <uni-forms-item label="户口簿单页" name="iszcy">
  608. <view class="phobox">
  609. <view class="phoboxa" v-if="jcfjobj.frhkbbry">
  610. <!-- 法人户口簿每一页 -->
  611. <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"
  612. @progress="" @uploadEnd="onuploadEnd" >
  613. <view class="photop" >
  614. <image :src="hkico" class="bgimg"></image>
  615. <image :src="phoicon" class="addimg"></image>
  616. </view>
  617. </lsj-upload>
  618. <view class="photit atit">上传户口簿每一页</view>
  619. </view>
  620. <block v-for="(ite,idx) in filelist" :key='idx'>
  621. <view class="phoboxa" v-if="ite.type=='frhkbbry'&&ite.bigType=='a'">
  622. <view class="photop" @click="getDown(ite.url)">
  623. <image :src="lookico" class="bgimg"></image>
  624. <image :src="phoicon" class="addimg"></image>
  625. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  626. </view>
  627. <view class="photit">{{ite.name}}</view>
  628. </view>
  629. </block>
  630. <!-- <view class="phoboxa">
  631. <view class="photop">
  632. <image :src="hkico" class="bgimg"></image>
  633. <image :src="phoicon" class="addimg"></image>
  634. </view>
  635. <view class="photit atit">上传户口簿配偶页</view>
  636. </view> -->
  637. </view>
  638. </uni-forms-item>
  639. </view>
  640. </view>
  641. <!-- 反担保人信息 -->
  642. <view v-show="stepval==3">
  643. <!-- 担保类型 -->
  644. <view class="addtit mt3"><text>*</text>担保类型</view>
  645. <view class="bgf plr12">
  646. <uni-forms-item label="担保类型" name="guaranteeType">
  647. <view class="lbtabp" @click="getRecorddwFn">
  648. <view v-if="datainfo.guaranteeType&&!dblx">{{statusFormats(datainfo.guaranteeType,dblxlist,'dblx')}}</view>
  649. <view v-else :class="dblx?'':'coa'">{{dblx||"请选择担保类型"}}</view>
  650. <image :src="hrimg" class="rimg"></image>
  651. </view>
  652. </uni-forms-item>
  653. <!-- <picker range-key='label' :value="dblxidx" :range="dblxlist" class="" @change='bindDateChangee'>
  654. <uni-forms-item label="担保类型" name="guaranteeType">
  655. <view class="lbtabp">
  656. <view v-if="datainfo.guaranteeType&&!dblx">{{statusFormat(datainfo.guaranteeType,dblxlist,'dblx')}}</view>
  657. <view v-else :class="dblx?'':'coa'">{{dblx||"请选择担保类型"}}</view>
  658. <image :src="hrimg" class="rimg"></image>
  659. </view>
  660. </uni-forms-item>
  661. </picker> -->
  662. </view>
  663. <!-- 反担保人基本信息 v-if="datainfo.guaranteeType==2"-->
  664. <block>
  665. <view class="addtit mt3"><text>*</text>反担保人基本信息</view>
  666. <view class="bgf plr12">
  667. <uni-forms-item label="身份证" name="iszcy">
  668. <view class="phobox">
  669. <view class="phoboxa" v-if="jcfjobj.fdbrsfzrmx">
  670. <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrsfzrmx" fileVal='fdbrsfzrmx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
  671. @progress="" @uploadEnd="ponuploadEnd" >
  672. <view class="photop">
  673. <image :src="cardz" class="bgimg"></image>
  674. <image v-if="datainfo.guaranteeFront" :src="baseUrl+datainfo.guaranteeFront" class="bgimga"></image>
  675. <image :src="phoicon" class="addimg"></image>
  676. </view>
  677. </lsj-upload>
  678. <view class="frdelimg" v-if="datainfo.guaranteeFront" @click.stop="getDelfdbfzpo('front')">
  679. <image :src="fdelimg"></image>
  680. </view>
  681. <view class="photit atit">上传人像面</view>
  682. </view>
  683. <view class="phoboxa" v-if="jcfjobj.fdbrsfzghm">
  684. <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrsfzghm" fileVal='fdbrsfzghm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
  685. @progress="" @uploadEnd="ponuploadEnd" >
  686. <view class="photop">
  687. <view class="photop">
  688. <image :src="cardf" class="bgimg"></image>
  689. <image v-if="datainfo.guaranteeBack" :src="baseUrl+datainfo.guaranteeBack" class="bgimga"></image>
  690. <image :src="phoicon" class="addimg"></image>
  691. </view>
  692. </view>
  693. </lsj-upload>
  694. <view class="frdelimg" v-if="datainfo.guaranteeBack" @click.stop="getDelfdbfzpo('back')">
  695. <image :src="fdelimg"></image>
  696. </view>
  697. <view class="photit">上传国徽面</view>
  698. </view>
  699. </view>
  700. </uni-forms-item>
  701. <uni-forms-item label="姓名" name="guaranteeName">
  702. <uni-easyinput v-model="datainfo.guaranteeName" disabled :inputBorder='false' placeholder="自动识别" />
  703. </uni-forms-item>
  704. <uni-forms-item label="身份证号" name="guaranteeIdCard">
  705. <uni-easyinput v-model="datainfo.guaranteeIdCard" disabled :inputBorder='false' placeholder="自动识别" />
  706. </uni-forms-item>
  707. <uni-forms-item label="手机号码" name="guaranteePhone">
  708. <uni-easyinput v-model="datainfo.guaranteePhone" type="number" :inputBorder='false' placeholder="请输入手机号码" />
  709. </uni-forms-item>
  710. </view>
  711. </block>
  712. <!-- * 反担保人信用担保证明-->
  713. <view class="addtit mt3">反担保人信用担保证明</view>
  714. <view class="bgf plr12">
  715. <uni-forms-item name="iszcy">
  716. <view class="labtxt">个人工作证明
  717. <text>(选填)</text>
  718. </view>
  719. <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
  720. <view class="phoboxa" v-if="jcfjobj.fdbrgrgzzm">
  721. <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrgrgzzm" fileVal='fdbrgrgzzm' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  722. @progress="" @uploadEnd="onuploadEnd" >
  723. <view class="photop" >
  724. <image :src="zico" class="bgimg"></image>
  725. <image :src="phoicon" class="addimg"></image>
  726. </view>
  727. </lsj-upload>
  728. <view class="photit atit">公职人员上传个人工作证明</view>
  729. </view>
  730. <block v-for="(ite,idx) in filelist" :key='idx'>
  731. <view class="phoboxa" v-if="ite.type=='fdbrgrgzzm'&&ite.bigType=='a'">
  732. <view class="photop" @click="getDown(ite.url)">
  733. <image :src="lookico" class="bgimg"></image>
  734. <image :src="phoicon" class="addimg"></image>
  735. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  736. </view>
  737. <view class="photit">{{ite.name}}</view>
  738. </view>
  739. </block>
  740. </view>
  741. </uni-forms-item>
  742. <uni-forms-item label="身份证复印件" name="iszcy">
  743. <view class="phobox">
  744. <view class="phoboxa" v-if="jcfjobj.fdbrsfzfyj">
  745. <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrsfzfyj" fileVal='fdbrsfzfyj' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  746. @progress="" @uploadEnd="onuploadEnd" >
  747. <view class="photop" >
  748. <image :src="cardz" class="bgimg"></image>
  749. <image :src="phoicon" class="addimg"></image>
  750. </view>
  751. </lsj-upload>
  752. <view class="photit atit">上传身份证复印件</view>
  753. </view>
  754. <block v-for="(ite,idx) in filelist" :key='idx'>
  755. <view class="phoboxa" v-if="ite.type=='fdbrsfzfyj'&&ite.bigType=='a'">
  756. <view class="photop" @click="getDown(ite.url)">
  757. <image :src="lookico" class="bgimg"></image>
  758. <image :src="phoicon" class="addimg"></image>
  759. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  760. </view>
  761. <view class="photit">{{ite.name}}</view>
  762. </view>
  763. </block>
  764. </view>
  765. </uni-forms-item>
  766. <uni-forms-item label="个人征信报告" name="iszcy">
  767. <view class="phobox">
  768. <view class="phoboxa" v-if="jcfjobj.fdbrgrzxbg">
  769. <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbrgrzxbg" fileVal='fdbrgrzxbg' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  770. @progress="" @uploadEnd="onuploadEnd" >
  771. <view class="photop" >
  772. <image :src="zico" class="bgimg"></image>
  773. <image :src="phoicon" class="addimg"></image>
  774. </view>
  775. </lsj-upload>
  776. <view class="photit atit">上传个人征信报告</view>
  777. </view>
  778. <block v-for="(ite,idx) in filelist" :key='idx'>
  779. <view class="phoboxa" v-if="ite.type=='fdbrgrzxbg'&&ite.bigType=='a'">
  780. <view class="photop" @click="getDown(ite.url)">
  781. <image :src="lookico" class="bgimg"></image>
  782. <image :src="phoicon" class="addimg"></image>
  783. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  784. </view>
  785. <view class="photit">{{ite.name}}</view>
  786. </view>
  787. </block>
  788. </view>
  789. </uni-forms-item>
  790. </view>
  791. <!-- 企业反担保 -->
  792. <view class="addtit mt3">企业反担保证明</view>
  793. <view class="bgf plr12">
  794. <picker range-key='shareholderName' :value="qyidx" :range="qygdlist" class="isborder" @change='bindDateChangeg'>
  795. <uni-forms-item label="企业名称" name="guaranteeShareholderName">
  796. <view class="lbtabp">
  797. <view class="chtit" :class="datainfo.guaranteeShareholderName?'':'coa'">{{datainfo.guaranteeShareholderName||"请选择关联企业"}}</view>
  798. <image :src="hrimg" class="rimg"></image>
  799. </view>
  800. </uni-forms-item>
  801. </picker>
  802. <uni-forms-item name="iszcy">
  803. <view class="labtxt">营业执照</view>
  804. <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
  805. <view class="phoboxa" v-if="jcfjobj.fdbqyyyzz">
  806. <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbqyyyzz" fileVal='fdbqyyyzz' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  807. @progress="" @uploadEnd="onuploadEnd" >
  808. <view class="photop" >
  809. <image :src="zico" class="bgimg"></image>
  810. <image :src="phoicon" class="addimg"></image>
  811. </view>
  812. </lsj-upload>
  813. <view class="photit atit">上传企业营业执照</view>
  814. </view>
  815. <block v-for="(ite,idx) in filelist" :key='idx'>
  816. <view class="phoboxa" v-if="ite.type=='fdbqyyyzz'&&ite.bigType=='a'">
  817. <view class="photop" @click="getDown(ite.url)">
  818. <image :src="lookico" class="bgimg"></image>
  819. <image :src="phoicon" class="addimg"></image>
  820. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  821. </view>
  822. <view class="photit">{{ite.name}}</view>
  823. </view>
  824. </block>
  825. </view>
  826. </uni-forms-item>
  827. <uni-forms-item label="企业征信" name="iszcy">
  828. <view class="phobox">
  829. <view class="phoboxa" v-if="jcfjobj.fdbqyzx">
  830. <lsj-upload ref="lsjUpload" childId="upload1" :fileName="jcfjobj.fdbqyzx" fileVal='fdbqyzx' bigType="a" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
  831. @progress="" @uploadEnd="onuploadEnd" >
  832. <view class="photop" >
  833. <image :src="cardz" class="bgimg"></image>
  834. <image :src="phoicon" class="addimg"></image>
  835. </view>
  836. </lsj-upload>
  837. <view class="photit atit">上传企业征信</view>
  838. </view>
  839. <block v-for="(ite,idx) in filelist" :key='idx'>
  840. <view class="phoboxa" v-if="ite.type=='fdbqyzx'&&ite.bigType=='a'">
  841. <view class="photop" @click="getDown(ite.url)">
  842. <image :src="lookico" class="bgimg"></image>
  843. <image :src="phoicon" class="addimg"></image>
  844. <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
  845. </view>
  846. <view class="photit">{{ite.name}}</view>
  847. </view>
  848. </block>
  849. </view>
  850. </uni-forms-item>
  851. </view>
  852. </view>
  853. <!-- 添加附件 -->
  854. <view v-show="stepval==4">
  855. <!-- 附件信息 -->
  856. <view class="addtit mt3">
  857. <view @click="getDbclFn" class="flexc">附件信息<image :src="ywicon" class="ywimg"></image></view>
  858. </view>
  859. <block v-for="(ite,idx) in sbfjlist" :key="ite.val">
  860. <!-- 委托担保申请书 -->
  861. <!-- <view class="bgf plr12 mb12" v-if="ite.val=='wtdbsqs'||ite.val=='gdhyjy'">
  862. <view class="fjbox">
  863. <view class="fjtop flext">
  864. <view class="ftit"><text>*</text>{{ite.label}}<text class="mtxt">(须面签)</text></view>
  865. <view class="fbtns cof64" @click="getExportMb(ite)">
  866. <image :src="downimg" class="downimg"></image>下载模板
  867. </view>
  868. <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"
  869. @progress="" @uploadEnd="fjonuploadEnd" >
  870. <view class="fbtns co0a" :style="{width: width,height: height}">
  871. <image :src="upimg"></image>
  872. <view>{{'上传附件'}}</view>
  873. </view>
  874. </lsj-upload>
  875. </view>
  876. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  877. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  878. <view class="flext" @click="getDown(fite.url)">
  879. <view class="imgl"><image :src="filico" ></image></view>
  880. <view class="tit">{{fite.name}}</view>
  881. </view>
  882. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  883. <image :src="fdelimg"></image>
  884. </view>
  885. </view>
  886. </view>
  887. </view>
  888. </view> -->
  889. <view class="bgf plr12" v-if="ite.val=='syndcwbb'||ite.val=='syndsjbg'">
  890. <view class="fjbox" :class="ite.val!='syndsjbg'?'isborder':''">
  891. <view class="fjtop flext">
  892. <view class="ftit"><text v-if="ite.val=='syndcwbb'">*</text>{{ite.label}}</view>
  893. <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"
  894. @progress="" @uploadEnd="fjonuploadEnd" >
  895. <view class="fbtns co0a" :style="{width: width,height: height}">
  896. <image :src="upimg"></image><view>上传附件</view>
  897. </view>
  898. </lsj-upload>
  899. </view>
  900. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  901. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  902. <view class="flext" @click="getDown(fite.url)">
  903. <view class="imgl"><image :src="filico" ></image></view>
  904. <view class="tit">{{fite.name}}</view>
  905. </view>
  906. <!-- 删除 -->
  907. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  908. <image :src="fdelimg"></image>
  909. </view>
  910. </view>
  911. </view>
  912. </view>
  913. </view>
  914. <!-- {{ite.fjlist&&ite.fjlist.length?'重新上传':'上传附件'}} -->
  915. <view class="bgf plr12" v-if="ite.val=='dqcwbb'&&datainfo.applicationType==1">
  916. <view class="fjbox isborder">
  917. <view class="fjtop flext">
  918. <view class="ftit"><text>*</text>{{ite.label}}</view>
  919. <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"
  920. @progress="" @uploadEnd="fjonuploadEnd" >
  921. <view class="fbtns co0a" :style="{width: width,height: height}">
  922. <image :src="upimg"></image><view>上传附件</view>
  923. </view>
  924. </lsj-upload>
  925. </view>
  926. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  927. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  928. <view class="flext" @click="getDown(fite.url)">
  929. <view class="imgl"><image :src="filico" ></image></view>
  930. <view class="tit">{{fite.name}}</view>
  931. </view>
  932. <!-- 删除 -->
  933. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  934. <image :src="fdelimg"></image>
  935. </view>
  936. </view>
  937. </view>
  938. </view>
  939. </view>
  940. <view class="bgf plr12 mt12" v-if="ite.val=='nszm'">
  941. <view class="fjbox isborder">
  942. <picker range-key='text' :value="sfidx" :range="sfList" @change='bindDateChangef'>
  943. <view class="fjtop flexc chek">
  944. <view class="ftit"><text>*</text>是否免税企业</view>
  945. <view v-if="datainfo.isDuty">{{datainfo.isDuty=='Y'?'是':'否'}}</view>
  946. <view v-else class="coa">请选择是/否</view>
  947. <!-- <view :class="datainfo.isDuty?'':'coa'">{{msqy||"请选择是/否"}}</view> -->
  948. <image :src="hrimg" class="rimg"></image>
  949. </view>
  950. </picker>
  951. </view>
  952. <view class="fjbox isborder">
  953. <view class="fjtop flext">
  954. <view class="ftit">{{ite.label}}</view>
  955. <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"
  956. @progress="" @uploadEnd="fjonuploadEnd" >
  957. <view class="fbtns co0a" :style="{width: width,height: height}">
  958. <image :src="upimg"></image><view>上传附件</view>
  959. </view>
  960. </lsj-upload>
  961. </view>
  962. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  963. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  964. <view class="flext" @click="getDown(fite.url)">
  965. <view class="imgl"><image :src="filico" ></image></view>
  966. <view class="tit">{{fite.name}}</view>
  967. </view>
  968. <!-- 删除 -->
  969. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  970. <image :src="fdelimg"></image>
  971. </view>
  972. </view>
  973. </view>
  974. </view>
  975. </view>
  976. <view class="bgf plr12 " v-if="ite.val=='jsyyhdzd'">
  977. <view class="fjbox">
  978. <view class="fjtop flext">
  979. <view class="ftit">{{ite.label}}</view>
  980. <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"
  981. @progress="" @uploadEnd="fjonuploadEnd" >
  982. <view class="fbtns co0a" :style="{width: width,height: height}">
  983. <image :src="upimg"></image><view>上传附件</view>
  984. </view>
  985. </lsj-upload>
  986. </view>
  987. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  988. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  989. <view class="flext" @click="getDown(fite.url)">
  990. <view class="imgl"><image :src="filico" ></image></view>
  991. <view class="tit">{{fite.name}}</view>
  992. </view>
  993. <!-- 删除 -->
  994. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  995. <image :src="fdelimg"></image>
  996. </view>
  997. </view>
  998. </view>
  999. </view>
  1000. </view>
  1001. <!-- 主要账户银行流水 -->
  1002. <view class="mt12" v-if="ite.val=='zyzhyhls'">
  1003. <view class="bgf plr12 " >
  1004. <view class="fjbox">
  1005. <view class="fjtop flext">
  1006. <view class="ftit"><text>*</text>{{ite.label}}</view>
  1007. <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"
  1008. @progress="" @uploadEnd="fjonuploadEnd" >
  1009. <view class="fbtns co0a" :style="{width: width,height: height}">
  1010. <image :src="upimg"></image><view>上传附件</view>
  1011. </view>
  1012. </lsj-upload>
  1013. </view>
  1014. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  1015. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  1016. <view class="flext" @click="getDown(fite.url)">
  1017. <view class="imgl"><image :src="filico" ></image></view>
  1018. <view class="tit">{{fite.name}}</view>
  1019. </view>
  1020. <!-- 删除 -->
  1021. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  1022. <image :src="fdelimg"></image>
  1023. </view>
  1024. </view>
  1025. </view>
  1026. </view>
  1027. </view>
  1028. <view class="addtit tips">提供能够反映企业资金流向的法人或控股股东不低于半年的个人 主要账户银行流水</view>
  1029. </view>
  1030. <view class="bgf plr12 " :class="ite.val=='gxht'?'isborder':''" v-if="ite.val=='gxht'|| ite.val=='dqcsxmqkzm'">
  1031. <view class="fjbox">
  1032. <view class="fjtop flext">
  1033. <view class="ftit"><text>*</text>{{ite.label}}</view>
  1034. <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"
  1035. @progress="" @uploadEnd="fjonuploadEnd" >
  1036. <view class="fbtns co0a" :style="{width: width,height: height}">
  1037. <image :src="upimg"></image><view>上传附件</view>
  1038. </view>
  1039. </lsj-upload>
  1040. </view>
  1041. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  1042. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  1043. <view class="flext" @click="getDown(fite.url)">
  1044. <view class="imgl"><image :src="filico" ></image></view>
  1045. <view class="tit">{{fite.name}}</view>
  1046. </view>
  1047. <!-- 删除 -->
  1048. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  1049. <image :src="fdelimg"></image>
  1050. </view>
  1051. </view>
  1052. </view>
  1053. </view>
  1054. </view>
  1055. <!-- 企业基本注册信息查询单 -->
  1056. <view class="bgf plr12 mt12 mb12" v-if="ite.val=='qyjbzcxxcxd'">
  1057. <view class="fjbox">
  1058. <view class="fjtop flext">
  1059. <view class="ftit"><text>*</text>{{ite.label}}</view>
  1060. <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"
  1061. @progress="" @uploadEnd="fjonuploadEnd" >
  1062. <view class="fbtns co0a" :style="{width: width,height: height}">
  1063. <image :src="upimg"></image><view>上传附件</view>
  1064. </view>
  1065. </lsj-upload>
  1066. </view>
  1067. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  1068. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  1069. <view class="flext" @click="getDown(fite.url)">
  1070. <view class="imgl"><image :src="filico" ></image></view>
  1071. <view class="tit">{{fite.name}}</view>
  1072. </view>
  1073. <!-- 删除 -->
  1074. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  1075. <image :src="fdelimg"></image>
  1076. </view>
  1077. </view>
  1078. </view>
  1079. </view>
  1080. </view>
  1081. <!-- 企业固定资产证明 -->
  1082. <view class="bgf plr12 " v-if="ite.val=='qygdzczm'||ite.val=='frzczmfc'||ite.val=='frzczmdc'||ite.val=='frzczmcl'">
  1083. <view class="fjbox" :class="ite.val!='frzczmcl'?'isborder':''">
  1084. <view class="fjtop flext">
  1085. <view class="ftit">{{ite.label}}</view>
  1086. <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"
  1087. @progress="" @uploadEnd="fjonuploadEnd" >
  1088. <view class="fbtns co0a" :style="{width: width,height: height}">
  1089. <image :src="upimg"></image><view>上传附件</view>
  1090. </view>
  1091. </lsj-upload>
  1092. </view>
  1093. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  1094. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  1095. <view class="flext" @click="getDown(fite.url)">
  1096. <view class="imgl"><image :src="filico" ></image></view>
  1097. <view class="tit">{{fite.name}}</view>
  1098. </view>
  1099. <!-- 删除 -->
  1100. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  1101. <image :src="fdelimg"></image>
  1102. </view>
  1103. </view>
  1104. </view>
  1105. </view>
  1106. </view>
  1107. <!-- 反担保抵(质)押物复印件 -->
  1108. <view class="mt12" v-if="ite.val=='fdbdyfyj'">
  1109. <view class="bgf plr12 " >
  1110. <view class="fjbox">
  1111. <view class="fjtop flext">
  1112. <view class="ftit">{{ite.label}}</view>
  1113. <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"
  1114. @progress="" @uploadEnd="fjonuploadEnd" >
  1115. <view class="fbtns co0a" :style="{width: width,height: height}">
  1116. <image :src="upimg"></image><view>上传附件</view>
  1117. </view>
  1118. </lsj-upload>
  1119. </view>
  1120. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  1121. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  1122. <view class="flext" @click="getDown(fite.url)">
  1123. <view class="imgl"><image :src="filico" ></image></view>
  1124. <view class="tit">{{fite.name}}</view>
  1125. </view>
  1126. <!-- 删除 -->
  1127. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  1128. <image :src="fdelimg"></image>
  1129. </view>
  1130. </view>
  1131. </view>
  1132. </view>
  1133. </view>
  1134. <view class="addtit tips">机械设备需提供发票原件;若上传附件,后期则需提供证明</view>
  1135. </view>
  1136. <!-- 代理相关品牌授权书 -->
  1137. <view class="bgf plr12 " v-if="ite.val=='dlxgcpsqs'||ite.val=='dlxgppht'">
  1138. <view class="fjbox isborder">
  1139. <view class="fjtop flext">
  1140. <view class="ftit">{{ite.label}}</view>
  1141. <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"
  1142. @progress="" @uploadEnd="fjonuploadEnd" >
  1143. <view class="fbtns co0a" :style="{width: width,height: height}">
  1144. <image :src="upimg"></image><view>上传附件</view>
  1145. </view>
  1146. </lsj-upload>
  1147. </view>
  1148. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  1149. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  1150. <view class="flext" @click="getDown(fite.url)">
  1151. <view class="imgl"><image :src="filico" ></image></view>
  1152. <view class="tit">{{fite.name}}</view>
  1153. </view>
  1154. <!-- 删除 -->
  1155. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  1156. <image :src="fdelimg"></image>
  1157. </view>
  1158. </view>
  1159. </view>
  1160. </view>
  1161. </view>
  1162. <!-- 反担保抵(质)押物复印件 -->
  1163. <view v-if="ite.val=='scjyxkzgy'">
  1164. <view class="bgf plr12 " >
  1165. <view class="fjbox">
  1166. <view class="fjtop flext">
  1167. <view class="ftit">{{ite.label}}</view>
  1168. <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"
  1169. @progress="" @uploadEnd="fjonuploadEnd" >
  1170. <view class="fbtns co0a" :style="{width: width,height: height}">
  1171. <image :src="upimg"></image><view>上传附件</view>
  1172. </view>
  1173. </lsj-upload>
  1174. </view>
  1175. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  1176. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  1177. <view class="flext" @click="getDown(fite.url)">
  1178. <view class="imgl"><image :src="filico" ></image></view>
  1179. <view class="tit">{{fite.name}}</view>
  1180. </view>
  1181. <!-- 删除 -->
  1182. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  1183. <image :src="fdelimg"></image>
  1184. </view>
  1185. </view>
  1186. </view>
  1187. </view>
  1188. </view>
  1189. <view class="addtit tips">例如:塑料包装行业《印刷经营许可证》、食品卫生行业《卫生 许可证》、环保达标认定表原件(工业)</view>
  1190. </view>
  1191. <!-- 纳税申报表 -->
  1192. <view class="bgf plr12 mb12" v-if="ite.val=='sdffpyn'||ite.val=='rggzb'||ite.val=='nssbb'">
  1193. <view class="fjbox">
  1194. <view class="fjtop flext">
  1195. <view class="ftit"><text>*</text>{{ite.label}}</view>
  1196. <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"
  1197. @progress="" @uploadEnd="fjonuploadEnd" >
  1198. <view class="fbtns co0a" :style="{width: width,height: height}">
  1199. <image :src="upimg"></image><view>上传附件</view>
  1200. </view>
  1201. </lsj-upload>
  1202. </view>
  1203. <view class="mt8" v-if="ite.fjlist&&ite.fjlist.length">
  1204. <view class="fjlists" v-for="(fite,fidx) in ite.fjlist">
  1205. <view class="flext" @click="getDown(fite.url)">
  1206. <view class="imgl"><image :src="filico" ></image></view>
  1207. <view class="tit">{{fite.name}}</view>
  1208. </view>
  1209. <!-- 删除 -->
  1210. <view class="delimg flex0" @click.stop="getDelsbFj(idx,fidx)">
  1211. <image :src="fdelimg"></image>
  1212. </view>
  1213. </view>
  1214. </view>
  1215. </view>
  1216. </view>
  1217. </block>
  1218. </view>
  1219. </uni-forms>
  1220. <!-- btnd -->
  1221. <view class="addbtns" v-if="ftype">
  1222. <view class="addlbtn" @click="getZanFn">
  1223. <image :src="zancio" class="addlbtna"></image>
  1224. <view class="addlbtnb">暂存</view>
  1225. </view>
  1226. <view class="addrbtn bga" @click="getPreFn" v-if="stepval>1">上一步</view>
  1227. <view class="addrbtn bgb" @click="getNextFn" v-if="stepval<4">下一步</view>
  1228. <view class="addrbtn bgb" @click="getSubmit" v-if="stepval==4">提交</view>
  1229. </view>
  1230. <cover-view class="addbtns" v-else>
  1231. <cover-view class="addlbtn" @click="getZanFn">
  1232. <cover-image :src="zancio" class="addlbtna" @click.stop="getZanFn"></cover-image>
  1233. <cover-view class="addlbtnb" @click.stop="getZanFn">暂存</cover-view>
  1234. </cover-view>
  1235. <cover-view class="addrbtn bga" @click="getPreFn" v-if="stepval>1">上一步</cover-view>
  1236. <cover-view class="addrbtn bgb" @click="getNextFn" v-if="stepval<4">下一步</cover-view>
  1237. <cover-view class="addrbtn bgb" @click="getSubmit" v-if="stepval==4">提交</cover-view>
  1238. </cover-view>
  1239. <block v-if="lookflag">
  1240. <view class="bgbox" @click="lookflag=false" ></view>
  1241. <image :src="lookico" class="looimg" @click="getPreview(lookico)"></image>
  1242. </block>
  1243. <!-- 放弃编辑 -->
  1244. <!-- #ifdef MP-WEIXIN -->
  1245. <view class="edit editcir" v-if="ftype" @click="getGiveupFn">
  1246. <image :src="feditimg"></image>
  1247. 放弃编辑
  1248. </view>
  1249. <cover-view class="edit editcir" v-else @click="getGiveupFn">
  1250. <cover-image :src="feditimg" @click.stop="getGiveupFn" class="img"></cover-image>
  1251. <cover-view @click.stop="getGiveupFn" class="txt">放弃编辑</cover-view>
  1252. </cover-view>
  1253. <!-- #endif -->
  1254. <!-- 选择担保类型 -->
  1255. <bartree-pickerfixed ref="treePickerzrdw" deptType='1' :multiple='true' @select-change="selectChangezrdw" title="选择担保类型"
  1256. :localdata="dblxlist" :checkVal='datainfo.guaranteeType' valueKey="value" textKey="label" childrenKey="children"></bartree-pickerfixed>
  1257. <!--附件 remark==1 后台生成的pdf,自己删除 -->
  1258. <pop-up :type='ftype' :xwimgList="xwimgList" :content="content" @getClose='getClose'></pop-up>
  1259. </view>
  1260. </template>
  1261. <script>
  1262. import config from '@/config'
  1263. const baseUrl = config.baseUrl
  1264. const baseUrlimg=config.baseUrlimg
  1265. const baseName = config.baseName
  1266. import self from '@/utils/location.js';
  1267. import popUp from "@/work/components/popup/popup.vue"
  1268. import stepBar from "@/components/toptab/stepbar.vue"
  1269. import { getToken } from '@/utils/auth'
  1270. import {getApplicationNum,getApplicationZc,getApplicationAdd,getApplicationDet,getApplicationEdit,getExportMb,getDocumentList,getGdlistNoPage} from "@/api/mine/work.js"
  1271. import {getQyListNoPage,getOcrIdCard,getIdCardDet,getOcrBusinessLicense} from "@/api/mine/card.js"
  1272. import {uploadmore,selectValueKey,showConfirm} from '@/utils/common.js'
  1273. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  1274. import {getDictionaryFn} from "@/api/mine/register.js"
  1275. import bartreePickerfixed from "@/components/ba-tree-picker/ba-tree-pickerfixed.vue"
  1276. // 340622185605234521
  1277. export default{
  1278. components:{stepBar,popUp,bartreePickerfixed},
  1279. data(){
  1280. return{
  1281. //附件
  1282. option: {
  1283. // 上传服务器地址,需要替换为你的接口地址
  1284. url: baseUrl+'/common/uploadNew', // 该地址非真实路径,需替换为你项目自己的接口地址
  1285. // 上传附件的key
  1286. name: 'file',
  1287. // 根据你接口需求自定义请求头,默认不要写content-type,让浏览器自适配
  1288. header: {
  1289. // 示例参数可删除
  1290. 'Authorization': 'Bearer ' + getToken(),
  1291. },
  1292. // 根据你接口需求自定义body参数
  1293. formData: {
  1294. loanApplicationNumber:'',
  1295. }
  1296. },
  1297. gdformats: 'png,jpg,jpeg',
  1298. // 选择文件后是否立即自动上传,true=选择后立即上传
  1299. instantly: true,
  1300. // 必传宽高且宽高应与slot宽高保持一致
  1301. width: '',
  1302. height: '100rpx',
  1303. pwidth:'200rpx',
  1304. pheight:'126rpx',
  1305. // 限制允许上传的格式,空串=不限制,默认为空
  1306. formats: 'doc,docx,xls,xlsx,ppt,txt,pdf,zip,rar,word,png,jpg,jpeg',
  1307. // 文件上传大小限制
  1308. size: 100,
  1309. // 文件数量限制 默认10
  1310. count: 5,
  1311. // 文件回显列表
  1312. files: new Map(),
  1313. // 微信小程序Map对象for循环不显示,所以转成普通数组,不要问为什么,我也不知道
  1314. wxFiles: [],
  1315. // 是否打印日志
  1316. debug: false,
  1317. filelist:[],
  1318. gdfilelist:[],//股东附件列表
  1319. backimg:require("@/work/static/images/back.png"),
  1320. feditimg:require("@/work/static/images/fedit.png"),
  1321. hrimg:require('@/work/static/images/hrimg.png'),
  1322. ywicon:require('@/work/static/images/busin/ywicon.png'),
  1323. delimg:require('@/work/static/images/del.png'),
  1324. lookico:require('@/work/static/images/busin/lookico.png'),
  1325. phoicon:require('@/work/static/images/busin/phoicon.png'),
  1326. zico:require('@/work/static/images/busin/zico.png'),
  1327. cardz:require('@/work/static/images/busin/cardz.png'),
  1328. cardf:require('@/work/static/images/busin/cardf.png'),
  1329. addgd:require('@/work/static/images/busin/addgd.png'),
  1330. jhico:require('@/work/static/images/busin/jhico.png'),
  1331. hkico:require('@/work/static/images/busin/hkico.png'),
  1332. zancio:require('@/work/static/images/zancio.png'),
  1333. downimg:require('@/work/static/images/down.png'),
  1334. upimg:require('@/work/static/images/fup.png'),
  1335. filico:require('@/work/static/images/filico.png'),
  1336. fdelimg:require('@/work/static/images/del.png'),
  1337. steps:[{tit:'申请额度',status:0},{tit:'企业信息',status:1},{tit:'法人信息',status:2},{tit:'反担保人信息',status:3},{tit:'添加附件',status:4},],
  1338. stepval:1,
  1339. datainfo:{
  1340. // qymcid:1,
  1341. // hylx:'',
  1342. // hylxid:'',
  1343. // iszcy:'0',
  1344. // "loanApplicationId": 1,//贷款申请id
  1345. "loanApplicationNumber": "",//贷款申请编号
  1346. 'applicationType':'',//申请类型 1:企业 2:个人
  1347. "applicationAmount": '',//申请额度(万元)
  1348. "applicationBank": "",//申请银行
  1349. "usagePeriod": "",//使用期限(月)
  1350. "purposeFunds": "",//资金用途
  1351. "repaymentSource": "",//还款来源
  1352. "enterpriseName": "",//企业名称
  1353. "enterpriseId":"",//企业信息id
  1354. "categoryType": "",//行业类型
  1355. "isMake": "Y",//是否是制造业
  1356. "isNew": "Y",//是否是精特新
  1357. "isSmall": "Y",//是否是小微企业
  1358. "isDuty": "",//是否是免税企业
  1359. "companyIntroduction": "",//公司简介
  1360. "customerType": "",//用户类型
  1361. "corporationFront": "",//法人身份证正面
  1362. "corporationBack": "",//法人身份证反面
  1363. "corporationName": "",// 法人姓名
  1364. "corporationIdCard": "",//法人身份证号
  1365. "corporationPhone": "",// 法人手机号
  1366. "familyPopulation": "",//家庭人口数
  1367. "corporationJob": "",//法人职业
  1368. "isLoan": "",//有无贷款
  1369. "receivablePay": "",//应收应付款
  1370. "businessSituation": "",//经营情况
  1371. "businessEfficiency": "",//经营效益
  1372. "corporationMaritalStatus": "",//法人婚姻状态
  1373. "spouseFront": "",//配偶身份证正面
  1374. "spouseBack": "",//配偶身份证反面
  1375. "spouseName": "",//配偶姓名
  1376. "spouseIdCard": "",//配偶身份证号
  1377. "spousePhone": "",//配偶手机号
  1378. "guaranteeType": "",//担保类型
  1379. "guaranteeFront": "",//反担保人身份证正面
  1380. "guaranteeBack": "",//反担保人身份证反面
  1381. "guaranteeName": "",//反担保人姓名
  1382. "guaranteeIdCard": "",//反担保人身份证号
  1383. "guaranteePhone": "",//反担保人手机号
  1384. // "guaranteeMaritalStatus": "",//反担保人婚姻状态
  1385. // "guaranteeSpouseFront": "",//反担保人配偶身份证正面
  1386. // "guaranteeSpouseBack": "",//反担保人配偶身份证反面
  1387. // "guaranteeSpouseName": "",//反担保人配偶姓名
  1388. // "guaranteeSpouseIdCard": "",//反担保人配偶身份证号
  1389. // "guaranteeSpousePhone": "",//反担保人配偶手机号
  1390. // "userId": '',//申请人用户ID
  1391. // "idCard": "",//申请人身份证号码
  1392. // "applicationTime": "",//申请时间
  1393. // "fileTime": "",//归档时间
  1394. // "loanSchedule": "",//贷款申请进度(业务进度表查询进度列表):1:申报提交2:业务审核/分配 3:担保初审 4:尽职调查 5:初审风险合规 6:评审会 7:合同签约 8:放款合规风险审核 9:放款通知 10:归档
  1395. // "loanScheduleName": '',//贷款申请进度名称(中文字)
  1396. // "auditSchedule": "",//审核进度1:担保初审 2:A角色审核 3:B角色审核 4:风险审核 5:尽职调查 6:上会评审
  1397. // "auditType": "",//审核状态 1:待审核 2:已通过 3:未通过
  1398. // "loanApplicationType": "",//贷款申请状态 1:暂存 2:正常 3:回收站 4:归档
  1399. // "aUserId": "",//A角色用户ID
  1400. // "aUserName": "",//A角色用户名称
  1401. // "bUserId": '',//B角色用户ID
  1402. // "bUserName": '',//B角色用户名称
  1403. "shareholderFjList": [],//全体股东信息附件
  1404. "loanApplicationFjList": [],//相关附件
  1405. "basicFj":{},//基础附件
  1406. "declareFj":{},//申报附件
  1407. "fileFj":{},//文件出具
  1408. "otherFj":{},//其他附件
  1409. },
  1410. qymc:'',
  1411. msqy:'',
  1412. qyidx:0,
  1413. ywidx:0,
  1414. categoryId:'',//行业的id
  1415. rules:{
  1416. },
  1417. gdlist:[{cardz:'',cardf:'',zxurl:[],zhizhao:[],shareholderName:"",shareholderIdCard:'',}],
  1418. qylist:[],//企业列表
  1419. sfList:[{text: '是',value: 'Y'},{text: '否',value: 'N'}],
  1420. ywList:[{label: '有',value: 'Y'},{label: '无',value: 'N'}],
  1421. actcolor:'#00A9F0',
  1422. sqtype:'qy',//个人gr ,企业 qy,
  1423. hyztlist:[],//婚姻状态
  1424. yhlxlist:[],//用户类型
  1425. dblxlist:[],//担保类型
  1426. lookflag:false,
  1427. listTop:70,
  1428. userId:this.$store.state.user.userId,
  1429. categoryId:"",//行业类型id;
  1430. jcfjlist:[],//基础附件
  1431. sbfjlist:[],//申报附件
  1432. wjfjlist:[],//文件出具
  1433. jcfjobj:{},//基础附件
  1434. shareholderFjList:[],//全体股东信息附件
  1435. loanApplicationFjList:[],//相关附件
  1436. ftype:'',//弹窗type
  1437. baseUrl:'',
  1438. dblx:'',
  1439. yhlx:'',
  1440. frhyzk:'',//婚姻状况
  1441. dblxidx:0,
  1442. yhlxidx:0,
  1443. sfidx:0,
  1444. frhyzkidx:0,
  1445. btfiles:[
  1446. {tit:'公司章程',type:'gszc'},
  1447. {tit:'开户许可证',type:'khxkz'},{tit:'申请企业征信报告',type:'sqqyzxbg'},{tit:'关联企业征信报告',type:'glqyzxbg'},{tit:'企业法人征信报告',type:'qyfrzxbg'},{tit:'实际控股人征信报告',type:'sjkgrzxbg'},
  1448. {tit:'户口簿首页',type:'frhkbsy'},
  1449. ],
  1450. sqbtfiles:[
  1451. //{tit:'委托担保申请书',type:'wtdbsqs'},{tit:'股东会决议',type:'gdhyjy'},
  1452. {tit:'上一年度财务报表',type:'syndcwbb'},{tit:'主要账户银行流水',type:'zyzhyhls'},{tit:'购销合同',type:'gxht'},
  1453. {tit:'当前从事项目情况证明',type:'dqcsxmqkzm'},{tit:'企业基本注册信息查询单',type:'qyjbzcxxcxd'},{tit:'水电费发票(一年)',type:'sdffpyn'},{tit:'人员工资表',type:'rggzb'},{tit:'纳税申报表',type:'nssbb'},
  1454. ],
  1455. content:'',//小微企业富文本
  1456. xwimgList:[],//小微企业图片
  1457. ptype:'add',
  1458. id:'',//申请id
  1459. declareFj:{},//
  1460. // {tit:'法人结婚证',type:'frjhz'},{tit:'法人离婚证',type:'frlhz'},
  1461. // {tit:'法人配偶身份证人面像',type:'frsfzpormx'},{tit:'法人配偶身份证国徽面',type:'frsfzpoghm'},
  1462. //担保类型为反担保人担保{tit:'反担保人身份证人面像',type:'fdbrsfzrmx'},{tit:'反担保人身份证国徽面',type:'fdbrsfzghm'},
  1463. //担保类型为抵押{tit:'企业固定资产证明',type:'qygdzczm'},
  1464. ischange:false,
  1465. isdetail:false,
  1466. qygdlist:[],//企业股东列表
  1467. dfdwpicker: {
  1468. title: '选择担保类型',
  1469. layer: null,
  1470. titflag:true,
  1471. data: []
  1472. },
  1473. loadflag:false,
  1474. }
  1475. },
  1476. onUnload(){
  1477. uni.$off('refreshtalb')
  1478. },
  1479. watch:{
  1480. datainfo:{
  1481. handler(newVal, oldVal) {
  1482. if(this.isdetail){
  1483. this.isdetail=false
  1484. }else{
  1485. this.ischange=true
  1486. }
  1487. },
  1488. deep: true
  1489. },
  1490. },
  1491. onBackPress(e) {
  1492. var that=this;
  1493. if(this.ischange){
  1494. var a=0;
  1495. showConfirm('内容已做修改,是否暂存').then(res => {
  1496. if (res.confirm) {
  1497. this.getZanFn('back')
  1498. }else{
  1499. this.ischange=false;
  1500. uni.navigateBack({
  1501. delta:1
  1502. })
  1503. return false
  1504. }
  1505. })
  1506. return true
  1507. }else{
  1508. return false
  1509. uni.navigateBack({
  1510. delta:1
  1511. })
  1512. }
  1513. },
  1514. onLoad(e) {
  1515. // this.getIdCardDet()
  1516. // return
  1517. this.baseUrl=baseUrl
  1518. var data=JSON.parse(decodeURIComponent(e.data))
  1519. if(data.type){
  1520. this.ptype=data.type;
  1521. this.id=data.id;
  1522. if(Number(data.val)<4){
  1523. this.stepval=Number(data.val)+1
  1524. }
  1525. this.getDetail()
  1526. }else{
  1527. this.datainfo.applicationAmount=data.applicationAmount;
  1528. this.datainfo.applicationBank=data.applicationBank;
  1529. this.datainfo.usagePeriod=data.usagePeriod;
  1530. this.datainfo.purposeFunds=data.purposeFunds;
  1531. this.datainfo.repaymentSource=data.repaymentSource;
  1532. this.datainfo.applicationType=data.applicationType;
  1533. if(data.applicationType==1){
  1534. var obj={tit:'当期财务报表',type:'dqcwbb'};
  1535. this.sqbtfiles.push(obj)
  1536. }
  1537. this.getNumber();
  1538. this.getSbjListFn()
  1539. }
  1540. uni.$on('refreshtalb', (e) => {
  1541. this.datainfo.categoryType=e.categoryName
  1542. this.categoryId=e.categoryId
  1543. })
  1544. this.init()
  1545. this.getQylist()
  1546. this.getDocumentList()
  1547. },
  1548. mounted() {
  1549. this.getHeightFn()
  1550. // var obj={
  1551. // loanApplicationNumber:this.datainfo.loanApplicationNumber
  1552. // }
  1553. // this.option.formData=JSON.parse(JSON.stringify(obj))
  1554. // this.$refs['lsjUpload'].setData('formData.loanApplicationNumber','RZDB202404251759453241637');
  1555. },
  1556. methods:{
  1557. checkPermi, checkRole,
  1558. getRecorddwFn(){
  1559. this.$refs.treePickerzrdw._show();
  1560. },
  1561. selectChangezrdw(e){
  1562. var val=e;
  1563. var newArr=[],newVal=[];
  1564. var a=0;
  1565. e.forEach((ite,idx)=>{
  1566. newArr[idx]=ite.deptName
  1567. newVal[idx]=ite.deptId
  1568. if(ite.deptId==4){
  1569. a=1
  1570. }
  1571. })
  1572. this.dblx=newArr.join(',')
  1573. this.datainfo.guaranteeType=newVal.join(',');
  1574. if(a==1){
  1575. this.getGdFjlist()
  1576. }
  1577. },
  1578. getIdCardDet(){
  1579. getIdCardDet(this.userId).then(res=>{
  1580. if(res.code==200){
  1581. }
  1582. })
  1583. },
  1584. init(){
  1585. // 用户类型
  1586. getDictionaryFn('customer_type').then(res=>{
  1587. if(res.code==200){
  1588. this.yhlxlist = res.data.map(v => {
  1589. return {
  1590. label: v.dictLabel,
  1591. value: v.dictValue
  1592. }
  1593. })
  1594. }
  1595. })
  1596. // 婚姻状况
  1597. getDictionaryFn('marital_status').then(res=>{
  1598. if(res.code==200){
  1599. this.hyztlist = res.data.map(v => {
  1600. return {
  1601. label: v.dictLabel,
  1602. value: v.dictValue
  1603. }
  1604. })
  1605. }
  1606. })
  1607. // 担保类型
  1608. getDictionaryFn('guarantee_type').then(res=>{
  1609. if(res.code==200){
  1610. this.dblxlist = res.data.map(v => {
  1611. return {
  1612. label: v.dictLabel,
  1613. value: v.dictValue,
  1614. }
  1615. })
  1616. }
  1617. })
  1618. // 基础附件
  1619. getDictionaryFn('application_fj_jc').then(res=>{
  1620. if(res.code==200){
  1621. var obj={}
  1622. var data=res.data;
  1623. data.forEach(v=>{
  1624. obj[v.dictValue]=v.dictLabel
  1625. })
  1626. this.jcfjobj=obj
  1627. }
  1628. })
  1629. },
  1630. getSbjListFn(){
  1631. // 申报附件
  1632. getDictionaryFn('application_fj_sb').then(res=>{
  1633. if(res.code==200){
  1634. var declareFj=this.declareFj;
  1635. this.sbfjlist = res.data.map(v => {
  1636. return {
  1637. label: v.dictLabel,
  1638. val: v.dictValue,
  1639. fjlist:declareFj[v.dictValue]||[]
  1640. }
  1641. })
  1642. let signArr = JSON.parse(JSON.stringify(this.filelist));
  1643. signArr = signArr.filter(s => {
  1644. // if (res.data.find(l => l.dictValue == s.type && l.title == s.title)) return false
  1645. if (res.data.find(l => l.dictValue == s.type)) return false
  1646. else return true;
  1647. })
  1648. this.filelist = signArr;
  1649. }
  1650. })
  1651. },
  1652. getGdFjlist(){
  1653. var params={
  1654. loanApplicationNumber:this.datainfo.loanApplicationNumber
  1655. }
  1656. getGdlistNoPage(params).then(res=>{
  1657. if(res.code==200){
  1658. this.qygdlist=res.data
  1659. }
  1660. })
  1661. },
  1662. getQylist(){
  1663. // 需要userid
  1664. var params={
  1665. userId:this.userId
  1666. }
  1667. getQyListNoPage(params).then(res=>{
  1668. if(res.code==200){
  1669. this.qylist = res.rows.map(v => {
  1670. return {
  1671. label: v.enterpriseName,
  1672. value: v.enterpriseId
  1673. }
  1674. })
  1675. }
  1676. })
  1677. },
  1678. getNumber(){
  1679. getApplicationNum().then(res=>{
  1680. if(res.code==200){
  1681. this.datainfo.loanApplicationNumber=res.data;
  1682. var obj={
  1683. loanApplicationNumber:this.datainfo.loanApplicationNumber
  1684. }
  1685. this.option.formData=JSON.parse(JSON.stringify(obj))
  1686. }
  1687. })
  1688. },
  1689. getHeightFn(){
  1690. let query = uni.createSelectorQuery().in(this);
  1691. var s=uni.getSystemInfoSync().statusBarHeight;
  1692. //需要给黄色区域设置一个id标识,在这里是demo
  1693. query.select('.navtop').boundingClientRect(data => {
  1694. // #ifdef H5
  1695. this.listTop =s ? Number(data.height)*2:(Number(data.height)-20)*2//赋值,待会要用
  1696. // #endif
  1697. // #ifndef H5
  1698. this.listTop = Number(data.height)*2//赋值,待会要用
  1699. // #endif
  1700. }).exec();
  1701. },
  1702. getDbclFn(){
  1703. this.$tab.navigateTo("/work/pages/prove/dbcltips")
  1704. },
  1705. getBack(){
  1706. // 暂存
  1707. uni.navigateBack({
  1708. delta:1
  1709. })
  1710. },
  1711. getGiveupFn(){
  1712. var that=this;
  1713. uni.showModal({
  1714. title: '放弃编辑',
  1715. content: "是否确认放弃编辑",
  1716. cancelText: '取消',
  1717. confirmText: '确认',
  1718. success: function(res) {
  1719. if (res.confirm) {
  1720. that.$tab.reLaunch('/pages/index/index')
  1721. } else if (res.cancel) {
  1722. }
  1723. }
  1724. });
  1725. },
  1726. getPreFn(){
  1727. uni.pageScrollTo({
  1728. scrollTop: 0,
  1729. duration: 0
  1730. })
  1731. this.stepval=Number(this.stepval)-1
  1732. },
  1733. getNextFn(){
  1734. // 暂不判断必填写完否
  1735. uni.pageScrollTo({
  1736. scrollTop: 0,
  1737. duration: 0
  1738. })
  1739. this.stepval=Number(this.stepval)+1
  1740. },
  1741. getPreview(url) {
  1742. var newArr=[];
  1743. newArr.push(url)
  1744. uni.previewImage({
  1745. urls: newArr,
  1746. current:0,
  1747. success: function(data) {
  1748. },
  1749. fail: function(err) {
  1750. }
  1751. });
  1752. },
  1753. showImg(){
  1754. this.ftype='fwb'
  1755. // this.lookflag=true
  1756. },
  1757. getClose(){
  1758. this.ftype=''
  1759. },
  1760. getTalbFn(){
  1761. var obj={
  1762. id:this.categoryId,
  1763. name:this.datainfo.categoryType,
  1764. }
  1765. this.$tab.navigateTo('/work/pages/business/talbclass?data='+encodeURIComponent(JSON.stringify(obj)))
  1766. },
  1767. getAddGdFn(){
  1768. var obj = {cardz:'',cardf:'',zxurl:[],zhizhao:[],shareholderName:"",shareholderIdCard:'',}
  1769. this.gdlist.push(obj);
  1770. },
  1771. getdelGdFn(idx){
  1772. var that=this;
  1773. uni.showModal({
  1774. title: '确认删除',
  1775. content: "是否确认删除",
  1776. cancelText: '取消',
  1777. confirmText: '确认',
  1778. success: function(res) {
  1779. if (res.confirm) {
  1780. that.gdlist.splice(idx,1);
  1781. } else if (res.cancel) {
  1782. }
  1783. }
  1784. });
  1785. },
  1786. statusFormats(ite,list,type){//多选匹配
  1787. if(ite){
  1788. var actions = [];
  1789. list.forEach(s => {
  1790. if(ite.indexOf(s.value)>-1){
  1791. actions.push(s.label);
  1792. }
  1793. })
  1794. return actions.join(',')
  1795. }else{
  1796. return ''
  1797. }
  1798. },
  1799. statusFormat(ite,list,type) {
  1800. var aite=selectValueKey(list, ite);
  1801. if(type=='qy'){
  1802. this.qyidx=aite.key
  1803. }else if(type=='dblx'){
  1804. this.dblxidx=aite.key
  1805. }else if(type=='yhlx'){
  1806. this.yhlxidx=aite.key
  1807. }else if(type=='ywdk'){
  1808. this.ywidx=aite.key
  1809. }else if(type=='msqy'){
  1810. this.sfidx=aite.key
  1811. }else if(type=='frhyzk'){
  1812. this.frhyzkidx=aite.key
  1813. this.frhyzk=aite.actions;
  1814. }
  1815. return aite.actions;
  1816. },
  1817. bindDateChangea(e){
  1818. // 企业信息
  1819. var val=e.detail.value;
  1820. this.datainfo.enterpriseName=this.qylist[val].label;
  1821. this.datainfo.enterpriseId=this.qylist[val].value;
  1822. },
  1823. bindDateChangeb(e){
  1824. // 用户类型
  1825. var val=e.detail.value;
  1826. this.yhlx=this.yhlxlist[val].label;
  1827. this.datainfo.customerType=this.yhlxlist[val].value;
  1828. },
  1829. bindDateChangec(e){
  1830. // 有无贷款
  1831. var val=e.detail.value;
  1832. this.datainfo.isLoan=this.ywList[val].value;
  1833. },
  1834. getDelfzpo(type){
  1835. if(type=='front'){
  1836. this.datainfo.spouseFront="";
  1837. this.datainfo.spouseName="";
  1838. this.datainfo.spouseIdCard="";
  1839. }else{
  1840. this.datainfo.spouseBack="";
  1841. }
  1842. },
  1843. getDelfdbfzpo(type){
  1844. if(type=='front'){
  1845. this.datainfo.guaranteeFront="";
  1846. this.datainfo.guaranteeName="";
  1847. this.datainfo.guaranteeIdCard="";
  1848. }else{
  1849. this.datainfo.guaranteeBack="";
  1850. }
  1851. },
  1852. bindDateChanged(e){
  1853. // 婚姻状态
  1854. var val=e.detail.value;
  1855. var value=this.hyztlist[val].value;
  1856. var list=this.btfiles;
  1857. if(this.datainfo.corporationMaritalStatus!=value){
  1858. this.frhyzk=this.hyztlist[val].label;
  1859. this.datainfo.corporationMaritalStatus=this.hyztlist[val].value;
  1860. if(value==3){//离异
  1861. // 删除结婚证
  1862. var obj={tit:'法人离婚证',type:'frlhz'}
  1863. const index = list.findIndex(text => text.type === "frjhz");
  1864. if(index!=-1){
  1865. this.btfiles.splice(index,1,obj)
  1866. }else{
  1867. this.btfiles.push(obj)
  1868. }
  1869. }else if(value==1){//已婚
  1870. // 删除离婚证
  1871. var obj={tit:'法人结婚证',type:'frjhz'}
  1872. const index = list.findIndex(text => text.type === "frlhz");
  1873. if(index!=-1){
  1874. this.btfiles.splice(index,1,obj)
  1875. }else{
  1876. this.btfiles.push(obj)
  1877. }
  1878. }else{
  1879. // 未婚
  1880. const index = this.btfiles.findIndex(text => text.type === "frlhz");
  1881. if(index!=-1){
  1882. this.btfiles.splice(index,1)
  1883. }
  1884. const indexa = this.btfiles.findIndex(text => text.type === "frjhz");
  1885. if(indexa!=-1){
  1886. this.btfiles.splice(indexa,1)
  1887. }
  1888. }
  1889. }
  1890. },
  1891. bindDateChangee(e){
  1892. // 担保类型
  1893. var val=e.detail.value;
  1894. this.dblx=this.dblxlist[val].label;
  1895. this.datainfo.guaranteeType=this.dblxlist[val].value;
  1896. var value=this.dblxlist[val].value;
  1897. var list=this.btfiles;
  1898. var sqlist=this.sqlist;
  1899. },
  1900. // 反担保企业
  1901. bindDateChangeg(e){
  1902. var val=e.detail.value;
  1903. var data=this.qygdlist[val]
  1904. this.datainfo.guaranteeShareholderName=data.shareholderName;
  1905. var obj={
  1906. name:'企业营业执照',
  1907. // oldName:oldName,
  1908. url:data.shareholderBusinessUrl,
  1909. type:'fdbqyyyzz',
  1910. bigType:'a',
  1911. }
  1912. let indices = this.filelist.filter((ite, index) => ite.type!== "fdbqyyyzz")||[]
  1913. indices.push(obj)
  1914. this.filelist=indices
  1915. this.datainfo.loanApplicationFjList=JSON.parse(JSON.stringify(this.filelist))
  1916. },
  1917. // 免税
  1918. bindDateChangef(e){
  1919. var val=e.detail.value;
  1920. // this.dblx=this.sfList[val].text;
  1921. this.datainfo.isDuty=this.sfList[val].value;
  1922. },
  1923. getZanFn(type){
  1924. var that=this;
  1925. var params=this.datainfo;
  1926. var gdlist=this.gdlist;
  1927. var shFjList=[]
  1928. Object.keys(gdlist).some((key) => {
  1929. var fjurl={
  1930. shareholderFrontUrl:gdlist[key].cardz,
  1931. shareholderBackUrl:gdlist[key].cardf,
  1932. shareholderZxUrl:gdlist[key].zxurl.join(','),
  1933. shareholderBusinessUrl:gdlist[key].zhizhao.join(','),
  1934. shareholderName:gdlist[key].shareholderName,
  1935. shareholderIdCard:gdlist[key].shareholderIdCard,
  1936. }
  1937. shFjList.push(fjurl)
  1938. })
  1939. params.shareholderFjList=JSON.parse(JSON.stringify(shFjList))
  1940. var flist=JSON.parse(JSON.stringify(this.filelist));
  1941. var sbfjlist=this.sbfjlist;
  1942. sbfjlist.forEach(ite=>{
  1943. if(ite.fjlist&&ite.fjlist.length){
  1944. ite.fjlist.forEach(itet=>{
  1945. flist.push(itet)
  1946. })
  1947. }
  1948. })
  1949. params.loanApplicationFjList=JSON.parse(JSON.stringify(flist))
  1950. uni.showLoading({
  1951. title: '加载中'
  1952. });
  1953. this.loadflag=true;
  1954. getApplicationZc(params).then(res=>{
  1955. uni.hideLoading();
  1956. this.loadflag=false;
  1957. if(res.code==200){
  1958. this.ischange=false;
  1959. // 刷新列表
  1960. setTimeout(function(){
  1961. if(that.ptype=='add'){
  1962. that.$toast('暂存成功')
  1963. that.$tab.reLaunch('/pages/index/index')
  1964. }else{
  1965. that.$toast('暂存成功,请稍后重新刷新')
  1966. uni.$emit('refreshywlist')
  1967. if(type&&type=='back'){
  1968. uni.navigateBack({
  1969. delta:1
  1970. })
  1971. }
  1972. }
  1973. },1200)
  1974. }
  1975. })
  1976. },
  1977. getDetail(){
  1978. getApplicationDet(this.id).then(res=>{
  1979. if(res.code==200){
  1980. this.datainfo=res.data;
  1981. this.isdetail=true;
  1982. if(res.data&&res.data.applicationType==1){
  1983. var obj={tit:'当期财务报表',type:'dqcwbb'};
  1984. this.sqbtfiles.push(obj)
  1985. }
  1986. var data=res.data;
  1987. var obj={
  1988. loanApplicationNumber:res.data.loanApplicationNumber
  1989. }
  1990. this.option.formData=JSON.parse(JSON.stringify(obj))
  1991. if(data.loanApplicationFjList){
  1992. // 筛除自动生成的附件
  1993. var filterlist=JSON.parse(JSON.stringify(data.loanApplicationFjList))
  1994. this.filelist=filterlist.filter((ite) => {
  1995. return ite.remark!=1;
  1996. })
  1997. // this.filelist=JSON.parse(JSON.stringify(data.loanApplicationFjList))
  1998. }
  1999. if(data.declareFj){
  2000. var declareFj=data.declareFj;
  2001. Object.keys(declareFj).some((key) => {
  2002. declareFj[key]=declareFj[key].filter((ite) => {
  2003. return ite.remark!=1
  2004. })
  2005. })
  2006. this.declareFj=JSON.parse(JSON.stringify(declareFj));;
  2007. // this.declareFj=data.declareFj;
  2008. }
  2009. if(data.shareholderFjList){
  2010. var shFjList=[]
  2011. var gdlist=data.shareholderFjList;
  2012. Object.keys(gdlist).some((key) => {
  2013. var fjurl={
  2014. cardz:gdlist[key].shareholderFrontUrl,
  2015. cardf:gdlist[key].shareholderBackUrl,
  2016. zxurl:[],
  2017. zhizhao:[],
  2018. shareholderName:gdlist[key].shareholderName,
  2019. shareholderIdCard:gdlist[key].shareholderIdCard,
  2020. }
  2021. if(gdlist[key].shareholderZxUrl){
  2022. fjurl.zxurl=gdlist[key].shareholderZxUrl.split(',')
  2023. }
  2024. if(gdlist[key].shareholderBusinessUrl){
  2025. fjurl.zhizhao=gdlist[key].shareholderBusinessUrl.split(',')
  2026. }
  2027. shFjList.push(fjurl)
  2028. })
  2029. this.gdlist=JSON.parse(JSON.stringify(shFjList))
  2030. }
  2031. this.getSbjListFn()
  2032. this.getGdFjlist()
  2033. }
  2034. })
  2035. },
  2036. getSubmit(){
  2037. var that=this;
  2038. if(this.loadflag){
  2039. return
  2040. }
  2041. // 判断附件是否完整
  2042. var params=this.datainfo;
  2043. if(!params.enterpriseName){
  2044. this.$toast("请选择企业名称")
  2045. return
  2046. }
  2047. if(!params.categoryType){
  2048. this.$toast("请选择行业类型")
  2049. return
  2050. }
  2051. if(!params.customerType){
  2052. this.$toast("请选择用户类型")
  2053. return
  2054. }
  2055. if(!params.corporationFront){
  2056. this.$toast("请上传法人身份证人面像")
  2057. return
  2058. }
  2059. if(!params.corporationBack){
  2060. this.$toast("请上传法人身份证国徽面")
  2061. return
  2062. }
  2063. if(!params.isLoan){
  2064. this.$toast("请选择有无贷款")
  2065. return
  2066. }
  2067. if(!this.frhyzk){
  2068. this.$toast("请选择婚姻状态")
  2069. return
  2070. }
  2071. if(params.corporationMaritalStatus==1){
  2072. if(!params.spouseFront){
  2073. this.$toast("请上传配偶身份证人像面")
  2074. return
  2075. }
  2076. if(!params.spouseBack){
  2077. this.$toast("请上传配偶身份证国徽面")
  2078. return
  2079. }
  2080. }
  2081. if(!params.guaranteeType){
  2082. this.$toast("请选择担保类型")
  2083. return
  2084. }
  2085. if(!params.corporationPhone){
  2086. // 验证手机号
  2087. this.$toast("请输入法人手机号")
  2088. return
  2089. }
  2090. let regphone = /^1[3|4|5|6|7|8|9][0-9]\d{8}$/
  2091. if (params.corporationPhone && !regphone.test(params.corporationPhone)) {
  2092. that.$toast("请输入正确的法人手机号")
  2093. return
  2094. }
  2095. var gdlist=this.gdlist;
  2096. var shFjList=[]
  2097. var a=0;
  2098. Object.keys(gdlist).some((key) => {
  2099. var str="请上传股东"+(Number(key)+1)
  2100. if(gdlist[key].zhizhao<1 && !gdlist[key].cardz){
  2101. a=1;
  2102. that.$toast(str+'营业执照或者身份证')
  2103. return true;
  2104. }else{
  2105. if(gdlist[key].cardz){
  2106. if(!gdlist[key].cardf){
  2107. a=1;
  2108. that.$toast(str+'身份证国徽面')
  2109. return true;
  2110. }
  2111. }
  2112. }
  2113. // if(!gdlist[key].cardz){
  2114. // a=1;
  2115. // that.$toast(str+"身份证人像面")
  2116. // return true;
  2117. // }else if(!gdlist[key].cardf){
  2118. // a=1;
  2119. // that.$toast(str+'身份证国徽面')
  2120. // return true;
  2121. // }
  2122. if(gdlist[key].zxurl<1){
  2123. a=1;
  2124. that.$toast(str+'征信报告')
  2125. return true;
  2126. }
  2127. var fjurl={
  2128. shareholderFrontUrl:gdlist[key].cardz,
  2129. shareholderBackUrl:gdlist[key].cardf,
  2130. shareholderZxUrl:gdlist[key].zxurl.join(','),
  2131. shareholderBusinessUrl:gdlist[key].zhizhao.join(','),
  2132. shareholderName:gdlist[key].shareholderName,
  2133. shareholderIdCard:gdlist[key].shareholderIdCard,
  2134. }
  2135. shFjList.push(fjurl)
  2136. })
  2137. params.shareholderFjList=JSON.parse(JSON.stringify(shFjList))
  2138. if(a==1){
  2139. return
  2140. }
  2141. var flist=JSON.parse(JSON.stringify(this.filelist));
  2142. var btfiles=JSON.parse(JSON.stringify(this.btfiles));
  2143. var sqbtfiles=JSON.parse(JSON.stringify(this.sqbtfiles));
  2144. if(params.guaranteeType.indexOf('1')>-1){//抵押担保
  2145. var obj={tit:'企业固定资产证明',type:'qygdzczm'}
  2146. sqbtfiles.push(obj)
  2147. }
  2148. if(params.guaranteeType.indexOf('2')>-1){//反担保人担保
  2149. // 选择担保人担保
  2150. if(!params.guaranteePhone){
  2151. // 验证手机号
  2152. this.$toast("请输入反担保人手机号")
  2153. return
  2154. }
  2155. if (params.guaranteePhone && !regphone.test(params.guaranteePhone)) {
  2156. that.$toast("请输入正确的反担保人手机号")
  2157. return
  2158. }
  2159. if(!params.guaranteeFront){
  2160. this.$toast("请上传法人身份证人面像")
  2161. return
  2162. }
  2163. if(!params.guaranteeBack){
  2164. this.$toast("请上传法人身份证国徽面")
  2165. return
  2166. }
  2167. }
  2168. if(params.guaranteeType.indexOf('3')>-1){//企业保证
  2169. var obj={tit:'反担保抵(质)押复印件',type:'fdbdyfyj'}
  2170. sqbtfiles.push(obj)
  2171. }
  2172. if(params.guaranteeType.indexOf('4')>-1){//企业保证
  2173. var obj={tit:'反担保企业营业执照',type:'fdbqyyyzz'}
  2174. var objb={tit:'反担保企业征信',type:'fdbqyzx'}
  2175. btfiles.push(obj)
  2176. btfiles.push(objb)
  2177. }
  2178. var b=0;
  2179. Object.keys(btfiles).some((key) => {
  2180. if (flist.find(l => l.type == btfiles[key].type)) {
  2181. return false
  2182. }else{
  2183. b=1;
  2184. that.$toast('请上传'+btfiles[key].tit)
  2185. return true;
  2186. }
  2187. })
  2188. if(b==1){
  2189. return
  2190. }
  2191. if(!params.isDuty){
  2192. this.$toast("请选择是否免税企业")
  2193. return
  2194. }
  2195. var sbfjlist=this.sbfjlist;
  2196. var sbArr=[]
  2197. var c=0;
  2198. Object.keys(sqbtfiles).some((key) => {
  2199. if (sbfjlist.find(l => (l.val == sqbtfiles[key].type) && l.fjlist.length>0)) {
  2200. return false
  2201. }else{
  2202. c=1;
  2203. that.$toast('请上传'+sqbtfiles[key].tit)
  2204. return true;
  2205. }
  2206. })
  2207. if(c==1){
  2208. return
  2209. }
  2210. sbfjlist.forEach(ite=>{
  2211. if(ite.fjlist&&ite.fjlist.length){
  2212. flist.push(ite.fjlist[0])
  2213. }
  2214. })
  2215. params.loanApplicationFjList=JSON.parse(JSON.stringify(flist))
  2216. if(this.ptype=='add'){
  2217. getApplicationAdd(params).then(res=>{
  2218. if(res.code==200){
  2219. that.ischange=false;
  2220. that.$toast("新增成功")
  2221. setTimeout(function(){
  2222. that.$tab.redirectTo('/work/pages/success')
  2223. },1200)
  2224. }
  2225. })
  2226. }else{
  2227. getApplicationEdit(params).then(res=>{
  2228. if(res.code==200){
  2229. that.ischange=false;
  2230. that.$toast("修改成功")
  2231. setTimeout(function(){
  2232. uni.$emit('refreshywlist')
  2233. uni.navigateBack({
  2234. delta:1
  2235. })
  2236. },1200)
  2237. }
  2238. })
  2239. }
  2240. //
  2241. // this.$tab.navigateTo('/work/pages/success')
  2242. },
  2243. getaddImage(e){
  2244. let that = this;
  2245. let file =[],count=9
  2246. // if(e=='zj'){
  2247. // file = that.zjfile;
  2248. // count=9
  2249. // }else{
  2250. // file = that.mjfile;
  2251. // count=9
  2252. // }
  2253. uni.chooseImage({
  2254. count: 1,
  2255. success:function(res){
  2256. let img= res.tempFilePaths;
  2257. if(img.length + file.length > count){
  2258. uni.showToast({
  2259. title: '最多上传'+count+'张图片',
  2260. icon: 'none',
  2261. duration: 2000
  2262. })
  2263. }else{
  2264. let imglen = res.tempFilePaths.length;
  2265. var fuwufile = [];
  2266. uploadmore('/common/upload',img,0,0,0,imglen,fuwufile,function(rs){
  2267. if(e=='zj'){
  2268. that.zjfile = that.zjfile.concat(rs);
  2269. that.datainfo.identificationPhoto=that.zjfile.join(',')
  2270. }
  2271. })
  2272. }
  2273. }
  2274. });
  2275. },
  2276. // 人像面
  2277. ponuploadEnd(item,fileVal,bigType){
  2278. var newobj={}
  2279. var responseText=JSON.parse(item.responseText)
  2280. var url=responseText.fileName
  2281. var urlOnline=responseText.urlOnline
  2282. if(fileVal=='frsfzrmx'){
  2283. this.datainfo.corporationFront=url;
  2284. // 获取姓名 身份证号
  2285. this.getocrIdCard(urlOnline,fileVal)
  2286. }else if(fileVal=='frsfzghm'){
  2287. this.datainfo.corporationBack=url
  2288. }else if(fileVal=='frsfzpormx'){
  2289. this.datainfo.spouseFront=url
  2290. this.getocrIdCard(urlOnline,fileVal)
  2291. }else if(fileVal=='frsfzpoghm'){
  2292. this.datainfo.spouseBack=url
  2293. }else if(fileVal=='fdbrsfzrmx'){
  2294. this.getocrIdCard(urlOnline,fileVal)
  2295. this.datainfo.guaranteeFront=url
  2296. }else if(fileVal=='fdbrsfzghm'){
  2297. this.datainfo.guaranteeBack=url
  2298. }
  2299. },
  2300. getDocumentList(){
  2301. var params={
  2302. explainType:2
  2303. }
  2304. getDocumentList(params).then(res=>{
  2305. if(res.code==200){
  2306. var list=res.rows;
  2307. if(list&&list.length){
  2308. var content=list[0].explainContent;
  2309. this.content=this.formatRichText(content);
  2310. // 图片
  2311. if(list[0].explainImage){
  2312. this.xwimgList=list[0].explainImage.split(',')
  2313. }
  2314. }
  2315. }
  2316. })
  2317. },
  2318. //解析富文本方法
  2319. formatRichText(html) {
  2320. let newContent = html.replace(/<img[^>]*>/gi, function(match, capture) {
  2321. match = match.replace(/style="[^"]+"/gi, '').replace(/style='[^']+'/gi, '').replace(/style=""/gi, '');
  2322. match = match.replace(/width="[^"]+"/gi, '').replace(/width='[^']+'/gi, '');
  2323. match = match.replace(/height="[^"]+"/gi, '').replace(/height='[^']+'/gi, '');
  2324. return match;
  2325. });
  2326. newContent = newContent.replace(/style="[^"]+"/gi, function(match, capture) {
  2327. match = match.replace(/width:[^;]+;/gi, 'max-width:100%;').replace(/width:[^;]+;/gi, 'max-width:100%;');
  2328. return match;
  2329. });
  2330. newContent = newContent.replace(/<br[^>]*\/>/gi, '');
  2331. newContent = newContent.replace(/\<img src="/gi,
  2332. '<img style="max-width:100%;height:auto;display:block;margin:10rpx auto;" src="' +baseUrlimg);
  2333. return newContent;
  2334. },
  2335. getOcrBusinessLicense(url,idx){
  2336. var that=this;
  2337. var obj=this.gdlist[idx];
  2338. var params={
  2339. image:url,
  2340. }
  2341. getOcrBusinessLicense(params).then(res=>{
  2342. if(res.code==200){
  2343. var params=JSON.parse(JSON.stringify(res.data))
  2344. obj.shareholderName=params.enterpriseName
  2345. obj.shareholderIdCard=params.creditCode
  2346. this.gdlist.splice(idx,1,obj)
  2347. }
  2348. })
  2349. },
  2350. getocrIdCard(url,type){
  2351. var that=this;
  2352. var burl=url;
  2353. var params={
  2354. image:url,
  2355. idCardSide:'front'
  2356. }
  2357. getOcrIdCard(params).then(res=>{
  2358. if(res.code==200){
  2359. var data=res.data;
  2360. if(type=='frsfzrmx'){
  2361. that.datainfo.corporationName=data.realName
  2362. that.datainfo.corporationIdCard=data.idCard
  2363. }else if(type=='frsfzpormx'){
  2364. that.datainfo.spouseName=data.realName
  2365. that.datainfo.spouseIdCard=data.idCard
  2366. }else if(type=='fdbrsfzrmx'){
  2367. that.datainfo.guaranteeName=data.realName
  2368. that.datainfo.guaranteeIdCard=data.idCard
  2369. }
  2370. }
  2371. })
  2372. },
  2373. onuploadEnd(item,fileVal,bigType) {
  2374. var newobj={}
  2375. var responseText=JSON.parse(item.responseText)
  2376. newobj.name=responseText.newFileName;
  2377. newobj.oldName=responseText.originalFilename;
  2378. newobj.url=responseText.fileName;
  2379. newobj.type=fileVal;
  2380. newobj.bigType=bigType;
  2381. this.filelist.push(newobj)
  2382. this.datainfo.loanApplicationFjList=JSON.parse(JSON.stringify(this.filelist))
  2383. if(fileVal=='fdbqyyyzz'){
  2384. this.datainfo.guaranteeShareholderName='';
  2385. }
  2386. },
  2387. // 股东附件上传
  2388. gdonuploadEnd(item,fileVal,bigType){
  2389. var idx=Number(fileVal);
  2390. var type=bigType;
  2391. var obj=this.gdlist[idx];
  2392. var responseText=JSON.parse(item.responseText);
  2393. if(type=='cardz'){
  2394. obj.cardz=responseText.fileName
  2395. }else if(type=='cardf'){
  2396. obj.cardf=responseText.fileName
  2397. }else if(type=='zx'){
  2398. obj.zxurl.push(responseText.fileName)
  2399. // obj.zxurl[0]=responseText.fileName
  2400. }else if(type=='zhz'){
  2401. // obj.zhizhao.push(responseText.fileName)
  2402. obj.zhizhao[0]=responseText.fileName
  2403. this.getOcrBusinessLicense(responseText.urlOnline,idx)
  2404. }
  2405. console.log(this.gdlist,3)
  2406. this.gdlist.splice(idx,1,obj)
  2407. // this.datainfo.shareholderFjList=JSON.parse(JSON.stringify(this.gdlist))
  2408. },
  2409. // 申请附件上传
  2410. fjonuploadEnd(item,fileVal,bigType,idx){
  2411. var newobj={};
  2412. var sbfjlist=this.sbfjlist[idx].fjlist;
  2413. var responseText=JSON.parse(item.responseText)
  2414. newobj.name=responseText.newFileName;
  2415. newobj.oldName=responseText.originalFilename;
  2416. newobj.url=responseText.fileName;
  2417. newobj.type=fileVal;
  2418. newobj.bigType=bigType;
  2419. this.sbfjlist[idx].fjlist.push(newobj)
  2420. },
  2421. getDelsbFj(idx,fidx){
  2422. var that=this;
  2423. var obj=this.sbfjlist[idx];
  2424. uni.showModal({
  2425. title: '确认删除',
  2426. content: "是否确认删除",
  2427. cancelText: '取消',
  2428. confirmText: '确认',
  2429. success: function(res) {
  2430. if (res.confirm) {
  2431. obj.fjlist.splice(fidx,1)
  2432. that.sbfjlist.splice(idx,1,obj)
  2433. } else if (res.cancel) {
  2434. }
  2435. }
  2436. });
  2437. },
  2438. getDelgdFj(idx,zxidx){
  2439. var obj=this.gdlist[idx];
  2440. var that=this;
  2441. uni.showModal({
  2442. title: '确认删除',
  2443. content: "是否确认删除",
  2444. cancelText: '取消',
  2445. confirmText: '确认',
  2446. success: function(res) {
  2447. if (res.confirm) {
  2448. obj.zxurl.splice(zxidx,1)
  2449. that.gdlist.splice(idx,1,obj)
  2450. } else if (res.cancel) {
  2451. }
  2452. }
  2453. });
  2454. },
  2455. getDelgdyy(idx,zxidx){
  2456. var obj=this.gdlist[idx];
  2457. var that=this;
  2458. uni.showModal({
  2459. title: '确认删除',
  2460. content: "是否确认删除",
  2461. cancelText: '取消',
  2462. confirmText: '确认',
  2463. success: function(res) {
  2464. if (res.confirm) {
  2465. obj.zhizhao.splice(zxidx,1)
  2466. that.gdlist.splice(idx,1,obj)
  2467. } else if (res.cancel) {
  2468. }
  2469. }
  2470. });
  2471. },
  2472. getDelFj(idx){
  2473. var that=this;
  2474. uni.showModal({
  2475. title: '确认删除',
  2476. content: "是否确认删除",
  2477. cancelText: '取消',
  2478. confirmText: '确认',
  2479. success: function(res) {
  2480. if (res.confirm) {
  2481. that.filelist.splice(idx,1)
  2482. that.datainfo.loanApplicationFjList=JSON.parse(JSON.stringify(that.filelist))
  2483. } else if (res.cancel) {
  2484. }
  2485. }
  2486. });
  2487. },
  2488. getDownloader(path,name){
  2489. // console.log(path,name)
  2490. // #ifdef APP-PLUS
  2491. self.getFilePermissions(function(res){
  2492. if(res==1){
  2493. uni.showLoading({
  2494. title: '加载中'
  2495. });
  2496. var url = baseUrl + path;
  2497. let dtask = plus.downloader.createDownload(url, {
  2498. filename: 'file://storage/emulated/0/'+baseName+'/' + name
  2499. }, (d, status) => {
  2500. //d为下载的文件对象
  2501. if (status == 200) {
  2502. uni.hideLoading();
  2503. uni.showToast({
  2504. icon: 'none',
  2505. mask: true,
  2506. title: '已保存到文件夹:/'+baseName+'/'+ name, //保存路径
  2507. duration: 3000,
  2508. });
  2509. //下载成功,d.filename是文件在保存在本地的相对路径,使用下面的API可转为平台绝对路径
  2510. let fileSaveUrl = plus.io.convertLocalFileSystemURL(d.filename);
  2511. setTimeout(() => {
  2512. plus.runtime.openFile(d.filename); //选择软件打开文件
  2513. }, 1500)
  2514. } else {
  2515. //下载失败
  2516. uni.hideLoading();
  2517. plus.downloader.clear(); //清除下载任务
  2518. uni.showToast({
  2519. icon: 'none',
  2520. mask: true,
  2521. title: '下载失败,请稍后重试',
  2522. });
  2523. }
  2524. })
  2525. dtask.start();
  2526. }else{
  2527. uni.hideLoading();
  2528. uni.showToast({
  2529. title: '无法获取权限,文件下载将出错!',
  2530. icon: 'none',
  2531. })
  2532. }
  2533. })
  2534. // #endif
  2535. },
  2536. getExportMb(ite){
  2537. var that=this;
  2538. var params=this.datainfo;
  2539. if(ite.val=='wtdbsqs'){
  2540. params.type=1;
  2541. }else{
  2542. params.type=11;
  2543. }
  2544. params.bigType='b';
  2545. params.fileType=ite.val;
  2546. getExportMb(params).then(res=>{
  2547. if(res.code==200){
  2548. var data=res.data;
  2549. var url=data.path;
  2550. var name=data.fileName;
  2551. that.getDownloader(url,name)
  2552. }
  2553. })
  2554. },
  2555. getDown(e){
  2556. uni.showLoading({
  2557. title: '加载中'
  2558. });
  2559. var url=baseUrl+e;
  2560. let index1 = e.lastIndexOf("."); // 得到一个索引值
  2561. let index2 = e.length;
  2562. let type = e.substring(index1, index2);
  2563. if ((type.indexOf('jpg') > -1 || type.indexOf('jpeg') > -1 || type.indexOf('png') > -1)) {
  2564. uni.previewImage({
  2565. current: 0,
  2566. urls: [url],
  2567. // background: '#ffffff'
  2568. });
  2569. uni.hideLoading();
  2570. } else {
  2571. uni.downloadFile({
  2572. url: url,//文件的下载路径
  2573. success(result) {
  2574. uni.hideLoading()
  2575. var filePath = result.tempFilePath;
  2576. uni.openDocument({
  2577. filePath: filePath,
  2578. showMenu: true,
  2579. success: function (res) {
  2580. // console.log('打开文档成功');
  2581. }
  2582. });
  2583. },
  2584. fail(res) {uni.hideLoading()}
  2585. })
  2586. }
  2587. },
  2588. }
  2589. }
  2590. </script>
  2591. <style lang="scss" scoped>
  2592. .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;}
  2593. .addbox .bgf /deep/ .uni-forms-item:last-child{border-bottom: none;}
  2594. .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;}
  2595. .addbox /deep/ .uni-easyinput{flex: 1;text-align: left;font-size: 30rpx;color: #222327;}
  2596. .addbox /deep/ .uni-easyinput__content-textarea{min-height: 40rpx;font-size: 30rpx;}
  2597. .addbox /deep/ .uni-easyinput__placeholder-class{font-size: 30rpx;color: #AAAAAA;}
  2598. .addbox /deep/ .uni-input-input{font-size: 30rpx;}
  2599. .addbox /deep/ .uni-easyinput__content-input{padding-left: 0 !important;}
  2600. .addbox /deep/ .uni-textarea-textarea{font-size: 30rpx;}
  2601. .addbox /deep/ .is-disabled{color: #222327;background-color: #ffffff !important;}
  2602. .isborder{border-bottom: 2rpx solid #E6E6E6;}
  2603. .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;
  2604. position: absolute;left: -240rpx;top:50%;transform: translateY(-50%);
  2605. text{color: #AAAAAA;font-size: 26rpx;font-weight: normal;display: block;
  2606. &.del{
  2607. color: #FF6969;margin-top: 6rpx;text-align: center;padding: 4rpx 0;
  2608. }
  2609. }
  2610. }
  2611. .navtop{
  2612. position: fixed;left:0;right: 0;top: 0;z-index: 2;
  2613. }
  2614. .topl{width: 60rpx;height: 60rpx;display: flex;align-items: center;justify-content: center;
  2615. .backimg{width: 40rpx;height: 30rpx;}
  2616. }
  2617. .edit{font-weight: 500;font-size: 26rpx;color: #FFFFFF;display: flex;align-items: center;
  2618. image{width: 24rpx;height: 26rpx;margin-right: 10rpx;}
  2619. .img{width: 24rpx;height: 26rpx;margin-right: 10rpx;}
  2620. .txt{font-weight: 500;font-size: 26rpx;color: #FFFFFF;}
  2621. }
  2622. .editcir{box-shadow: 0px 0px 20rpx 0px rgba(0,169,240,0.6);
  2623. 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;
  2624. .img{margin-bottom: 8rpx;margin-right: 0;}
  2625. }
  2626. .addbox{padding: 140rpx 0 136rpx;
  2627. .addtit{font-weight: bold;padding: 18rpx 34rpx;font-size: 26rpx;color: #666666;
  2628. text{color: #DF0303;margin-right: 8rpx;}
  2629. .ywimg{width: 30rpx;height: 30rpx;margin-left: 16rpx;}
  2630. &.tips{font-weight: 500;font-size: 24rpx;color: #FF6969;}
  2631. }
  2632. .lbtabp{
  2633. display: flex;align-items: center;
  2634. view{flex: 1;font-size: 30rpx;color: #222327;}
  2635. .rimg{flex: 0 0 auto;width: 16rpx;height: 26rpx;flex: 0 0 auto;margin-left: 18rpx;}
  2636. }
  2637. .ywicon{font-weight: 400;font-size: 26rpx;color: $com-cd3;padding-right: 14rpx;
  2638. image{width: 26rpx;height: 26rpx;margin-right: 8rpx;}
  2639. }
  2640. // 上传样式
  2641. .phobox{display: flex;flex-wrap: wrap;justify-content: space-between;
  2642. .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;
  2643. .photop{width: 200rpx;height: 126rpx;position: relative;
  2644. .bgimg{width: 100%;height: 100%;}
  2645. .addimg{width: 34rpx;height: 30rpx;position: absolute;left: 50%;margin-left: -17rpx;top: 50%;margin-top: -15rpx;z-index: 1;}
  2646. .delimg{position: absolute;width: 24rpx;height: 24rpx;right: -12rpx;top: -12rpx;}
  2647. .bgimga{width: 100%;height: 100%;position: absolute;left:0;right: 0;top:0;bottom: 0;}
  2648. }
  2649. // .pupdata{position: absolute;left: 0;right: 0;top:0;bottom: 0;opacity: 0;}
  2650. .photit{font-weight: 500;font-size: 20rpx;color: #AAAAAA;margin-top: 18rpx;max-width:200rpx;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
  2651. &.atit{position: absolute;left: 50%;transform: translate(-50%);bottom: 4rpx;word-break: keep-all;max-width: none;}
  2652. }
  2653. }
  2654. .frdelimg{
  2655. position: absolute;width: 32rpx;height: 32rpx;right: -16rpx;top: -16rpx;
  2656. image{width: 24rpx;height: 24rpx;}
  2657. }
  2658. }
  2659. .addgdbox{padding: 34rpx 10rpx 36rpx;}
  2660. // 附件
  2661. .fjbox{padding: 24rpx 0;
  2662. min-height: 150rpx;box-sizing: border-box;
  2663. // &:last-child{border-bottom: none;border-bottom: 2rpx solid #E6E6E6;}
  2664. .fjtop{
  2665. &.chek{
  2666. .chtit{flex: 1;font-size: 30rpx;color: #222327;text-align: right;}
  2667. .rimg{flex: 0 0 auto;width: 16rpx;height: 26rpx;flex: 0 0 auto;margin-left: 18rpx;}
  2668. }
  2669. .ftit{font-weight: bold;font-size: 32rpx;color: #161616;flex: 1;padding:28rpx 0;
  2670. text{color: #DF0303;margin-right: 8rpx;}
  2671. .mtxt{color: #AAAAAA;font-size: 26rpx;}
  2672. }
  2673. .fbtns{font-weight: 500;font-size: 26rpx;padding-right: 12rpx;margin-left: 36rpx;display: flex;align-items: center;height: 100rpx;justify-content: center;
  2674. image{width: 22rpx;height: 22rpx;margin-right: 10rpx;
  2675. &.downimg{width: 20rpx;}
  2676. }
  2677. }
  2678. }
  2679. }
  2680. // 18
  2681. .fjlists {display: flex;align-items: flex-start;justify-content: space-between;margin-bottom: 12rpx;
  2682. // image{flex: 0 0 auto;}
  2683. .imgl{width: 40rpx;height: 40rpx;display: flex;align-items: center;flex: 0 0 auto;
  2684. image{width: 26rpx;height: 24rpx;}
  2685. }
  2686. .tit{font-size: 26rpx;color: #222327;font-weight: 500;margin-top: 4rpx;}
  2687. .delimg{width: 40rpx;height:40rpx;margin-left: 16rpx;display: flex;align-items: center;justify-content: center;flex: 0 0 auto;
  2688. image{width: 24rpx;height: 24rpx;}
  2689. }
  2690. }
  2691. }
  2692. .addbtns{z-index: 4;
  2693. width: 100%;height: 100rpx;position: fixed;left: 0;right: 0;bottom: 0;display: flex;
  2694. .addlbtn{background-color: #ffffff;font-weight: 500;justify-content: center;
  2695. display: flex;align-items: center;width: 232rpx;flex: 0 0 auto;height: 100rpx;
  2696. .addlbtna{width: 32rpx;height: 32rpx;margin-right: 12rpx;display: block;}
  2697. .addlbtnb{font-size: 30rpx;color: $com-cd3;}
  2698. }
  2699. }
  2700. .addrbtn{flex: 1;height: 100rpx;font-weight: bold;font-size: 30rpx;display: flex;align-items: center;justify-content: center;
  2701. color: #FFFFFF;text-align: center;line-height: 100rpx;
  2702. &.bga{background: #29E18A;}
  2703. &.bgb{background: $com-cd3;}
  2704. }
  2705. // 标准
  2706. .looimg{width: 100%;height: 400rpx;position: fixed;left: 0;right: 0;top: 50%;margin-top: -200rpx;z-index: 10;}
  2707. </style>