|
@@ -1185,7 +1185,7 @@
|
|
|
<cover-view @click.stop="getGiveupFn" class="txt">放弃编辑</cover-view>
|
|
|
</cover-view>
|
|
|
<!-- #endif -->
|
|
|
-
|
|
|
+ <!--附件 remark==1 后台生成的pdf,自己删除 -->
|
|
|
<pop-up :type='ftype' :xwimgList="xwimgList" :content="content" @getClose='getClose'></pop-up>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -1201,7 +1201,7 @@
|
|
|
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 {uploadmore,selectValueKey} from '@/utils/common.js'
|
|
|
+ import {uploadmore,selectValueKey,showConfirm} from '@/utils/common.js'
|
|
|
import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
|
|
|
import {getDictionaryFn} from "@/api/mine/register.js"
|
|
|
// 340622185605234521
|
|
@@ -1377,11 +1377,13 @@
|
|
|
yhlxidx:0,
|
|
|
sfidx:0,
|
|
|
frhyzkidx:0,
|
|
|
- btfiles:[{tit:'公司章程',type:'gszc'},
|
|
|
+ btfiles:[
|
|
|
+ {tit:'公司章程',type:'gszc'},
|
|
|
{tit:'开户许可证',type:'khxkz'},{tit:'申请企业征信报告',type:'sqqyzxbg'},{tit:'关联企业征信报告',type:'glqyzxbg'},{tit:'企业法人征信报告',type:'qyfrzxbg'},{tit:'实际控股人征信报告',type:'sjkgrzxbg'},
|
|
|
{tit:'户口簿首页',type:'frhkbsy'},
|
|
|
],
|
|
|
- sqbtfiles:[{tit:'委托担保申请书',type:'wtdbsqs'},
|
|
|
+ sqbtfiles:[
|
|
|
+ {tit:'委托担保申请书',type:'wtdbsqs'},
|
|
|
{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'},
|
|
|
],
|
|
@@ -1394,14 +1396,25 @@
|
|
|
// {tit:'法人配偶身份证人面像',type:'frsfzpormx'},{tit:'法人配偶身份证国徽面',type:'frsfzpoghm'},
|
|
|
//担保类型为反担保人担保{tit:'反担保人身份证人面像',type:'fdbrsfzrmx'},{tit:'反担保人身份证国徽面',type:'fdbrsfzghm'},
|
|
|
//担保类型为抵押{tit:'企业固定资产证明',type:'qygdzczm'},
|
|
|
+ ischange:false,
|
|
|
+ isdetail:false,
|
|
|
}
|
|
|
},
|
|
|
onUnload(){
|
|
|
uni.$off('refreshtalb')
|
|
|
},
|
|
|
- // watch(){
|
|
|
-
|
|
|
- // },
|
|
|
+ watch:{
|
|
|
+ datainfo:{
|
|
|
+ handler(newVal, oldVal) {
|
|
|
+ if(this.isdetail){
|
|
|
+ this.isdetail=false
|
|
|
+ }else{
|
|
|
+ this.ischange=true
|
|
|
+ }
|
|
|
+ },
|
|
|
+ deep: true
|
|
|
+ }
|
|
|
+ },
|
|
|
onLoad(e) {
|
|
|
// this.getIdCardDet()
|
|
|
// return
|
|
@@ -1569,9 +1582,23 @@
|
|
|
this.$tab.navigateTo("/work/pages/prove/dbcltips")
|
|
|
},
|
|
|
getBack(){
|
|
|
- uni.navigateBack({
|
|
|
- delta:1
|
|
|
- })
|
|
|
+ // 暂存
|
|
|
+ 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
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
getGiveupFn(){
|
|
|
var that=this;
|
|
@@ -1757,7 +1784,7 @@
|
|
|
// this.dblx=this.sfList[val].text;
|
|
|
this.datainfo.isDuty=this.sfList[val].value;
|
|
|
},
|
|
|
- getZanFn(){
|
|
|
+ getZanFn(type){
|
|
|
var that=this;
|
|
|
var params=this.datainfo;
|
|
|
var gdlist=this.gdlist;
|
|
@@ -1786,6 +1813,7 @@
|
|
|
params.loanApplicationFjList=JSON.parse(JSON.stringify(flist))
|
|
|
getApplicationZc(params).then(res=>{
|
|
|
if(res.code==200){
|
|
|
+ this.ischange=false;
|
|
|
this.$toast('暂存成功')
|
|
|
// 刷新列表
|
|
|
setTimeout(function(){
|
|
@@ -1793,6 +1821,11 @@
|
|
|
that.$tab.reLaunch('/pages/index/index')
|
|
|
}else{
|
|
|
uni.$emit('refreshywlist')
|
|
|
+ if(type&&type=='back'){
|
|
|
+ uni.navigateBack({
|
|
|
+ delta:1
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
},1200)
|
|
|
}
|
|
@@ -1802,6 +1835,7 @@
|
|
|
getApplicationDet(this.id).then(res=>{
|
|
|
if(res.code==200){
|
|
|
this.datainfo=res.data;
|
|
|
+ this.isdetail=true;
|
|
|
if(res.data&&res.data.applicationType==1){
|
|
|
var obj={tit:'当期财务报表',type:'dqcwbb'};
|
|
|
this.sqbtfiles.push(obj)
|
|
@@ -1813,7 +1847,12 @@
|
|
|
this.option.formData=JSON.parse(JSON.stringify(obj))
|
|
|
|
|
|
if(data.loanApplicationFjList){
|
|
|
- this.filelist=JSON.parse(JSON.stringify(data.loanApplicationFjList))
|
|
|
+ // 筛除自动生成的附件
|
|
|
+ var filterlist=JSON.parse(JSON.stringify(data.loanApplicationFjList))
|
|
|
+ this.filelist=filterlist.filter((ite) => {
|
|
|
+ return ite.remark!=1;
|
|
|
+ })
|
|
|
+ // this.filelist=JSON.parse(JSON.stringify(data.loanApplicationFjList))
|
|
|
}
|
|
|
if(data.declareFj){
|
|
|
this.declareFj=data.declareFj;
|
|
@@ -2183,11 +2222,11 @@
|
|
|
}else if(type=='cardf'){
|
|
|
obj.cardf=responseText.fileName
|
|
|
}else if(type=='zx'){
|
|
|
- // obj.zxurl.push(responseText.fileName)
|
|
|
- obj.zxurl[0]=responseText.fileName
|
|
|
+ obj.zxurl.push(responseText.fileName)
|
|
|
+ // obj.zxurl[0]=responseText.fileName
|
|
|
}else if(type=='zhz'){
|
|
|
- // obj.zxurl.push(responseText.fileName)
|
|
|
- obj.zhizhao[0]=responseText.fileName
|
|
|
+ obj.zhizhao.push(responseText.fileName)
|
|
|
+ // obj.zhizhao[0]=responseText.fileName
|
|
|
}
|
|
|
console.log(this.gdlist,3)
|
|
|
this.gdlist.splice(idx,1,obj)
|