| | |
| | | </view> |
| | | </view> |
| | | <!-- 垫高 --> |
| | | <view style="height: 50rpx;"></view> |
| | | <view style="height: 340rpx;text-align: center;color: #b9b9b9;"> |
| | | - 已经到底了 - |
| | | </view> |
| | | <!-- 弹窗 --> |
| | | <view> |
| | | <uni-popup ref="addItem" type="dialog"> |
| | |
| | | <view class="mask" v-if="mask"> |
| | | 加载中。。。 |
| | | </view> |
| | | <!-- <view class="buttom"> |
| | | <uni-search-bar :focus="searchValueFocus" v-model="searchValue" style="width: 100%;" |
| | | maxlength="500" ancel="cancel" @confirm="searchValueInput2()" @clear="clear" placeholder="输入 / 扫描 订单号"> |
| | | </uni-search-bar> |
| | | </view> --> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | _this.dataList = res.data.records |
| | | _this.total = res.data.total |
| | | _this.mask = false |
| | | } |
| | | } else if (res.code == 403) { |
| | | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) |
| | | setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000); |
| | | } else { |
| | | uni.showToast({ title: res.msg, icon: "error", position: 'top' }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | |
| | | this.count = 0 |
| | | }, |
| | | addConfirm() { |
| | | if (this.count == 0) { |
| | | uni.showToast({ title: '入库数量不合法!', icon: "none", position: 'top' }) |
| | | return |
| | | } |
| | | // if (this.count == 0) { |
| | | // uni.showToast({ title: '入库数量不合法!', icon: "none", position: 'top' }) |
| | | // return |
| | | // } |
| | | this.dataList[this.index]['used'] = true |
| | | this.dataList[this.index]['pakinQty'] = this.count |
| | | this.orderCarList.push(this.dataList[this.index]) |
| | |
| | | // 点击前往 待组托列表 |
| | | orderCar() { |
| | | let _this = this |
| | | if (_this.orderCarList.length === 0) { |
| | | uni.showToast({ title: '请添加入库商品!', icon: "none", position: 'top' }) |
| | | return |
| | | } |
| | | uni.navigateTo({ |
| | | url: './orderCar', |
| | | success(res) { |
| | |
| | | console.log(data); |
| | | if (data.data == 1) { |
| | | _this.orderCarList = [] |
| | | _this.getOrderDetlList(uni.getStorageSync('threeCode'),999999) |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | .shop-car { |
| | | position: fixed; |
| | | left: 60rpx; |
| | | bottom: 80rpx; |
| | | left: 22rpx; |
| | | bottom: 150rpx; |
| | | background-color: #2299ff; |
| | | width: 260rpx; |
| | | height: 90rpx; |