first.wxml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. <van-overlay show="{{show}}" z-index='999'>
  24. <view class="show_box">
  25. <view class="show_title"> <van-search style="width: 85%;" value="{{ searchValue }}" placeholder="请输入搜索关键词" bind:search="onSearch"
  26. />
  27. <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancel">取消</view>
  28. </view>
  29. <scroll-view style="height: 88%;" scroll-y="true">
  30. <view wx:for="{{searchList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChoose">
  31. {{item.title}}
  32. </view>
  33. </scroll-view>
  34. </view>
  35. </van-overlay>
  36. <van-overlay show="{{show_c}}" z-index='999'>
  37. <view class="show_box">
  38. <view class="show_title"> <van-search style="width: 85%;" value="{{ searchValueC }}" placeholder="请输入搜索关键词" bind:search="onSearchC"
  39. />
  40. <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancelC">取消</view>
  41. </view>
  42. <scroll-view style="height: 88%;" scroll-y="true">
  43. <view wx:for="{{searchListC}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChooseC">
  44. {{item.title}}
  45. </view>
  46. </scroll-view>
  47. </view>
  48. </van-overlay>
  49. <image src="../../../images/head.png" style="width:100%;height: 250rpx;z-index:-1"></image>
  50. <view wx:if="{{set_status=='is_detail'&&is_check>0?true:false}}">
  51. <view wx:if="{{status<=0}}" style="text-align: right;padding: 0 15rpx;"><van-button type='primary' bind:tap="handleCheck">审核</van-button></view>
  52. <view wx:if='{{status==1&&oa_state==1}}'>
  53. <van-button style="margin-right: 10px" type="priamry" bind:tap="handlePassModal" data-item="1">通过</van-button>
  54. <van-button style="margin-right: 10px" type="warning" bind:tap="handlePassModal" data-item="0">驳回</van-button>
  55. </view>
  56. </view>
  57. <view class="title">{{type==2?'选择仓库':'选择门店'}}</view>
  58. <view class="item_content">
  59. <van-cell-group style="width: 100%;">
  60. <van-field
  61. wx:if="{{type==2}}"
  62. label='仓库'
  63. title-width='4.8rem'
  64. value="{{ title_c }}"
  65. placeholder="请选择仓库"
  66. clearable
  67. required
  68. readonly
  69. use-button-slot
  70. >
  71. <van-button wx:if="{{set_status!=='is_detail'}}" slot="button" size="small" type="primary" bindtap="handleSearchC">
  72. 选择
  73. </van-button>
  74. </van-field>
  75. <van-field
  76. wx:else
  77. label='4s门店'
  78. title-width='4.8rem'
  79. value="{{ title }}"
  80. placeholder="请选择4s门店"
  81. clearable
  82. required
  83. readonly
  84. use-button-slot
  85. >
  86. <van-button wx:if="{{set_status!=='is_detail'}}" slot="button" size="small" type="primary" bindtap="handleSearch">
  87. 选择
  88. </van-button>
  89. </van-field>
  90. </van-cell-group>
  91. </view>
  92. <view class="btn">
  93. <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleReturn">
  94. <text class="font_item">上一步</text>
  95. </van-button>
  96. <van-button disabled='{{title||title_c?false:true}}' color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleNext"> <text class="font_item">下一步</text></van-button>
  97. </view>