| | |
| | | <view>编号:{{orderDetl.matnr}}</view> |
| | | <view>名称:{{orderDetl.maktx}}</view> |
| | | <view>类型:{{orderDetl.brand}}</view> |
| | | <view>总数量:{{orderDetl.anfme}}</view> |
| | | <view>已入数量:{{orderDetl.qty}}</view> |
| | | <view>调拨总量:{{orderDetl.anfme}}</view> |
| | | <view>库存数量:{{orderDetl.stock}}</view> |
| | | <view>已完成数量:{{orderDetl.qty}}</view> |
| | | </view> |
| | | <view class="list-right" @click="addItem(index)"> |
| | | <uni-icons type="folder-add" size="25" color="#fff"></uni-icons> |
| | | <view class="list-right" @click="goToLocDetl(orderDetl)"> |
| | | <uni-icons type="right" size="25" color="#fff"></uni-icons> |
| | | </view> |
| | | </view> |
| | | |
| | | |
| | | <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>{{orderCarList.length}}</text> |
| | | </view> |
| | | </view> |
| | | <!-- 垫高 --> |
| | | <view style="height: 340rpx;text-align: center;color: #b9b9b9;"> |
| | | - 已经到底了 - |
| | |
| | | onLoad() { |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | this.searchValue = uni.getStorageSync('threeCode'); |
| | | this.searchValue = uni.getStorageSync('bcpDbThreeCode'); |
| | | this.getOrderDetlList(this.searchValue,10) |
| | | console.log("onLoad"); |
| | | }, |
| | |
| | | _this.data.three_code = threeCode |
| | | _this.data.limit = limit |
| | | uni.request({ |
| | | url: `${_this.baseUrl}/order/bcp/detls/pakin/page/auth`, |
| | | url: `${_this.baseUrl}/order/bcpDb/detls/pakin/page/auth`, |
| | | header: {'token': uni.getStorageSync('token')}, |
| | | data: _this.data, |
| | | method: 'GET', |
| | |
| | | searchValueInput2() { |
| | | this.dataList = [] |
| | | this.data.curr = 1 |
| | | uni.setStorageSync('threeCode', this.searchValue); |
| | | uni.setStorageSync('bcpDbThreeCode', this.searchValue); |
| | | if (this.searchValue.length == 0) { |
| | | this.getOrderDetlList(this.searchValue,10) |
| | | } else { |
| | |
| | | console.log(data); |
| | | if (data.data == 1) { |
| | | _this.orderCarList = [] |
| | | _this.getOrderDetlList(uni.getStorageSync('threeCode'),10) |
| | | _this.getOrderDetlList(uni.getStorageSync('bcpDbThreeCode'),10) |
| | | } |
| | | } |
| | | } |
| | |
| | | this.data.brand = '' |
| | | this.getOrderDetlList(this.searchValue,10) |
| | | this.$refs.filter.close() |
| | | } |
| | | }, |
| | | goToLocDetl(item) { |
| | | let _this = this |
| | | uni.navigateTo({ |
| | | url: './bcpDbList', |
| | | success(res) { |
| | | res.eventChannel.emit('item', { |
| | | item: item |
| | | }) |
| | | }, |
| | | events: { |
| | | acceptDataFromOpenedPage: function(data) { |
| | | _this.getOrderDetlList(this.searchValue1,10) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | } |
| | | } |