正在显示
2 个修改的文件
包含
14 行增加
和
7 行删除
| ... | ... | @@ -160,6 +160,13 @@ Page({ |
| 160 | 160 | newdata[i].house_address_new = newdata[i].house_address.province + newdata[i].house_address.city + newdata[i].house_address.district |
| 161 | 161 | } |
| 162 | 162 | } |
| 163 | + if (newdata[i].co_supporters && newdata[i].co_supporters.length>0){ | |
| 164 | + for (var j = 0; j < newdata[i].co_supporters.length;j++){ | |
| 165 | + if (newdata[i].co_supporters[j].birthday && newdata[i].patient_birthday > 0) { | |
| 166 | + newdata[i].co_supporters[j].birthday = format.formatTime_date(newdata[i].co_supporters[j].birthday) | |
| 167 | + } | |
| 168 | + } | |
| 169 | + } | |
| 163 | 170 | } |
| 164 | 171 | if(this.data.house_type==''){ |
| 165 | 172 | this.setData({ | ... | ... |
| ... | ... | @@ -145,7 +145,7 @@ |
| 145 | 145 | </view> |
| 146 | 146 | |
| 147 | 147 | <view wx:if="{{cur_status=='support_duty'}}"> |
| 148 | - <view wx:for="{{additionInfo}}" wx:for-index="idx"> | |
| 148 | + <view wx:for="{{additionInfo}}" > | |
| 149 | 149 | <view style='margin:30rpx;padding-left:30rpx' class='card_rectangle_bg_column'> |
| 150 | 150 | <view style='height:110rpx'> |
| 151 | 151 | <text class='text_gray_36 float_left' style='line-height:110rpx'>被赡养人</text> |
| ... | ... | @@ -180,8 +180,8 @@ |
| 180 | 180 | </view> |
| 181 | 181 | |
| 182 | 182 | </view> |
| 183 | - <view wx:if="{{item.co_supporters&&item.co_supporters.length>0}}" wx:for-item="itemdata"> | |
| 184 | - <view wx:for="{{item.co_supporters}}" style='margin:30rpx;padding-left:30rpx' class='card_rectangle_bg_column'> | |
| 183 | + <view wx:if="{{item.co_supporters&&item.co_supporters.length>0}}" > | |
| 184 | + <view wx:for="{{item.co_supporters}}" style='margin:30rpx;padding-left:30rpx' class='card_rectangle_bg_column' wx:for-item="itemdetail"> | |
| 185 | 185 | <view style='height:110rpx'> |
| 186 | 186 | <text class='text_gray_36 float_left' style='line-height:110rpx'>共同赡养人</text> |
| 187 | 187 | </view> |
| ... | ... | @@ -189,7 +189,7 @@ |
| 189 | 189 | <view class='divide_line_f5f5f5'></view> |
| 190 | 190 | <view style='height:70rpx'> |
| 191 | 191 | <text class='text_999_28 ' style='line-height:70rpx'>共同赡养人姓名:</text> |
| 192 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdata.co_supporter}}</text> | |
| 192 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdetail.co_supporter}}</text> | |
| 193 | 193 | </view> |
| 194 | 194 | <view style='height:70rpx'> |
| 195 | 195 | <text class='text_999_28 ' style='line-height:70rpx'>共同赡养人证照类型:</text> |
| ... | ... | @@ -197,11 +197,11 @@ |
| 197 | 197 | </view> |
| 198 | 198 | <view style='height:70rpx'> |
| 199 | 199 | <text class='text_999_28 ' style='line-height:70rpx'>共同赡养人证照号码:</text> |
| 200 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdata.id_card_no}}</text> | |
| 200 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdetail.id_card_no}}</text> | |
| 201 | 201 | </view> |
| 202 | 202 | <view style='height:70rpx'> |
| 203 | 203 | <text class='text_999_28 ' style='line-height:70rpx'>共同赡养人出生日期:</text> |
| 204 | - <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdata.birthday}}</text> | |
| 204 | + <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdetail.birthday}}</text> | |
| 205 | 205 | </view> |
| 206 | 206 | <view style='height:70rpx'> |
| 207 | 207 | <text class='text_999_28 ' style='line-height:70rpx'>共同赡养人国籍:</text> |
| ... | ... | @@ -209,7 +209,7 @@ |
| 209 | 209 | </view> |
| 210 | 210 | <view style='height:70rpx'> |
| 211 | 211 | <text class='text_999_28 ' style='line-height:70rpx'>与纳税人关系:</text> |
| 212 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdata.relationship}}</text> | |
| 212 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdetail.relationship}}</text> | |
| 213 | 213 | </view> |
| 214 | 214 | </view> |
| 215 | 215 | </view> | ... | ... |
请
注册
或
登录
后发表评论