| | |
| | | |
| | | |
| | | <view class="cu-list det menu sm-border padding"> |
| | | <block v-for="(item, index) in list" :key="index"> |
| | | <block v-for="(item, index) in list"> |
| | | <view class="cu-list det menu "> |
| | | |
| | | |
| | |
| | | <text class="text-gray">已拣数量:<text class="text-black ">{{item2.qty}}</text></text> |
| | | </view> |
| | | </view> |
| | | <view class="cu-item"> |
| | | <view class="cu-item" v-show="item2.anfme !== item2.qty"> |
| | | <view class="content"> |
| | | <view class="cu-form-group padding-lr-0"> |
| | | <view class="title text-blue"><text |
| | |
| | | wave:'', |
| | | list: [], |
| | | isconfirm: false, |
| | | barcode:'80003642', |
| | | barcode:'', |
| | | max: 99999999, |
| | | repeatClick:false |
| | | |
| | |
| | | that.wave = data.data |
| | | |
| | | }) |
| | | this.search() |
| | | |
| | | }, |
| | | methods: { |
| | | clear() { |
| | |
| | | |
| | | }, |
| | | async complete() { |
| | | |
| | | let that = this |
| | | if(that.barcode === '' || that.barcode === null){ |
| | | uni.showToast({ |
| | | title: "容器号为空", |
| | | icon: "error", |
| | | }) |
| | | return ; |
| | | } |
| | | if(that.list === [] || that.list.length === 0){ |
| | | uni.showToast({ |
| | | title: "拣货明细为空", |
| | | icon: "error", |
| | | }) |
| | | return ; |
| | | } |
| | | this.repeatClick = true |
| | | const { |
| | | code, |
| | | data, |
| | | msg |
| | | } = await request('/saveWavePick',that.list) |
| | | } = await request('/saveWavePick',{ |
| | | container:that.barcode, |
| | | containerWaveDtos:that.list |
| | | }) |
| | | if (code === 200) { |
| | | uni.showToast({ |
| | | title: msg, |
| | | icon: "none", |
| | | }) |
| | | that.clear() |
| | | } else { |
| | | uni.showToast({ |
| | | title: msg, |