pages/listing/disc.vue
@@ -149,9 +149,15 @@ mounted() {}, methods: { async search() { if (this.barcode == undefined || this.barcode == '') { uni.showToast({ icon: "none", title: '物料标签不能为空!!' }) return } const find = this.list.find(el => el.trackCode === this.barcode); find ? this.scrollTo() : this.getDet(); }, async getDet() { const { @@ -173,6 +179,13 @@ } }, async getList() { if (this.container == undefined || this.container == '') { uni.showToast({ icon: "none", title: '容器号不能为空!!' }) return } const { code, data,