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

<view class='page'>
  <form bindsubmit='formSubmit'>
    <view class="divide_line"></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>
    </view>
    <view style='background:#fff;'>
        <view class="divide_line_30"></view>         
    </view>
    <view class='data_list'>
      <view class='data_item'>
        <template is="picker_cell_normal" data="{{...cardtypeData}}" />
        <view class="divide_line_30"></view>

        <view class='item_body'>
          <text class='red_star_right_10'>*</text>
          <text class='text_777_30 float_left' style='line-height: 90rpx'>证照号码</text>
          <view>
            <image  wx:if="{{isIdCard}}" class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}"></image>
            <input class='input_wrap' disabled="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}" placeholder="请输入证照号码" value="{{card_number}}" name='id_card_no' maxlength='30' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input>
            <!-- <input class='input_wrap' hidden="{{taxInfo.certification_status=='active'}}" placeholder="请输入证照号码" value='{{card_number}}' name='id_card_no' maxlength='18' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input>
            <input class='input_wrap' hidden="{{taxInfo.certification_status!='active'}}"  placeholder="{{card_number?card_number:'身份证号获取失败'}}" name='id_card_no' disabled='true'></input> -->
             <view class="divide_line_30"></view>
          </view>
        </view>
        <view class='item_body' hidden="{{!isself}}">
          <text class='red_star_right_10'>*</text>
          <text class='text_777_30 float_left' style='line-height: 90rpx'>姓名</text>
          <input class='input_wrap' placeholder="请输入姓名" value='{{name}}' disabled="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}" bindblur='bindinputname' style='line-height: 90rpx'></input>
          <!-- <input hidden="{{taxInfo.certification_status=='active'}}" class='input_wrap' placeholder="请输入姓名" value='{{name}}' bindblur='bindinputname' style='line-height: 90rpx'></input>
          <input hidden="{{taxInfo.certification_status!='active'}}" class='input_wrap' placeholder="{{name}}" disabled="true" bindblur='bindinputname' style='line-height: 90rpx'></input> -->
        </view>
        <view class="divide_line_30"></view>
        <template is="picker_cell_normal" data="{{...genderData}}" />
        <view class="divide_line_30"></view>
        <template is="picker_cell_normal" data="{{...birthDate}}" />
        <view class="divide_line_30"></view>
        <template is="picker_cell_normal" data="{{...countryData}}" />

        <!-- <view class='item_body'>
          <text class='red_star_right_10'>*</text>
          <text class='text_777_30 float_left' style='line-height: 90rpx'>国籍</text>
          <text class='text_black_30 float_right' style='line-height: 90rpx'>中国</text>
        </view> -->
        <view class="divide_line_30"></view>
        <template is="picker_cell_normal" data="{{...taxpayerTypeData}}" />
        <!-- <view class='item_body'>
          <text class='red_star_right_10'>*</text>
          <text class='text_777_30 float_left' style='line-height: 90rpx'>纳税人类型</text>
          <text class='text_black_30 float_right' style='line-height: 90rpx'>居民</text>
        </view> -->
        <view class="divide_line_30"></view>
        <view class='item_body'>
          <text class='red_star_right_10'>*</text>
          <text class='text_777_30 float_left' style='line-height: 90rpx'>是否境外人员</text>
          <text class='text_black_30 float_right' style='line-height: 90rpx'>{{overseas}}</text>
        </view>  
        <view wx:if='{{hasOtherCard}}'>
          <view class="divide_line_30"></view>
          <template is="picker_cell_normal" data="{{...firstEntryDate}}" />
          <view class="divide_line_30"></view>
          <template is="picker_cell_normal" data="{{...predictLeaveDate}}" />
          <view class="divide_line_30"></view>
          <template is="picker_cell_normal" data="{{...otherCardtypeData}}" />
          <view class="divide_line_30"></view>
          <view class='item_body'>
            <text class='red_star_right_10'>*</text>
            <text class='text_777_30 float_left' style='line-height: 90rpx'>其他证照号码</text>
            <view>
              <input class='input_wrap' placeholder="请输入证照号码" value="{{other_card_number}}" name='other_card_number' maxlength='30'></input>
            </view>
          </view>
          <view class="divide_line_30"></view>
          <template is="picker_cell_normal" data="{{...birthCountryData}}" />
        </view>          
        <view hidden='{{!isshow01}}'>
          <view wx:if='{{hasOtherCard}}'>
            <view class="divide_line_30"></view>
            <view class='item_body'>
              <text class='text_777_30 float_left head_in' style='line-height: 90rpx'>{{nameText}}</text>
              <input class='input_wrap' placeholder="请输入{{nameText}}" value='{{other_name}}' bindblur='bindOtherName' style='line-height: 90rpx'></input>
            </view>

          </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 style='background:#fff;'>
        <view class="divide_line_30"></view>         
    </view>
    <view class='data_list'>
      <view class='data_item'>
        <view class='item_body'>
          <text class='red_star_right_10'>*</text>
          <text class='text_777_30 float_left' style='line-height: 90rpx'>手机号码</text>
          <input class='input_wrap' placeholder="请输入手机号" value='{{mobile}}' name='mobile' type='number' maxlength='11' bindblur='bindinputmobile' type='number'></input>
        </view>

        <!-- 非必填部分02 -->
        <view hidden='{{!isshow02}}'>          
          <view class="divide_line_30"></view>
          <template is="picker_cell_normal" data="{{...currentaddressInfo}}" />
          <view class="divide_line_30"></view>
          <view class='item_body'>
            <text class='text_666_30 float_left head_in' style='line-height: 90rpx'>详细地址</text>
            <input class='input_wrap ' name='current_address_detail' value="{{taxInfo.current_address_detail}}" placeholder-class='text_999_30' placeholder='请输入详细居住地址'></input>
          </view>
          <view class="divide_line_30"></view>
          <template is="picker_cell_normal" data="{{...birthaddressInfo}}" />
          <view class="divide_line_30"></view>
          <view class='item_body '>
            <text class='text_666_30 float_left head_in' style='line-height: 90rpx'>详细地址</text>
            <input class='input_wrap ' name='huji_address_detail' placeholder-class='text_999_30' placeholder='请输入详细户籍地址' value='{{taxInfo.huji_address_detail}}'></input>
          </view>
          <view class="divide_line_30"></view>
          <view  wx:if='{{hasOtherCard}}' >
            <template is="picker_cell_normal" data="{{...contactaddressInfo}}" />
            <view class="divide_line_30"></view>
            <view class='item_body '>
              <text class='text_666_30 float_left head_in' style='line-height: 90rpx'>详细地址</text>
              <input class='input_wrap ' name='contact_address_detail' placeholder-class='text_999_30' placeholder='请输入详细联系地址' value='{{taxInfo.contact_address_detail}}'></input>
            </view>
            <view class="divide_line_30"></view>
          </view>
          
          <view class='item_body'>
            <text class='text_666_30 float_left head_in' style='line-height: 90rpx'>电子邮箱</text>
            <input class='input_wrap' name='email' value='{{taxInfo.email}}' placeholder='请输入电子邮箱' placeholder-class='text_999_30' maxlength='32'></input>
          </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 style='background:#fff;'>
        <view class="divide_line_30" hidden='{{!isshow03}}'></view>         
    </view>
    <view class='data_list'>
      <view class='data_item'>
        <view hidden='{{!isshow03}}'> 
          <template is="picker_cell_normal" data="{{...degreeData}}" />
          <!-- <view class="divide_line_30"></view>
          <template is="picker_cell_normal" data="{{...professionData}}" /> -->
          <view class="divide_line_30"></view>
          <template is="picker_cell_normal" data="{{...bankInfo}}" />
          <view class="divide_line_30"></view>
          <view class='item_body'>
            <text class='text_666_30 float_left head_in' style='line-height: 90rpx'>银行账号</text>
            <input class='input_wrap' name='bank_account' value='{{taxInfo.bank_account}}' placeholder-class='text_999_30' placeholder='请输入银行账号' maxlength='19' type='number'></input>
          </view>
          <view class="divide_line_30"></view>
          <template is="picker_cell_normal" data="{{...disabilityInfo}}" />
          <view class="divide_line_30" hidden="{{disabilityInfo.selected!='是'}}"></view>
          <view class='item_body' hidden="{{disabilityInfo.selected!='是'}}">
            <text class='text_666_30 float_left head_in'  style='line-height: 90rpx'>残疾证号</text>
            <input class='input_wrap' name='disability_no' value='{{taxInfo.disability_no}}' placeholder-class='text_999_30' placeholder='请输入残疾证号' maxlength='24'></input>
          </view>
          <view class="divide_line_30"></view>
         
          <template is="picker_cell_normal" data="{{...lieshuInfo}}" />
          <view class="divide_line_30" hidden="{{lieshuInfo.selected!='是'}}"></view>
          <view class='item_body' hidden="{{lieshuInfo.selected!='是'}}">
            <text class='text_666_30 float_left head_in'  style='line-height: 90rpx'>烈属证号</text>
            <input class='input_wrap' name='martyr_family_no' value='{{taxInfo.martyr_family_no}}' placeholder-class='text_999_30' placeholder='请输入烈属证号' maxlength='24'></input>
          </view>
          <view class="divide_line_30"></view>
          
          <template is="picker_cell_normal" data="{{...lonelyolderInfo}}" />
          <view class="divide_line_30"></view>
          <view class='item_body'>
            <text class='text_666_30 float_left head_in' style='line-height: 90rpx'>备注</text>
            <input class='input_wrap' value='{{taxInfo.comment}}' name='comment' placeholder-class='text_999_30' placeholder='请输入备注'></input>
          </view>


    </view>

</view>
    </view>
    

    <view class='data_list ' hidden='true'>
      <view class='data_item '>
     
        <template is="picker_cell_normal" data="{{...investInfo}}" />
        <view class="divide_line_30"></view>
       
        <template is="picker_cell_normal" data="{{...specificIndustryInfo}}" />
        <view class="divide_line_30"></view>
        
        <template is="picker_cell_normal" data="{{...employeeInfo}}" />
        <view hidden='{{!isshow03}}'>
          <view class="divide_line_30"></view>
          <view class='item_body '>
            <text class='text_666_30 float_left' style='line-height: 90rpx'>公司股本总额</text>
            <input class='input_wrap ' name='company_equity_total' type='digit' value='{{taxInfo.company_equity_total}}' placeholder-class='text_999_30' placeholder='请输入股本总额(保留两位小数)' maxlength='13' bindblur='companymoney'></input>
          </view>
          <view class="divide_line_30"></view>
         
          <template is="picker_cell_normal" data="{{...startDate}}" />

          <view class="divide_line_30"></view>
          
          <template is="picker_cell_normal" data="{{...endDate}}" />

          <view class="divide_line_30"></view>
          <view class='item_body '>
            <text class='text_666_30 float_left ' style='line-height: 90rpx'>工号</text>
            <input class='input_wrap ' name='employee_no' value='{{taxInfo.employee_no}}' placeholder-class='text_999_30' placeholder='请输入工号' maxlength='20'></input>
          </view>
          <view class="divide_line_30"></view>
         
          <template is="picker_cell_normal" data="{{...investpersonalInfo}}" />
          <view class="divide_line_30"></view>
          <view class='item_body'>
            <text class='text_666_30 float_left ' style='line-height: 90rpx'>个人投资总额</text>
            <input class='input_wrap ' name='personal_equity_total' type='digit' value='{{taxInfo.personal_equity_total}}' placeholder-class='text_999_30' placeholder='请输入个人投资总额(保留两位小数)' maxlength='13' bindblur='personalmoney'></input>
          </view>
          <view class="divide_line_30"></view>
        </view>


      </view>
    </view>
    <view class="divide_line_30"></view>
    <view style='background:#FFF;height:84rpx'></view>
    <!-- <view hidden='{{isshow02}}' style='background:#f8f8f8;height:500rpx'></view>
    <view hidden='{{!isshow02}}' style='background:#f8f8f8;height:200rpx'></view> -->
    
    <view class="btn_bottom">
      <button class="btn_bottom" formType="submit"> 保存</button>
    </view>

  </form>
</view>