zouling 10 月之前
父節點
當前提交
69f3d44690
共有 1 個文件被更改,包括 11 次插入8 次删除
  1. 11 8
      work/pages/business/add.vue

+ 11 - 8
work/pages/business/add.vue

@@ -2288,11 +2288,6 @@
 						return
 					}
 				}
-				
-				if(!params.guaranteeType){
-					this.$toast("请选择担保类型")
-					return
-				}
 				if(!params.corporationPhone){
 					// 验证手机号
 					this.$toast("请输入法人手机号")
@@ -2356,6 +2351,10 @@
 				if(a==1){
 					return
 				}
+				if(!params.guaranteeType){
+					this.$toast("请选择担保类型")
+					return
+				}
 				var flist=JSON.parse(JSON.stringify(this.filelist));
 				var btfiles=JSON.parse(JSON.stringify(this.btfiles));
 				var sqbtfiles=JSON.parse(JSON.stringify(this.sqbtfiles));
@@ -2724,6 +2723,10 @@
 						if(index!=-1){
 							this.fdarlist[idx].guaranteeInfoFjList.splice(index,1)
 						}
+					}else if(type=='frsfzrmx'){
+						this.datainfo.corporationFront=''
+					}else if(type=='frsfzpormx'){
+						this.datainfo.spouseFront=''
 					}
 				})
 			},
@@ -2756,9 +2759,9 @@
 					// obj.zxurl[0]=responseText.fileName
 				}else if(type=='zhz'){
 					// obj.zhizhao.push(responseText.fileName)
-					// obj.zhizhao[0]=responseText.fileName
-					this.getOcrBusinessLicense(responseText.urlOnline,responseText.fileName,idx)
-					return
+					obj.zhizhao[0]=responseText.fileName
+					// this.getOcrBusinessLicense(responseText.urlOnline,responseText.fileName,idx)
+					// return
 				}
 				console.log(this.gdlist,3)
 				this.gdlist.splice(idx,1,obj)