正在显示
4 个修改的文件
包含
22 行增加
和
16 行删除
| ... | ... | @@ -40,6 +40,8 @@ Page({ |
| 40 | 40 | datas: curdata, |
| 41 | 41 | supporter_id: curdata.id, |
| 42 | 42 | name: curdata.co_supporter, |
| 43 | + cardtype: curdata.id_card_type, | |
| 44 | + nation: curdata.nation, | |
| 43 | 45 | id_card_no: curdata.id_card_no, |
| 44 | 46 | birthday: curdata.birthday ? this.formatDate(curdata.birthday) : "", |
| 45 | 47 | birthday_datelong: curdata.birthday |
| ... | ... | @@ -154,9 +156,9 @@ Page({ |
| 154 | 156 | this.showToast("请选择证照类型") |
| 155 | 157 | return; |
| 156 | 158 | }else if (!formdata.id_card_no || formdata.id_card_no.length < 1) { |
| 157 | - this.showToast("请输入身份证号") | |
| 159 | + this.showToast("请输入证件号码") | |
| 158 | 160 | return; |
| 159 | - } else if (!format.isIDCardNum(formdata.id_card_no)) { | |
| 161 | + } else if (this.data.cardtype=='居民身份证'&&!format.isIDCardNum(formdata.id_card_no)) { | |
| 160 | 162 | this.showToast("证件号码有误") |
| 161 | 163 | return; |
| 162 | 164 | } |
| ... | ... | @@ -165,7 +167,7 @@ Page({ |
| 165 | 167 | return; |
| 166 | 168 | } |
| 167 | 169 | if (this.data.nation.length < 1) { |
| 168 | - this.showToast("请选择出生日期") | |
| 170 | + this.showToast("请选择国籍") | |
| 169 | 171 | return; |
| 170 | 172 | } |
| 171 | 173 | this.goAdd(formdata) | ... | ... |
| ... | ... | @@ -32,7 +32,7 @@ |
| 32 | 32 | </view> |
| 33 | 33 | </view> |
| 34 | 34 | <view style="margin:0 30rpx;background:#e5e5e5;height:2rpx;"></view> |
| 35 | - <picker mode="date" value="{{date}}" start="1919-01-01" end="2017-09-01" bindchange="bindDateChange"> | |
| 35 | + <picker mode="date" value="{{date}}" start="1949-01-01" end="2019-01-01" bindchange="bindDateChange"> | |
| 36 | 36 | <view style='height:90rpx;padding:0 30rpx'> |
| 37 | 37 | <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> |
| 38 | 38 | <text style='color:#777;font-size: 30rpx;line-height: 90rpx; float:left'>共同赡养人出生日期</text> | ... | ... |
| ... | ... | @@ -56,11 +56,11 @@ |
| 56 | 56 | <text class='text_left'>教育终止时间</text> |
| 57 | 57 | <text class='text_right_333'>{{datas.education_period_end}}</text> |
| 58 | 58 | </view> |
| 59 | - <view style='height:90rpx;width:100%;clear:both;'> | |
| 59 | + <view wx:if="{{datas.school_country&&datas.school_country.length>1}}" style='height:90rpx;width:100%;clear:both;'> | |
| 60 | 60 | <text class='text_left'>就读国家(地区)</text> |
| 61 | 61 | <text class='text_right_333'>{{datas.school_country&&datas.school_country.length>0?datas.school_country:'中国'}}</text> |
| 62 | 62 | </view> |
| 63 | - <view style='width:100%;clear:both;'> | |
| 63 | + <view wx:if="{{datas.school_name&&datas.school_name.length>1}}" style='width:100%;clear:both;'> | |
| 64 | 64 | <text class='text_left'>就读学校名称</text> |
| 65 | 65 | <view class='float_right' style='padding:12px 0;font-family: PingFangSC-Regular;font-size: 28rpx;color: #333;line-height:40rpx;max-width:500rpx'>{{datas.school_name}}</view> |
| 66 | 66 | <!-- <text class='text_right_333'>{{datas.school_name}}</text> --> |
| ... | ... | @@ -172,7 +172,7 @@ |
| 172 | 172 | <text class='text_left'>出租方类型</text> |
| 173 | 173 | <text class='text_right_333'>{{datas.owner_type}}</text> |
| 174 | 174 | </view> |
| 175 | - <view style='width:100%;clear:both;'> | |
| 175 | + <view wx:if="{{datas.owner_name&&datas.owner_name.length>1}}" style='width:100%;clear:both;'> | |
| 176 | 176 | <text class='text_left'>出租方名称</text> |
| 177 | 177 | <view class='float_right' style='padding:12px 0;font-family: PingFangSC-Regular;font-size: 28rpx;color: #333;line-height:40rpx;max-width:500rpx'>{{datas.owner_name}}</view> |
| 178 | 178 | <!-- <text class='text_right_333'>{{datas.owner_name}}</text> --> |
| ... | ... | @@ -184,11 +184,11 @@ |
| 184 | 184 | <text class='text_right_333'>{{datas.owner_credit_no}}</text> |
| 185 | 185 | </view> --> |
| 186 | 186 | <view wx:if="{{datas.owner_type=='个人'}}"> |
| 187 | - <view style='height:90rpx;width:100%;clear:both;'> | |
| 187 | + <view wx:if="{{datas.owner_id_card_type&&datas.owner_id_card_type.length>1}}" style='height:90rpx;width:100%;clear:both;'> | |
| 188 | 188 | <text class='text_left'>证照类型</text> |
| 189 | 189 | <text class='text_right_333'>{{datas.owner_id_card_type=='1'?"居民身份证":datas.owner_id_card_type}}</text> |
| 190 | 190 | </view> |
| 191 | - <view style='height:90rpx;width:100%;clear:both;'> | |
| 191 | + <view wx:if="{{datas.owner_id_card_no&&datas.owner_id_card_no.length>1}}" style='height:90rpx;width:100%;clear:both;'> | |
| 192 | 192 | <text class='text_left'>证照号码</text> |
| 193 | 193 | <text class='text_right_333'>{{datas.owner_id_card_no}}</text> |
| 194 | 194 | </view> | ... | ... |
| ... | ... | @@ -59,9 +59,9 @@ |
| 59 | 59 | </view> |
| 60 | 60 | <view style='padding-right: 30rpx'> |
| 61 | 61 | <view class='divide_line_f5f5f5' style="margin-bottom:6rpx"></view> |
| 62 | - <view style='height:70rpx'> | |
| 63 | - <text class='text_999_28 ' style='line-height:70rpx'>子女姓名:</text> | |
| 64 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.children_name}}</text> | |
| 62 | + <view> | |
| 63 | + <text class='text_999_28 float_left' style='line-height:70rpx;'>子女姓名:</text> | |
| 64 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx;word-wrap: break-word;'>{{item.children_name}}</text> | |
| 65 | 65 | </view> |
| 66 | 66 | <view style='height:70rpx'> |
| 67 | 67 | <text class='text_999_28 ' style='line-height:70rpx'>分配比例:</text> |
| ... | ... | @@ -194,9 +194,13 @@ |
| 194 | 194 | |
| 195 | 195 | <view style='padding-right:30rpx'> |
| 196 | 196 | <view class='divide_line_f5f5f5'></view> |
| 197 | - <view style='height:70rpx'> | |
| 197 | + <!-- <view style='height:70rpx'> | |
| 198 | 198 | <text class='text_999_28 ' style='line-height:70rpx'>被赡养人姓名:</text> |
| 199 | 199 | <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.supported_name}}</text> |
| 200 | + </view> --> | |
| 201 | + <view> | |
| 202 | + <text class='text_999_28 float_left' style='line-height:70rpx;'>被赡养人姓名:</text> | |
| 203 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx;word-wrap: break-word;'>{{item.supported_name}}</text> | |
| 200 | 204 | </view> |
| 201 | 205 | <view style='height:70rpx'> |
| 202 | 206 | <text class='text_999_28 ' style='line-height:70rpx'>与纳税人关系:</text> |
| ... | ... | @@ -226,8 +230,8 @@ |
| 226 | 230 | <view style='padding-right:30rpx'> |
| 227 | 231 | <view class='divide_line_f5f5f5'></view> |
| 228 | 232 | <view> |
| 229 | - <text class='text_999_28 float_left' style='line-height:70rpx;'>共同赡养人姓名:</text> | |
| 230 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdetail.co_supporter}}</text> | |
| 233 | + <text class='text_999_28 float_left' style='line-height:70rpx;'>共同赡养人姓名:</text> | |
| 234 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx;word-wrap: break-word;'>{{itemdetail.co_supporter}}</text> | |
| 231 | 235 | </view> |
| 232 | 236 | <view style='height:70rpx'> |
| 233 | 237 | <text class='text_999_28 ' style='line-height:70rpx'>共同赡养人证照类型:</text> |
| ... | ... | @@ -249,7 +253,7 @@ |
| 249 | 253 | <text class='text_999_28 ' style='line-height:70rpx'>与纳税人关系:</text> |
| 250 | 254 | <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdetail.relationship}}</text> |
| 251 | 255 | </view> |
| 252 | - <view class='float_right' wx:if="{{employee_status!='inactive'&&(item.status=='failed'||item.status=='to_declare')}}"> | |
| 256 | + <view class='float_right'> | |
| 253 | 257 | <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id="{{'co_supporter'+index}}" bindtap='godelete'>删除</text> |
| 254 | 258 | <text class='text_blue_28 ' style='line-height:90rpx;' id="{{'co_supporter'+index}}" bindtap='goedit'>编辑</text> |
| 255 | 259 | </view> | ... | ... |
请
注册
或
登录
后发表评论