addinfo.wxml 18.6 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: 30rpx;line-height: 90rpx;float:left'>*</text>
          <text class='text_black_30 float_left' style='line-height: 90rpx'>姓名</text>
          <input class='input_wrap float_right' placeholder='请填写姓名' name='name' value='{{name}}' placeholder-class='text_999_30' maxlength='15'></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' hidden='{{!isshow01}}'>(点击收起非必填选项)</text>
      <text class='head_text_wrap2' hidden='{{isshow01}}'>(点击展开非必填选项)</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: 30rpx;line-height: 90rpx;float:left'>*</text>
          <text class='text_black_30 float_left' style='line-height: 90rpx'>姓名</text>
          <input class='input_wrap float_right' placeholder='请填写姓名' value=''   placeholder-class='text_999_30' maxlength='15'></input>
        </view>
        <view class="divide_line"></view>

        <view class='item_body'>
          <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
          <text class='text_black_30 float_left' style='line-height: 90rpx'>国籍(地区)</text>
         <text class='text_999_30 float_right' >中国</text>
        </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> -->

        <!-- 注释2018/11/26 -->
        <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'>
          <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
          <text class='text_black_30 float_left'style='line-height: 90rpx'>证照号码</text>
          <view wx:if="{{isIdCard}}"   >
            <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo'></image>
            <!-- <text class='text_333_28 float_right'>{{card_number}}</text> -->
             <input class='input_wrap float_right' placeholder='请输入证件号码'  placeholder-class='text_999_30' name='id_card_no' maxlength='24' value='{{card_number}}'></input>
          </view>
          <view wx:else>
            <input class='input_wrap float_right' placeholder='请输入证件号码'  placeholder-class='text_999_30' name='id_card_no' maxlength='24' value='{{card_number}}'></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_normal" 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_30 float_left'style='line-height: 90rpx'>纳税人识别号</text>
            <input class='input_wrap float_right' name='taxpayer_no' type='number'  placeholder-class='text_999_30' placeholder='请输入纳税人识别号' maxlength='24'></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" hidden="{{disabilityInfo.selected!='是'}}"></view>
          <view class='item_body' hidden="{{disabilityInfo.selected!='是'}}">
            <text class='text_666_30 float_left'>残疾证号</text>
            <input class='input_wrap float_right' name='disability_no' type='number'  placeholder-class='text_999_30' placeholder='请输入残疾证号' maxlength='24'></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" hidden="{{lieshuInfo.selected!='是'}}"></view>
          <view class='item_body' hidden="{{lieshuInfo.selected!='是'}}">
            <text class='text_666_30 float_left'>烈属证号</text>
            <input class='input_wrap float_right' name='martyr_family_no' type='number'  placeholder-class='text_999_30' placeholder='请输入烈属证号' maxlength='24'></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 class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_30 float_left' style='line-height: 90rpx'>备注</text>
            <input class='input_wrap float_right' value='{{taxInfo.comment}}' name='comment'  placeholder-class='text_999_30' placeholder='请输入备注' ></input>
          </view>
        </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' hidden='{{!isshow02}}'>(点击收起非必填选项)</text>
      <text class='head_text_wrap2' hidden='{{isshow02}}'>(点击展开非必填选项)</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: 30rpx;line-height: 90rpx;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'  placeholder-class='text_999_28' maxlength='11'></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_30 float_left' style='line-height: 90rpx'>详细地址</text>
            <input class='input_wrap float_right' name='contact_address_detail'  placeholder-class='text_999_30' placeholder='请输入详细联系地址'></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_30 float_left' style='line-height: 90rpx'>银行账号</text>
            <input class='input_wrap float_right' name='bank_account'  placeholder-class='text_999_30' placeholder='请输入银行账号' maxlength='24'></input>
          </view>
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_30 float_left' style='line-height: 90rpx'>电子邮箱</text>
            <input class='input_wrap float_right' name='email'  placeholder-class='text_999_30' placeholder='请输入电子邮箱' maxlength='20'></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_30 float_left' style='line-height: 90rpx'>详细地址</text>
            <input class='input_wrap float_right' name='current_address_detail'  placeholder-class='text_999_30' placeholder='请输入详细居住地址'></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_30 float_left' style='line-height: 90rpx'>详细地址</text>
            <input class='input_wrap float_right' name='huji_address_detail'  placeholder-class='text_999_30' placeholder='请输入详细户籍地址'></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' hidden='{{!isshow03}}'>(点击收起非必填选项)</text>
      <text class='head_text_wrap2' hidden='{{isshow03}}'>(点击展开非必填选项)</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 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 hidden='{{!isshow03}}'>
          <view class="divide_line"></view>
          <view class='item_body'>
            <text class='text_666_30 float_left'style='line-height: 90rpx'>公司股本总额</text>
            <input class='input_wrap float_right' name='company_equity_total' type='digit'  placeholder-class='text_999_30' placeholder='请输入股本总额(保留两位小数)' maxlength='13'></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_30 float_left' style='line-height: 90rpx'>工号</text>
            <input class='input_wrap float_right' name='employee_no' placeholder-class='text_999_30' placeholder='请输入工号' maxlength='24'></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_30 float_left' style='line-height: 90rpx'>个人投资总额</text>
            <input class='input_wrap float_right' name='personal_equity_total' type='digit'  placeholder-class='text_999_30' placeholder='请输入个人投资总额(保留两位小数)' maxlength='13'></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>
    
    <view class="btn_bottom">
      <button class="btn_bottom" formType="submit"> 保存</button>
    </view>
  </form>
</view>

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