edit.wxml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!--pages/loadArrive/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="appointId" value='{{loadappointArray[loadappointIndex].id}}' hidden='true' />
  12. <picker bindchange="bindPickerChange" value="{{loadappointIndex}}" range="{{loadappointArray}}" range-key="name" data-pickername='loadappoint'>
  13. <view wx:if="{{loadappointArray[loadappointIndex].name}}"> {{loadappointArray[loadappointIndex].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. <van-field label="船号" required name="shipNo" value="{{ info.shipNo }}" placeholder="请填写船号" input-align="right" ></van-field>
  22. <van-field label="报港数量" type="digit" required name="arriveNumber" value="{{ info.arriveNumber }}" placeholder="请输入报港数量" input-align="right" border="{{ false }}">
  23. <view slot="right-icon">
  24. <text>吨</text>
  25. </view>
  26. </van-field>
  27. <van-field label="到港时间" required name="arriveTime" value="{{ currentChoose }}" placeholder="请选择到港时间" input-align="right" bind:tap="openPicker">
  28. </van-field>
  29. <van-action-sheet show="{{ show }}" bind:close="onClose" bind:getuserinfo="onGetUserInfo">
  30. <van-datetime-picker type="datetime" value="{{ currentDate }}" min-date="{{ minDate }}" max-date="{{ maxDate }}" bind:cancel="onCancel" bind:confirm="onConfirm" bind:change="onChange" />
  31. </van-action-sheet>
  32. <view class="topItem">
  33. <van-field label="发航单上传" required readonly input-align="right" border="{{false}}" />
  34. <van-field name="" model:value="" label="" class="uploadBox">
  35. <view slot="input" class="uploadboxView">
  36. <van-uploader name="" deletable="{{true}}" data-type="fileList" file-list="{{ fileList }}" bind:after-read="afterRead" bind:delete="deleteImg" max-count="6" preview-size="110" />
  37. </view>
  38. </van-field>
  39. </view>
  40. </view>
  41. <view class="fixedBtn submitBtn">
  42. <van-button loading="{{isSubmitting}}" round block disabled="{{isSubmitting}}" loading-text="{{isSubmitting?'提交中...':''}}" type="info" form-type="submit">确定
  43. </van-button>
  44. </view>
  45. </form>
  46. </view>
  47. </view>
  48. <wxs module="filters" src="../../utils/filter.wxs"></wxs>