query.wxml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <view class="toptip {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
  2. <cu-custom bgColor="bg-color" isBack="{{false}}" title="查询">
  3. <!-- <view slot="content">查询</view> -->
  4. </cu-custom>
  5. <view class="toptip bg-red {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
  6. <view class="query_top">
  7. <image class="query_top_img1" src="/img/query_img1.png"></image>
  8. <image class="query_top_img2" src="/img/query_img2.png"></image>
  9. </view>
  10. <view class="query_top_hu"></view>
  11. <view class="worker_search">
  12. <view class="worker_search_con">
  13. <input type="text" placeholder="请输入关键字" value="{{keyword}}" bindinput="setKeyword"></input>
  14. <view class="text-color" bindtap="searchList"><text class="cuIcon-search"></text>搜索</view>
  15. </view>
  16. <view class="tabs">
  17. <view bindtap="setTab" data-type="dateTime">
  18. <!-- <view style="{{dateTime ? 'color:#2D59E6':''}}">{{dateTime ? dateTime:'下单时间'}}</view> -->
  19. <picker mode="date" value="{{orderTime}}" bindchange="setorderTime" bindcancel='orderTimeCancel' >
  20. <view class="picker" style="{{orderTime ?'color:#2D59E6':''}}">
  21. {{orderTime || "下单时间"}}
  22. </view>
  23. </picker>
  24. <image src="../../img/query.png"></image>
  25. </view>
  26. <view bindtap="setTab" data-type="transportStatus">
  27. <view style="{{transportStatusInit ?'color:#2D59E6':''}}">{{transportStatusInit ? seleteName:'出入库'}}</view>
  28. <image src="../../img/query.png"></image>
  29. </view>
  30. <!-- <view>
  31. <picker mode="date" value="{{startDate}}" bindchange="setStartDate" bindcancel='pickerCancel' >
  32. <view class="picker" style="{{startDate ?'color:#2D59E6':''}}">
  33. {{startDate || "选择日期"}}
  34. </view>
  35. </picker>
  36. <image src="../../../img/query.png"></image>
  37. </view> -->
  38. </view>
  39. <view class="selectTab" style="{{isTab ? 'display:block':'display:none'}}">
  40. <view class="tabText">
  41. <block wx:for="{{tabDetail}}" wx:for-item="item" wx:for-index="index" wx:key='index'>
  42. <view bindtap="seleteTab" data-item="{{item}}" data-type="{{item.type}}"
  43. class="{{item.isSelete ? 'isActive' :''}}">{{item.name}}</view>
  44. </block>
  45. </view>
  46. <view class="tabBut">
  47. <text class="cancel" bindtap="cancel">重置</text>
  48. <text class="query" bindtap="searchType">确定</text>
  49. </view>
  50. </view>
  51. </view>
  52. <view class="query_list">
  53. <view class="query_item" wx:for="{{list}}" wx:key="id" bindtap="goChainInfo" data-id="{{item.chainId}}" data-cid="{{item.uid}}">
  54. <view>
  55. <view class="query_item_txt"><text class="query_item_label">订单号:</text> <text>{{item.code || "N/A"}}</text></view>
  56. <view class="query_item_txt"><text class="query_item_label">下单日期:</text> <text>{{item.orderTime || "N/A"}}</text>
  57. </view>
  58. <view class="query_item_txt">
  59. <text class="query_item_label">客户名称: </text>
  60. <view> {{item.cusName || "N/A"}}</view>
  61. </view>
  62. <view class="query_item_txt">
  63. <text class="query_item_label">承运商: </text>
  64. <text> {{item.transportName || "N/A"}}</text>
  65. </view>
  66. <view class="query_item_txt">
  67. <text class="query_item_label">运抵省份: </text>
  68. <text> {{item.province || "N/A"}}</text>
  69. </view>
  70. <view class="query_item_txt">
  71. <text class="query_item_label">车牌: </text>
  72. <text> {{item.plateNum || "N/A"}}</text>
  73. </view>
  74. </view>
  75. <!-- <view class="query_btn" wx:if="{{item.chainId}}" bindtap="goChainInfo" data-id="{{item.chainId}}" data-cid="{{item.uid}}">
  76. 查看详情
  77. </view> -->
  78. </view>
  79. </view>
  80. <view class="no_data" wx:if="{{list.length<=0}}">
  81. <image src="/img/nodata_img2.png"></image>
  82. <view class="no_data_txt">暂无数据</view>
  83. </view>
  84. <view class="cha_win" bindtap="closeChaWin" style="{{isTab ? 'display:block':'display:none'}}"></view>