shen.wxml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <van-overlay show="{{show}}" z-index='999'>
  2. <view class="show_box">
  3. <view class="show_title"> <van-search style="width: 85%;" value="{{ searchValue }}" placeholder="请输入搜索关键词" bind:search="onSearch"
  4. />
  5. <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancel">取消</view>
  6. </view>
  7. <scroll-view style="height: 88%;" scroll-y="true">
  8. <view wx:for="{{searchList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChoose">
  9. {{item.title}}
  10. </view>
  11. </scroll-view>
  12. </view>
  13. </van-overlay>
  14. <van-overlay show="{{showR}}" z-index='999'>
  15. <view class="show_box">
  16. <view class="show_title"> <van-search style="width: 85%;" value="{{ searchValueR }}" placeholder="请输入搜索关键词" bind:search="onSearchR"
  17. />
  18. <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancelR">取消</view>
  19. </view>
  20. <scroll-view style="height: 88%;" scroll-y="true">
  21. <view wx:for="{{searchListR}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChooseR">
  22. {{item.emp_name}}
  23. </view>
  24. </scroll-view>
  25. </view>
  26. </van-overlay>
  27. <image src="../../../images/head.png" style="width:100%;height: 250rpx;z-index:-1"></image>
  28. <view class="title">计费物料申领单</view>
  29. <view class="item_content">
  30. <van-cell-group style="width: 100%;">
  31. <van-field
  32. label='所属区域'
  33. title-width='5rem'
  34. value="{{ area_title }}"
  35. placeholder="请选择"
  36. clearable
  37. required
  38. readonly
  39. use-button-slot
  40. >
  41. <van-button wx:if="{{set_status!='is_detail'}}" slot="button" size="small" type="primary" bindtap='handleClick'>
  42. 选择
  43. </van-button>
  44. </van-field>
  45. <van-field
  46. label='区域经理'
  47. title-width='5rem'
  48. value="{{ emp_name }}"
  49. placeholder="请选择"
  50. clearable
  51. required
  52. readonly
  53. use-button-slot
  54. >
  55. <van-button slot="button" size="small" type="primary" wx:if="{{(area?true:false)&&set_status!='is_detail'}}" bindtap='handleClickR'>
  56. 选择
  57. </van-button>
  58. </van-field>
  59. <van-field
  60. label='联系人/电话'
  61. title-width='5rem'
  62. value="{{ address }}"
  63. placeholder="请输入"
  64. clearable
  65. autosize
  66. type='textarea'
  67. bind:blur='handleChangeAddress'
  68. required
  69. >
  70. </van-field>
  71. <van-field
  72. label='备注'
  73. title-width='5rem'
  74. autosize
  75. type='textarea'
  76. value="{{ mark }}"
  77. placeholder="请输入"
  78. bind:blur='handleChangeMark'
  79. clearable
  80. >
  81. </van-field>
  82. </van-cell-group>
  83. </view>
  84. <view class="btn">
  85. <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleReturn">
  86. <text class="font_item">上一步</text>
  87. </van-button>
  88. <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleNext"> <text class="font_item">下一步</text></van-button>
  89. </view>