|
@@ -31,6 +31,8 @@ Page({ |
|
@@ -31,6 +31,8 @@ Page({ |
31
|
long_birth_date: 0,
|
31
|
long_birth_date: 0,
|
32
|
long_start_date: 0,
|
32
|
long_start_date: 0,
|
33
|
long_end_date: 0,
|
33
|
long_end_date: 0,
|
|
|
34
|
+ personal_equity_total:0,
|
|
|
35
|
+ company_equity_total:0,
|
34
|
huji_address_detail: '',
|
36
|
huji_address_detail: '',
|
35
|
relativeData: {
|
37
|
relativeData: {
|
36
|
isrequre: true,
|
38
|
isrequre: true,
|
|
@@ -345,6 +347,8 @@ Page({ |
|
@@ -345,6 +347,8 @@ Page({ |
345
|
specificIndustryInfo: this.data.specificIndustryInfo,
|
347
|
specificIndustryInfo: this.data.specificIndustryInfo,
|
346
|
genderData: this.data.genderData,
|
348
|
genderData: this.data.genderData,
|
347
|
bankInfo: this.data.bankInfo,
|
349
|
bankInfo: this.data.bankInfo,
|
|
|
350
|
+ personal_equity_total:tax_info.personal_equity_total,
|
|
|
351
|
+ company_equity_total: tax_info.company_equity_total,
|
348
|
|
352
|
|
349
|
professionData: this.data.professionData,
|
353
|
professionData: this.data.professionData,
|
350
|
degreeData: this.data.degreeData,
|
354
|
degreeData: this.data.degreeData,
|
|
@@ -808,6 +812,20 @@ Page({ |
|
@@ -808,6 +812,20 @@ Page({ |
808
|
})
|
812
|
})
|
809
|
},
|
813
|
},
|
810
|
|
814
|
|
|
|
815
|
+ personalmoney:function(e){
|
|
|
816
|
+ console.log('personalmoney', e)
|
|
|
817
|
+ this.setData({
|
|
|
818
|
+ personal_equity_total: e.detail.value
|
|
|
819
|
+ })
|
|
|
820
|
+ },
|
|
|
821
|
+
|
|
|
822
|
+ companymoney:function(e){
|
|
|
823
|
+ console.log('companymoney', e)
|
|
|
824
|
+ this.setData({
|
|
|
825
|
+ company_equity_total: e.detail.value
|
|
|
826
|
+ })
|
|
|
827
|
+ },
|
|
|
828
|
+
|
811
|
formSubmit: function(e) {
|
829
|
formSubmit: function(e) {
|
812
|
console.log("date", Date.parse(new Date(this.data.birthday)) / 1000)
|
830
|
console.log("date", Date.parse(new Date(this.data.birthday)) / 1000)
|
813
|
var regEmail = new RegExp("^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,20}[a-z0-9]+$");
|
831
|
var regEmail = new RegExp("^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,20}[a-z0-9]+$");
|
|
@@ -859,10 +877,10 @@ Page({ |
|
@@ -859,10 +877,10 @@ Page({ |
859
|
} else if (formdata.email && formdata.email.length > 0 && !regEmail.test(formdata.email)) {
|
877
|
} else if (formdata.email && formdata.email.length > 0 && !regEmail.test(formdata.email)) {
|
860
|
this.showtoast('请输入正确邮箱');
|
878
|
this.showtoast('请输入正确邮箱');
|
861
|
return
|
879
|
return
|
862
|
- } else if (formdata.company_equity_total && formdata.company_equity_total.length > 0 && !regMoney.test(formdata.company_equity_total)) {
|
880
|
+ } else if (this.data.company_equity_total && this.data.company_equity_total.length > 0 && !regMoney.test(this.data.company_equity_total)) {
|
863
|
this.showtoast('请输入正确金额');
|
881
|
this.showtoast('请输入正确金额');
|
864
|
return
|
882
|
return
|
865
|
- } else if (formdata.personal_equity_total && formdata.personal_equity_total.length > 0 && !regMoney.test(formdata.personal_equity_total)) {
|
883
|
+ } else if (this.data.personal_equity_total && this.data.personal_equity_total.length > 0 && !regMoney.test(this.data.personal_equity_total)) {
|
866
|
this.showtoast('请输入正确金额');
|
884
|
this.showtoast('请输入正确金额');
|
867
|
return
|
885
|
return
|
868
|
}
|
886
|
}
|
|
@@ -929,8 +947,8 @@ Page({ |
|
@@ -929,8 +947,8 @@ Page({ |
929
|
"is_specific_profession": that.data.specificIndustryInfo.selected,
|
947
|
"is_specific_profession": that.data.specificIndustryInfo.selected,
|
930
|
"is_investor": that.data.investInfo.selected,
|
948
|
"is_investor": that.data.investInfo.selected,
|
931
|
"is_business_angel": that.data.investpersonalInfo.selected,
|
949
|
"is_business_angel": that.data.investpersonalInfo.selected,
|
932
|
- "company_equity_total": parseFloat(formdata.company_equity_total) > 0 ? parseFloat(formdata.company_equity_total) : that.data.taxInfo.company_equity_total,
|
|
|
933
|
- "personal_equity_total": parseFloat(formdata.personal_equity_total) > 0 ? parseFloat(formdata.personal_equity_total) : that.data.taxInfo.personal_equity_total,
|
950
|
+ "company_equity_total": parseFloat(that.data.company_equity_total) ,
|
|
|
951
|
+ "personal_equity_total":parseFloat(that.data.personal_equity_total) ,
|
934
|
"employee_no": formdata.employee_no.length > 0 ? formdata.employee_no : that.data.taxInfo.employee_no,
|
952
|
"employee_no": formdata.employee_no.length > 0 ? formdata.employee_no : that.data.taxInfo.employee_no,
|
935
|
},
|
953
|
},
|
936
|
header: {
|
954
|
header: {
|