| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <wxs src="../../utils/filter.wxs" module="filter"></wxs>
- <view class="container">
- <picker bindchange="bindStorePickerChange" value="{{index}}" range="{{storeList}}" range-key="storeName">
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">门店</view>
- <input placeholder-class="phcolor" class="tui-input" placeholder="请选择门店" type="text" disabled="true" value="{{searchParams.storeName}}" />
- </view>
- </tui-list-cell>
- </picker>
- <tui-list-cell padding="0" hover="{{false}}" wx:for="{{productList}}">
- <view class="tui-goods-item">
- <image src="{{item.productImg}}" class="tui-goods-img"></image>
- <view class="tui-goods-center">
- <view class="tui-goods-name">{{item.productName}}</view>
- <view class="tui-goods-attr">
- 进货价(元):<text class="text-red">¥{{filter.toDecimal2Penny(item.productPrice)}}</text>
- </view>
- <view class="tui-goods-attr">
- 门店库存:{{item.skuStock}}
- </view>
- <view class="tui-goods-attr">
- 订货数量:<tui-numberbox value="{{item.productNum}}" bind:change="productNumChange" data-index="{{index}}" data-item="{{item}}"></tui-numberbox>
- </view>
- </view>
- <view class="tui-price-right">
- <checkbox-group bindchange="checkboxChange" data-index="{{index}}" data-item="{{item}}">
- <checkbox value="true" checked="{{item.checkout}}"></checkbox>
- </checkbox-group>
- </view>
- </view>
- </tui-list-cell>
- <view class="tui-tabbar">
- <view class="tui-flex-end tui-color-red tui-pr-20">
- <view class="tui-black">合计金额: </view>
- <view class="tui-size-26">¥</view>
- <view class="tui-price-large">{{filter.toDecimal2Penny(totalPrice)}}</view>
- </view>
- <view class="tui-pr25">
- <tui-button width="200rpx" height="70rpx" type="danger" shape="circle" bindtap="btnPay">提交订单</tui-button>
- </view>
- </view>
- <!--弹出-->
- <time-picker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide"
- bind:setPickerTime="setPickerTime" config="{{pickerConfig}}"></time-picker>
- <!--弹出-->
- </view>
|