freeIncomeDetail.wxml 4.0 KB
<view>
  <view style="background:#fff;padding:0 30rpx;">
    <text class="text_gray7_34">免税收入合计</text>
    <text class="text_black3_34 float_right">{{total_account}}</text>
  </view>

  <!-- 列表数据,不可修改 -->
  <view wx:for="{{infoList}}" style="background:#fff;margin-top:20rpx">
    <view style="height:104rpx;padding-left: 30rpx;background-color:#fff">
      <text class="text_gray7_34">所得项目</text>
      <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image>
      <input class='input_wrap' style='text-align: right;color:#000;' disabled="true" value="{{item.income_item}}"></input>
    </view>
    <view class="divide_line_30"></view>
    <view style="height:104rpx;padding-left: 30rpx;background-color:#fff" >
      <text class="text_gray7_34">减免事项名称</text>
      <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image>
      <input class='input_wrap' style='text-align: right;color:#000;' disabled="true" value="{{item.reduction_item}}"></input>
    </view>
    <view class="divide_line_30"></view>
    <view style="height:104rpx;padding-left: 30rpx;background-color:#fff">
      <text class="text_gray7_34">减免性质名称</text>
      <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image>
      <input class='input_wrap' style='text-align: right;color:#000;' disabled="true" value="{{item.reduction_nature}}"></input>
    </view>
    <view class="divide_line_30"></view>
    <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx">
      <text class="text_gray7_34">免税收入金额</text>
      <input class='input_wrap' style='text-align: right;color:#000;' disabled="true" bindblur="bindIncome" value="{{item.exempt_income}}"></input>
    </view>
  </view>

  <!-- 添加项,可编辑 -->
  <view wx:if="{{showAddView}}" style="background:#fff;margin-top:20rpx">
    <picker style="height:104rpx;padding-left: 30rpx;background-color:#fff" mode="selector" bindchange="bindProjectChange" range="{{project}}">
      <text class="text_gray7_34">所得项目</text>
      <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image>
      <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' value="{{income_item}}"></input>
    </picker>
    <view class="divide_line_30"></view>
    <picker style="height:104rpx;padding-left: 30rpx;background-color:#fff" mode="selector" bindchange="bindDeductContent" range="{{deductcontent}}">
      <text class="text_gray7_34">减免事项名称</text>
      <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image>
      <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入'  value="{{reduction_item}}"></input>
    </picker>
    <view class="divide_line_30"></view>
    <picker style="height:104rpx;padding-left: 30rpx;background-color:#fff" mode="selector" bindchange="bindDeductProperty" range="{{deductproperty}}">
      <text class="text_gray7_34">减免性质名称</text>
      <image class='arrow_wrap float_right' src='/images/arrow_right.png'></image>
      <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请选择'  value="{{reduction_nature}}"></input>
    </picker>
    <view class="divide_line_30"></view>
    <view style="height:104rpx;padding:0 30rpx;background-color:#fff;margin-bottom:1rpx">
      <text class="text_gray7_34">免税收入金额</text>
      <input class='input_wrap' style='text-align: right;color:#000;' placeholder='请输入' type="digit" bindblur="bindIncome" value="{{exempt_income}}"></input>
    </view>
  </view>

  <view style="background:#fff;margin-top:20rpx;height:104rpx;display:flex;align-items:center;justify-content:center;margin-bottom:84rpx" bindtap="addItem">
    <image style="width:28rpx;height:28rpx;margin-right:16rpx" src="/images/add_extra.png"></image>
    <text style="font-size:28rpx;color:#4986fe">继续添加</text>
  </view>
  <view class="btn_bottom" bindtap="goSubmit">
    <button class="btn_bottom">保存</button>
  </view>
</view>