<!--pageage/samplingRetestingDeliver/index.wxml-->

<view> 
    <!-- <view class="add_max">
        <view class="add_title">项目名称</view>
        <voucher-select columns="{{educationTypeList}}"
        placeholder="请选择" bindchange=""></voucher-select>
    </view> -->
<form catchsubmit="formSubmit">

  <view class="add_max">
      <view class="add_title">复试类型</view>
      <voucher-select columns="{{retestListData}}"
      placeholder="请选择" bindchange="onRetestListChange" value="{{retestDataInfo.typeFlagName}}"></voucher-select>
    </view>

    <view class="add_max">
      <view class="add_title">材料名称</view>
      <view class="voucher_select_max">
        <view class="voucher_select_min">
            <input placeholder="请填写" name="materialName" placeholder-style="color:#6777aa;" value="{{retestDataInfo.materialName}}"/>
        </view>
      </view>
    </view>

    <view class="add_max">
      <view class="add_title">使用部位</view>
      <view class="voucher_select_max">
        <view class="voucher_select_min">
            <input placeholder="请填写" name="positionName" placeholder-style="color:#6777aa;" value="{{retestDataInfo.positionName}}"/>
        </view>
      </view>
    </view>

    <view class="add_max">
      <view class="add_title">取样数量(组)</view>
      <view class="voucher_select_max">
        <view class="voucher_select_min">
            <input placeholder="请填写" name="sampleNum" placeholder-style="color:#6777aa;" value="{{retestDataInfo.sampleNum}}"/>
        </view>
      </view>
    </view>

    <view class="add_max">
      <view class="add_title">是否提供合格证</view>
      <view class="voucher_select_max">
        <view class="voucher_select_min">
            <input placeholder="请填写" name="qualifiedFlag" placeholder-style="color:#6777aa;" value="{{retestDataInfo.qualifiedFlag}}"/>
        </view>
      </view>
    </view>

    <view class="add_max">
      <view class="add_title">代表数量</view>
      <view class="voucher_select_max">
        <view class="voucher_select_min">
            <input placeholder="请填写" name="represenNum" placeholder-style="color:#6777aa;"  value="{{retestDataInfo.represenNum}}"/>
        </view>
      </view>
    </view>

    <view class="add_max">
      <view class="add_title">取样人</view>
      <view class="voucher_select_max">
        <view class="voucher_select_min">
            <input placeholder="请填写" name="sampleBy" placeholder-style="color:#6777aa;" value="{{retestDataInfo.sampleBy}}"/>
        </view>
      </view>
    </view>

    <view class="add_max">
        <view class="add_title">取样时间</view>
        <voucher-date counts="5" name="sampleTime" placeholder="开始时间" maxDate="{{maxDate}}" time="{{defaultTime}}" bindchange="onSampleTime" value="{{retestDataInfo.sampleTime}}"></voucher-date>
    </view>

    <view class="add_max">
      <view class="add_title">见证人</view>
      <view class="voucher_select_max">
        <view class="voucher_select_min">
            <input placeholder="请填写" name="witnessBy" placeholder-style="color:#6777aa;" value="{{retestDataInfo.witnessBy}}"/>
        </view>
      </view>
    </view>

    <view class="add_max">
      <view class="add_title">实验室名称</view>
      <view class="voucher_select_max">
        <view class="voucher_select_min">
            <input placeholder="请填写" name="laboratoryName" placeholder-style="color:#6777aa;" value="{{retestDataInfo.laboratoryName}}"/>
        </view>
      </view>
    </view>

    <view class="add_max">
        <view class="add_title">送检时间</view>
        <voucher-date counts="5" name="inspectionTime" placeholder="开始时间" maxDate="{{maxDate}}" time="{{defaultTime}}" bindchange="onInspectionTime" value="{{retestDataInfo.inspectionTime}}"></voucher-date>
    </view>

    <view class="add_btn" style="padding:50rpx 0;">
        <view class="add_btn_qx" bindtap="add_btn_qx">取消</view>
        <view     class="add_btn_bc">
        <button   class="add_btn_bc" style="width: 220rpx;line-height: 50rpx;border-radius: 10rpx;color:#fff;font-weight: 400;"  form-type="submit">保存</button>
       </view>
    </view>
</form>
  

</view>
<van-overlay show="{{loadShow}}">
  <view class="gif">
    <image src="../../images/loding2.gif"></image>
    <view>数据加载中！请稍后...</view>
  </view>
</van-overlay>  