diaoNext.wxml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <van-dialog id="van-dialog" />
  2. <van-dialog
  3. use-slot
  4. title="原因"
  5. show="{{ show_m }}"
  6. show-cancel-button
  7. bind:close="onClose"
  8. bind:confirm="onSure"
  9. >
  10. <van-cell-group>
  11. <van-field
  12. value="{{ oa_remark }}"
  13. placeholder="请输入"
  14. clearable
  15. type='textarea'
  16. autosize='true'
  17. bind:change="handleChangeRemark"
  18. >
  19. </van-field>
  20. </van-cell-group>
  21. </van-dialog>
  22. <!-- 选择卷膜编号 -->
  23. <van-overlay show="{{c_show}}" z-index='999'>
  24. <view class="show_box">
  25. <view class="show_title"> <van-search style="width: 85%;" value="{{ searchCValue }}" placeholder="请输入搜索关键词" bind:search="onSearchC"
  26. />
  27. <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancelC">取消</view>
  28. </view>
  29. <scroll-view style="height: 88%;" scroll-y="true">
  30. <view wx:for="{{searchCList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChooseC">
  31. {{item.roll_film_number}}
  32. </view>
  33. </scroll-view>
  34. </view>
  35. </van-overlay>
  36. <!-- 选择卷膜型号 -->
  37. <van-overlay show="{{r_show}}" z-index='999'>
  38. <view class="show_box">
  39. <view class="show_title"> <van-search style="width: 85%;" value="{{ searchRValue }}" placeholder="请输入搜索关键词" bind:search="onSearchR"
  40. />
  41. <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancelR">取消</view>
  42. </view>
  43. <scroll-view style="height: 88%;" scroll-y="true">
  44. <view wx:for="{{searchRList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChooseR">
  45. {{item.title}}
  46. </view>
  47. </scroll-view>
  48. </view>
  49. </van-overlay>
  50. <image src="../../../images/head.png" style="width:100%;height: 250rpx;z-index:-1"></image>
  51. <view wx:if="{{set_status=='is_detail'&&is_check>0?true:false}}">
  52. <view wx:if="{{status<=0}}" style="text-align: right;padding: 0 15rpx;"><van-button type='primary' bind:tap="handleCheck">审核</van-button></view>
  53. <view wx:if='{{status==1&&oa_state==1}}'>
  54. <van-button style="margin-right: 10px" type="priamry" bind:tap="handlePassModal" data-item="1">通过</van-button>
  55. <van-button style="margin-right: 10px" type="warning" bind:tap="handlePassModal" data-item="0">驳回</van-button>
  56. </view>
  57. </view>
  58. <view class="title">调拨单明细</view>
  59. <view wx:for="{{productList}}" wx:for-item="item" wx:for-index='index' wx:key="index" class="item_in">
  60. <view wx:if="{{set_status!='is_detail'}}" class="btn1 add1" data-index="{{index}}" bindtap="handleAddItem">+</view>
  61. <view wx:if="{{set_status!='is_detail'}}" class="btn1 delete1" data-index="{{index}}" bindtap="handleDeleteItem">X</view>
  62. <view class="item_content">
  63. <van-cell-group style="width: 100%;">
  64. <van-field
  65. label='卷膜分类'
  66. title-width='4.8rem'
  67. value="{{ item.basic_roll_film_name }}"
  68. placeholder="自动带出"
  69. clearable
  70. readonly
  71. >
  72. </van-field>
  73. <van-field
  74. label='卷膜型号'
  75. title-width='4.8rem'
  76. value="{{ item.roll_film_name }}"
  77. placeholder="请选择"
  78. clearable
  79. required
  80. readonly
  81. use-button-slot
  82. >
  83. <van-button wx:if="{{set_status!='is_detail'}}" slot="button" size="small" type="primary" bindtap="onChooseR" data-index="{{index}}">
  84. 选择
  85. </van-button>
  86. </van-field>
  87. <van-field
  88. label='卷膜编号'
  89. title-width='4.8rem'
  90. value="{{ item.roll_film_number }}"
  91. placeholder="请选择"
  92. clearable
  93. readonly
  94. required
  95. use-button-slot
  96. >
  97. <van-button wx:if="{{set_status!='is_detail'}}" slot="button" size="small" type="primary" bindtap="onChooseC" data-index="{{index}}">
  98. 选择
  99. </van-button>
  100. </van-field>
  101. <van-field
  102. label='调拨数量'
  103. title-width='4.8rem'
  104. value="{{ item.number }}"
  105. placeholder="请输入"
  106. clearable
  107. required
  108. data-index='{{index}}'
  109. bind:blur='handleChangeNumber'
  110. >
  111. </van-field>
  112. </van-cell-group>
  113. </view>
  114. </view>
  115. <view class="btn">
  116. <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleReturn">
  117. <text class="font_item">上一步</text>
  118. </van-button>
  119. <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleNext"> <text class="font_item">下一步</text></van-button>
  120. </view>