|
@@ -665,194 +665,212 @@
|
|
|
</picker> -->
|
|
|
</view>
|
|
|
<!-- 反担保人基本信息 v-if="datainfo.guaranteeType==2"-->
|
|
|
- <block>
|
|
|
- <view class="addtit mt3"><text>*</text>反担保人基本信息</view>
|
|
|
+ <view v-for="(fite,fidx) in fdarlist" :key="fidx">
|
|
|
+ <view class="flexcj">
|
|
|
+ <view class="addtit mt3"><text>*</text>反担保人{{(Number(fidx)+1)}}基本信息</view>
|
|
|
+ <view class="fdbadd flexcc" @click="getAddFdbFn"><image :src="fadd"></image>添加反担保人</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="bgf plr12">
|
|
|
<uni-forms-item label="身份证" name="iszcy">
|
|
|
<view class="phobox">
|
|
|
- <view class="phoboxa" v-if="jcfjobj.fdbrsfzrmx">
|
|
|
- <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"
|
|
|
- @progress="" @uploadEnd="ponuploadEnd" >
|
|
|
+ <view class="phoboxa" v-if="fdbrobj.fdbrsfzrmx">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbrobj.fdbrsfzrmx" fileVal='fdbrsfzrmx' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
+ @progress="" @uploadEnd="fdbuploadEnd" >
|
|
|
<view class="photop">
|
|
|
<image :src="cardz" class="bgimg"></image>
|
|
|
- <image v-if="datainfo.guaranteeFront" :src="baseUrl+datainfo.guaranteeFront" class="bgimga"></image>
|
|
|
+ <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
|
|
|
+ <image v-if="ite.type=='fdbrsfzrmx'&&ite.remark!=1" :src="baseUrl+ite.url" class="bgimga"></image>
|
|
|
+ </block>
|
|
|
<image :src="phoicon" class="addimg"></image>
|
|
|
</view>
|
|
|
</lsj-upload>
|
|
|
- <view class="frdelimg" v-if="datainfo.guaranteeFront" @click.stop="getDelfdbfzpo('front')">
|
|
|
+ <!-- <view class="frdelimg" v-if="datainfo.guaranteeFront" @click.stop="getDelfdbfzpo('fdbrsfzrmx',fidx)">
|
|
|
<image :src="fdelimg"></image>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="photit atit">上传人像面</view>
|
|
|
</view>
|
|
|
- <view class="phoboxa" v-if="jcfjobj.fdbrsfzghm">
|
|
|
- <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"
|
|
|
- @progress="" @uploadEnd="ponuploadEnd" >
|
|
|
+ <view class="phoboxa" v-if="fdbrobj.fdbrsfzghm">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbrobj.fdbrsfzghm" fileVal='fdbrsfzghm' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
|
+ @progress="" @uploadEnd="fdbuploadEnd" >
|
|
|
<view class="photop">
|
|
|
- <view class="photop">
|
|
|
- <image :src="cardf" class="bgimg"></image>
|
|
|
- <image v-if="datainfo.guaranteeBack" :src="baseUrl+datainfo.guaranteeBack" class="bgimga"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
- </view>
|
|
|
+ <image :src="cardz" class="bgimg"></image>
|
|
|
+ <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
|
|
|
+ <image v-if="ite.type=='fdbrsfzghm'&&ite.remark!=1" :src="baseUrl+ite.url" class="bgimga"></image>
|
|
|
+ </block>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
</view>
|
|
|
</lsj-upload>
|
|
|
- <view class="frdelimg" v-if="datainfo.guaranteeBack" @click.stop="getDelfdbfzpo('back')">
|
|
|
+ <!-- <view class="frdelimg" v-if="datainfo.guaranteeBack" @click.stop="getDelfdbfzpo('fdbrsfzghm',fidx)">
|
|
|
<image :src="fdelimg"></image>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="photit">上传国徽面</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="姓名" name="guaranteeName">
|
|
|
- <uni-easyinput v-model="datainfo.guaranteeName" disabled :inputBorder='false' placeholder="自动识别" />
|
|
|
+ <uni-easyinput v-model="fite.guaranteeName" disabled :inputBorder='false' placeholder="自动识别" />
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="身份证号" name="guaranteeIdCard">
|
|
|
- <uni-easyinput v-model="datainfo.guaranteeIdCard" disabled :inputBorder='false' placeholder="自动识别" />
|
|
|
+ <uni-easyinput v-model="fite.guaranteeIdCard" disabled :inputBorder='false' placeholder="自动识别" />
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="手机号码" name="guaranteePhone">
|
|
|
- <uni-easyinput v-model="datainfo.guaranteePhone" type="number" :inputBorder='false' placeholder="请输入手机号码" />
|
|
|
+ <uni-easyinput v-model="fite.guaranteePhone" type="number" :inputBorder='false' placeholder="请输入手机号码" />
|
|
|
</uni-forms-item>
|
|
|
</view>
|
|
|
- </block>
|
|
|
- <!-- * 反担保人信用担保证明-->
|
|
|
- <view class="addtit mt3">反担保人信用担保证明</view>
|
|
|
- <view class="bgf plr12">
|
|
|
- <uni-forms-item name="iszcy">
|
|
|
- <view class="labtxt">个人工作证明
|
|
|
- <text>(选填)</text>
|
|
|
- </view>
|
|
|
- <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
|
|
|
- <view class="phoboxa" v-if="jcfjobj.fdbrgrgzzm">
|
|
|
- <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"
|
|
|
- @progress="" @uploadEnd="onuploadEnd" >
|
|
|
- <view class="photop" >
|
|
|
- <image :src="zico" class="bgimg"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
- </view>
|
|
|
- </lsj-upload>
|
|
|
- <view class="photit atit">公职人员上传个人工作证明</view>
|
|
|
+ <!-- * 反担保人信用担保证明-->
|
|
|
+ <view class="addtit mt3">反担保人{{(Number(fidx)+1)}}信用担保证明</view>
|
|
|
+ <view class="bgf plr12">
|
|
|
+ <uni-forms-item name="iszcy">
|
|
|
+ <view class="labtxt">个人工作证明
|
|
|
+ <text>(选填)</text>
|
|
|
</view>
|
|
|
- <block v-for="(ite,idx) in filelist" :key='idx'>
|
|
|
- <view class="phoboxa" v-if="ite.type=='fdbrgrgzzm'&&ite.bigType=='a'">
|
|
|
- <view class="photop" @click="getDown(ite.url)">
|
|
|
- <image :src="lookico" class="bgimg"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
|
|
|
- </view>
|
|
|
- <view class="photit">{{ite.name}}</view>
|
|
|
+ <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
|
|
|
+ <view class="phoboxa" v-if="fdbrobj.fdbrgrgzzm">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbrobj.fdbrgrgzzm" fileVal='fdbrgrgzzm' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ @progress="" @uploadEnd="fdbuploadEnd" >
|
|
|
+ <view class="photop" >
|
|
|
+ <image :src="zico" class="bgimg"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ </view>
|
|
|
+ </lsj-upload>
|
|
|
+ <view class="photit atit">公职人员上传个人工作证明</view>
|
|
|
</view>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
- </uni-forms-item>
|
|
|
- <uni-forms-item label="身份证复印件" name="iszcy">
|
|
|
- <view class="phobox">
|
|
|
- <view class="phoboxa" v-if="jcfjobj.fdbrsfzfyj">
|
|
|
- <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"
|
|
|
- @progress="" @uploadEnd="onuploadEnd" >
|
|
|
- <view class="photop" >
|
|
|
- <image :src="cardz" class="bgimg"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
+ <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
|
|
|
+ <view class="phoboxa" v-if="ite.type=='fdbrgrgzzm'&&ite.remark!=1">
|
|
|
+ <view class="photop" @click="getDown(ite.url)">
|
|
|
+ <image :src="lookico" class="bgimg"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ <image :src="delimg" class="delimg" @click.stop="getfdbDelFj(idx,fidx,1)"></image>
|
|
|
+ </view>
|
|
|
+ <view class="photit">{{ite.name}}</view>
|
|
|
</view>
|
|
|
- </lsj-upload>
|
|
|
- <view class="photit atit">上传身份证复印件</view>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
- <block v-for="(ite,idx) in filelist" :key='idx'>
|
|
|
- <view class="phoboxa" v-if="ite.type=='fdbrsfzfyj'&&ite.bigType=='a'">
|
|
|
- <view class="photop" @click="getDown(ite.url)">
|
|
|
- <image :src="lookico" class="bgimg"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
|
|
|
- </view>
|
|
|
- <view class="photit">{{ite.name}}</view>
|
|
|
+ </uni-forms-item>
|
|
|
+ <uni-forms-item label="身份证复印件" name="iszcy">
|
|
|
+ <view class="phobox">
|
|
|
+ <view class="phoboxa" v-if="fdbrobj.fdbrsfzfyj">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbrobj.fdbrsfzfyj" fileVal='fdbrsfzfyj' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ @progress="" @uploadEnd="fdbuploadEnd" >
|
|
|
+ <view class="photop" >
|
|
|
+ <image :src="cardz" class="bgimg"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ </view>
|
|
|
+ </lsj-upload>
|
|
|
+ <view class="photit atit">上传身份证复印件</view>
|
|
|
</view>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
- </uni-forms-item>
|
|
|
- <uni-forms-item label="个人征信报告" name="iszcy">
|
|
|
- <view class="phobox">
|
|
|
- <view class="phoboxa" v-if="jcfjobj.fdbrgrzxbg">
|
|
|
- <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"
|
|
|
- @progress="" @uploadEnd="onuploadEnd" >
|
|
|
- <view class="photop" >
|
|
|
- <image :src="zico" class="bgimg"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
+ <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
|
|
|
+ <view class="phoboxa" v-if="ite.type=='fdbrsfzfyj'&&ite.remark!=1">
|
|
|
+ <view class="photop" @click="getDown(ite.url)">
|
|
|
+ <image :src="lookico" class="bgimg"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ <image :src="delimg" class="delimg" @click.stop="getfdbDelFj(idx,fidx,1)"></image>
|
|
|
+ </view>
|
|
|
+ <view class="photit">{{ite.name}}</view>
|
|
|
</view>
|
|
|
- </lsj-upload>
|
|
|
- <view class="photit atit">上传个人征信报告</view>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
- <block v-for="(ite,idx) in filelist" :key='idx'>
|
|
|
- <view class="phoboxa" v-if="ite.type=='fdbrgrzxbg'&&ite.bigType=='a'">
|
|
|
- <view class="photop" @click="getDown(ite.url)">
|
|
|
- <image :src="lookico" class="bgimg"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
|
|
|
- </view>
|
|
|
- <view class="photit">{{ite.name}}</view>
|
|
|
+ </uni-forms-item>
|
|
|
+ <uni-forms-item label="个人征信报告" name="iszcy">
|
|
|
+ <view class="phobox">
|
|
|
+ <view class="phoboxa" v-if="fdbrobj.fdbrgrzxbg">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbrobj.fdbrgrzxbg" fileVal='fdbrgrzxbg' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ @progress="" @uploadEnd="fdbuploadEnd" >
|
|
|
+ <view class="photop" >
|
|
|
+ <image :src="zico" class="bgimg"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ </view>
|
|
|
+ </lsj-upload>
|
|
|
+ <view class="photit atit">上传个人征信报告</view>
|
|
|
</view>
|
|
|
- </block>
|
|
|
+ <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
|
|
|
+ <view class="phoboxa" v-if="ite.type=='fdbrgrzxbg'&&ite.remark!=1">
|
|
|
+ <view class="photop" @click="getDown(ite.url)">
|
|
|
+ <image :src="lookico" class="bgimg"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ <image :src="delimg" class="delimg" @click.stop="getfdbDelFj(idx,fidx,1)"></image>
|
|
|
+ </view>
|
|
|
+ <view class="photit">{{ite.name}}</view>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
+ </view>
|
|
|
+ </uni-forms-item>
|
|
|
+ <view class="ptb15" v-if="fdarlist.length>1">
|
|
|
+ <view class="fdbdel flexcc" @click="getdelFdbFn(fidx,fite)"><image :src="fdel"></image>删除反担保人信息</view>
|
|
|
</view>
|
|
|
- </uni-forms-item>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
<!-- 企业反担保 -->
|
|
|
- <view class="addtit mt3">企业反担保证明</view>
|
|
|
- <view class="bgf plr12">
|
|
|
- <picker range-key='shareholderName' :value="qyidx" :range="qygdlist" class="isborder" @change='bindDateChangeg'>
|
|
|
- <uni-forms-item label="企业名称" name="guaranteeShareholderName">
|
|
|
- <view class="lbtabp">
|
|
|
- <view class="chtit" :class="datainfo.guaranteeShareholderName?'':'coa'">{{datainfo.guaranteeShareholderName||"请选择关联企业"}}</view>
|
|
|
- <image :src="hrimg" class="rimg"></image>
|
|
|
- </view>
|
|
|
- </uni-forms-item>
|
|
|
- </picker>
|
|
|
- <uni-forms-item name="iszcy">
|
|
|
- <view class="labtxt">营业执照</view>
|
|
|
- <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
|
|
|
- <view class="phoboxa" v-if="jcfjobj.fdbqyyyzz">
|
|
|
- <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"
|
|
|
- @progress="" @uploadEnd="onuploadEnd" >
|
|
|
- <view class="photop" >
|
|
|
- <image :src="zico" class="bgimg"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
+ <block v-for="(fite,fidx) in fdaqylist" :key="fidx">
|
|
|
+ <view class="flexcj">
|
|
|
+ <view class="addtit mt3">企业{{(Number(fidx)+1)}}反担保证明</view>
|
|
|
+ <view class="fdbadd flexcc" @click="getAddQiFn"><image :src="fadd"></image>添加反担企业</view>
|
|
|
+ </view>
|
|
|
+ <view class="bgf plr12">
|
|
|
+ <!-- <picker range-key='shareholderName' :value="qyidx" :range="qygdlist" class="isborder" @change='bindDateChangeg'>
|
|
|
+ <uni-forms-item label="企业名称" name="guaranteeShareholderName">
|
|
|
+ <view class="lbtabp">
|
|
|
+ <view class="chtit" :class="datainfo.guaranteeShareholderName?'':'coa'">{{datainfo.guaranteeShareholderName||"请选择关联企业"}}</view>
|
|
|
+ <image :src="hrimg" class="rimg"></image>
|
|
|
+ </view>
|
|
|
+ </uni-forms-item>
|
|
|
+ </picker> -->
|
|
|
+ <uni-forms-item name="iszcy">
|
|
|
+ <view class="labtxt">营业执照</view>
|
|
|
+ <view class="phobox" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
|
|
|
+ <view class="phoboxa" v-if="fdbqyobj.fdbqyyyzz">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbqyobj.fdbqyyyzz" fileVal='fdbqyyyzz' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ @progress="" @uploadEnd="fdbqyuploadEnd" >
|
|
|
+ <view class="photop" >
|
|
|
+ <image :src="zico" class="bgimg"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ </view>
|
|
|
+ </lsj-upload>
|
|
|
+ <view class="photit atit">上传企业营业执照</view>
|
|
|
+ </view>
|
|
|
+ <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
|
|
|
+ <view class="phoboxa" v-if="ite.type=='fdbqyyyzz'&&ite.remark!=1">
|
|
|
+ <view class="photop" @click="getDown(ite.url)">
|
|
|
+ <image :src="lookico" class="bgimg"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ <image :src="delimg" class="delimg" @click.stop="getfdbDelFj(idx,fidx,2)"></image>
|
|
|
+ </view>
|
|
|
+ <view class="photit">{{ite.name}}</view>
|
|
|
</view>
|
|
|
- </lsj-upload>
|
|
|
- <view class="photit atit">上传企业营业执照</view>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
- <block v-for="(ite,idx) in filelist" :key='idx'>
|
|
|
- <view class="phoboxa" v-if="ite.type=='fdbqyyyzz'&&ite.bigType=='a'">
|
|
|
- <view class="photop" @click="getDown(ite.url)">
|
|
|
- <image :src="lookico" class="bgimg"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
|
|
|
- </view>
|
|
|
- <view class="photit">{{ite.name}}</view>
|
|
|
+ </uni-forms-item>
|
|
|
+ <uni-forms-item label="企业征信" name="iszcy">
|
|
|
+ <view class="phobox">
|
|
|
+ <view class="phoboxa" v-if="fdbqyobj.fdbqyzx">
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="fdbqyobj.fdbqyzx" fileVal='fdbqyzx' :bigType='fidx' :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
+ @progress="" @uploadEnd="fdbqyuploadEnd" >
|
|
|
+ <view class="photop" >
|
|
|
+ <image :src="cardz" class="bgimg"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ </view>
|
|
|
+ </lsj-upload>
|
|
|
+ <view class="photit atit">上传企业征信</view>
|
|
|
</view>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
- </uni-forms-item>
|
|
|
- <uni-forms-item label="企业征信" name="iszcy">
|
|
|
- <view class="phobox">
|
|
|
- <view class="phoboxa" v-if="jcfjobj.fdbqyzx">
|
|
|
- <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"
|
|
|
- @progress="" @uploadEnd="onuploadEnd" >
|
|
|
- <view class="photop" >
|
|
|
- <image :src="cardz" class="bgimg"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
+ <block v-for="(ite,idx) in fite.guaranteeInfoFjList" :key='idx'>
|
|
|
+ <view class="phoboxa" v-if="ite.type=='fdbqyzx'&&ite.remark!=1">
|
|
|
+ <view class="photop" @click="getDown(ite.url)">
|
|
|
+ <image :src="lookico" class="bgimg"></image>
|
|
|
+ <image :src="phoicon" class="addimg"></image>
|
|
|
+ <image :src="delimg" class="delimg" @click.stop="getfdbDelFj(idx,fidx,2)"></image>
|
|
|
+ </view>
|
|
|
+ <view class="photit">{{ite.name}}</view>
|
|
|
</view>
|
|
|
- </lsj-upload>
|
|
|
- <view class="photit atit">上传企业征信</view>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
- <block v-for="(ite,idx) in filelist" :key='idx'>
|
|
|
- <view class="phoboxa" v-if="ite.type=='fdbqyzx'&&ite.bigType=='a'">
|
|
|
- <view class="photop" @click="getDown(ite.url)">
|
|
|
- <image :src="lookico" class="bgimg"></image>
|
|
|
- <image :src="phoicon" class="addimg"></image>
|
|
|
- <image :src="delimg" class="delimg" @click.stop="getDelFj(idx)"></image>
|
|
|
- </view>
|
|
|
- <view class="photit">{{ite.name}}</view>
|
|
|
- </view>
|
|
|
- </block>
|
|
|
+ </uni-forms-item>
|
|
|
+ <view class="ptb15" v-if="fdaqylist.length>1">
|
|
|
+ <view class="fdbdel flexcc" @click="getdelQyFn(fidx,fite)"><image :src="fdel"></image>删除反担保企业</view>
|
|
|
</view>
|
|
|
- </uni-forms-item>
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
<!-- 添加附件 -->
|
|
|
<view v-show="stepval==4">
|
|
@@ -1340,6 +1358,8 @@
|
|
|
upimg:require('@/work/static/images/fup.png'),
|
|
|
filico:require('@/work/static/images/filico.png'),
|
|
|
fdelimg:require('@/work/static/images/del.png'),
|
|
|
+ fdel:require('@/work/static/images/fdel.png'),
|
|
|
+ fadd:require('@/work/static/images/fadd.png'),
|
|
|
steps:[{tit:'申请额度',status:0},{tit:'企业信息',status:1},{tit:'法人信息',status:2},{tit:'反担保人信息',status:3},{tit:'添加附件',status:4},],
|
|
|
stepval:1,
|
|
|
datainfo:{
|
|
@@ -1422,8 +1442,14 @@
|
|
|
categoryId:'',//行业的id
|
|
|
rules:{
|
|
|
},
|
|
|
- gdlist:[{cardz:'',cardf:'',zxurl:[],zhizhao:[],shareholderName:"",shareholderIdCard:'',}],
|
|
|
+ gdlist:[{cardz:'',cardf:'',zxurl:[],zhizhao:[],shareholderName:"",shareholderIdCard:''}],
|
|
|
qylist:[],//企业列表
|
|
|
+ fdarlist:[{type:1,guaranteeName:'',guaranteeIdCard:'',guaranteePhone:'',guaranteeInfoFjList:[]}],
|
|
|
+ fdaqylist:[{type:2,guaranteeInfoFjList:[]}],
|
|
|
+ fdbrobj:{},//反担保人附件
|
|
|
+ fdbqyobj:{},//反担保企业附件
|
|
|
+ fdbdelxIdList:[],//反担保删除小id集合
|
|
|
+ fdbdeldIdList:[],//反担保删除大id集合
|
|
|
sfList:[{text: '是',value: 'Y'},{text: '否',value: 'N'}],
|
|
|
ywList:[{label: '有',value: 'Y'},{label: '无',value: 'N'}],
|
|
|
actcolor:'#00A9F0',
|
|
@@ -1459,6 +1485,12 @@
|
|
|
{tit:'上一年度财务报表',type:'syndcwbb'},{tit:'主要账户银行流水',type:'zyzhyhls'},{tit:'购销合同',type:'gxht'},
|
|
|
{tit:'当前从事项目情况证明',type:'dqcsxmqkzm'},{tit:'企业基本注册信息查询单',type:'qyjbzcxxcxd'},{tit:'水电费发票(一年)',type:'sdffpyn'},{tit:'人员工资表',type:'rggzb'},{tit:'纳税申报表',type:'nssbb'},
|
|
|
],
|
|
|
+ fbdfiles:[
|
|
|
+ {tit:'身份证人像面',type:'fdbrsfzrmx'},{tit:'身份证国徽面',type:'fdbrsfzghm'}
|
|
|
+ ],
|
|
|
+ fdbqyfiles:[
|
|
|
+ {tit:'营业执照',type:'fdbqyyyzz'},{tit:'征信',type:'fdbqyzx'},
|
|
|
+ ],
|
|
|
content:'',//小微企业富文本
|
|
|
xwimgList:[],//小微企业图片
|
|
|
ptype:'add',
|
|
@@ -1638,6 +1670,28 @@
|
|
|
this.jcfjobj=obj
|
|
|
}
|
|
|
})
|
|
|
+ // 反担保人
|
|
|
+ getDictionaryFn('counter_guarantor').then(res=>{
|
|
|
+ if(res.code==200){
|
|
|
+ var obj={}
|
|
|
+ var data=res.data;
|
|
|
+ data.forEach(v=>{
|
|
|
+ obj[v.dictValue]=v.dictLabel
|
|
|
+ })
|
|
|
+ this.fdbrobj=obj
|
|
|
+ }
|
|
|
+ })
|
|
|
+ // 反担保企业附件
|
|
|
+ getDictionaryFn('counter_attachment').then(res=>{
|
|
|
+ if(res.code==200){
|
|
|
+ var obj={}
|
|
|
+ var data=res.data;
|
|
|
+ data.forEach(v=>{
|
|
|
+ obj[v.dictValue]=v.dictLabel
|
|
|
+ })
|
|
|
+ this.fdbqyobj=obj
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
getSbjListFn(){
|
|
|
// 申报附件
|
|
@@ -1662,14 +1716,14 @@
|
|
|
})
|
|
|
},
|
|
|
getGdFjlist(){
|
|
|
- var params={
|
|
|
- loanApplicationNumber:this.datainfo.loanApplicationNumber
|
|
|
- }
|
|
|
- getGdlistNoPage(params).then(res=>{
|
|
|
- if(res.code==200){
|
|
|
- this.qygdlist=res.data
|
|
|
- }
|
|
|
- })
|
|
|
+ // var params={
|
|
|
+ // loanApplicationNumber:this.datainfo.loanApplicationNumber
|
|
|
+ // }
|
|
|
+ // getGdlistNoPage(params).then(res=>{
|
|
|
+ // if(res.code==200){
|
|
|
+ // this.qygdlist=res.data
|
|
|
+ // }
|
|
|
+ // })
|
|
|
},
|
|
|
getQylist(){
|
|
|
// 需要userid
|
|
@@ -1780,10 +1834,22 @@
|
|
|
}
|
|
|
this.$tab.navigateTo('/work/pages/business/talbclass?data='+encodeURIComponent(JSON.stringify(obj)))
|
|
|
},
|
|
|
+ // 添加股东
|
|
|
getAddGdFn(){
|
|
|
var obj = {cardz:'',cardf:'',zxurl:[],zhizhao:[],shareholderName:"",shareholderIdCard:'',}
|
|
|
this.gdlist.push(obj);
|
|
|
},
|
|
|
+ // 添加反担保人
|
|
|
+ getAddFdbFn(){
|
|
|
+ var obj = {type:1,guaranteeName:'',guaranteeIdCard:'',guaranteePhone:'',guaranteeInfoFjList:[]}
|
|
|
+ this.fdarlist.push(obj);
|
|
|
+ },
|
|
|
+ //添加反担保企业
|
|
|
+ getAddQiFn(){
|
|
|
+ var obj = {type:2,guaranteeInfoFjList:[]}
|
|
|
+ this.fdaqylist.push(obj);
|
|
|
+ },
|
|
|
+ // 删除股东
|
|
|
getdelGdFn(idx,ite){
|
|
|
var that=this;
|
|
|
uni.showModal({
|
|
@@ -1803,6 +1869,46 @@
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ // 删除反担保人
|
|
|
+ getdelFdbFn(idx,ite){
|
|
|
+ var that=this;
|
|
|
+ uni.showModal({
|
|
|
+ title: '确认删除',
|
|
|
+ content: "是否确认删除",
|
|
|
+ cancelText: '取消',
|
|
|
+ confirmText: '确认',
|
|
|
+ success: function(res) {
|
|
|
+ if (res.confirm) {
|
|
|
+ if(ite.guaranteeInfoId){
|
|
|
+ var id=ite.guaranteeInfoId;
|
|
|
+ that.fdbdeldIdList.push(id)
|
|
|
+ }
|
|
|
+ that.fdarlist.splice(idx,1);
|
|
|
+ } else if (res.cancel) {
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 删除反担保企业
|
|
|
+ getdelQyFn(idx,ite){
|
|
|
+ var that=this;
|
|
|
+ uni.showModal({
|
|
|
+ title: '确认删除',
|
|
|
+ content: "是否确认删除",
|
|
|
+ cancelText: '取消',
|
|
|
+ confirmText: '确认',
|
|
|
+ success: function(res) {
|
|
|
+ if (res.confirm) {
|
|
|
+ if(ite.guaranteeInfoId){
|
|
|
+ var id=ite.guaranteeInfoId;
|
|
|
+ that.fdbdeldIdList.push(id)
|
|
|
+ }
|
|
|
+ that.fdaqylist.splice(idx,1);
|
|
|
+ } else if (res.cancel) {
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
statusFormats(ite,list,type){//多选匹配
|
|
|
if(ite){
|
|
|
var actions = [];
|
|
@@ -1860,14 +1966,14 @@
|
|
|
this.datainfo.spouseBack="";
|
|
|
}
|
|
|
},
|
|
|
- getDelfdbfzpo(type){
|
|
|
- if(type=='front'){
|
|
|
- this.datainfo.guaranteeFront="";
|
|
|
- this.datainfo.guaranteeName="";
|
|
|
- this.datainfo.guaranteeIdCard="";
|
|
|
- }else{
|
|
|
- this.datainfo.guaranteeBack="";
|
|
|
- }
|
|
|
+ getDelfdbfzpo(type,idx){
|
|
|
+ var obj=this.fdarlist[idx];
|
|
|
+ const index = obj.findIndex(text => text.type === type);
|
|
|
+ if(type=='fdbrsfzrmx'){
|
|
|
+ obj.guaranteeName="";
|
|
|
+ obj.guaranteeIdCard="";
|
|
|
+ }
|
|
|
+ this.fdarlist[idx].fjlist.splice(index,1)
|
|
|
},
|
|
|
bindDateChanged(e){
|
|
|
// 婚姻状态
|
|
@@ -1970,8 +2076,7 @@
|
|
|
if(ite.fjlist&&ite.fjlist.length){
|
|
|
ite.fjlist.forEach(itet=>{
|
|
|
flist.push(itet)
|
|
|
- })
|
|
|
-
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
if(this.fjRemarkFj&&this.fjRemarkFj.length>0){
|
|
@@ -1980,7 +2085,32 @@
|
|
|
params.loanApplicationFjList=JSON.parse(JSON.stringify(flist))
|
|
|
params.loanApplicationFjIdList=JSON.parse(JSON.stringify(this.fjdelIdList))
|
|
|
params.shareholderFjIdList=JSON.parse(JSON.stringify(this.gdFjdelIdList))
|
|
|
- console.log(this.fjdelIdList,this.gdFjdelIdList,123)
|
|
|
+ var fdarlist=JSON.parse(JSON.stringify(this.fdarlist))
|
|
|
+ var fdaqylist=JSON.parse(JSON.stringify(this.fdaqylist))
|
|
|
+ var guaranteeInfoList=[];
|
|
|
+ guaranteeInfoList=fdarlist.concat(fdaqylist)
|
|
|
+ var fdbFjList=[]
|
|
|
+ Object.keys(guaranteeInfoList).some((key) => {
|
|
|
+ var fjurl=guaranteeInfoList[key];
|
|
|
+ var fdbfjlist=fjurl.guaranteeInfoFjList
|
|
|
+ fjurl.loanApplicationNumber=this.datainfo.loanApplicationNumber;
|
|
|
+ fjurl.loanApplicationId=this.datainfo.loanApplicationId;
|
|
|
+ if((!fdbfjlist||fdbfjlist.length<1)&&fjurl.type==1&&fjurl.guaranteeInfoId&&!fjurl.guaranteePhone){
|
|
|
+ this.fdbdeldIdList.push(fjurl.guaranteeInfoId)
|
|
|
+ }
|
|
|
+ if((!fdbfjlist||fdbfjlist.length<1)&&fjurl.type==2&&fjurl.guaranteeInfoId){
|
|
|
+ this.fdbdeldIdList.push(fjurl.guaranteeInfoId)
|
|
|
+ }
|
|
|
+ if(fjurl.type==1&&(fdbfjlist&&fdbfjlist.length||fjurl.guaranteePhone)){
|
|
|
+ fdbFjList.push(fjurl)
|
|
|
+ }else if(fjurl.type==2&&fdbfjlist&&fdbfjlist.length){
|
|
|
+ fdbFjList.push(fjurl)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ params.guaranteeInfoList=JSON.parse(JSON.stringify(fdbFjList))
|
|
|
+ params.guaranteeInfoFjIdList=JSON.parse(JSON.stringify(this.fdbdelxIdList))
|
|
|
+ params.guaranteeInfoIdList=JSON.parse(JSON.stringify(this.fdbdeldIdList))
|
|
|
+ console.log(this.fjdelIdList,this.gdFjdelIdList,123,this.fdbdelxIdList,this.fdbdeldIdList)
|
|
|
uni.showLoading({
|
|
|
title: '加载中'
|
|
|
});
|
|
@@ -2084,6 +2214,30 @@
|
|
|
})
|
|
|
this.gdlist=JSON.parse(JSON.stringify(shFjList))
|
|
|
}
|
|
|
+ // 反担保附件
|
|
|
+ if(data.guaranteeInfoList&&data.guaranteeInfoList.length>0){
|
|
|
+ var fdarlist=[],fdaqylist=[];
|
|
|
+ var gInfoList=data.guaranteeInfoList;
|
|
|
+ Object.keys(gInfoList).some((key) => {
|
|
|
+ var obj=gInfoList[key];
|
|
|
+ var fdblist=gInfoList[key].guaranteeInfoFjList;
|
|
|
+ fdblist=fdblist.filter((ite) => {
|
|
|
+ return ite.remark!=1
|
|
|
+ })
|
|
|
+ obj.guaranteeInfoFjList=JSON.parse(JSON.stringify(fdblist))
|
|
|
+ if(obj.type==1){
|
|
|
+ fdarlist.push(obj)
|
|
|
+ }else if(obj.type==2){
|
|
|
+ fdaqylist.push(obj)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ if(fdarlist&&fdarlist.length){
|
|
|
+ this.fdarlist=JSON.parse(JSON.stringify(fdarlist))
|
|
|
+ }
|
|
|
+ if(fdaqylist&&fdaqylist.length){
|
|
|
+ this.fdaqylist=JSON.parse(JSON.stringify(fdaqylist))
|
|
|
+ }
|
|
|
+ }
|
|
|
this.getSbjListFn()
|
|
|
this.getGdFjlist()
|
|
|
}
|
|
@@ -2205,40 +2359,139 @@
|
|
|
var flist=JSON.parse(JSON.stringify(this.filelist));
|
|
|
var btfiles=JSON.parse(JSON.stringify(this.btfiles));
|
|
|
var sqbtfiles=JSON.parse(JSON.stringify(this.sqbtfiles));
|
|
|
+
|
|
|
+ var fdarlist=JSON.parse(JSON.stringify(this.fdarlist))
|
|
|
+ var fbdfiles=JSON.parse(JSON.stringify(this.fbdfiles))
|
|
|
+ var fdaqylist=JSON.parse(JSON.stringify(this.fdaqylist))
|
|
|
+ var fdbqyfiles=JSON.parse(JSON.stringify(this.fdbqyfiles))
|
|
|
+ var guaranteeInfoList=[]
|
|
|
if(params.guaranteeType.indexOf('1')>-1){//抵押担保
|
|
|
var obj={tit:'企业固定资产证明',type:'qygdzczm'}
|
|
|
sqbtfiles.push(obj)
|
|
|
}
|
|
|
- if(params.guaranteeType.indexOf('2')>-1){//反担保人担保
|
|
|
- // 选择担保人担保
|
|
|
- if(!params.guaranteePhone){
|
|
|
- // 验证手机号
|
|
|
- this.$toast("请输入反担保人手机号")
|
|
|
- return
|
|
|
+ // 反担保人担保
|
|
|
+ var d=0,da=0;
|
|
|
+ Object.keys(fdarlist).some((key) => {
|
|
|
+ fdarlist[key].loanApplicationNumber=that.datainfo.loanApplicationNumber
|
|
|
+ fdarlist[key].loanApplicationId=that.datainfo.loanApplicationId
|
|
|
+ var str="请上传反担保人"+(Number(key)+1)
|
|
|
+ var flist=fdarlist[key].guaranteeInfoFjList;
|
|
|
+ var guaranteePhone=fdarlist[key].guaranteePhone;
|
|
|
+ if(flist&&flist.length){
|
|
|
+ da=1;
|
|
|
+ guaranteeInfoList.push(fdarlist[key])
|
|
|
+ if(params.guaranteeType.indexOf('2')>-1){
|
|
|
+ if(!guaranteePhone){
|
|
|
+ that.$toast(str+'手机号')
|
|
|
+ d=1;
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ // 验证手机号
|
|
|
+ if (guaranteePhone && !regphone.test(guaranteePhone)) {
|
|
|
+ that.$toast("请输入正确的反担保人"+(Number(key)+1)+"手机号")
|
|
|
+ d=1;
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ Object.keys(fbdfiles).some((fkey)=>{
|
|
|
+ if (flist.find(l => l.type == fbdfiles[fkey].type)) {
|
|
|
+ return false
|
|
|
+ }else{
|
|
|
+ d=1;
|
|
|
+ that.$toast(str+fbdfiles[fkey].tit)
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ if(fdarlist[key].guaranteeInfoId&&!guaranteePhone){
|
|
|
+ this.fdbdeldIdList.push(fdarlist[key].guaranteeInfoId)
|
|
|
+ }
|
|
|
+ if(guaranteePhone){
|
|
|
+ guaranteeInfoList.push(fdarlist[key])
|
|
|
+ }
|
|
|
}
|
|
|
- if (params.guaranteePhone && !regphone.test(params.guaranteePhone)) {
|
|
|
- that.$toast("请输入正确的反担保人手机号")
|
|
|
- return
|
|
|
+ if(d==1){
|
|
|
+ return true
|
|
|
}
|
|
|
- if(!params.guaranteeFront){
|
|
|
- this.$toast("请上传反担保人身份证人像面")
|
|
|
- return
|
|
|
+ })
|
|
|
+ if(da==0&¶ms.guaranteeType.indexOf('2')>-1){
|
|
|
+ that.$toast('请上传反担保人身份证人面像')
|
|
|
+ return true
|
|
|
+ }
|
|
|
+ if(d==1){
|
|
|
+ return
|
|
|
+ }
|
|
|
+ // 反担保企业
|
|
|
+ var e=0,ea=0;
|
|
|
+ Object.keys(fdaqylist).some((key) => {
|
|
|
+ fdaqylist[key].loanApplicationNumber=that.datainfo.loanApplicationNumber
|
|
|
+ fdaqylist[key].loanApplicationId=that.datainfo.loanApplicationId
|
|
|
+ var str="请上传反担保企业"+(Number(key)+1)
|
|
|
+ var flist=fdaqylist[key].guaranteeInfoFjList;
|
|
|
+ if(flist&&flist.length){
|
|
|
+ ea=1;
|
|
|
+ guaranteeInfoList.push(fdaqylist[key])
|
|
|
+ if(params.guaranteeType.indexOf('4')>-1){//企业保证
|
|
|
+ Object.keys(fdbqyfiles).some((fkey)=>{
|
|
|
+ if (flist.find(l => l.type == fdbqyfiles[fkey].type)) {
|
|
|
+ return false
|
|
|
+ }else{
|
|
|
+ e=1;
|
|
|
+ that.$toast(str+fdbqyfiles[fkey].tit)
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ }else{
|
|
|
+ if(fdaqylist[key].guaranteeInfoId){
|
|
|
+ this.fdbdeldIdList.push(fdaqylist[key].guaranteeInfoId)
|
|
|
+ }
|
|
|
}
|
|
|
- if(!params.guaranteeBack){
|
|
|
- this.$toast("请上传反担保人身份证国徽面")
|
|
|
- return
|
|
|
+ if(e==1){
|
|
|
+ return true
|
|
|
}
|
|
|
+
|
|
|
+ })
|
|
|
+ if(ea==0&¶ms.guaranteeType.indexOf('4')>-1){
|
|
|
+ that.$toast('请上传反担保企业营业执照')
|
|
|
+ return
|
|
|
}
|
|
|
+ if(e==1){
|
|
|
+ return
|
|
|
+ }
|
|
|
+ // console.log(guaranteeInfoList)
|
|
|
+ // return
|
|
|
+ // if(params.guaranteeType.indexOf('2')>-1){//反担保人担保
|
|
|
+ // // 选择担保人担保
|
|
|
+ // if(!params.guaranteePhone){
|
|
|
+ // // 验证手机号
|
|
|
+ // this.$toast("请输入反担保人手机号")
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // if (params.guaranteePhone && !regphone.test(params.guaranteePhone)) {
|
|
|
+ // that.$toast("请输入正确的反担保人手机号")
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // if(!params.guaranteeFront){
|
|
|
+ // this.$toast("请上传反担保人身份证人像面")
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // if(!params.guaranteeBack){
|
|
|
+ // this.$toast("请上传反担保人身份证国徽面")
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // }
|
|
|
if(params.guaranteeType.indexOf('3')>-1){//企业保证
|
|
|
var obj={tit:'反担保抵(质)押复印件',type:'fdbdyfyj'}
|
|
|
sqbtfiles.push(obj)
|
|
|
}
|
|
|
- if(params.guaranteeType.indexOf('4')>-1){//企业保证
|
|
|
- var obj={tit:'反担保企业营业执照',type:'fdbqyyyzz'}
|
|
|
- var objb={tit:'反担保企业征信',type:'fdbqyzx'}
|
|
|
- btfiles.push(obj)
|
|
|
- btfiles.push(objb)
|
|
|
- }
|
|
|
+ // if(params.guaranteeType.indexOf('4')>-1){//企业保证
|
|
|
+ // var obj={tit:'反担保企业营业执照',type:'fdbqyyyzz'}
|
|
|
+ // var objb={tit:'反担保企业征信',type:'fdbqyzx'}
|
|
|
+ // btfiles.push(obj)
|
|
|
+ // btfiles.push(objb)
|
|
|
+ // }
|
|
|
var b=0;
|
|
|
Object.keys(btfiles).some((key) => {
|
|
|
if (flist.find(l => l.type == btfiles[key].type)) {
|
|
@@ -2284,7 +2537,11 @@
|
|
|
params.loanApplicationFjList=JSON.parse(JSON.stringify(flist))
|
|
|
params.loanApplicationFjIdList=JSON.parse(JSON.stringify(this.fjdelIdList))
|
|
|
params.shareholderFjIdList=JSON.parse(JSON.stringify(this.gdFjdelIdList))
|
|
|
- console.log(this.fjdelIdList,this.gdFjdelIdList,222)
|
|
|
+ params.guaranteeInfoList=JSON.parse(JSON.stringify(guaranteeInfoList))
|
|
|
+ params.guaranteeInfoFjIdList=JSON.parse(JSON.stringify(this.fdbdelxIdList))
|
|
|
+ params.guaranteeInfoIdList=JSON.parse(JSON.stringify(this.fdbdeldIdList))
|
|
|
+ console.log(this.fjdelIdList,this.gdFjdelIdList,222,this.fdbdelxIdList,this.fdbdeldIdList)
|
|
|
+
|
|
|
uni.showLoading({
|
|
|
title: '加载中'
|
|
|
});
|
|
@@ -2377,11 +2634,11 @@
|
|
|
this.getocrIdCard(urlOnline,fileVal)
|
|
|
}else if(fileVal=='frsfzpoghm'){
|
|
|
this.datainfo.spouseBack=url
|
|
|
- }else if(fileVal=='fdbrsfzrmx'){
|
|
|
- this.getocrIdCard(urlOnline,fileVal)
|
|
|
- this.datainfo.guaranteeFront=url
|
|
|
- }else if(fileVal=='fdbrsfzghm'){
|
|
|
- this.datainfo.guaranteeBack=url
|
|
|
+ // }else if(fileVal=='fdbrsfzrmx'){
|
|
|
+ // this.getocrIdCard(urlOnline,fileVal)
|
|
|
+ // this.datainfo.guaranteeFront=url
|
|
|
+ // }else if(fileVal=='fdbrsfzghm'){
|
|
|
+ // this.datainfo.guaranteeBack=url
|
|
|
}
|
|
|
},
|
|
|
getDocumentList(){
|
|
@@ -2421,7 +2678,7 @@
|
|
|
'<img style="max-width:100%;height:auto;display:block;margin:10rpx auto;" src="' +baseUrlimg);
|
|
|
return newContent;
|
|
|
},
|
|
|
- getOcrBusinessLicense(url,name,idx){
|
|
|
+ getOcrBusinessLicense(url,fileName,idx){
|
|
|
var that=this;
|
|
|
var obj=this.gdlist[idx];
|
|
|
var params={
|
|
@@ -2432,12 +2689,12 @@
|
|
|
var params=JSON.parse(JSON.stringify(res.data))
|
|
|
obj.shareholderName=params.enterpriseName
|
|
|
obj.shareholderIdCard=params.creditCode
|
|
|
- obj.zhizhao[0]=name
|
|
|
+ obj.zhizhao[0]=fileName
|
|
|
this.gdlist.splice(idx,1,obj)
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- getocrIdCard(url,type){
|
|
|
+ getocrIdCard(url,type,idx){
|
|
|
var that=this;
|
|
|
var burl=url;
|
|
|
var params={
|
|
@@ -2454,8 +2711,18 @@
|
|
|
that.datainfo.spouseName=data.realName
|
|
|
that.datainfo.spouseIdCard=data.idCard
|
|
|
}else if(type=='fdbrsfzrmx'){
|
|
|
- that.datainfo.guaranteeName=data.realName
|
|
|
- that.datainfo.guaranteeIdCard=data.idCard
|
|
|
+ var obj=this.fdarlist[idx];
|
|
|
+ obj.guaranteeName=data.realName;
|
|
|
+ obj.guaranteeIdCard=data.idCard;
|
|
|
+ this.fdarlist.splice(idx,1,obj)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }).catch(error => {
|
|
|
+ if(type=='fdbrsfzrmx'){
|
|
|
+ var obj=this.fdarlist[idx].guaranteeInfoFjList;
|
|
|
+ const index = obj.findIndex(text => text.type === "fdbrsfzrmx");
|
|
|
+ if(index!=-1){
|
|
|
+ this.fdarlist[idx].guaranteeInfoFjList.splice(index,1)
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -2474,7 +2741,7 @@
|
|
|
this.datainfo.guaranteeShareholderName='';
|
|
|
}
|
|
|
},
|
|
|
- // 股东附件上传
|
|
|
+ // 股东附件上传 fileVal 为索引
|
|
|
gdonuploadEnd(item,fileVal,bigType){
|
|
|
var idx=Number(fileVal);
|
|
|
var type=bigType;
|
|
@@ -2497,6 +2764,47 @@
|
|
|
this.gdlist.splice(idx,1,obj)
|
|
|
// this.datainfo.shareholderFjList=JSON.parse(JSON.stringify(this.gdlist))
|
|
|
},
|
|
|
+ // 反担保附件上传bigType 为索引
|
|
|
+ fdbuploadEnd(item,fileVal,bigType){
|
|
|
+ var idx=Number(bigType);
|
|
|
+ var obj=this.fdarlist[idx].guaranteeInfoFjList;
|
|
|
+ var responseText=JSON.parse(item.responseText);
|
|
|
+ var urlOnline=responseText.urlOnline
|
|
|
+ // 附件赋值
|
|
|
+ var newobj={};
|
|
|
+ newobj.name=responseText.newFileName;
|
|
|
+ newobj.oldName=responseText.originalFilename;
|
|
|
+ newobj.url=responseText.fileName;
|
|
|
+ newobj.type=fileVal;
|
|
|
+ if(fileVal=='fdbrsfzrmx'||fileVal=='fdbrsfzghm'){//身份证
|
|
|
+ // 找索引
|
|
|
+ const index = obj.findIndex(text => text.type === fileVal);
|
|
|
+ if(index!=-1){
|
|
|
+ this.fdarlist[idx].guaranteeInfoFjList.splice(index,1,newobj)
|
|
|
+ }else{
|
|
|
+ this.fdarlist[idx].guaranteeInfoFjList.push(newobj)
|
|
|
+ }
|
|
|
+ if(fileVal=='fdbrsfzrmx'){
|
|
|
+ this.getocrIdCard(urlOnline,fileVal,idx)
|
|
|
+ }
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.fdarlist[idx].guaranteeInfoFjList.push(newobj)
|
|
|
+ },
|
|
|
+ // 反担保企业附件上传bigType 为索引
|
|
|
+ fdbqyuploadEnd(item,fileVal,bigType){
|
|
|
+ var idx=Number(bigType);
|
|
|
+ var obj=this.fdaqylist[idx].guaranteeInfoFjList;
|
|
|
+ var responseText=JSON.parse(item.responseText);
|
|
|
+ var urlOnline=responseText.urlOnline
|
|
|
+ // 附件赋值
|
|
|
+ var newobj={};
|
|
|
+ newobj.name=responseText.newFileName;
|
|
|
+ newobj.oldName=responseText.originalFilename;
|
|
|
+ newobj.url=responseText.fileName;
|
|
|
+ newobj.type=fileVal;
|
|
|
+ this.fdaqylist[idx].guaranteeInfoFjList.push(newobj)
|
|
|
+ },
|
|
|
// 申请附件上传
|
|
|
fjonuploadEnd(item,fileVal,bigType,idx){
|
|
|
|
|
@@ -2532,6 +2840,38 @@
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ // 删除反担保
|
|
|
+ getfdbDelFj(idx,fidx,type){
|
|
|
+ var that=this;
|
|
|
+ uni.showModal({
|
|
|
+ title: '确认删除',
|
|
|
+ content: "是否确认删除",
|
|
|
+ cancelText: '取消',
|
|
|
+ confirmText: '确认',
|
|
|
+ success: function(res) {
|
|
|
+ if (res.confirm) {
|
|
|
+ if(type==1){//反担保人
|
|
|
+ var obj=JSON.parse(JSON.stringify(that.fdarlist[fidx]));
|
|
|
+ var fdblist=obj.guaranteeInfoFjList[idx];
|
|
|
+ if(fdblist.guaranteeInfoFjId){
|
|
|
+ that.fdbdelxIdList.push(fdblist.guaranteeInfoFjId)
|
|
|
+ }
|
|
|
+ obj.guaranteeInfoFjList.splice(idx,1)
|
|
|
+ that.fdarlist.splice(fidx,1,obj)
|
|
|
+ }else if(type==2) {//反担保企业
|
|
|
+ var obj=JSON.parse(JSON.stringify(that.fdaqylist[fidx]));
|
|
|
+ var fdblist=obj.guaranteeInfoFjList[idx];
|
|
|
+ if(fdblist.guaranteeInfoFjId){
|
|
|
+ that.fdbdelxIdList.push(fdblist.guaranteeInfoFjId)
|
|
|
+ }
|
|
|
+ obj.guaranteeInfoFjList.splice(idx,1)
|
|
|
+ that.fdaqylist.splice(fidx,1,obj)
|
|
|
+ }
|
|
|
+ } else if (res.cancel) {
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
getDelgdFj(idx,zxidx){
|
|
|
var obj=this.gdlist[idx];
|
|
|
var that=this;
|
|
@@ -2811,4 +3151,11 @@ color: #FFFFFF;text-align: center;line-height: 100rpx;
|
|
|
}
|
|
|
// 标准
|
|
|
.looimg{width: 100%;height: 400rpx;position: fixed;left: 0;right: 0;top: 50%;margin-top: -200rpx;z-index: 10;}
|
|
|
+.fdbdel{font-weight: bold;font-size: 30rpx;color: #FF5B5B;height: 100rpx;
|
|
|
+background: #FFEEEE;border-radius: 10rpx;
|
|
|
+ image{width: 26rpx;height:30rpx;margin-right: 12rpx;}
|
|
|
+ }
|
|
|
+.fdbadd{font-weight: bold;font-size: 26rpx;color: #0AC86E;padding: 16rpx 28rpx;flex:0 0 auto;
|
|
|
+ image{width:22rpx;height: 24rpx;margin-right: 10rpx;flex:0 0 auto;}
|
|
|
+}
|
|
|
</style>
|