add.vue 107 KB

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