| | |
| | | }) |
| | | |
| | | }, |
| | | onShow() { |
| | | this.search() |
| | | }, |
| | | methods: { |
| | | //点击事件 |
| | | clickTaskItem(index) { |
| | |
| | | async search() { |
| | | let that = this; |
| | | this.list = [] |
| | | // if(this.barcode === '' || this.barcode ===null){ |
| | | // return ; |
| | | // } |
| | | if (that.barcode == null || that.barcode.length < 1 ) { |
| | | return; |
| | | } |
| | | const { |
| | | code, |
| | | data, |
| | |
| | | }, |
| | | 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: "拣货明细为空", |