lookandupdate.wxml 22.0 KB
<!--pages/main/addtionalreduce/childreneducate/childreneducate.wxml-->

<view style='width:100%;height:100%;background:#FCFCFC;'>
  <view style='display:flex;flex-direction:column;margin-bottom:140rpx;'>
    <image class='openmodal_img' src="/images/openmodal_img.png" bindtap='showModalImg'></image>
    <view style='height:100rpx;padding:0 30rpx;background:#FFF' bindtap='showModalReducetype' hidden="{{cur_status=='continuing_education'}}">
      <text style='font-size:30rpx;color:#333;line-height:100rpx;font-family: PingFangSC-Semibold;float:left'>扣除方式</text>
      <image class='arrow_img float_right' style='margin-top:28rpx' src="/images/arrow_right.png"></image>
      <text class='text_999_30 float_right' style='line-height:100rpx'>{{reducetypeData[selected_reduceindex]}}</text>
    </view>

    <view wx:if="{{additionInfo&&additionInfo.length>0}}">

      <view wx:if="{{cur_status=='children_education'}}">
        <view wx:for="{{additionInfo}}">
          <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'>
            <view style='height:110rpx'>
              <text class='text_gray_36 float_left' style='line-height:110rpx'>{{item.children_name}}</text>
              <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
              <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
              <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>

            </view>
            <view style='padding-right: 30rpx'>
              <view class='divide_line_f5f5f5'></view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>子女姓名:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.children_name}}</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>分配比例:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.percent}}%</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}度</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
                <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}/{{reducetype[item.deduction_type]}}</text>
              </view>
              <view class='divide_line_f5f5f5'></view>
              <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
              <view class='float_right' wx:if="{{item.status=='failed'}}">
                <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
                <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
              </view>
            </view>
          </view>
        </view>
      </view>

      <view wx:if="{{cur_status=='continuing_education'}}">
        <view wx:for="{{additionInfo}}">
          <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'>
            <view style='height:110rpx'>
              <text class='text_gray_36' style='line-height:110rpx'>非学历教育</text>
              <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
              <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
              <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>
            </view>
            <view style='padding-right:30rpx'>
              <view class='divide_line_f5f5f5'></view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>继续教育情况:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{}}</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>继续教育类型:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type}}</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>发证(批准)日期</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{2018-09-09}}</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>证书名称:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_name}}</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>证书编号:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_no}}</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>发证机关:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_no}}</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}度</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
                <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}/{{reducetype[item.deduction_type]}}</text>
              </view>
            </view>
          </view>
          <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'>
            <view style='height:110rpx'>
              <text class='text_gray_36' style='line-height:110rpx'>学历教育</text>
              <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
              <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
              <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>
            </view>
            <view style='padding-right:right'>
              <view class='divide_line_f5f5f5'></view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>继续教育情况:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type}}</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>教育阶段:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_period}}</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>入学时间起:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>(预计)毕业时间</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}度</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
                <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}/{{reducetype[item.deduction_type]}}</text>
              </view>
            </view>

          </view>
          <view class='float_right' wx:if="{{item.status=='failed'}}">
            <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
            <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
          </view>
        </view>
      </view>

      <view wx:if="{{cur_status=='support_duty'}}">
        <view wx:for="{{additionInfo}}">
          <view style='margin:30rpx;padding-left:30rpx' class='card_rectangle_bg_column'>
            <view style='height:110rpx'>
              <text class='text_gray_36 float_left' style='line-height:110rpx'>被赡养人</text>
              <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
              <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
              <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>
            </view>
            <view style='padding-right:30rpx'>
              <view class='divide_line_f5f5f5'></view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>被赡养人姓名:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>分摊比例:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}度</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
                <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}/{{reducetype[item.deduction_type]}}</text>
              </view>
              <view class='divide_line_f5f5f5'></view>
              <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
              <view class='float_right' wx:if="{{item.status=='failed'}}">
                <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
                <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
              </view>
            </view>

          </view>

          <view>
            <view style='background:#FFF;padding:30rpx'>
              <view style='line-height:84rpx;text-align:center;font-size:34rpx;color:#fff;background:#357AEB;' id='{{index}}' bindtap='goadd'>
                添加
              </view>
            </view>
            <view style='margin-left:30rpx' wx:if="{{!item.co_supporters||item.co_supporters.length<1}}">
              <text class='text_999_28'>您还没有添加继续共同赡养人,</text>
              <text class='text_blue_28' bindtap='goaddSupporter'>请添加</text>
            </view>
          </view>
        </view>
      </view>

      <view wx:if="{{cur_status=='medical_fund'}}">
        <view class='divide_line_f5f5f5'></view>
        <view style='height:100rpx;margin:0 30rpx;background:#FFF' bindtap='reducetype'>
          <text style='font-size:30rpx;color:#333;line-height:100rpx;font-family: PingFangSC-Semibold;float:left'>个人负担总金额</text>
          <text class='text_orange_28 float_right' style='line-height:100rpx'>¥10</text>
        </view>
        <view class='divide_line_f5f5f5'></view>
        <view style='height:100rpx;margin:0 30rpx;background:#FFF' bindtap='reducetype'>
          <text style='font-size:30rpx;color:#333;line-height:100rpx;font-family: PingFangSC-Semibold;float:left'>可扣除金额</text>
          <text class='text_orange_28 float_right' style='line-height:100rpx'>¥0</text>
        </view>
        <view class='divide_line_f5f5f5'></view>
        <view wx:for="{{additionInfo}}">
          <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'>
            <view style='height:110rpx'>
              <text class='text_gray_36' style='line-height:110rpx'>支出明细</text>
              <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
              <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
              <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>
            </view>
            <view style='padding-right:30rpx'>
              <view class='divide_line_f5f5f5'></view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>病人姓名:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>病人证照类型:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>病人证照号码:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>病人出生日期:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>病人国籍:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>中国</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>与纳税人关系:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>医疗支出总金额:</text>
                <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥12345元</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>个人负担金额:</text>
                <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥2345元</text>
              </view>
              <view class='float_right' wx:if="{{item.status!='failed'}}">
                <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
                <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
              </view>
            </view>
          </view>
        </view>
      </view>

      <view wx:if="{{cur_status=='house_fund'}}">
        <view wx:for="{{additionInfo}}">
          <view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'>
            <view style='height:110rpx'>
              <text class='text_gray_36 float_left' style='line-height:110rpx'>住房</text>
              <view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
              <view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
              <view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>
            </view>
            <view style='padding-right: 30rpx'>
              <view class='divide_line_f5f5f5'></view>
              <view wx:if="{{house_type=='house_fund_rent'}}">
                <text class='text_999_28 ' style='line-height:70rpx'>租赁房屋坐落地址:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.house_address}}</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.house_detail_address}}</text>
              </view>
              <view wx:if="{{house_type=='house_fund_loan'}}">
                <text class='text_999_28 ' style='line-height:70rpx'>房屋坐落地址:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.house_address}}</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.house_detail_address}}</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
                <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{reducetype[item.deduction_type]}}度</text>
              </view>
              <view style='height:70rpx'>
                <text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
                <text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}/{{reducetype[item.deduction_type]}}</text>
              </view>
              <view class='divide_line_f5f5f5'></view>
              <text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
              <view class='float_right' wx:if="{{item.status=='failed'}}">
                <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
                <text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
              </view>
            </view>
          </view>
        </view>
      </view>

    </view>
    <view wx:if="{{!additionInfo||additionInfo.length<1}}">
      <image style='width:55%;height:254rpx;margin:166rpx;' src='/images/noreduce_img.png'></image>
    </view>

  </view>

  <view class='bottom_btn_wrap' hidden="{{additionInfo&&additionInfo.length>0&&cur_status=='support_duty'}}">
    <view class='btn_blue_radius' bindtap="goadd">
      <view class='text_white_34'>添加</view>
    </view>
  </view>

</view>



<view class="mask" catchtouchmove="preventTouchMove" hidden="{{!showModal_img&&!showModal_reducetype&&!showModal_addtype}}"></view>
<!-- 申报说明 -->
<view style='top:250rpx;position:absolute;z-index:10;width:100%' hidden="{{!showModal_img}}">
  <image class='modal_img' src="{{modal_images[cur_status]}}" bindtap='closeModalImg'></image>
  <text style='position:absolute;font-size:20px;color:#fff;float:right;top:0;right:100rpx' bindtap='closeModalImg'>x</text>
</view>

<!-- 扣除类型 -->
<view class='modal_lg' style='' wx:if="{{showModal_reducetype}}">
  <text class='text_modal_title'>请选择扣除方式</text>
  <view class='divide_line_f5f5f5'></view>
  <view style='width:100%;display:flex;flex-direction:column;align-items:center;'>
    <view wx:for="{{reducetypeData}}" wx:for-index="idx">
      <view wx:if="{{selected_reduceindex==idx}}">
        <text class='text_item_blue float_left'>{{item}}</text>
        <image class='icon_choosed' src="/images/icon_chat_choosed.png"></image>
      </view>
      <view wx:else bindtap='goselect' id='{{idx}}'>
        <text class='text_item_black float_left'>{{item}}</text>
      </view>
      <view class='divide_line_f5f5f5'></view>
    </view>
  </view>
  <view class='divide_line_f5f5f5'></view>

  <view style='width:100%;display: flex;'>
    <text class='text_cancel' bindtap='reduce_modalLeft'>取消</text>
    <view style='width:1px;background:#F5F5F5;margin:20rpx 0'></view>
    <text class='text_confirm' bindtap='reduce_modalRight'>确认</text>
  </view>
</view>

<!--  添加子女 老人 大病-->
<view class='modal_lg' style='' wx:if="{{showModal_addtype}}">
  <text class='text_modal_title'>{{modalData.title}}</text>
  <view class='divide_line_f5f5f5'></view>
  <view style='width:100%;display:flex;flex-direction:column;align-items:center;'>
    <block wx:for="{{modalData.datas}}" wx:for-index="idx">
      <view wx:if="{{idx==selected_addindex}}">
        <text class='text_item_blue float_left'>{{item.name}}</text>
        <image class='icon_choosed' src="/images/icon_chat_choosed.png"></image>
      </view>
      <view wx:else bindtap='goselect' id='{{idx}}'>
        <text class='text_item_black float_left'>{{item.name}}</text>
      </view>
      <view class='divide_line_f5f5f5'></view>
    </block>
  </view>
  <view class='divide_line_f5f5f5'></view>
  <view style='width:100%;display: flex;'>
    <text class='text_cancel01' bindtap='modalLeft'>{{modalData.lefttext}}</text>
    <view style='width:1px;background:#F5F5F5;margin:20rpx 0'></view>
    <text class='text_confirm01' bindtap='modalRight'>{{modalData.righttext}}</text>
  </view>
</view>