buy.wxml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <wxs src="../../utils/filter.wxs" module="filter"></wxs>
  2. <view class="container">
  3. <!-- <picker bindchange="bindStorePickerChange" value="{{index}}" range="{{storeList}}" range-key="storeName">
  4. <tui-list-cell hover="{{false}}">
  5. <view class="tui-line-cell">
  6. <view class="tui-title">门店</view>
  7. <input placeholder-class="phcolor" class="tui-input" placeholder="请选择门店" type="text" disabled="true" value="{{searchParams.storeName}}" />
  8. </view>
  9. </tui-list-cell>
  10. </picker> -->
  11. <view style="margin-bottom:100rpx">
  12. <tui-list-cell padding="0" hover="{{false}}" wx:for="{{productList}}">
  13. <view class="tui-goods-item">
  14. <image src="{{item.productImg}}" class="tui-goods-img"></image>
  15. <view class="tui-goods-center">
  16. <view class="tui-goods-name">{{item.skuProductName}}</view>
  17. <view class="tui-goods-attr">
  18. 进货价(元):<text class="text-red">¥{{filter.toDecimal2Penny(item.productPrice)}}</text>
  19. </view>
  20. <!-- <view class="tui-goods-attr">
  21. 门店库存:{{item.skuStock}}
  22. </view> -->
  23. <view class="tui-goods-attr">
  24. 订货数量:<tui-numberbox value="{{item.skuStock}}" bind:change="skuStockChange" data-index="{{index}}" data-item="{{item}}"></tui-numberbox>
  25. </view>
  26. </view>
  27. <view class="tui-price-right">
  28. <checkbox-group bindchange="checkboxChange" data-index="{{index}}" data-item="{{item}}">
  29. <checkbox value="true" checked="{{item.checkout}}"></checkbox>
  30. </checkbox-group>
  31. </view>
  32. </view>
  33. </tui-list-cell>
  34. </view>
  35. <view class="tui-tabbar">
  36. <view class="tui-flex-end tui-color-red tui-pr-20">
  37. <view class="tui-black">合计金额: </view>
  38. <view class="tui-size-26">¥</view>
  39. <view class="tui-price-large">{{filter.toDecimal2Penny(totalPrice)}}</view>
  40. </view>
  41. <view class="tui-pr25">
  42. <!-- <tui-button width="200rpx" height="70rpx" type="danger" shape="circle" bindtap="btnPay">提交订单</tui-button> -->
  43. <tui-button width="200rpx" height="70rpx" type="danger" shape="circle" bindtap="reserve">订货</tui-button>
  44. </view>
  45. </view>
  46. <!--弹出-->
  47. <time-picker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide"
  48. bind:setPickerTime="setPickerTime" config="{{pickerConfig}}"></time-picker>
  49. <!--弹出-->
  50. </view>