| | |
| | | return arrays; |
| | | }, |
| | | popupDetermineClick() { |
| | | if (this.receiveNum) { |
| | | if (this.receiveNum > 0) { |
| | | this.getOrderNum.num = this.receiveNum; |
| | | uni.showLoading({ title: '加载中...' }); |
| | | this.$reqPost('customerGet', this.getOrderNum, 'params').then(res => { |
| | |
| | | if (res.code == 0) { |
| | | this.getOrderNum.num = ''; |
| | | this.GetOrderPlan(); |
| | | this.show = false; |
| | | uni.showToast({ |
| | | title: '领取成功!', |
| | | icon: 'none', |
| | |
| | | this.$u.toast(res.msg ? res.msg : '领取失败'); |
| | | } |
| | | }); |
| | | } else if (Number(this.receiveNum) <= 0) { |
| | | uni.showToast({ |
| | | title: '请输入合法的数字', |
| | | icon: 'none' |
| | | }); |
| | | this.show = true; |
| | | } else { |
| | | uni.showToast({ |
| | | title: '请输入领取数量', |
| | | icon: 'none' |
| | | }); |
| | | this.show = true; |
| | | } |
| | | this.show = false; |
| | | }, |
| | | /** |
| | | * @客户领取 |
| | |
| | | .second-line { |
| | | width: 100%; |
| | | height: vww(30); |
| | | margin-left: vww(12); |
| | | margin-left: vww(16); |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: flex-start; |