|
@@ -194,7 +194,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="phobox">
|
|
<view class="phobox">
|
|
<view class="phoboxa">
|
|
<view class="phoboxa">
|
|
- <lsj-upload ref="lsjUpload" childId="upload1" :fileName="'股东'+(Number(idx)+1)+'营业执照'" :fileVal='idx' bigType="zhz" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="formats" :debug="debug" :instantly="instantly"
|
|
|
|
|
|
+ <lsj-upload ref="lsjUpload" childId="upload1" :fileName="'股东'+(Number(idx)+1)+'营业执照'" :fileVal='idx' bigType="zhz" :width="pwidth" :height="pheight" :option="option" :size="size" :formats="gdformats" :debug="debug" :instantly="instantly"
|
|
@progress="" @uploadEnd="gdonuploadEnd" >
|
|
@progress="" @uploadEnd="gdonuploadEnd" >
|
|
<view class="photop" >
|
|
<view class="photop" >
|
|
<image :src="zico" class="bgimg"></image>
|
|
<image :src="zico" class="bgimg"></image>
|
|
@@ -644,7 +644,14 @@
|
|
<!-- 担保类型 -->
|
|
<!-- 担保类型 -->
|
|
<view class="addtit mt3"><text>*</text>担保类型</view>
|
|
<view class="addtit mt3"><text>*</text>担保类型</view>
|
|
<view class="bgf plr12">
|
|
<view class="bgf plr12">
|
|
- <picker range-key='label' :value="dblxidx" :range="dblxlist" class="" @change='bindDateChangee'>
|
|
|
|
|
|
+ <uni-forms-item label="担保类型" name="guaranteeType">
|
|
|
|
+ <view class="lbtabp" @click="getRecorddwFn">
|
|
|
|
+ <view v-if="datainfo.guaranteeType&&!dblx">{{statusFormats(datainfo.guaranteeType,dblxlist,'dblx')}}</view>
|
|
|
|
+ <view v-else :class="dblx?'':'coa'">{{dblx||"请选择担保类型"}}</view>
|
|
|
|
+ <image :src="hrimg" class="rimg"></image>
|
|
|
|
+ </view>
|
|
|
|
+ </uni-forms-item>
|
|
|
|
+ <!-- <picker range-key='label' :value="dblxidx" :range="dblxlist" class="" @change='bindDateChangee'>
|
|
<uni-forms-item label="担保类型" name="guaranteeType">
|
|
<uni-forms-item label="担保类型" name="guaranteeType">
|
|
<view class="lbtabp">
|
|
<view class="lbtabp">
|
|
<view v-if="datainfo.guaranteeType&&!dblx">{{statusFormat(datainfo.guaranteeType,dblxlist,'dblx')}}</view>
|
|
<view v-if="datainfo.guaranteeType&&!dblx">{{statusFormat(datainfo.guaranteeType,dblxlist,'dblx')}}</view>
|
|
@@ -652,7 +659,7 @@
|
|
<image :src="hrimg" class="rimg"></image>
|
|
<image :src="hrimg" class="rimg"></image>
|
|
</view>
|
|
</view>
|
|
</uni-forms-item>
|
|
</uni-forms-item>
|
|
- </picker>
|
|
|
|
|
|
+ </picker> -->
|
|
</view>
|
|
</view>
|
|
<!-- 反担保人基本信息 v-if="datainfo.guaranteeType==2"-->
|
|
<!-- 反担保人基本信息 v-if="datainfo.guaranteeType==2"-->
|
|
<block>
|
|
<block>
|
|
@@ -782,6 +789,67 @@
|
|
</view>
|
|
</view>
|
|
</uni-forms-item>
|
|
</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>
|
|
|
|
+ </view>
|
|
|
|
+ </lsj-upload>
|
|
|
|
+ <view class="photit atit">上传企业营业执照</view>
|
|
|
|
+ </view>
|
|
|
|
+ <block v-for="(ite,idx) in filelist" :key='idx'>
|
|
|
|
+ <view class="phoboxa" v-if="ite.type=='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>
|
|
|
|
+ </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>
|
|
|
|
+ </view>
|
|
|
|
+ </lsj-upload>
|
|
|
|
+ <view class="photit atit">上传企业征信</view>
|
|
|
|
+ </view>
|
|
|
|
+ <block v-for="(ite,idx) in filelist" :key='idx'>
|
|
|
|
+ <view class="phoboxa" v-if="ite.type=='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>
|
|
|
|
+ </view>
|
|
|
|
+ </uni-forms-item>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<!-- 添加附件 -->
|
|
<!-- 添加附件 -->
|
|
<view v-show="stepval==4">
|
|
<view v-show="stepval==4">
|
|
@@ -1185,6 +1253,9 @@
|
|
<cover-view @click.stop="getGiveupFn" class="txt">放弃编辑</cover-view>
|
|
<cover-view @click.stop="getGiveupFn" class="txt">放弃编辑</cover-view>
|
|
</cover-view>
|
|
</cover-view>
|
|
<!-- #endif -->
|
|
<!-- #endif -->
|
|
|
|
+ <!-- 选择担保类型 -->
|
|
|
|
+ <bartree-pickerfixed ref="treePickerzrdw" deptType='1' :multiple='true' @select-change="selectChangezrdw" title="选择担保类型"
|
|
|
|
+ :localdata="dblxlist" :checkVal='datainfo.guaranteeType' valueKey="value" textKey="label" childrenKey="children"></bartree-pickerfixed>
|
|
<!--附件 remark==1 后台生成的pdf,自己删除 -->
|
|
<!--附件 remark==1 后台生成的pdf,自己删除 -->
|
|
<pop-up :type='ftype' :xwimgList="xwimgList" :content="content" @getClose='getClose'></pop-up>
|
|
<pop-up :type='ftype' :xwimgList="xwimgList" :content="content" @getClose='getClose'></pop-up>
|
|
</view>
|
|
</view>
|
|
@@ -1199,14 +1270,15 @@
|
|
import popUp from "@/work/components/popup/popup.vue"
|
|
import popUp from "@/work/components/popup/popup.vue"
|
|
import stepBar from "@/components/toptab/stepbar.vue"
|
|
import stepBar from "@/components/toptab/stepbar.vue"
|
|
import { getToken } from '@/utils/auth'
|
|
import { getToken } from '@/utils/auth'
|
|
- import {getApplicationNum,getApplicationZc,getApplicationAdd,getApplicationDet,getApplicationEdit,getExportMb,getDocumentList} from "@/api/mine/work.js"
|
|
|
|
- import {getQyListNoPage,getOcrIdCard,getIdCardDet} from "@/api/mine/card.js"
|
|
|
|
|
|
+ import {getApplicationNum,getApplicationZc,getApplicationAdd,getApplicationDet,getApplicationEdit,getExportMb,getDocumentList,getGdlistNoPage} from "@/api/mine/work.js"
|
|
|
|
+ import {getQyListNoPage,getOcrIdCard,getIdCardDet,getOcrBusinessLicense} from "@/api/mine/card.js"
|
|
import {uploadmore,selectValueKey,showConfirm} from '@/utils/common.js'
|
|
import {uploadmore,selectValueKey,showConfirm} from '@/utils/common.js'
|
|
import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
|
|
import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
|
|
import {getDictionaryFn} from "@/api/mine/register.js"
|
|
import {getDictionaryFn} from "@/api/mine/register.js"
|
|
|
|
+ import bartreePickerfixed from "@/components/ba-tree-picker/ba-tree-pickerfixed.vue"
|
|
// 340622185605234521
|
|
// 340622185605234521
|
|
export default{
|
|
export default{
|
|
- components:{stepBar,popUp},
|
|
|
|
|
|
+ components:{stepBar,popUp,bartreePickerfixed},
|
|
data(){
|
|
data(){
|
|
return{
|
|
return{
|
|
//附件
|
|
//附件
|
|
@@ -1349,7 +1421,7 @@
|
|
// score: {rules: [{required: true,errorMessage: '请输入分值'} ]},
|
|
// score: {rules: [{required: true,errorMessage: '请输入分值'} ]},
|
|
// bonusReason: {rules: [{required: true,errorMessage: '请输入加分事由'} ]},
|
|
// bonusReason: {rules: [{required: true,errorMessage: '请输入加分事由'} ]},
|
|
},
|
|
},
|
|
- gdlist:[{cardz:'',cardf:'',zxurl:[],zhizhao:[]}],
|
|
|
|
|
|
+ gdlist:[{cardz:'',cardf:'',zxurl:[],zhizhao:[],shareholderName:"",shareholderIdCard:'',}],
|
|
qylist:[],//企业列表
|
|
qylist:[],//企业列表
|
|
sfList:[{text: '是',value: 'Y'},{text: '否',value: 'N'}],
|
|
sfList:[{text: '是',value: 'Y'},{text: '否',value: 'N'}],
|
|
ywList:[{label: '有',value: 'Y'},{label: '无',value: 'N'}],
|
|
ywList:[{label: '有',value: 'Y'},{label: '无',value: 'N'}],
|
|
@@ -1384,7 +1456,7 @@
|
|
],
|
|
],
|
|
sqbtfiles:[
|
|
sqbtfiles:[
|
|
{tit:'委托担保申请书',type:'wtdbsqs'},
|
|
{tit:'委托担保申请书',type:'wtdbsqs'},
|
|
- {tit:'股东会议纪要',type:'gdhyjy'},{tit:'上一年度财务报表',type:'syndcwbb'},{tit:'主要账户银行流水',type:'zyzhyhls'},{tit:'购销合同',type:'gxht'},
|
|
|
|
|
|
+ {tit:'股东会决议',type:'gdhyjy'},{tit:'上一年度财务报表',type:'syndcwbb'},{tit:'主要账户银行流水',type:'zyzhyhls'},{tit:'购销合同',type:'gxht'},
|
|
{tit:'当前从事项目情况证明',type:'dqcsxmqkzm'},{tit:'企业基本注册信息查询单',type:'qyjbzcxxcxd'},{tit:'水电费发票(一年)',type:'sdffpyn'},{tit:'人员工资表',type:'rggzb'},{tit:'纳税申报表',type:'nssbb'},
|
|
{tit:'当前从事项目情况证明',type:'dqcsxmqkzm'},{tit:'企业基本注册信息查询单',type:'qyjbzcxxcxd'},{tit:'水电费发票(一年)',type:'sdffpyn'},{tit:'人员工资表',type:'rggzb'},{tit:'纳税申报表',type:'nssbb'},
|
|
],
|
|
],
|
|
content:'',//小微企业富文本
|
|
content:'',//小微企业富文本
|
|
@@ -1398,6 +1470,13 @@
|
|
//担保类型为抵押{tit:'企业固定资产证明',type:'qygdzczm'},
|
|
//担保类型为抵押{tit:'企业固定资产证明',type:'qygdzczm'},
|
|
ischange:false,
|
|
ischange:false,
|
|
isdetail:false,
|
|
isdetail:false,
|
|
|
|
+ qygdlist:[],//企业股东列表
|
|
|
|
+ dfdwpicker: {
|
|
|
|
+ title: '选择担保类型',
|
|
|
|
+ layer: null,
|
|
|
|
+ titflag:true,
|
|
|
|
+ data: []
|
|
|
|
+ },
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onUnload(){
|
|
onUnload(){
|
|
@@ -1413,7 +1492,31 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
deep: true
|
|
deep: true
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ onBackPress(e) {
|
|
|
|
+ var that=this;
|
|
|
|
+ if(this.ischange){
|
|
|
|
+ var a=0;
|
|
|
|
+ showConfirm('内容已做修改,是否暂存').then(res => {
|
|
|
|
+ if (res.confirm) {
|
|
|
|
+ this.getZanFn('back')
|
|
|
|
+ }else{
|
|
|
|
+ this.ischange=false;
|
|
|
|
+ uni.navigateBack({
|
|
|
|
+ delta:1
|
|
|
|
+ })
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ return true
|
|
|
|
+ }else{
|
|
|
|
+ return false
|
|
|
|
+ uni.navigateBack({
|
|
|
|
+ delta:1
|
|
|
|
+ })
|
|
}
|
|
}
|
|
|
|
+
|
|
},
|
|
},
|
|
onLoad(e) {
|
|
onLoad(e) {
|
|
// this.getIdCardDet()
|
|
// this.getIdCardDet()
|
|
@@ -1426,7 +1529,6 @@
|
|
if(Number(data.val)<4){
|
|
if(Number(data.val)<4){
|
|
this.stepval=Number(data.val)+1
|
|
this.stepval=Number(data.val)+1
|
|
}
|
|
}
|
|
-
|
|
|
|
this.getDetail()
|
|
this.getDetail()
|
|
}else{
|
|
}else{
|
|
this.datainfo.applicationAmount=data.applicationAmount;
|
|
this.datainfo.applicationAmount=data.applicationAmount;
|
|
@@ -1449,7 +1551,6 @@
|
|
this.init()
|
|
this.init()
|
|
this.getQylist()
|
|
this.getQylist()
|
|
this.getDocumentList()
|
|
this.getDocumentList()
|
|
-
|
|
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.getHeightFn()
|
|
this.getHeightFn()
|
|
@@ -1461,6 +1562,26 @@
|
|
},
|
|
},
|
|
methods:{
|
|
methods:{
|
|
checkPermi, checkRole,
|
|
checkPermi, checkRole,
|
|
|
|
+ getRecorddwFn(){
|
|
|
|
+ this.$refs.treePickerzrdw._show();
|
|
|
|
+ },
|
|
|
|
+ selectChangezrdw(e){
|
|
|
|
+ var val=e;
|
|
|
|
+ var newArr=[],newVal=[];
|
|
|
|
+ var a=0;
|
|
|
|
+ e.forEach((ite,idx)=>{
|
|
|
|
+ newArr[idx]=ite.deptName
|
|
|
|
+ newVal[idx]=ite.deptId
|
|
|
|
+ if(ite.deptId==4){
|
|
|
|
+ a=1
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ this.dblx=newArr.join(',')
|
|
|
|
+ this.datainfo.guaranteeType=newVal.join(',');
|
|
|
|
+ if(a==1){
|
|
|
|
+ this.getGdFjlist()
|
|
|
|
+ }
|
|
|
|
+ },
|
|
getIdCardDet(){
|
|
getIdCardDet(){
|
|
getIdCardDet(this.userId).then(res=>{
|
|
getIdCardDet(this.userId).then(res=>{
|
|
if(res.code==200){
|
|
if(res.code==200){
|
|
@@ -1497,7 +1618,7 @@
|
|
this.dblxlist = res.data.map(v => {
|
|
this.dblxlist = res.data.map(v => {
|
|
return {
|
|
return {
|
|
label: v.dictLabel,
|
|
label: v.dictLabel,
|
|
- value: v.dictValue
|
|
|
|
|
|
+ value: v.dictValue,
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -1536,6 +1657,16 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+ getGdFjlist(){
|
|
|
|
+ var params={
|
|
|
|
+ loanApplicationNumber:this.datainfo.loanApplicationNumber
|
|
|
|
+ }
|
|
|
|
+ getGdlistNoPage(params).then(res=>{
|
|
|
|
+ if(res.code==200){
|
|
|
|
+ this.qygdlist=res.data
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
getQylist(){
|
|
getQylist(){
|
|
// 需要userid
|
|
// 需要userid
|
|
var params={
|
|
var params={
|
|
@@ -1583,22 +1714,9 @@
|
|
},
|
|
},
|
|
getBack(){
|
|
getBack(){
|
|
// 暂存
|
|
// 暂存
|
|
- var that=this;
|
|
|
|
- if(this.ischange){
|
|
|
|
- showConfirm('已做修改,是否暂存').then(res => {
|
|
|
|
- if (res.confirm) {
|
|
|
|
- this.getZanFn('back')
|
|
|
|
- }else{
|
|
|
|
- uni.navigateBack({
|
|
|
|
- delta:1
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- }else{
|
|
|
|
- uni.navigateBack({
|
|
|
|
- delta:1
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
|
|
+ uni.navigateBack({
|
|
|
|
+ delta:1
|
|
|
|
+ })
|
|
},
|
|
},
|
|
getGiveupFn(){
|
|
getGiveupFn(){
|
|
var that=this;
|
|
var that=this;
|
|
@@ -1659,7 +1777,7 @@
|
|
this.$tab.navigateTo('/work/pages/business/talbclass?data='+encodeURIComponent(JSON.stringify(obj)))
|
|
this.$tab.navigateTo('/work/pages/business/talbclass?data='+encodeURIComponent(JSON.stringify(obj)))
|
|
},
|
|
},
|
|
getAddGdFn(){
|
|
getAddGdFn(){
|
|
- var obj = {cardz:'',cardf:'',zxurl:[],zhizhao:[]}
|
|
|
|
|
|
+ var obj = {cardz:'',cardf:'',zxurl:[],zhizhao:[],shareholderName:"",shareholderIdCard:'',}
|
|
this.gdlist.push(obj);
|
|
this.gdlist.push(obj);
|
|
},
|
|
},
|
|
getdelGdFn(idx){
|
|
getdelGdFn(idx){
|
|
@@ -1677,6 +1795,15 @@
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ statusFormats(ite,list,type){//多选匹配
|
|
|
|
+ var actions = [];
|
|
|
|
+ list.forEach(s => {
|
|
|
|
+ if(ite.indexOf(s.value)>-1){
|
|
|
|
+ actions.push(s.label);
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ return actions.join(',')
|
|
|
|
+ },
|
|
statusFormat(ite,list,type) {
|
|
statusFormat(ite,list,type) {
|
|
var aite=selectValueKey(list, ite);
|
|
var aite=selectValueKey(list, ite);
|
|
if(type=='qy'){
|
|
if(type=='qy'){
|
|
@@ -1779,6 +1906,24 @@
|
|
var list=this.btfiles;
|
|
var list=this.btfiles;
|
|
var sqlist=this.sqlist;
|
|
var sqlist=this.sqlist;
|
|
},
|
|
},
|
|
|
|
+ // 反担保企业
|
|
|
|
+ bindDateChangeg(e){
|
|
|
|
+ var val=e.detail.value;
|
|
|
|
+ var data=this.qygdlist[val]
|
|
|
|
+ this.datainfo.guaranteeShareholderName=data.shareholderName;
|
|
|
|
+ var obj={
|
|
|
|
+ name:'企业营业执照',
|
|
|
|
+ // oldName:oldName,
|
|
|
|
+ url:data.shareholderBusinessUrl,
|
|
|
|
+ type:'fdbqyyyzz',
|
|
|
|
+ bigType:'a',
|
|
|
|
+ }
|
|
|
|
+ let indices = this.filelist.filter((ite, index) => ite.type!== "fdbqyyyzz")||[]
|
|
|
|
+ indices.push(obj)
|
|
|
|
+ this.filelist=indices
|
|
|
|
+ this.datainfo.loanApplicationFjList=JSON.parse(JSON.stringify(this.filelist))
|
|
|
|
+ },
|
|
|
|
+ // 免税
|
|
bindDateChangef(e){
|
|
bindDateChangef(e){
|
|
var val=e.detail.value;
|
|
var val=e.detail.value;
|
|
// this.dblx=this.sfList[val].text;
|
|
// this.dblx=this.sfList[val].text;
|
|
@@ -1795,6 +1940,8 @@
|
|
shareholderBackUrl:gdlist[key].cardf,
|
|
shareholderBackUrl:gdlist[key].cardf,
|
|
shareholderZxUrl:gdlist[key].zxurl.join(','),
|
|
shareholderZxUrl:gdlist[key].zxurl.join(','),
|
|
shareholderBusinessUrl:gdlist[key].zhizhao.join(','),
|
|
shareholderBusinessUrl:gdlist[key].zhizhao.join(','),
|
|
|
|
+ shareholderName:gdlist[key].shareholderName,
|
|
|
|
+ shareholderIdCard:gdlist[key].shareholderIdCard,
|
|
}
|
|
}
|
|
shFjList.push(fjurl)
|
|
shFjList.push(fjurl)
|
|
})
|
|
})
|
|
@@ -1865,8 +2012,9 @@
|
|
cardz:gdlist[key].shareholderFrontUrl,
|
|
cardz:gdlist[key].shareholderFrontUrl,
|
|
cardf:gdlist[key].shareholderBackUrl,
|
|
cardf:gdlist[key].shareholderBackUrl,
|
|
zxurl:[],
|
|
zxurl:[],
|
|
- zhizhao:[]
|
|
|
|
-
|
|
|
|
|
|
+ zhizhao:[],
|
|
|
|
+ shareholderName:gdlist[key].shareholderName,
|
|
|
|
+ shareholderIdCard:gdlist[key].shareholderIdCard,
|
|
}
|
|
}
|
|
if(gdlist[key].shareholderZxUrl){
|
|
if(gdlist[key].shareholderZxUrl){
|
|
fjurl.zxurl=gdlist[key].shareholderZxUrl.split(',')
|
|
fjurl.zxurl=gdlist[key].shareholderZxUrl.split(',')
|
|
@@ -1879,6 +2027,7 @@
|
|
this.gdlist=JSON.parse(JSON.stringify(shFjList))
|
|
this.gdlist=JSON.parse(JSON.stringify(shFjList))
|
|
}
|
|
}
|
|
this.getSbjListFn()
|
|
this.getSbjListFn()
|
|
|
|
+ this.getGdFjlist()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -1984,6 +2133,8 @@
|
|
shareholderBackUrl:gdlist[key].cardf,
|
|
shareholderBackUrl:gdlist[key].cardf,
|
|
shareholderZxUrl:gdlist[key].zxurl.join(','),
|
|
shareholderZxUrl:gdlist[key].zxurl.join(','),
|
|
shareholderBusinessUrl:gdlist[key].zhizhao.join(','),
|
|
shareholderBusinessUrl:gdlist[key].zhizhao.join(','),
|
|
|
|
+ shareholderName:gdlist[key].shareholderName,
|
|
|
|
+ shareholderIdCard:gdlist[key].shareholderIdCard,
|
|
}
|
|
}
|
|
shFjList.push(fjurl)
|
|
shFjList.push(fjurl)
|
|
})
|
|
})
|
|
@@ -1994,11 +2145,11 @@
|
|
var flist=this.filelist;
|
|
var flist=this.filelist;
|
|
var btfiles=JSON.parse(JSON.stringify(this.btfiles));
|
|
var btfiles=JSON.parse(JSON.stringify(this.btfiles));
|
|
var sqbtfiles=JSON.parse(JSON.stringify(this.sqbtfiles));
|
|
var sqbtfiles=JSON.parse(JSON.stringify(this.sqbtfiles));
|
|
- if(params.guaranteeType==1){//抵押担保
|
|
|
|
|
|
+ if(params.guaranteeType.indexOf('1')>-1){//抵押担保
|
|
var obj={tit:'企业固定资产证明',type:'qygdzczm'}
|
|
var obj={tit:'企业固定资产证明',type:'qygdzczm'}
|
|
sqbtfiles.push(obj)
|
|
sqbtfiles.push(obj)
|
|
}
|
|
}
|
|
- if(params.guaranteeType==2){//反担保人担保
|
|
|
|
|
|
+ if(params.guaranteeType.indexOf('2')>-1){//反担保人担保
|
|
// 选择担保人担保
|
|
// 选择担保人担保
|
|
if(!params.guaranteePhone){
|
|
if(!params.guaranteePhone){
|
|
// 验证手机号
|
|
// 验证手机号
|
|
@@ -2018,6 +2169,16 @@
|
|
return
|
|
return
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if(params.guaranteeType.indexOf('3')>-1){//企业保证
|
|
|
|
+ var obj={tit:'反担保抵(质)押复印件',type:'fdbdyfyj'}
|
|
|
|
+ sqbtfiles.push(obj)
|
|
|
|
+ }
|
|
|
|
+ if(params.guaranteeType.indexOf('4')>-1){//企业保证
|
|
|
|
+ var obj={tit:'反担保企业营业执照',type:'fdbqyyyzz'}
|
|
|
|
+ var objb={tit:'反担保企业征信',type:'fdbqyzx'}
|
|
|
|
+ btfiles.push(obj)
|
|
|
|
+ btfiles.push(objb)
|
|
|
|
+ }
|
|
var b=0;
|
|
var b=0;
|
|
Object.keys(btfiles).some((key) => {
|
|
Object.keys(btfiles).some((key) => {
|
|
if (flist.find(l => l.type == btfiles[key].type)) {
|
|
if (flist.find(l => l.type == btfiles[key].type)) {
|
|
@@ -2060,6 +2221,7 @@
|
|
if(this.ptype=='add'){
|
|
if(this.ptype=='add'){
|
|
getApplicationAdd(params).then(res=>{
|
|
getApplicationAdd(params).then(res=>{
|
|
if(res.code==200){
|
|
if(res.code==200){
|
|
|
|
+ that.ischange=false;
|
|
that.$toast("新增成功")
|
|
that.$toast("新增成功")
|
|
setTimeout(function(){
|
|
setTimeout(function(){
|
|
that.$tab.redirectTo('/work/pages/success')
|
|
that.$tab.redirectTo('/work/pages/success')
|
|
@@ -2069,6 +2231,7 @@
|
|
}else{
|
|
}else{
|
|
getApplicationEdit(params).then(res=>{
|
|
getApplicationEdit(params).then(res=>{
|
|
if(res.code==200){
|
|
if(res.code==200){
|
|
|
|
+ that.ischange=false;
|
|
that.$toast("修改成功")
|
|
that.$toast("修改成功")
|
|
setTimeout(function(){
|
|
setTimeout(function(){
|
|
uni.$emit('refreshywlist')
|
|
uni.$emit('refreshywlist')
|
|
@@ -2177,6 +2340,21 @@
|
|
'<img style="max-width:100%;height:auto;display:block;margin:10rpx auto;" src="' +baseUrlimg);
|
|
'<img style="max-width:100%;height:auto;display:block;margin:10rpx auto;" src="' +baseUrlimg);
|
|
return newContent;
|
|
return newContent;
|
|
},
|
|
},
|
|
|
|
+ getOcrBusinessLicense(url,idx){
|
|
|
|
+ var that=this;
|
|
|
|
+ var obj=this.gdlist[idx];
|
|
|
|
+ var params={
|
|
|
|
+ image:url,
|
|
|
|
+ }
|
|
|
|
+ getOcrBusinessLicense(params).then(res=>{
|
|
|
|
+ if(res.code==200){
|
|
|
|
+ var params=JSON.parse(JSON.stringify(res.data))
|
|
|
|
+ obj.shareholderName=params.enterpriseName
|
|
|
|
+ obj.shareholderIdCard=params.creditCode
|
|
|
|
+ this.gdlist.splice(idx,1,obj)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
getocrIdCard(url,type){
|
|
getocrIdCard(url,type){
|
|
var that=this;
|
|
var that=this;
|
|
var burl=url;
|
|
var burl=url;
|
|
@@ -2210,6 +2388,9 @@
|
|
newobj.bigType=bigType;
|
|
newobj.bigType=bigType;
|
|
this.filelist.push(newobj)
|
|
this.filelist.push(newobj)
|
|
this.datainfo.loanApplicationFjList=JSON.parse(JSON.stringify(this.filelist))
|
|
this.datainfo.loanApplicationFjList=JSON.parse(JSON.stringify(this.filelist))
|
|
|
|
+ if(fileVal=='fdbqyyyzz'){
|
|
|
|
+ this.datainfo.guaranteeShareholderName='';
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// 股东附件上传
|
|
// 股东附件上传
|
|
gdonuploadEnd(item,fileVal,bigType){
|
|
gdonuploadEnd(item,fileVal,bigType){
|
|
@@ -2225,8 +2406,9 @@
|
|
obj.zxurl.push(responseText.fileName)
|
|
obj.zxurl.push(responseText.fileName)
|
|
// obj.zxurl[0]=responseText.fileName
|
|
// obj.zxurl[0]=responseText.fileName
|
|
}else if(type=='zhz'){
|
|
}else if(type=='zhz'){
|
|
- obj.zhizhao.push(responseText.fileName)
|
|
|
|
- // obj.zhizhao[0]=responseText.fileName
|
|
|
|
|
|
+ // obj.zhizhao.push(responseText.fileName)
|
|
|
|
+ obj.zhizhao[0]=responseText.fileName
|
|
|
|
+ this.getOcrBusinessLicense(responseText.urlOnline,idx)
|
|
}
|
|
}
|
|
console.log(this.gdlist,3)
|
|
console.log(this.gdlist,3)
|
|
this.gdlist.splice(idx,1,obj)
|
|
this.gdlist.splice(idx,1,obj)
|