正在显示
4 个修改的文件
包含
11 行增加
和
6 行删除
@@ -104,14 +104,14 @@ | @@ -104,14 +104,14 @@ | ||
104 | 104 | ||
105 | <!-- 赡养老人 --> | 105 | <!-- 赡养老人 --> |
106 | <view style='padding:0 30rpx' wx:if="{{cur_status=='support_duty'}}"> | 106 | <view style='padding:0 30rpx' wx:if="{{cur_status=='support_duty'}}"> |
107 | - <view style='height:90rpx;width:100%;clear:both;'> | 107 | + <!-- <view style='height:90rpx;width:100%;clear:both;'> |
108 | <text class='text_left'>是否独生子女</text> | 108 | <text class='text_left'>是否独生子女</text> |
109 | <text class='text_right_333'>{{datas.is_single=='n'?"否":"是"}}</text> | 109 | <text class='text_right_333'>{{datas.is_single=='n'?"否":"是"}}</text> |
110 | </view> | 110 | </view> |
111 | <view wx:if="{{datas.is_single=='y'}}" style='height:90rpx;width:100%;clear:both;'> | 111 | <view wx:if="{{datas.is_single=='y'}}" style='height:90rpx;width:100%;clear:both;'> |
112 | <text class='text_left'>分摊方式</text> | 112 | <text class='text_left'>分摊方式</text> |
113 | <text class='text_right_333'>{{datas.share_method}}</text> | 113 | <text class='text_right_333'>{{datas.share_method}}</text> |
114 | - </view> | 114 | + </view> --> |
115 | <view style='height:90rpx;width:100%;clear:both;'> | 115 | <view style='height:90rpx;width:100%;clear:both;'> |
116 | <text class='text_left'>被赡养人姓名</text> | 116 | <text class='text_left'>被赡养人姓名</text> |
117 | <text class='text_right_333'>{{datas.supported_name}}</text> | 117 | <text class='text_right_333'>{{datas.supported_name}}</text> |
@@ -565,7 +565,7 @@ Page({ | @@ -565,7 +565,7 @@ Page({ | ||
565 | bindinput: function(e) { | 565 | bindinput: function(e) { |
566 | console.log("bindinput", e) | 566 | console.log("bindinput", e) |
567 | var inputamount | 567 | var inputamount |
568 | - if (e.detail.value && e.detail.value.replace(/\s+/g, "").length>0){ | 568 | + if (e.detail.value && e.detail.value.replace(/\s|\xA0/g, "").length>0){ |
569 | inputamount = parseFloat(e.detail.value)+0 | 569 | inputamount = parseFloat(e.detail.value)+0 |
570 | }else{ | 570 | }else{ |
571 | inputamount = -1 | 571 | inputamount = -1 |
@@ -573,6 +573,7 @@ Page({ | @@ -573,6 +573,7 @@ Page({ | ||
573 | this.setData({ | 573 | this.setData({ |
574 | reduce_amount: inputamount | 574 | reduce_amount: inputamount |
575 | }) | 575 | }) |
576 | + console.log("reduce_amount", inputamount) | ||
576 | }, | 577 | }, |
577 | 578 | ||
578 | showToast: function(data) { | 579 | showToast: function(data) { |
@@ -26,10 +26,14 @@ | @@ -26,10 +26,14 @@ | ||
26 | <view class='divide_line_f5f5f5'></view> | 26 | <view class='divide_line_f5f5f5'></view> |
27 | <template is="picker_cell_normal" data="{{...shareMethodData}}" /> | 27 | <template is="picker_cell_normal" data="{{...shareMethodData}}" /> |
28 | <view class='divide_line_f5f5f5'></view> | 28 | <view class='divide_line_f5f5f5'></view> |
29 | - <view style='height:90rpx'> | 29 | + <view wx:if="{{!input_disable}}" style='height:90rpx'> |
30 | <text style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #333;margin-left:26rpx'>本年度月扣除金额</text> | 30 | <text style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #333;margin-left:26rpx'>本年度月扣除金额</text> |
31 | <text class='float_right' style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #333;margin-left:20rpx' name='country'>/月</text> | 31 | <text class='float_right' style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #333;margin-left:20rpx' name='country'>/月</text> |
32 | - <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' disabled='{{input_disable}}' value='{{reduce_amount>=0?reduce_amount:""}}'></input> | 32 | + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入(不超过1000)' name='reduce_amount' bindblur='bindinput' value='{{reduce_amount>=0?reduce_amount:""}}'></input> |
33 | + </view> | ||
34 | + <view wx:else style='height:90rpx'> | ||
35 | + <text style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #333;margin-left:26rpx'>本年度月扣除金额</text> | ||
36 | + <text class='float_right' style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #ff9f00;' name='country'>{{reduce_amount}}/月</text> | ||
33 | </view> | 37 | </view> |
34 | </view> | 38 | </view> |
35 | <view wx:elif="{{issinglechildData.selected=='是'}}"> | 39 | <view wx:elif="{{issinglechildData.selected=='是'}}"> |
@@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
21 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> | 21 | <view style='width:1px;height:140rpx;background-color:#e5e5e5;margin-left:40rpx'></view> |
22 | <view style='display:flex;flex-direction: column;width:440rpx;margin-left:30rpx;align-self:center;'> | 22 | <view style='display:flex;flex-direction: column;width:440rpx;margin-left:30rpx;align-self:center;'> |
23 | <text style='font-size: 36rpx;color: #000;font-weight:bold;'>专项附加扣除</text> | 23 | <text style='font-size: 36rpx;color: #000;font-weight:bold;'>专项附加扣除</text> |
24 | - <text style='font-size:28rpx;color: #999;margin-top:6rpx'>申报转向附加扣除,提交详细信息</text> | 24 | + <text style='font-size:28rpx;color: #999;margin-top:6rpx'>申报专项附加扣除,提交详细信息</text> |
25 | </view> | 25 | </view> |
26 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> | 26 | <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image> |
27 | </view> | 27 | </view> |
请
注册
或
登录
后发表评论