skyouc
2025-05-06 8e4eb05471b2c6935accdbcda455e7d895736473
no message
1个文件已修改
19 ■■■■ 已修改文件
pages/listing/disc.vue 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/listing/disc.vue
@@ -148,9 +148,15 @@
        mounted() {},
        methods: {
            async search() {
                const find = this.list.find(el => el.trackCode === this.barcode);
                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 {
@@ -171,7 +177,14 @@
                    })
                }
            },
            async getList() {
            async getList() {
                if (this.container == undefined || this.container == '') {
                    uni.showToast({
                        icon: "none",
                        title: '容器号不能为空!!'
                    })
                    return
                }
                const {
                    code,
                    data,