正在显示
6 个修改的文件
包含
22 行增加
和
11 行删除
| @@ -98,7 +98,7 @@ | @@ -98,7 +98,7 @@ | ||
| 98 | <view style='padding:30rpx' wx:if="{{cur_status=='support_duty'}}"> | 98 | <view style='padding:30rpx' wx:if="{{cur_status=='support_duty'}}"> |
| 99 | <view style='height:90rpx;width:100%;clear:both;'> | 99 | <view style='height:90rpx;width:100%;clear:both;'> |
| 100 | <text class='text_left'>是否独生子女</text> | 100 | <text class='text_left'>是否独生子女</text> |
| 101 | - <text class='text_right_333'>{{singlechildtype[datas.support_type]}}</text> | 101 | + <text class='text_right_333'>{{datas.is_single=='y'?"是":"否"}}</text> |
| 102 | </view> | 102 | </view> |
| 103 | <view style='height:90rpx;width:100%;clear:both;'> | 103 | <view style='height:90rpx;width:100%;clear:both;'> |
| 104 | <text class='text_left'>被赡养人姓名</text> | 104 | <text class='text_left'>被赡养人姓名</text> |
| @@ -162,12 +162,12 @@ | @@ -162,12 +162,12 @@ | ||
| 162 | <text class='text_right_333'>{{datas.owner_credit_no}}</text> | 162 | <text class='text_right_333'>{{datas.owner_credit_no}}</text> |
| 163 | </view> | 163 | </view> |
| 164 | <view style='height:90rpx;width:100%;clear:both;'> | 164 | <view style='height:90rpx;width:100%;clear:both;'> |
| 165 | - <text class='text_left'>证件类型</text> | ||
| 166 | - <text class='text_right_333'>{{datas.certification_type}}</text> | 165 | + <text class='text_left'>证书类型</text> |
| 166 | + <text class='text_right_333'>{{datas.owner_id_cartd_type=='1'?"居民身份证":datas.owner_id_cartd_type}}</text> | ||
| 167 | </view> | 167 | </view> |
| 168 | <view style='height:90rpx;width:100%;clear:both;'> | 168 | <view style='height:90rpx;width:100%;clear:both;'> |
| 169 | - <text class='text_left'>证件号码</text> | ||
| 170 | - <text class='text_right_333'>{{datas.certification_no}}</text> | 169 | + <text class='text_left'>证书号码</text> |
| 170 | + <text class='text_right_333'>{{datas.owner_id_cartd_no}}</text> | ||
| 171 | </view> | 171 | </view> |
| 172 | <view style='width:100%;height:20rpx;background:#f9f9f9'></view> | 172 | <view style='width:100%;height:20rpx;background:#f9f9f9'></view> |
| 173 | <view style='height:90rpx;width:100%;clear:both;'> | 173 | <view style='height:90rpx;width:100%;clear:both;'> |
| @@ -9,6 +9,7 @@ Page({ | @@ -9,6 +9,7 @@ Page({ | ||
| 9 | data: { | 9 | data: { |
| 10 | datas: ["", ""], | 10 | datas: ["", ""], |
| 11 | is_declared: false, | 11 | is_declared: false, |
| 12 | + hascompleted:false, | ||
| 12 | additionlist: [], | 13 | additionlist: [], |
| 13 | declareStatus: { | 14 | declareStatus: { |
| 14 | "to_declare ": "待申报", | 15 | "to_declare ": "待申报", |
| @@ -77,6 +78,9 @@ Page({ | @@ -77,6 +78,9 @@ Page({ | ||
| 77 | onShow: function () { | 78 | onShow: function () { |
| 78 | console.log("onShow"); | 79 | console.log("onShow"); |
| 79 | var that = this | 80 | var that = this |
| 81 | + wx.showLoading({ | ||
| 82 | + title: '', | ||
| 83 | + }) | ||
| 80 | this.getAdditionList() | 84 | this.getAdditionList() |
| 81 | }, | 85 | }, |
| 82 | 86 | ||
| @@ -100,6 +104,13 @@ Page({ | @@ -100,6 +104,13 @@ Page({ | ||
| 100 | additionlist: res.data.items | 104 | additionlist: res.data.items |
| 101 | }) | 105 | }) |
| 102 | } | 106 | } |
| 107 | + wx.hideLoading() | ||
| 108 | + }, | ||
| 109 | + complete(res) { | ||
| 110 | + that.setData({ | ||
| 111 | + hascompleted: true | ||
| 112 | + }) | ||
| 113 | + console.log(res.data) | ||
| 103 | } | 114 | } |
| 104 | }) | 115 | }) |
| 105 | }, | 116 | }, |
| @@ -74,7 +74,7 @@ | @@ -74,7 +74,7 @@ | ||
| 74 | </view> --> | 74 | </view> --> |
| 75 | 75 | ||
| 76 | </view> | 76 | </view> |
| 77 | - <view wx:else style='background:#fff;'> | 77 | + <view wx:if="{{hascompleted&&additionlist.length<1}}" style='background:#fff;'> |
| 78 | <image style='width:55%;height:254rpx;margin:400rpx 166rpx 0 166rpx;' src='/images/noreduce_img.png'></image> | 78 | <image style='width:55%;height:254rpx;margin:400rpx 166rpx 0 166rpx;' src='/images/noreduce_img.png'></image> |
| 79 | </view> | 79 | </view> |
| 80 | </view> | 80 | </view> |
| @@ -276,7 +276,7 @@ Page({ | @@ -276,7 +276,7 @@ Page({ | ||
| 276 | return | 276 | return |
| 277 | } | 277 | } |
| 278 | if (this.data.reduce_amount < 1 || this.data.reduce_amount > 1000) { | 278 | if (this.data.reduce_amount < 1 || this.data.reduce_amount > 1000) { |
| 279 | - this.showToast("请输入合理金额") | 279 | + this.showToast("本年度月扣除金额不得大于1000") |
| 280 | return | 280 | return |
| 281 | } | 281 | } |
| 282 | } else { | 282 | } else { |
| @@ -21,9 +21,9 @@ | @@ -21,9 +21,9 @@ | ||
| 21 | <template is="picker_cell_normal" data="{{...shareMethodData}}" /> | 21 | <template is="picker_cell_normal" data="{{...shareMethodData}}" /> |
| 22 | <view class='divide_line_f5f5f5'></view> | 22 | <view class='divide_line_f5f5f5'></view> |
| 23 | <view style='height:90rpx'> | 23 | <view style='height:90rpx'> |
| 24 | - <text style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #666;'>本年度月扣除金额</text> | ||
| 25 | - <text class='float_right' style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #999;' name='country'>/月</text> | ||
| 26 | - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入扣除金额(不超过1000)' type='digit' name='reduce_amount' bindinput='bindinput'></input> | 24 | + <text style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #666'>本年度月扣除金额</text> |
| 25 | + <text class='float_right' style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #333;margin-left:20rpx' name='country'>/月</text> | ||
| 26 | + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入(不超过1000)' type='digit' name='reduce_amount' bindinput='bindinput'></input> | ||
| 27 | </view> | 27 | </view> |
| 28 | </view> | 28 | </view> |
| 29 | <view wx:elif="{{issinglechildData.selected=='是'}}"> | 29 | <view wx:elif="{{issinglechildData.selected=='是'}}"> |
请
注册
或
登录
后发表评论