DiaoList.wxml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!--StepPage/pages/report/ShiList/ShiList.wxml-->
  2. <van-dialog
  3. use-slot
  4. title="审核流程"
  5. show="{{ show_m }}"
  6. show-cancel-button
  7. show-confirm-button='{{fasle}}'
  8. >
  9. <van-steps
  10. steps="{{ steps }}"
  11. active="{{ active }}"
  12. direction="vertical"
  13. active-color="#38f"
  14. />
  15. </van-dialog>
  16. <van-button type="default" class='btn' bindtap="handleReturn">上一页</van-button>
  17. <van-button type="primary" class='btn1' bindtap="handleDetail">详情</van-button>
  18. <van-button type="success" class='btn2' bindtap="handleEdit">编辑</van-button>
  19. <image src="../../../../images/head.png" style="width:100%;height: 250rpx;z-index:-1;margin-top: 180rpx;"></image>
  20. <view class="title">调拨单列表</view>
  21. <van-dropdown-menu class="search">
  22. <van-dropdown-item id="item" title="{{ itemTitle }}">
  23. <picker mode="date" value="{{start_date}}" start="2015-01-01" end="2040-12-30" bindchange="bindDateChange1">
  24. <view class="picker">
  25. 起始时间: {{start_date?start_date:'请点击选择时间'}}
  26. </view>
  27. </picker>
  28. <picker mode="date" value="{{end_date}}" start="2015-01-01" end="2040-12-30" bindchange="bindDateChange">
  29. <view class="picker">
  30. 结束时间: {{end_date?end_date:'请点击选择时间'}}
  31. </view>
  32. </picker>
  33. <van-radio-group value="{{ radio }}" bind:change="onChange">
  34. <van-cell-group>
  35. <van-cell title="全部" clickable data-name="3" bind:click="onClick">
  36. <van-radio slot="right-icon" name="3" />
  37. </van-cell>
  38. <van-cell title="已审核" clickable data-name="2" bind:click="onClick">
  39. <van-radio slot="right-icon" name="2" />
  40. </van-cell>
  41. <van-cell title="审核中" clickable data-name="1" bind:click="onClick">
  42. <van-radio slot="right-icon" name="1" />
  43. </van-cell>
  44. <van-cell title="未审核" clickable data-name="0" bind:click="onClick">
  45. <van-radio slot="right-icon" name="0" />
  46. </van-cell>
  47. </van-cell-group>
  48. </van-radio-group>
  49. <view style="padding: 5px 16px;">
  50. <van-button type="primary" block round bind:click="onConfirm1">
  51. 确认
  52. </van-button>
  53. </view>
  54. </van-dropdown-item>
  55. </van-dropdown-menu>
  56. <view wx:for="{{items}}" wx:key="index" class="{{item.is_choose?'is_item':'item'}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" bindtap="handleChoose">
  57. <view style="position: absolute;right: 10rpx;"><van-button color='red' catchtap='handleDel' data-item="{{item}}">删除</van-button></view>
  58. <view class="item_child"><view class="child_text">订单号:</view>{{item.order_number}}</view>
  59. <view class="item_child"><view class="child_text">单据日期:</view>{{item.crt_time}}</view>
  60. <view class="item_child"><view class="child_text">调出仓库:</view>{{item.from_storehouse_name}}</view>
  61. <view class="item_child"><view class="child_text">调入仓库:</view><view style="width: 75%;">{{item.to_storehouse_name}}</view></view>
  62. <view class="item_child"><view class="child_text">状态:</view>{{item.status_name}}</view>
  63. <button catchtap="handleClickCheck" data-item="{{item}}" style="background-color: rgb(252, 170, 48);color: black;" wx:if="{{item.status=='1'}}">审核流程</button>
  64. </view>
  65. <view style="padding-bottom: 100rpx;"></view>