Commit df1c8c22 authored by zhengke's avatar zhengke

修改

parent 20908e74
......@@ -251,8 +251,71 @@
(res) => {
uni.hideLoading();
if (res.resultCode == 1) {
this.msg=res.data;
this.msg.FoundingTime = res.data.FoundingTimeStr;
if(res.data){
if(res.data.CompanyName){
this.msg.CompanyName=res.data.CompanyName;
}
if(res.data.CompanyEnName){
this.msg.CompanyEnName=res.data.CompanyEnName;
}
if(res.data.Principal){
this.msg.Principal=res.data.Principal;
}
if(res.data.Mobile){
this.msg.Mobile=res.data.Mobile;
}
if(res.data.EMail){
this.msg.EMail=res.data.EMail;
}
if(res.data.LegalPerson){
this.msg.LegalPerson=res.data.LegalPerson;
}
if(res.data.WechatNo){
this.msg.WechatNo=res.data.WechatNo;
}
if(res.data.CompanyIntro){
this.msg.CompanyIntro=res.data.CompanyIntro;
}
if(res.data.DomainUrl){
this.msg.DomainUrl=res.data.DomainUrl;
}
// if(res.data.FoundingTime){
// this.msg.FoundingTime=res.data.FoundingTime;
// }
if(res.data.EmployeeNum){
this.msg.EmployeeNum=res.data.EmployeeNum;
}
if(res.data.AnnualSales){
this.msg.AnnualSales=res.data.AnnualSales;
}
if(res.data.AnnualImport){
this.msg.AnnualImport=res.data.AnnualImport;
}
if(res.data.Address){
this.msg.Address=res.data.Address;
}
if(res.data.EnAddress){
this.msg.EnAddress=res.data.EnAddress;
}
if(res.data.Industry){
this.msg.Industry=res.data.Industry;
}
if(res.data.ExportCountry){
this.msg.ExportCountry=res.data.ExportCountry;
}
if(res.data.ImportCountry){
this.msg.ImportCountry=res.data.ImportCountry;
}
if(res.data.ImportCategory){
this.msg.ImportCategory=res.data.ImportCategory;
}
if(res.data.OtherInfo){
this.msg.OtherInfo=res.data.OtherInfo;
}
if(res.data.FoundingTimeStr){
this.msg.FoundingTime = res.data.FoundingTimeStr;
}
}
}
}
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment