<!--pages/queueCar/adjustOrder.wxml-->
<view class="container" style="padding-bottom:100px;">
  <view class="height20"></view>
  <view>
    <form bindsubmit="formSubmit">
      <input name="id" value='{{id}}' hidden='true' />
      <view class="part">
        <van-field label="车牌号码" value="{{ info.licenseNumber }}" input-align="right" readonly></van-field>
        <van-field label="司机姓名" value="{{ info.driverName }}" input-align="right" readonly></van-field>
        <van-field label="司机电话" value="{{ info.driverMobile }}" input-align="right" readonly></van-field>
        <van-field label="提货开始时间" value="{{beginTime}}" input-align="right" readonly></van-field>
        <van-field label="提货结束时间" value="{{endTime}}" input-align="right" readonly></van-field>
        <!-- 订单 -->
        <van-field label="订单" required input-align="right" bindtap="hideKeybord">
          <view slot="input" style="width: 100%;">
            <input name="orderId" value='{{orderArray[orderIndex].id}}' hidden='true' />
            <picker bindchange="bindPickerChange" value="{{orderIndex}}" range="{{orderArray}}" range-key="orderName" data-pickername='order'>
              <view wx:if="{{orderArray[orderIndex].orderName}}"> {{orderArray[orderIndex].orderName}}</view>
              <view wx:else class="selectPlaceholder">{{defaultText}}</view>
            </picker>
          </view>
          <view slot="right-icon">
            <van-icon name="arrow" />
          </view>
        </van-field>
      
      </view>

      <view class="fixedBtn submitBtn">
        <van-button loading="{{isSubmitting}}" round block disabled="{{isSubmitting}}" loading-text="{{isSubmitting?'提交中...':''}}" type="info" form-type="submit">确定
        </van-button>
      </view>

    </form>
  </view>
</view>

<wxs module="filters" src="../../utils/filter.wxs"></wxs>