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