godetail.wxml 10.8 KB
<!--pages/main/addtionalreduce/godetail/godetail.wxml-->
<view class='page' style='margin-bottom:30rpx'>
  <view class='text_gray_30' style='padding:30rpx'>您在“{{additiondata.legal_entity}}”申报的专项附加扣除项已添加完成,请完善各项的具体申报内容。</view>

  <view wx:if="{{additiondata.options&&additiondata.options.length>0}}">
    <block wx:for="{{additiondata.options}}" wx:key="" wx:for-item="item" wx:for-index="idx">
      <view wx:if="{{item=='children_education'}}" style='margin:30rpx 40rpx;display:flex;flex-direction:column ' bindtap='lookandadd' id='{{idx}}'>
        <view style='height:40rpx'>
          <text class='text_333_32 float_left'>子女教育</text>
          <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
          <text class='text_999_28' style='float:right'>查看</text>
        </view>
        <view style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
          <view class='float_left' style='flex:1'>
            <text class='text_999_24 '>扣除方式</text>
            <text class='text_gray_28' style='margin-left:20rpx'>月度</text>
          </view>
          <view class='float_right' style='flex:1'>
            <text class='text_999_24 '>可扣除金额</text>
            <text class='text_orange_28 ' style='margin-left:20rpx'>¥0/月</text>
          </view>
        </view>
      </view>
      <view wx:if="{{item=='continuing_education'}}" style='margin:30rpx 40rpx;display:flex;flex-direction:column ' bindtap='lookandadd' id='{{idx}}'>
        <view style='height:40rpx'>
          <text class='text_333_32 float_left'>继续教育</text>
          <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
          <text class='text_999_28' style='margin-bottom:8rpx;float:right'>查看</text>
        </view>
        <view style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
          <view class='float_left' style='flex:1'>
            <text class='text_999_24 '>扣除方式</text>
            <text class='text_gray_28' style='margin-left:20rpx'>月度</text>
          </view>
          <view class='float_right' style='flex:1'>
            <text class='text_999_24 '>可扣除金额</text>
            <text class='text_orange_28 ' style='margin-left:20rpx'>¥0/月</text>
          </view>
        </view>
        <!-- <view style='padding:20rpx'>
          <view>
            <text style='font-size:28rpx;color:#666'>学历教育</text>
            <view style='width:100%;display:flex;flex-direction:row '>
              <view class='float_left' style='flex:1'>
                <text class='text_999_24 '>扣除方式</text>
                <text class='text_gray_28' style='margin-left:20rpx'>月度</text>
              </view>
              <view class='float_right' style='flex:1'>
                <text class='text_999_24 '>可扣除金额</text>
                <text class='text_orange_28 ' style='margin-left:20rpx'>¥0/月</text>
              </view>
            </view>
          </view>
          <view>
            <text style='font-size:28rpx;color:#666'>非学历教育</text>
            <view style='width:100%;display:flex;flex-direction:row '>
              <view class='float_left' style='flex:1'>
                <text class='text_999_24 '>扣除方式</text>
                <text class='text_gray_28' style='margin-left:20rpx'>月度</text>
              </view>
              <view class='float_right' style='flex:1'>
                <text class='text_999_24 '>可扣除金额</text>
                <text class='text_orange_28 ' style='margin-left:20rpx'>¥0/月</text>
              </view>
            </view>
          </view>
        </view> -->
      </view>
      <view wx:if="{{item=='medical_fund'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column' bindtap='lookandadd' id='{{idx}}'>
        <view style='height:40rpx'>
          <text class='text_333_32 float_left'>大病医疗</text>
          <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
          <text class='text_999_28' style='margin-bottom:8rpx;float:right'>查看</text>
        </view>
        <view style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
          <view class='float_left' style='flex:1'>
            <text class='text_999_24 '>扣除方式</text>
            <text class='text_gray_28' style='margin-left:20rpx'>年度</text>
          </view>
          <view class='float_right' style='flex:1'>
            <text class='text_999_24 '>可扣除金额</text>
            <text class='text_orange_28 ' style='margin-left:20rpx'>¥0/年</text>
          </view>
        </view>
      </view>
      <view wx:if="{{item=='support_duty'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column ' bindtap='lookandadd' id='{{idx}}'>
        <view style='height:40rpx'>
          <text class='text_333_32 float_left'>赡养老人</text>
          <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
          <text class='text_999_28' style='margin-bottom:8rpx;float:right'>查看</text>
        </view>
        <view style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
          <view class='float_left' style='flex:1'>
            <text class='text_999_24 '>扣除方式</text>
            <text class='text_gray_28' style='margin-left:20rpx'>月度</text>
          </view>
          <view class='float_right' style='flex:1'>
            <text class='text_999_24 '>可扣除金额</text>
            <text class='text_orange_28 ' style='margin-left:20rpx'>¥0/月</text>
          </view>
        </view>
      </view>
      <view wx:if="{{item=='house_fund_rent'||item=='house_fund_loan'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column ' bindtap='lookandadd' id='{{idx}}'>
        <view style='height:40rpx'>
          <text class='text_333_32 float_left'>住房</text>
          <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
          <text class='text_999_28' style='margin-bottom:8rpx;float:right'>查看</text>
        </view>
        <view style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
          <view class='float_left' style='flex:1'>
            <text class='text_999_24 '>扣除方式</text>
            <text class='text_gray_28' style='margin-left:20rpx'>月度</text>
          </view>
          <view class='float_right' style='flex:1'>
            <text class='text_999_24 '>可扣除金额</text>
            <text class='text_orange_28 ' style='margin-left:20rpx'>¥0/月</text>
          </view>
        </view>
      </view>
      <view style='margin: 0 30rpx;height:1px;background:#f5f5f5'></view>
    </block>
  </view>

  <view wx:elif="{{additiondata.addition_items&&additiondata.addition_items.length>0}}">
    <block wx:for="{{additiondata.addition_items}}" wx:key="" wx:for-item="itemData" wx:for-index="idx">
      <view wx:if="{{itemData.addition_category!='medical_fund'}}">
        <view style='margin:0 50rpx;background:#e5e5e5;height:2rpx;'></view>
        <view style='padding:30rpx 40rpx;display:flex;flex-direction:column ' bindtap='lookandadd02' id='{{idx}}'>
          <view style='height:40rpx'>
            <text class='text_333_32 float_left'>{{additiontitle[itemData.addition_category]}}</text>
            <text class='text_333_32 float_left' hidden="{{(itemData.addition_category=='continuing_education'||itemData.addition_category=='house_fund')||itemData.count<2}}">({{itemData.count}})</text>
            <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
            <text class='text_999_28' style='margin-bottom:8rpx;float:right'>查看</text>
          </view>
          <view wx:if="{{itemData.addition_category=='continuing_education'&&itemData.detail_items.length>0}}" style='padding:20rpx'>
            <view wx:for="{{itemData.majors}}" wx:key="" wx:for-item="major">
              <view wx:if="{{index==0}}">
                <text wx:if='{{itemData.majors.length>1}}' style='font-size:28rpx;color:#666'>学历(学位)继续教育 ({{itemData.majors.length}})</text>
                <text wx:else style='font-size:28rpx;color:#666'>学历(学位)继续教育</text>
                <view style='width:100%;display:flex;flex-direction:row '>
                  <view class='float_left' style='flex:1'>
                    <text class='text_999_24 '>扣除方式</text>
                    <text class='text_gray_28' style='margin-left:20rpx'>{{reducetype[major.deduction_type]}}度</text>
                  </view>
                  <view class='float_right' style='flex:1'>
                    <text class='text_999_24 '>可扣除金额</text>
                    <text class='text_orange_28 ' style='margin-left:20rpx'>¥{{major.deduction_amount}}/{{reducetype[major.deduction_type]}}</text>
                  </view>
                </view>
              </view>
            </view>
            <view wx:for="{{itemData.professions}}" wx:key="" wx:for-item="profession">
              <view wx:if="{{index==0}}">
                <text wx:if='{{itemData.professions.length>1}}' style='font-size:28rpx;color:#666'>职业资格继续教育 ({{itemData.professions.length}})</text>
                <text wx:else style='font-size:28rpx;color:#666'>职业资格继续教育</text>
                <text style='font-size:28rpx;color:#666' hidden='{{profession.detail_count<2}}'>({{profession.detail_count}})</text>
                <view style='width:100%;display:flex;flex-direction:row '>
                  <view class='float_left' style='flex:1'>
                    <text class='text_999_24 '>扣除方式</text>
                    <text class='text_gray_28' style='margin-left:20rpx'>{{reducetype[profession.deduction_type]}}度</text>
                  </view>
                  <view class='float_right' style='flex:1'>
                    <text class='text_999_24 '>可扣除金额</text>
                    <text class='text_orange_28 ' style='margin-left:20rpx'>¥{{profession.deduction_amount}}/{{reducetype[profession.deduction_type]}}</text>
                  </view>
                </view>
              </view>
            </view>
          </view>
          <view wx:else style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
            <view class='float_left' style='flex:1'>
              <text class='text_999_24 '>扣除方式</text>
              <text class='text_gray_28' style='margin-left:20rpx'>{{reducetype[itemData.deduction_type]}}度</text>
            </view>
            <view class='float_right' style='flex:1'>
              <text class='text_999_24 '>可扣除金额</text>
              <text class='text_orange_28 ' style='margin-left:20rpx'>¥{{itemData.deduction_amount}}/{{reducetype[itemData.deduction_type]}}</text>
            </view>
          </view>
        </view>
      </view>
    </block>
  </view>

</view>