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

<view class='page'>
  <form bindsubmit='formSubmit'>

    <!-- 成员关系 -->
    <view class='head_wrap' hidden="{{isself}}">
      <text class='head_text_wrap1'>成员关系</text>
    </view>
    <view class='data_list' hidden="{{isself}}">
      <view class='data_item'>
        <view class='item_body'>
          <text style='color:red;font-size: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>姓名</text>
          <input class='input_wrap float_right' placeholder='请填写姓名' name='name' value='{{name}}'></input>
        </view>
        <view class="divide_line"></view>
        <!-- <view class='item_body' bindtap='openpicker'>
          <text style='color:red;font-size: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>关系</text>
          <image class='arrow_wrap' src='/images/arrow_right.png'></image>
          <text class='text_333_28 float_right'>请选择关系</text>
        </view> -->

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

    <!-- 基本信息 -->
    <view class='head_wrap' bindtap='span' id='1'>
      <text class='head_text_wrap1'>基本信息</text>
      <text class='head_text_wrap2'>(点击收起非必填选项)</text>
      <view style='float:right' wx:if='{{isshow01}}'>
        <image class='head_image_wrap_up' src='/images/arrow_up.png'></image>
      </view>
      <view wx:else style='float:right'>
        <image class='head_image_wrap_down' src='/images/arrow_down.png'></image>
      </view>
      <!-- <image class='{{isshow01}}?head_image_wrap_up:head_image_wrap_down' src="{{isshow01?'/images/arrow_up.png':'/images/arrow_down.png'}}"></image> -->
    </view>

    <view class='data_list'>
      <view class='data_item'>
        <view class='item_body' hidden="{{!isself}}">
          <text style='color:red;font-size: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>姓名</text>
          <input class='input_wrap float_right' placeholder='请填写姓名' value='{{taxInfo.name}}'></input>
        </view>
        <view class="divide_line"></view>

        <view class='item_body'>
          <text style='color:red;font-size: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>国籍(地区)</text>
          <input class='input_wrap float_right' value='中国'></input>
        </view>
        <view class="divide_line"></view>

        <!-- <view class='item_body'>
          <text style='color:red;font-size: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>纳税人状态</text>
          <image class='arrow_wrap' src='/images/arrow_right.png'></image>
          <text class='text_333_28 float_right'>在职</text>
        </view> -->
        <template is="picker_cell_normal" data="{{...personstatusData}}" />
        <view class="divide_line"></view>

        <!-- <view class='item_body'>
          <text style='color:red;font-size: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>证照类型</text>
          <image class='arrow_wrap' src='/images/arrow_right.png'></image>
          <text class='text_333_28 float_right'>居民身份证</text>
        </view> -->
        <template is="picker_cell_normal" data="{{...cardtypeData}}" />
        <view class="divide_line"></view>

        <view class='item_body' bindtap='getIdInfo'>
          <text style='color:red;font-size: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>证照号码</text>
          <view wx:if="{{isIdCard}}">
            <image class='image_camera float_right' src='/images/camera.png'></image>
            <text class='text_333_28 float_right'>{{id_card_number}}</text>
          </view>
          <view wx:else>
            <input class='input_wrap float_right' placeholder='请输入证件号码' name='id_card_no'></input>
          </view>
        </view>
        <view class="divide_line"></view>

        <!-- <view class='item_body'>
          <text class='head_red_star float_left'>*</text>
          <text class='text_black_28 float_left'>是否境外人员</text>
          <image class='arrow_wrap' src='/images/arrow_right.png'></image>
          <text class='text_333_28 float_right'>否</text>
        </view> -->
        <template is="picker_cell_normal" data="{{...forignerInfo}}" />
        <!-- 非必填部分 -->
        <view hidden='{{!isshow01}}'>
          <view class="divide_line"></view>

          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>性别</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'>男</text>
          </view> -->
          <template is="picker_cell_normal" data="{{...genderData}}" />
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>出生年月</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...birthDate}}" />
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>职业</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_muti" data="{{...professionData}}" />
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>学历</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...degreeData}}" />
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_28 float_left'>纳税人识别号</text>
            <input class='input_wrap float_right' name='taxpayer_no' type='number'></input>
          </view>
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>是否残疾</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...disabilityInfo}}" />
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_28 float_left'>残疾证号</text>
            <input class='input_wrap float_right' name='disability_no' type='number'></input>
          </view>
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>是否烈属</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...lieshuInfo}}" />
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_28 float_left'>烈属证号</text>
            <input class='input_wrap float_right' name='martyr_family_no' type='number'></input>
          </view>
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>是否孤老</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...lonelyolderInfo}}" />
        </view>
      </view>
    </view>

    <!-- 联系方式 -->
    <view class='head_wrap' style='margin-top:20rpx' bindtap='span' id='2'>
      <text class='head_text_wrap1'>联系方式</text>
      <text class='head_text_wrap2'>(点击收起非必填选项)</text>
      <view style='float:right' wx:if='{{isshow02}}'>
        <image class='head_image_wrap_up' src='/images/arrow_up.png'></image>
      </view>
      <view wx:else style='float:right'>
        <image class='head_image_wrap_down' src='/images/arrow_down.png'></image>
      </view>
    </view>

    <view class='data_list'>
      <view class='data_item'>
        <view class='item_body'>
          <text style='color:red;font-size: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>联系电话</text>
          <input class='input_wrap float_right' placeholder='请填写电话' value='{{taxInfo.mobile}}' name='mobile' type='number'></input>
        </view>
        <!-- 非必填部分02 -->
        <view hidden='{{!isshow02}}'>
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>联系地址</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...contactaddressInfo}}" />
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_28 float_left'>详细地址</text>
            <input class='input_wrap float_right' name='contact_address_detail'></input>
          </view>
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>开户银行</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...bankInfo}}" />
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_28 float_left'>银行账号</text>
            <input class='input_wrap float_right' name='bank_account'></input>
          </view>
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_28 float_left'>电子邮箱</text>
            <input class='input_wrap float_right' name='email'></input>
          </view>
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>居住地</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...currentaddressInfo}}" />
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_28 float_left'>详细地址</text>
            <input class='input_wrap float_right' name='current_address_detail'></input>
          </view>
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>户籍所在地</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...birthaddressInfo}}" />
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_28 float_left'>详细地址</text>
            <input class='input_wrap float_right' name='huji_address_detail'></input>
          </view>
          <view class="divide_line"></view>
        </view>

      </view>
    </view>

    <!-- 任职雇佣信息 -->
    <view class='head_wrap' style='margin-top:20rpx' bindtap='span' id='3'>
      <text class='head_text_wrap1'>任职雇佣信息</text>
      <text class='head_text_wrap2'>(点击收起非必填选项)</text>
      <view style='float:right' wx:if='{{isshow03}}'>
        <image class='head_image_wrap_up' src='/images/arrow_up.png'></image>
      </view>
      <view wx:else style='float:right'>
        <image class='head_image_wrap_down' src='/images/arrow_down.png'></image>
      </view>
    </view>

    <view class='data_list'>
      <view class='data_item'>
        <!-- <view class='item_body'>
          <text style='color:red;font-size: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>是否股东、投资者</text>
          <image class='arrow_wrap' src='/images/arrow_right.png'></image>
          <text class='text_333_28 float_right'>是</text>
        </view> -->
        <template is="picker_cell_normal" data="{{...investInfo}}" />
        <view class="divide_line"></view>
        <!-- <view class='item_body'>
          <text style='color:red;font-size: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>是否特定行业</text>
          <image class='arrow_wrap' src='/images/arrow_right.png'></image>
          <text class='text_333_28 float_right'></text>
        </view> -->
        <template is="picker_cell_normal" data="{{...specificIndustryInfo}}" />
        <view hidden='{{!isshow03}}'>
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>是否雇员</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...employeeInfo}}" />
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_28 float_left'>公司股本总额</text>
            <input class='input_wrap float_right' name='company_equity_total' type='digit'></input>
          </view>
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>在职受雇日期</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...startDate}}" />

          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>离职日期</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...endDate}}" />
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_28 float_left'>工号</text>
            <input class='input_wrap float_right' name='employee_no' type='number'></input>
          </view>
          <view class="divide_line"></view>
          <!-- <view class='item_body'>
            <text class='text_666_28 float_left'>是否天使投资个人</text>
            <image class='arrow_wrap' src='/images/arrow_right.png'></image>
            <text class='text_333_28 float_right'></text>
          </view> -->
          <template is="picker_cell_normal" data="{{...investpersonalInfo}}" />
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_28 float_left'>个人投资总额</text>
            <input class='input_wrap float_right' name='personal_equity_total' type='digit'></input>
          </view>
          <view class="divide_line"></view>
        </view>


        <view style='width:100%'>
          <text class='text_666_28 float_left'>备注</text>
          <input class='extra_input float_right' value='' name='comment'></input>
        </view>
      </view>

    </view>

    <view style='background:#e8e8e8;height:150rpx'></view>
    
    <button class="btn_bottom" formType="submit"> 保存</button>
  </form>
</view>

<!-- 普通选择器 -->