diff --git a/pages/AvgCarry/index.vue b/pages/AvgCarry/index.vue index 252d7c2..b5e26c4 100644 --- a/pages/AvgCarry/index.vue +++ b/pages/AvgCarry/index.vue @@ -132,14 +132,14 @@ // this.judge() // } // }).catch(err=>console.log(err)) - // if(this.dataForm.containerCode == null - // || this.dataForm.containerCode === '' - // || this.dataForm.containerCode === 0 - // || this.dataForm.containerCode === undefined - // || this.dataForm.containerCode ==='undefined'){ - // this.$u.toast("请扫描托盘编号"); - // return; - // } + if(this.dataForm.containerCode == null + || this.dataForm.containerCode === '' + || this.dataForm.containerCode === 0 + || this.dataForm.containerCode === undefined + || this.dataForm.containerCode ==='undefined'){ + this.$u.toast("请扫描托盘编号"); + return; + } if(this.beginValue == null || this.beginValue === ''