tui.wxml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <!--StepPage/pages/first/first.wxml-->
  2. <van-dialog id="van-dialog" />
  3. <van-dialog
  4. use-slot
  5. title="原因"
  6. show="{{ show_m }}"
  7. show-cancel-button
  8. bind:close="onClose"
  9. bind:confirm="onSure"
  10. >
  11. <van-cell-group>
  12. <van-field
  13. value="{{ oa_remark }}"
  14. placeholder="请输入"
  15. clearable
  16. type='textarea'
  17. autosize='true'
  18. bind:change="handleChangeRemark"
  19. >
  20. </van-field>
  21. </van-cell-group>
  22. </van-dialog>
  23. <image src="../../../images/head.png" style="width:100%;height: 250rpx;z-index:-1"></image>
  24. <view wx:if="{{formData.is_check>0?true:false}}">
  25. <view wx:if="{{status<=0}}" style="text-align: right;padding: 0 15rpx;"><van-button type='primary' bind:tap="handleCheck">审核</van-button></view>
  26. <view wx:if='{{status==1&&oa_state==1}}'>
  27. <van-button style="margin-right: 10px" type="priamry" bind:tap="handlePassModal" data-item="1">通过</van-button>
  28. <van-button style="margin-right: 10px" type="warning" bind:tap="handlePassModal" data-item="0">驳回</van-button>
  29. </view>
  30. </view>
  31. <view class="item_content">
  32. <van-cell-group style="width: 100%;">
  33. <van-field
  34. label='4s门店'
  35. title-width='4.8rem'
  36. value="{{ formData.four_shop_title }}"
  37. required
  38. readonly
  39. >
  40. </van-field>
  41. <van-field
  42. label='关联仓库'
  43. title-width='4.8rem'
  44. value="{{ formData.storehouse_title }}"
  45. placeholder="默认带出"
  46. clearable
  47. required
  48. readonly
  49. >
  50. </van-field>
  51. <van-field
  52. label='退料类型'
  53. title-width='4.8rem'
  54. value="{{ formData.basic_type_name }}"
  55. required
  56. readonly
  57. >
  58. </van-field>
  59. <van-field
  60. label='物流公司'
  61. title-width='4.8rem'
  62. value="{{ formData.logistics_company }}"
  63. clearable
  64. required
  65. readonly
  66. >
  67. </van-field>
  68. <van-field
  69. label='物流单号'
  70. title-width='4.8rem'
  71. value="{{ formData.logistics_number }}"
  72. required
  73. readonly
  74. >
  75. </van-field>
  76. </van-cell-group>
  77. <view style='border:2rpx solid; padding:4rpx !important;width: 100%;border-radius: 20rpx;padding: 2rpx;margin-bottom: 20rpx;' wx:for="{{formData.sub}}" wx:for-item="item" wx:for-index='index' wx:key="index">
  78. <van-cell-group>
  79. <van-field
  80. label='卷膜分类'
  81. value="{{ item.b_r_f_name }}"
  82. readonly
  83. >
  84. </van-field>
  85. <van-field
  86. label='卷膜型号'
  87. value="{{ item.title }}"
  88. readonly
  89. >
  90. </van-field>
  91. <van-field
  92. label='卷膜编码'
  93. value="{{ item.roll_film_number }}"
  94. readonly
  95. >
  96. </van-field>
  97. <van-field
  98. label='退料数量'
  99. value="{{ item.number }}"
  100. readonly
  101. >
  102. </van-field>
  103. <van-field
  104. label='退料原因'
  105. value="{{ item.reason }}"
  106. readonly
  107. >
  108. </van-field>
  109. <text style="padding: 26rpx;color: blue;" bind:tap="handleShowPic" data-item='{{item}}'>查看图片</text>
  110. </van-cell-group>
  111. </view>
  112. <van-cell-group>
  113. <van-field
  114. label='备注'
  115. title-width='4.8rem'
  116. value="{{ formData.mark }}"
  117. readonly
  118. clearable
  119. >
  120. </van-field>
  121. </van-cell-group>
  122. </view>
  123. <button style="position: fixed;bottom: 0;width: 100%;z-index: 10;" bindtap="handleReturn">
  124. 返回
  125. </button>