info.wxml 5.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <!--pages/index/info.wxml-->
  2. <view class="container">
  3. <view class="part topProJectInfo">
  4. <view class="proTitle">
  5. <van-icon class='iconfont' class-prefix='iconfont' name='/images/licensePlate.png' size="30rpx" color="rgba(0, 0, 0, 0.85)"></van-icon> {{info.licenseNumber}}<text slot="button" class="status status{{info.appointmentType}}">{{ filters.codeAnalysis(appointmentTypeArray, info.appointmentType, 'dictValue', 'dictLabel') }}</text><!--<text class="queueNumber">排队号:{{info.queueNumber}}</text>-->
  6. </view>
  7. <view class="sijiInfo" wx:if="{{ info.type != '2' }}">
  8. <view wx:if="{{info.driverName}}">司机:{{info.driverName}}</view>
  9. <view wx:if="{{info.driverMobile}}">
  10. <van-icon name="phone-o" />
  11. <!-- <van-icon class='iconfont' class-prefix='iconfont' name='dianhua' size="30rpx" color="rgba(0, 0, 0, 0.85)" style="margin-left:20rpx;margin-right: 10rpx;"></van-icon> -->
  12. {{info.driverMobile}}
  13. </view>
  14. </view>
  15. </view>
  16. <view class="part">
  17. <!-- 砂石预约 -->
  18. <block wx:if="{{ info.appointmentType == '1' }}">
  19. <van-field label="订单编号" input-align="right" model:value="{{info.orderNumber}}" readonly></van-field>
  20. </block>
  21. <!-- <van-field label="预约类型" input-align="right" readonly>
  22. <text slot="button" class="status status{{info.appointmentType}}">{{ filters.codeAnalysis(appointmentTypeArray, info.appointmentType, 'dictValue', 'dictLabel') }}</text>
  23. </van-field> -->
  24. <van-field label="预约状态" input-align="right" readonly>
  25. <text slot="button" class="status status{{info.status}}">{{ info.statusName }}</text>
  26. </van-field>
  27. <van-field label="预约分类" input-align="right" readonly wx:if="{{ info.appointmentType == '2' }}">
  28. <text slot="button" class="status status{{info.appointmentClassify}}">{{ filters.codeAnalysis(appointmentClassifyArray,info.appointmentClassify, 'value', 'label') }}</text>
  29. </van-field>
  30. <!-- 砂石预约 -->
  31. <block wx:if="{{ info.appointmentType == '1' }}">
  32. <van-field label="客户名称" input-align="right" model:value="{{info.customerName}}" readonly></van-field>
  33. <van-field label="货品名称" input-align="right" model:value="{{info.goodsName}}" readonly></van-field>
  34. <van-field label="货品编码" input-align="right" model:value="{{info.goodsCode}}" readonly></van-field>
  35. <van-field label="提货开始时间" input-align="right" model:value="{{info.beginTime}}" readonly></van-field>
  36. <van-field label="提货结束时间" input-align="right" model:value="{{info.endTime}}" readonly></van-field>
  37. </block>
  38. <block wx:if="{{ info.appointmentType == '1' || info.appointmentType == '3' }}">
  39. <van-field label="装卸点位" input-align="right" model:value="{{info.loadPoint}}" readonly></van-field>
  40. <van-field label="装卸开始时间" input-align="right" model:value="{{info.loadBeginTime}}" readonly></van-field>
  41. <van-field label="装卸结束时间" input-align="right" model:value="{{info.loadEndTime}}" readonly></van-field>
  42. </block>
  43. <!-- 管桩预约 -->
  44. <block wx:if="{{ info.appointmentType == '5' }}">
  45. <van-field label="管桩计划单号" input-align="right" value="{{planNumber }}" readonly></van-field>
  46. <van-field label="- 计划名称" input-align="right" value="{{ planName }}" readonly></van-field>
  47. <van-field label="- 预约次数" input-align="right" value="{{ planCount }}" readonly></van-field>
  48. <van-field label="- 已预约次数" input-align="right" value="{{ planAlreadyCount }}" readonly></van-field>
  49. <van-field label="- 开始时间" input-align="right" value="{{ beginTime }}" readonly></van-field>
  50. <van-field label="- 结束时间" input-align="right" value="{{ endTime }}" readonly></van-field>
  51. </block>
  52. <van-field label="审核备注" wx:if="{{info.appointmentReason}}" input-align="right" model:value="{{info.appointmentReason}}" readonly></van-field>
  53. <!-- 砂石预约 起卸预约 -->
  54. <block wx:if="{{ info.appointmentType == '1' || info.appointmentType == '3' }}">
  55. <van-field center clearable label="司机确认" use-button-slot class="radioHeight fieldAutoHeight">
  56. <view slot="input" class="radioHeightBx" wx:if="{{ info.driverSign }}"><van-image slot="input" width="100px" height="100px" src="{{ info.driverSign }}" /></view>
  57. </van-field>
  58. <van-field label="卸货重量" input-align="right" model:value="{{info.unloadWeight}}" readonly>
  59. <view slot="right-icon">
  60. <text>吨</text>
  61. </view>
  62. </van-field>
  63. <view class="part">
  64. <van-field label="司机回签" readonly border="{{false}}"></van-field>
  65. <van-cell-group wx:if="{{ fileList.length>0 }}">
  66. <van-field name="" model:value="" label="" class="checkbox">
  67. <view slot="input" class="checkboxView">
  68. <van-uploader name="" deletable="{{false}}" file-list="{{ fileList }}" max-count="{{fileList.length}}" preview-size="80" />
  69. </view>
  70. </van-field>
  71. </van-cell-group>
  72. <van-field center clearable label="签收审核" use-button-slot class="radioHeight fieldAutoHeight">
  73. <view slot="input" class="radioHeightBx" wx:if="{{ info.auditSign }}"><van-image slot="input" width="100px" height="100px" src="{{ info.auditSign }}" /></view>
  74. </van-field>
  75. </view>
  76. </block>
  77. <block wx:if="{{ info.appointmentType == '1' || info.appointmentType == '3' || (info.appointmentType == '6' && info.isWeigh == '1') }}">
  78. <!-- 5已入场 7完成装货 -->
  79. <view style="padding: 20px 0;" wx:if="{{ info.status == '5' || info.status == '7' }}">
  80. <canvas class='canvas' canvas-id='canvas' style='width:220px;height:220px;margin: 0 auto;'></canvas>
  81. </view>
  82. </block>
  83. </view>
  84. <view style="height: 50px;"></view>
  85. </view>
  86. <wxs module="filters" src="../../utils/filter.wxs"></wxs>