addextrainfo.wxml 16.1 KB
<!--pages/main/addtionalreduce/addextrainfo/addextrainfo.wxml-->
<import src="../../../common/picker_cell" />

<view class='page'>
  <form bindsubmit='formSubmit'>
    <view style='padding:0 30rpx'>
      <!-- 添加子女 -->
      <view wx:if="{{cur_index==0}}">
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>配偶姓名</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入配偶姓名' name='lover_name'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>

        <template is="picker_cell_normal" data="{{...lovercardtypeData}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>配偶证件号码</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入身份证件号码' name='lover_idno'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>
        <template is="picker_cell_normal" data="{{...loverbirthDate}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>国籍</text>
          <image class='arrow_wrap' src='/images/arrow_right.png'></image>
          <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right' name='lover_country'>中国</text>
        </view>
        <view style='width:100%;height:20rpx;background:#f5f5f5'></view>

        <template is="picker_cell_normal" data="{{...taxperson_relativeData}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>子女姓名</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女姓名' name='children_name'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>

        <template is="picker_cell_normal" data="{{...childrencardtypeData}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>身份证件号码</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女证件号码' type='idcard' name='children_idno'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>

        <template is="picker_cell_normal" data="{{...childrenbirthDate}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>国籍</text>
          <image class='arrow_wrap' src='/images/arrow_right.png'></image>
          <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right' name='children_country'>中国</text>
        </view>
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>子女学籍号</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女学籍号' name='children_schoolno'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>

        <template is="picker_cell_normal" data="{{...edudegreeData}}" />
        <view class='divide_line_f5f5f5'></view>

        <template is="picker_cell_normal" data="{{...studystartdate}}" />
        <view class='divide_line_f5f5f5'></view>

        <template is="picker_cell_normal" data="{{...studyenddate}}" />
        <view class='divide_line_f5f5f5'></view>
        <template is="picker_cell_normal" data="{{...edudegreeData}}" />
        <view class='divide_line_f5f5f5'></view>

        <view style='height:90rpx;'>
          <text class='text_black_30 float_left'>分配比例</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入分配比例' name='reduce_ratio'></input>
        </view>
      </view>
      <!-- 继续教育 -->
      <view wx:if="{{cur_index==1}}">

        <template is="picker_cell_normal" data="{{...edutypeData}}" />
        <view class='divide_line_f5f5f5'></view>
        <view wx:if="{{edu_lable=='school'}}">
          <view style='height:90rpx'>
            <text class='text_black_30 float_left'>学历教育阶段</text>
            <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入学历教育阶段' name='degree_level'></input>
          </view>
          <view class='divide_line_f5f5f5'></view>
          <template is="picker_cell_normal" data="{{...studystartdate}}" />
          <view class='divide_line_f5f5f5'></view>
          <template is="picker_cell_normal" data="{{...studyenddate}}" />

        </view>
        <view wx:elif="{{edu_lable=='tech'}}">
          <view style='height:90rpx'>
            <text class='text_black_30 float_left'>职业资格名称</text>
            <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入职业资格名称' name='occupational_qualifiy_name'></input>
          </view>
          <view class='divide_line_f5f5f5'></view>
          <view style='height:90rpx'>
            <text class='text_black_30 float_left'>职业资格编号</text>
            <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入职业资格编号' name='occupational_qualifiy_no'></input>
          </view>
          <view class='divide_line_f5f5f5'></view>
          <view style='height:90rpx'>
            <text class='text_black_30 float_left'>发证机关</text>
            <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入发证机关' name='license_unit'></input>
          </view>
        </view>

      </view>
      <!-- 赡养老人 -->
      <view wx:if="{{cur_index==2}}">
        <template is="picker_cell_normal" data="{{...supporttypeData}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>被赡养人姓名</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入被赡养人姓名' name='older_name'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>
        <template is="picker_cell_normal" data="{{...oldercardtypeData}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>被赡养人证件号码</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证件号码' type='idcard' name='older_idno'></input>
        </view>
        <view wx:if="{{oldersupport_lable=='single'}}">
          <view class='divide_line_f5f5f5'></view>
          <template is="picker_cell_normal" data="{{...olderbirthDate}}" />
          <view class='divide_line_f5f5f5'></view>
          <view style='height:90rpx'>
            <text class='text_black_30 float_left'>国籍</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right' name='older_country'>中国</text>
          </view>
          <view class='divide_line_f5f5f5'></view>

          <template is="picker_cell_normal" data="{{...taxperson_relativeData}}" />
        </view>

        <!-- <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>分摊比例</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入分摊比例' name='allocation_ratio'></input>
        </view> -->
      </view>
      <!-- 大病医疗 -->
      <view wx:if="{{cur_index==3}}">
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>姓名</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入姓名' name='name'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>

        <template is="picker_cell_normal" data="{{...cardtypeData}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>身份证件号码</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入身份证件号码' name='idno'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>
        <template is="picker_cell_normal" data="{{...taxperson_relativeData}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>医疗支出总金额</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入总金额' type='digit' name='total_money'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>个人负担金额</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入金额' type='digit' name='personal_money'></input>
        </view>
      </view>
      <!-- 住房 -->
      <view wx:if="{{cur_index==4}}">
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>配偶姓名</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入配偶姓名' name='lover_name'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>

        <template is="picker_cell_normal" data="{{...lovercardtypeData}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>配偶证件号码</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入身份证件号码' name='lover_idno'></input>
        </view>
        <view class='divide_line_f5f5f5'></view>
        <template is="picker_cell_normal" data="{{...loverbirthDate}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>国籍</text>
          <image class='arrow_wrap' src='/images/arrow_right.png'></image>
          <text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right' name='lover_country'>中国</text>
        </view>
        <view style='width:100%;height:20rpx;background:#f5f5f5'></view>
        <view wx:if="{{title=='添加住房贷款利息'}}">

          <template is="picker_cell_normal" data="{{...houseLocateInfo}}" />
          <view class='divide_line_f5f5f5'></view>
          <template is="picker_cell_normal" data="{{...identifytypeData}}" />
          <view class='divide_line_f5f5f5'></view>
          <view style='height:90rpx'>
            <text class='text_black_30 float_left'>证书号码</text>
            <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书号码' name='identify_no'></input>
          </view>
          <view class='divide_line_f5f5f5'></view>
          <template is="picker_cell_normal" data="{{...loantypeData}}" />
          <view class='divide_line_f5f5f5'></view>
          <view style='height:90rpx'>
            <text class='text_black_30 float_left'>贷款合同编号</text>
            <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入贷款合同编号' name='contract_no'></input>
          </view>
          <view class='divide_line_f5f5f5'></view>
          <template is="picker_cell_normal" data="{{...firstpaybackDate}}" />
          <view class='divide_line_f5f5f5'></view>
          <template is="picker_cell_normal" data="{{...loandatelongData}}" />
        </view>
        <view wx:if="{{title=='添加住房租金'}}">
          <template is="picker_cell_normal" data="{{...contactLocateInfo}}" />
          <view class='divide_line_f5f5f5'></view>
          <template is="picker_cell_normal" data="{{...leasetypeData}}" />
          <view class='divide_line_f5f5f5'></view>
          <view style='height:90rpx'>
            <text class='text_black_30 float_left'>出租方名称</text>
            <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入出租方名称' name='lease_name'></input>
          </view>
          <view class='divide_line_f5f5f5'></view>
          <view style='height:90rpx'>
            <text class='text_black_30 float_left'>出租方纳税人识别号</text>
            <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='统一社会信用代码' name='lease_idno'></input>
          </view>
          <view class='divide_line_f5f5f5'></view>
          <template is="picker_cell_normal" data="{{...identifytypeData}}" />
          <view class='divide_line_f5f5f5'></view>
          <view style='height:90rpx'>
            <text class='text_black_30 float_left'>证书号码</text>
            <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书号码' name='identify_no'></input>
          </view>
          <view class='divide_line_f5f5f5'></view>
          <view style='height:90rpx'>
            <text class='text_black_30 float_left'>租赁合同编号</text>
            <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输合同编号' name='contract_no'></input>
          </view>
<view class='divide_line_f5f5f5'></view>
          <template is="picker_cell_normal" data="{{...leasestartDate}}" />
          <view class='divide_line_f5f5f5'></view>
          <template is="picker_cell_normal" data="{{...leaseendDate}}" />
        </view>

      </view>
      <view class='divide_line_f5f5f5'></view>
        <template is="picker_cell_normal" data="{{...reducetypeData}}" />
        <view class='divide_line_f5f5f5'></view>
        <view style='height:90rpx'>
          <text class='text_black_30 float_left'>扣除金额</text>
          <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入扣除金额' type='digit' name='reduce_money'></input>
        </view>

      <view class='divide_line_f5f5f5'></view>
      <view class='text_black_30 float_left'>上传材料</view>
    </view>
    <view style='margin-bottom:140rpx'>
      <image src='{{img_path}}' style='width:100%;height:380rpx' bindtap='goupload'></image>
      <view class='text_999_30' style='text-align:center;margin:20rpx 30rpx'>{{extrainfo_arr[cur_index]}}</view>
    </view>
    <view class="btn_bottom">
      <button class="btn_bottom" formType="submit"> 保存</button>
    </view>
  </form>
</view>