edit.wxml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!--pages/reservationPipe/edit.wxml-->
  2. <view class="container" style="padding-bottom:100px;">
  3. <view class="height20"></view>
  4. <view>
  5. <form bindsubmit="formSubmit">
  6. <input name="id" value='{{info.id}}' hidden='true' />
  7. <view class="part">
  8. <!-- 管桩计划
  9. <van-field label="管桩计划" required input-align="right">
  10. <view slot="input" style="width: 100%;">
  11. <input name="orderId" value='{{orderArray[orderIndex].id}}' hidden='true' />
  12. <picker bindchange="bindPickerChange" value="{{orderIndex}}" range="{{orderArray}}" range-key="name" data-pickername='order'>
  13. <view wx:if="{{orderArray[orderIndex].name}}"> {{orderArray[orderIndex].name}}</view>
  14. <view wx:else class="selectPlaceholder">{{ defaultText }}</view>
  15. </picker>
  16. </view>
  17. <view slot="right-icon">
  18. <van-icon name="arrow" />
  19. </view>
  20. </van-field>
  21. -->
  22. <van-field label="计划编号" wx:if="{{planNumber}}" name="planNumber" readonly value="{{ planNumber }}" placeholder="自动填入" input-align="right">
  23. <input name="orderId" value='{{orderId}}' hidden='true' />
  24. </van-field>
  25. <van-field label="计划名称" wx:if="{{planName}}" name="planName" readonly value="{{ planName }}" placeholder="自动填入" input-align="right">
  26. </van-field>
  27. <van-field label="预约次数" wx:if="{{planCount}}" name="planCount" readonly value="{{ planCount }}" placeholder="自动填入" input-align="right">
  28. </van-field>
  29. <van-field label="已预约次数" wx:if="{{planAlreadyCount}}" name="planAlreadyCount" readonly value="{{ planAlreadyCount }}" placeholder="自动填入" input-align="right">
  30. </van-field>
  31. </view>
  32. <view class="part">
  33. <van-field required label="车牌号码" readonly border="{{false}}"></van-field>
  34. <car-num-input bind:setCarNum="licensePlate" isKeyboard="{{isKeyboard}}" inputOnFocusIndex="{{inputOnFocusIndex}}" inputPlates="{{inputPlates}}" isNewEnergy="{{isNewEnergy}}"></car-num-input>
  35. <input name="licenseNumber" value='{{licensePlate}}' hidden='true' />
  36. <van-field label="司机姓名" required name="driverName" value="{{ info.driverName }}" placeholder="请填写司机姓名" input-align="right" ></van-field>
  37. <van-field label="司机电话" required name="driverMobile" value="{{ info.driverMobile }}" placeholder="请填写司机电话" input-align="right" ></van-field>
  38. </view>
  39. <view class="fixedBtn submitBtn">
  40. <van-button loading="{{isSubmitting}}" round block disabled="{{isSubmitting}}" loading-text="{{isSubmitting?'提交中...':''}}" type="info" form-type="submit">确定
  41. </van-button>
  42. </view>
  43. </form>
  44. </view>
  45. </view>
  46. <wxs module="filters" src="../../utils/filter.wxs"></wxs>