提交 c4c8424b10a573358633123143540140e4cccf01

作者 pangy
2 个父辈 6b129e7a 919cc60d

Merge branch 'dev_py' into dev2.0

@@ -1116,7 +1116,7 @@ Page({ @@ -1116,7 +1116,7 @@ Page({
1116 if (this.data.house_type == "house_fund_loan") { 1116 if (this.data.house_type == "house_fund_loan") {
1117 newdata.type = 'loan' 1117 newdata.type = 'loan'
1118 1118
1119 - if (this.data.houseLocateInfo.address_value.length < 1) { 1119 + if (this.data.houseLocateInfo.address_value[0].length < 1) {
1120 this.showToast('请选择住房地址') 1120 this.showToast('请选择住房地址')
1121 return 1121 return
1122 } else if (this.data.identifytypeData.selected.length < 1) { 1122 } else if (this.data.identifytypeData.selected.length < 1) {
@@ -1143,17 +1143,17 @@ Page({ @@ -1143,17 +1143,17 @@ Page({
1143 } else if (this.data.firstpaybackDate.selected.length < 1) { 1143 } else if (this.data.firstpaybackDate.selected.length < 1) {
1144 this.showToast('请选择首次还款日期') 1144 this.showToast('请选择首次还款日期')
1145 return 1145 return
1146 - } else if (!formdata.loan_datelong || formdata.loan_datelong.length < 1) { 1146 + } else if (!formdata.loan_months || formdata.loan_months.length < 1) {
1147 this.showToast('请选择贷款期限') 1147 this.showToast('请选择贷款期限')
1148 return 1148 return
1149 } 1149 }
1150 newdata.loan_before_marry = this.data.beforemarryData.selected == "是" ? 'y' : 'n' 1150 newdata.loan_before_marry = this.data.beforemarryData.selected == "是" ? 'y' : 'n'
1151 newdata.loan_by_self = this.data.isselfData.selected == "是" ? 'y' : 'n' 1151 newdata.loan_by_self = this.data.isselfData.selected == "是" ? 'y' : 'n'
1152 - newdata.identify_type = this.data.identifytypeData.selected 1152 + newdata.certification_type = this.data.identifytypeData.selected
1153 1153
1154 newdata.loan_type = this.data.loantypeData.selected 1154 newdata.loan_type = this.data.loantypeData.selected
1155 newdata.loan_bank = this.data.bankInfo.selected 1155 newdata.loan_bank = this.data.bankInfo.selected
1156 - newdata.payback_date = this.data.firstpaybackDate.selected 1156 + newdata.loan_start = this.data.firstpaybackDate.datelong
1157 // newdata.loan_datelong = this.data.loandatelongData.selected 1157 // newdata.loan_datelong = this.data.loandatelongData.selected
1158 var request_loan_address = this.getLoanAddressRequest() 1158 var request_loan_address = this.getLoanAddressRequest()
1159 newdata.house_address = request_loan_address 1159 newdata.house_address = request_loan_address
@@ -1565,7 +1565,7 @@ Page({ @@ -1565,7 +1565,7 @@ Page({
1565 case 'payback_date': 1565 case 'payback_date':
1566 var firstpayback_Date = this.data.firstpaybackDate 1566 var firstpayback_Date = this.data.firstpaybackDate
1567 firstpayback_Date.selected = e.detail.value 1567 firstpayback_Date.selected = e.detail.value
1568 - console.log('payback_date', Date.parse(new Date(e.detail.value))) 1568 + firstpayback_Date.datelong = Date.parse(new Date(e.detail.value)) / 1000,
1569 this.setData({ 1569 this.setData({
1570 firstpaybackDate: firstpayback_Date 1570 firstpaybackDate: firstpayback_Date
1571 }) 1571 })
@@ -238,7 +238,7 @@ @@ -238,7 +238,7 @@
238 <view style='height:90rpx'> 238 <view style='height:90rpx'>
239 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> 239 <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
240 <text class='text_black_30 float_left'>贷款期限(月数)</text> 240 <text class='text_black_30 float_left'>贷款期限(月数)</text>
241 - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入贷款月数' name='loan_datelong' type='number'></input> 241 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入贷款月数' name='loan_months' type='number'></input>
242 </view> 242 </view>
243 </view> 243 </view>
244 244
注册登录 后发表评论