index.wxml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <wxs src="../../utils/filter.wxs" module="filter"></wxs>
  2. <view class="container">
  3. <!--screen-->
  4. <view wx:if="{{userInfo.mgvmRole!=3}}" class="tui-header-screen">
  5. <view class="cu-bar search bg-white">
  6. <view class="search-form round">
  7. <text class="cuIcon-search"></text>
  8. <input type="text" placeholder="输入代理名称" confirm-type="search" value="{{searchParams.agentName}}" data-name="searchParams.agentName" catchinput="inputedit" bindblur="inputedit"></input>
  9. </view>
  10. <view class="action">
  11. <button class="cu-btn bg-blue shadow-blur round" bindtap="btnsearch">搜索</button>
  12. </view>
  13. </view>
  14. </view>
  15. <!--screen-->
  16. <form bindsubmit="formSubmit" bindreset="formReset">
  17. <!-- <picker bindchange="bindStorePickerChange" value="{{index}}" range="{{storeList}}" range-key="storeName">
  18. <tui-list-cell hover="{{false}}">
  19. <view class="tui-line-cell">
  20. <view class="tui-title">门店</view>
  21. <input placeholder-class="phcolor" class="tui-input" placeholder="请选择门店" type="text" disabled="true"
  22. value="{{searchParams.storeName}}" />
  23. </view>
  24. </tui-list-cell>
  25. </picker> -->
  26. <view class="tui-goods-item" wx:for="{{stockList}}">
  27. <image src="{{item.productImg}}" class="tui-goods-img"></image>
  28. <view class="tui-goods-center">
  29. <tui-list-cell hover="{{false}}" padding="20rpx 20rpx">
  30. <view class="tui-line-cell">
  31. <view class="tui-title">{{item.skuProductName}}</view>
  32. </view>
  33. </tui-list-cell>
  34. <!-- <tui-list-cell hover="{{false}}" padding="20rpx 20rpx">
  35. <view class="tui-line-cell">
  36. <view class="tui-title">适应格子</view>
  37. <view class="tui-label" style="display:flex;">
  38. <tui-tag size="small" tui-tag-class="tui-mrbtm" wx:for="{{filter.gridList(item.productGrid)}}">{{item}}</tui-tag>
  39. </view>
  40. </view>
  41. </tui-list-cell> -->
  42. <tui-list-cell hover="{{false}}" padding="20rpx 20rpx">
  43. <view class="tui-line-cell">
  44. <view class="tui-title">商品库存:</view>
  45. <input placeholder-class="phcolor" class="tui-input" placeholder="请填写商品库存" type="number" value="{{item.skuStock}}" catchinput="inputeditRow" bindblur="inputeditRow" data-name="productPrice" data-index="{{index}}" data-item="{{item}}"/>
  46. </view>
  47. </tui-list-cell>
  48. </view>
  49. </view>
  50. <view class="tui-btn-box">
  51. <button class="btn-primary margin-bottom-xs" hover-class="btn-hover" formType="submit" type="primary">提交</button>
  52. <button class="btn-primary btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
  53. </view>
  54. </form>
  55. <!--弹出-->
  56. <time-picker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide"
  57. bind:setPickerTime="setPickerTime" config="{{pickerConfig}}"></time-picker>
  58. <!--弹出-->
  59. </view>