正在显示
5 个修改的文件
包含
22 行增加
和
20 行删除
... | ... | @@ -74,6 +74,7 @@ Page({ |
74 | 74 | label: '出生日期', |
75 | 75 | bindtype: 'loverbirthday', |
76 | 76 | selected: '', |
77 | + disabled: true, | |
77 | 78 | placeholder: '请选择出生日期', |
78 | 79 | mode: "date", |
79 | 80 | fields: "day", |
... | ... | @@ -1119,6 +1120,8 @@ Page({ |
1119 | 1120 | this.showToast('请选择配偶出生日期') |
1120 | 1121 | return |
1121 | 1122 | } |
1123 | + newdata.spouse_id_card_type = '1' //this.data.lovercardtypeData.selected | |
1124 | + newdata.spouse_birthday = this.data.loverbirthDate.datelong | |
1122 | 1125 | } |
1123 | 1126 | newdata.has_spouse = this.data.hasLover?'y':'n' |
1124 | 1127 | newdata.relationship = this.data.taxperson_relativeData.selected |
... | ... | @@ -1130,8 +1133,6 @@ Page({ |
1130 | 1133 | newdata.education_period = this.data.childedudegreeData.selected |
1131 | 1134 | newdata.school_country = this.data.schoolCountryData.selected |
1132 | 1135 | newdata.children_nation = "中国" |
1133 | - newdata.spouse_id_card_type = '1' //this.data.lovercardtypeData.selected | |
1134 | - newdata.spouse_birthday = this.data.loverbirthDate.datelong | |
1135 | 1136 | newdata.nation = "中国" |
1136 | 1137 | break; |
1137 | 1138 | case 'continuing_education': |
... | ... | @@ -1408,11 +1409,11 @@ Page({ |
1408 | 1409 | this.showToast('请填写租赁合同编号') |
1409 | 1410 | return |
1410 | 1411 | } else if (this.data.leasestartDate.selected.length < 1) { |
1411 | - this.showToast('请选择日期') | |
1412 | + this.showToast('请选择租赁起始日期') | |
1412 | 1413 | return |
1413 | 1414 | } |
1414 | 1415 | if (this.data.leaseendDate.selected.length < 1) { |
1415 | - this.showToast('请选择日期') | |
1416 | + this.showToast('请选择租赁终止日期') | |
1416 | 1417 | return |
1417 | 1418 | } else { |
1418 | 1419 | var activedDate = (Date.parse(new Date('2019-01-01')) / 1000) |
... | ... | @@ -1451,11 +1452,11 @@ Page({ |
1451 | 1452 | this.showToast('请选择配偶出生日期') |
1452 | 1453 | return |
1453 | 1454 | } |
1455 | + newdata.id_card_no = newdata.spouse_id_card_no ? newdata.spouse_id_card_no : '' | |
1456 | + newdata.id_card_type = '1' //this.data.lovercardtypeData.selected | |
1457 | + newdata.birthday = this.data.loverbirthDate.datelong | |
1454 | 1458 | } |
1455 | 1459 | newdata.has_spouse = this.data.hasLover ? 'y' : 'n' |
1456 | - newdata.id_card_no = newdata.spouse_id_card_no ? newdata.spouse_id_card_no:'' | |
1457 | - newdata.id_card_type = '1' //this.data.lovercardtypeData.selected | |
1458 | - newdata.birthday = this.data.loverbirthDate.datelong | |
1459 | 1460 | break; |
1460 | 1461 | } |
1461 | 1462 | ... | ... |
... | ... | @@ -158,7 +158,7 @@ |
158 | 158 | <view style='height:90rpx'> |
159 | 159 | <text class='red_star_right_10'>*</text> |
160 | 160 | <text class='text_777_30 float_left'>病人姓名</text> |
161 | - <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入姓名' name='name' value='{{name}}'></input> | |
161 | + <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入病人姓名' name='name' value='{{name}}'></input> | |
162 | 162 | </view> |
163 | 163 | <view class='divide_line_30'></view> |
164 | 164 | |
... | ... | @@ -326,7 +326,6 @@ |
326 | 326 | <text wx:if="{{reducetypeData.selected=='年度'}}" class='text_black_30 float_right' style='line-height: 90rpx;margin-left:20rpx;text-align: right;color:#FF9F00;font-family: PingFangSC-Semibold;'>¥{{deduction_amount}}/年</text> |
327 | 327 | <!-- <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#FF9F00;' placeholder='请输入扣除金额' type='digit' name='reduce_money'></input> --> |
328 | 328 | </view> |
329 | - <view class='divide_line_30'></view> | |
330 | 329 | |
331 | 330 | </view> |
332 | 331 | |
... | ... | @@ -336,9 +335,9 @@ |
336 | 335 | |
337 | 336 | <view wx:if="{{cur_index=='children_education' || cur_index=='house_fund'}}"> |
338 | 337 | <template is="picker_cell_normal" data="{{...hasLoverData}}" /> |
339 | - <view class='divide_line_30'></view> | |
340 | 338 | </view> |
341 | 339 | <view wx:if="{{hasLover}}"> |
340 | + <view class='divide_line_30'></view> | |
342 | 341 | <view style='height:90rpx'> |
343 | 342 | <text class='text_777_30 float_left head_in'>配偶姓名</text> |
344 | 343 | <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入配偶姓名' name='spouse_name' value='{{spouse_name}}'></input> | ... | ... |
... | ... | @@ -236,13 +236,14 @@ Page({ |
236 | 236 | |
237 | 237 | }, |
238 | 238 | bindinputmobile: function (e) { |
239 | - console.log('bindinputmobile', e) | |
239 | + if (e.detail.value.length == 11 && !format.isMobile(e.detail.value)){ | |
240 | + this.showtoast("手机号码有误") | |
241 | + } | |
240 | 242 | this.setData({ |
241 | 243 | mobile: e.detail.value |
242 | 244 | }) |
243 | 245 | }, |
244 | 246 | nameInput: function (e) { |
245 | - console.log('bindinputname', e) | |
246 | 247 | this.setData({ |
247 | 248 | name: e.detail.value |
248 | 249 | }) | ... | ... |
... | ... | @@ -55,16 +55,16 @@ |
55 | 55 | </view> |
56 | 56 | <view class="divide_line_30"></view> |
57 | 57 | <view class='item_body'> |
58 | - <text class='text_777_30 float_left head_in' style='line-height: 90rpx'>手机号码</text> | |
59 | - <input class='input_wrap' placeholder="请输入手机号" value='{{mobile}}' name='mobile' type='number' maxlength='11' bindblur='bindinputmobile' type='number'></input> | |
58 | + <text class='red_star_right_10'>*</text> | |
59 | + <text class='text_777_30 float_left' style='line-height: 90rpx'>是否境外人员</text> | |
60 | + <text class='text_black_30 float_right' style='line-height: 90rpx' >否</text> | |
60 | 61 | </view> |
62 | + <!-- <template is="picker_cell_normal" data="{{...forignerInfo}}" /> --> | |
61 | 63 | <view class="divide_line_30"></view> |
62 | 64 | <view class='item_body'> |
63 | - <text class='text_777_30 float_left head_in' style='line-height: 90rpx'>是否境外人员</text> | |
64 | - <text class='text_black_30 float_right' style='line-height: 90rpx' >否</text> | |
65 | + <text class='text_777_30 float_left head_in' style='line-height: 90rpx'>联系电话</text> | |
66 | + <input class='input_wrap' placeholder="请输入手机号" value='{{mobile}}' name='mobile' type='number' maxlength='11' bindblur='bindinputmobile' type='number'></input> | |
65 | 67 | </view> |
66 | - <!-- <template is="picker_cell_normal" data="{{...forignerInfo}}" /> --> | |
67 | - | |
68 | 68 | </view> |
69 | 69 | </view> |
70 | 70 | ... | ... |
... | ... | @@ -773,14 +773,15 @@ Page({ |
773 | 773 | }, |
774 | 774 | |
775 | 775 | bindinputmobile: function(e) { |
776 | - console.log('bindinputmobile', e) | |
776 | + if (e.detail.value.length == 11 && !format.isMobile(e.detail.value)) { | |
777 | + this.showtoast("手机号码有误") | |
778 | + } | |
777 | 779 | this.setData({ |
778 | 780 | mobile: e.detail.value |
779 | 781 | }) |
780 | 782 | }, |
781 | 783 | |
782 | 784 | bindinputname: function(e) { |
783 | - console.log('bindinputname', e) | |
784 | 785 | this.setData({ |
785 | 786 | name: e.detail.value |
786 | 787 | }) | ... | ... |
请
注册
或
登录
后发表评论