zjj
2025-05-06 c5df53716b70b190e22e4016d952f1aec25c9049
pages/listing/disc.vue
@@ -133,10 +133,11 @@
            container: '',
            megreQty: '',
            list: [],
            range: [],
            range: [],
            batch: '',
            repeatClick: false,
            isconfirm: false
            isconfirm: false,
            batch:''
         }
      },
      computed: {
@@ -148,18 +149,24 @@
      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 {
               code,
               data,
               msg
            } = await request('/asnOrderItem/trackCode', {
               code: this.barcode,
               batch: this.batch
            } = await request('/asnOrderItem/trackCode', {
               code: this.barcode,
               batch: this.batch
            }, "post")
            if (code === 200) {
               data && this.list.push(data);
@@ -171,7 +178,14 @@
               })
            }
         },
         async getList() {
         async getList() {
            if (this.container == undefined || this.container == '') {
               uni.showToast({
                  icon: "none",
                  title: '容器号不能为空!!'
               })
               return
            }
            const {
               code,
               data,
@@ -232,7 +246,7 @@
               msg
            } = await request('/waitPakin/merge', {
               items: newArr,
               barcode: this.container,
               barcode: this.container,
               batch: this.batch,
            })
            if (code === 200) {