pan.wxml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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='盘点单号'
  35. title-width='4.8rem'
  36. value="{{ formData.order_number }}"
  37. required
  38. readonly
  39. >
  40. </van-field>
  41. <van-field
  42. label='仓库'
  43. title-width='4.8rem'
  44. value="{{ formData.storehouse_title }}"
  45. required
  46. readonly
  47. >
  48. </van-field>
  49. </van-cell-group>
  50. <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">
  51. <van-cell-group>
  52. <van-field
  53. label='卷膜分类'
  54. value="{{ item.b_r_f_name }}"
  55. readonly
  56. >
  57. </van-field>
  58. <van-field
  59. label='卷膜型号'
  60. value="{{ item.title }}"
  61. readonly
  62. >
  63. </van-field>
  64. <van-field
  65. label='卷膜编码'
  66. value="{{ item.roll_film_number }}"
  67. readonly
  68. >
  69. </van-field>
  70. <van-field
  71. label='盘点数量'
  72. value="{{ item.inventory_number }}"
  73. readonly
  74. >
  75. </van-field>
  76. <van-field
  77. label='盘盈数量'
  78. value="{{ item.loss_gain_number }}"
  79. readonly
  80. >
  81. </van-field>
  82. <van-field
  83. label='盘亏数量'
  84. value="{{ item.inventory_loss_number }}"
  85. readonly
  86. >
  87. </van-field>
  88. </van-cell-group>
  89. </view>
  90. <van-cell-group>
  91. <van-field
  92. label='备注'
  93. title-width='4.8rem'
  94. value="{{ formData.mark }}"
  95. required
  96. readonly
  97. >
  98. </van-field>
  99. </van-cell-group>
  100. </view>
  101. <button style="position: fixed;bottom: 0;width: 100%;z-index: 10;" bind:tap="handleReturn">返回</button>