| | |
| | | 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) { |