firstTui.wxml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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="{{b_show}}" z-index='999'>
  37. <view class="show_box">
  38. <view class="show_title"> <van-search style="width: 85%;" value="{{ searchBValue }}" placeholder="请输入搜索关键词" bind:search="onSearchB"
  39. />
  40. <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancelB">取消</view>
  41. </view>
  42. <scroll-view style="height: 88%;" scroll-y="true">
  43. <view wx:for="{{searchBList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChooseB">
  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">选择门店</view>
  58. <view class="item_content">
  59. <van-cell-group style="width: 100%;">
  60. <van-field
  61. label='4s门店'
  62. title-width='4.8rem'
  63. value="{{ title }}"
  64. placeholder="请选择4s门店"
  65. clearable
  66. required
  67. readonly
  68. use-button-slot
  69. >
  70. <van-button slot="button" size="small" type="primary" bindtap="handleSearch" wx:if="{{set_status!='is_detail'}}">
  71. 选择
  72. </van-button>
  73. </van-field>
  74. <van-field
  75. label='关联仓库'
  76. title-width='4.8rem'
  77. value="{{ storehouse_name }}"
  78. placeholder="默认带出"
  79. clearable
  80. required
  81. readonly
  82. >
  83. </van-field>
  84. <van-field
  85. label='退料类型'
  86. title-width='4.8rem'
  87. value="{{ basic_type_name }}"
  88. placeholder="请选择退料类型"
  89. clearable
  90. required
  91. readonly
  92. use-button-slot
  93. >
  94. <van-button slot="button" size="small" type="primary" bindtap="handleSearchB" wx:if="{{set_status!='is_detail'}}">
  95. 选择
  96. </van-button>
  97. </van-field>
  98. <van-field
  99. label='物流公司'
  100. title-width='4.8rem'
  101. value="{{ logistics_company }}"
  102. placeholder="请输入"
  103. clearable
  104. required
  105. bind:change="onChangeCompany"
  106. >
  107. </van-field>
  108. <van-field
  109. label='物流单号'
  110. title-width='4.8rem'
  111. value="{{ logistics_number }}"
  112. placeholder="请输入"
  113. clearable
  114. required
  115. bind:change="onChangeOrder"
  116. >
  117. </van-field>
  118. <van-field
  119. label='备注'
  120. title-width='4.8rem'
  121. value="{{ mark }}"
  122. placeholder="请输入"
  123. clearable
  124. bind:change="handleChangeMark"
  125. >
  126. </van-field>
  127. </van-cell-group>
  128. </view>
  129. <view class="btn">
  130. <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleReturn">
  131. <text class="font_item">上一步</text>
  132. </van-button>
  133. <van-button disabled='{{title?false:true}}' color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleNext"> <text class="font_item">下一步</text></van-button>
  134. </view>