add.vue 107 KB

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