| | |
| | | <view>总数量:{{orderDetl.anfme}}</view> |
| | | <view>已入数量:{{orderDetl.qty}}</view> |
| | | </view> |
| | | <view class="list-right"> |
| | | <view class="list-right" @click="addItem(orderDetl)"> |
| | | <uni-icons type="folder-add" size="25" color="#fff"></uni-icons> |
| | | </view> |
| | | </view> |
| | | <view class="shop-car"> |
| | | |
| | | |
| | | <view class="shop-car" @click="orderCar()"> |
| | | <view class="car-left"> |
| | | <uni-icons type="cart-filled" size="35" color="#fff"></uni-icons> |
| | | </view> |
| | | <view class="car-right"> |
| | | <text>10</text> |
| | | <text>{{orderCarList.length}}</text> |
| | | </view> |
| | | </view> |
| | | <view style="height: 50rpx;"></view> |
| | |
| | | searchValue: '', |
| | | total: '', |
| | | dataList: [], |
| | | orderCarList: [], |
| | | data: { |
| | | curr: 1, |
| | | limit: 100, |
| | |
| | | |
| | | } |
| | | }, |
| | | onShow() { |
| | | onLoad() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | this.searchValue = uni.getStorageSync('threeCode'); |
| | |
| | | }, |
| | | clear() { |
| | | this.getOrderDetlList(this.searchValue,30) |
| | | }, |
| | | // 添加入库商品至 待组托列表 |
| | | addItem(orderDetl) { |
| | | this.orderCarList.push(orderDetl) |
| | | }, |
| | | // 点击前往 待组托列表 |
| | | orderCar() { |
| | | let _this = this |
| | | uni.navigateTo({ |
| | | url: './orderCar', |
| | | success(res) { |
| | | res.eventChannel.emit('item', { |
| | | item: _this.orderCarList |
| | | }) |
| | | }, |
| | | events: { |
| | | acceptDataFromOpenedPage: function(data) { |
| | | console.log(data); |
| | | } |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |