editinfo.wxml 21.2 KB
<!--pages/main//editinfo/editinfo.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="{{taxInfo.certification_status=='active'&&name?name:'请输入姓名'}}" name='name' disabled="{{taxInfo.certification_status=='active'}}"></input> -->

          <input class='input_wrap float_right' hidden="{{taxInfo.certification_status==' active'}}" placeholder="请输入姓名" value='{{name}}' name='name' disabled="{{taxInfo.certification_status=='active'}}" ></input>
          <input hidden="{{taxInfo.certification_status!='active'}}" class='input_wrap float_right' placeholder="{{taxInfo.certification_status=='active'||name?name:'请输入姓名'}}" name='name' disabled="{{taxInfo.certification_status=='active'}}"></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: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>姓名</text>
          <!-- <input class='input_wrap float_right' placeholder-class='text_999_28' placeholder="{{taxInfo.certification_status=='active'&&name?name:'请输入姓名'}}" disabled="{{taxInfo.certification_status=='active'}}"></input> -->

          <input class='input_wrap float_right' hidden="{{taxInfo.certification_status==' active'}}" placeholder="请输入姓名" value='{{name}}' disabled="{{taxInfo.certification_status=='active'}}" ></input>
          <input hidden="{{taxInfo.certification_status!='active'}}" class='input_wrap float_right' placeholder="{{taxInfo.certification_status=='active'||name?name:'请输入姓名'}}"  disabled="{{taxInfo.certification_status=='active'}}"></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>
          <text class='text_999_28 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> -->
        <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: 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' bindtap='getIdInfo'></image>
            <!-- <text class='text_333_28 float_right'>{{card_number}}</text> -->
            <!-- <input class='input_wrap float_right' placeholder="{{taxInfo.certification_status=='active'&&card_number?card_number:'请输入证件号码'}}" placeholder-class='text_999_28' name='id_card_no' maxlength='24' disabled="{{taxInfo.certification_status=='active'}}"></input> -->
<input class='input_wrap float_right' hidden="{{taxInfo.certification_status==' active'}}" placeholder="请输入证件号码" value='{{card_number}}' name='id_card_no' disabled="{{taxInfo.certification_status=='active'}}" maxlength='24'></input>
          <input hidden="{{taxInfo.certification_status!='active'}}" class='input_wrap float_right' placeholder="{{taxInfo.certification_status=='active'||card_number?card_number:'请输入证件号码'}}" name='id_card_no' disabled="{{taxInfo.certification_status=='active'}}"
            maxlength='24'></input>

          </view>
          <view wx:else>
            <input class='input_wrap float_right' hidden="{{taxInfo.certification_status==' active'}}" placeholder="请输入证件号码" value='{{card_number}}' name='id_card_no' disabled="{{taxInfo.certification_status=='active'}}" maxlength='24'></input>
          <input hidden="{{taxInfo.certification_status!='active'}}" class='input_wrap float_right' placeholder="{{taxInfo.certification_status=='active'||card_number?card_number:'请输入证件号码'}}" name='id_card_no' disabled="{{taxInfo.certification_status=='active'}}"
            maxlength='24'></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_28 float_left'>纳税人识别号</text>
            <input class='input_wrap float_right' name='taxpayer_no' type='number' value='{{taxInfo.taxpayer_no}}' placeholder-class='text_999_28' 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_28 float_left'>残疾证号</text>
            <input class='input_wrap float_right' name='disability_no' type='number' value='{{taxInfo.disability_no}}' placeholder-class='text_999_28' 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_28 float_left'>烈属证号</text>
            <input class='input_wrap float_right' name='martyr_family_no' type='number' value='{{taxInfo.martyr_family_no}}' placeholder-class='text_999_28' 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_28 float_left'>备注</text>
            <input class='input_wrap float_right' type='number' value='{{taxInfo.comment}}' name='comment' placeholder-class='text_999_28' 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: 28rpx;line-height: 80rpx;float:left'>*</text>
          <text class='text_black_28 float_left'>联系电话</text>
          <input class='input_wrap float_right' hidden="{{taxInfo.certification_status=='active'}}" placeholder="请输入电话" value='{{mobile}}' name='mobile' type='number' disabled="{{taxInfo.certification_status=='active'}}" maxlength='11'></input>
          <input hidden="{{taxInfo.certification_status!='active'}}" class='input_wrap float_right' placeholder="{{taxInfo.certification_status=='active'||mobile?mobile:'请输入电话'}}" name='mobile' type='number' disabled="{{taxInfo.certification_status=='active'}}"
            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_28 float_left'>详细地址</text>
            <input class='input_wrap float_right' name='contact_address_detail' value='{{taxInfo.contact_address_detail}}' placeholder-class='text_999_28' 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_28 float_left'>银行账号</text>
            <input class='input_wrap float_right' name='bank_account' value='{{taxInfo.bank_account}}' placeholder-class='text_999_28' placeholder='请输入银行账号' maxlength='24'></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' value='{{taxInfo.email}}' placeholder='请输入电子邮箱' placeholder-class='text_999_28'></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' value='{{taxInfo.current_address_detail}}' placeholder-class='text_999_28' 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_28 float_left '>详细地址</text>
            <input class='input_wrap float_right ' name='huji_address_detail' value='{{taxInfo.huji_address_detail}} ' placeholder-class='text_999_28' 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 ' hidden='{{!isshow03}}'>
        <image class='head_image_wrap_up ' src='/images/arrow_up.png '></image>
      </view>
      <view hidden='{{isshow03}}' 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 hidden='{{!isshow03}}'>
          <!-- <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' value='{{taxInfo.company_equity_total}}' placeholder-class='text_999_28' 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_28 float_left '>工号</text>
            <input class='input_wrap float_right ' name='employee_no' value='{{taxInfo.employee_no}}' placeholder-class='text_999_28' 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="{{...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' value='{{taxInfo.personal_equity_total}}' placeholder-class='text_999_28' 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' style='text-aligh: right' value='{{taxInfo.comment}}' name='comment' placeholder-class='text_999_28' placeholder='请输入备注'></input>
        </view> -->
      </view>
    </view>

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

  </form>
</view>

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