heshaofeng
2026-02-03 c18d2a118251c644f90dffa8cda1f9c8fb9baca1
项目代码/WIDESEA_WMSClient/src/extension/inbound/extend/Pallet.vue
@@ -923,6 +923,10 @@
      this.isManualInput = true;
      this.isScanning = false;
       if (this.trayBarcode) {
        this.trayBarcode = this.trayBarcode.replace(/\s+/g, "");
      }
      if (this.manualInputTimer) {
        clearTimeout(this.manualInputTimer);
      }
@@ -936,6 +940,10 @@
      this.isManualInput = true;
      this.isScanning = false;
      if (this.barcode) {
        this.barcode = this.barcode.replace(/\s+/g, "");
      }
      if (this.manualInputTimer) {
        clearTimeout(this.manualInputTimer);
      }
@@ -963,7 +971,9 @@
      this.validateForm().then((valid) => {
        if (!valid) return;
        const currentTrayBarcode = this.trayBarcode.trim();
        let currentTrayBarcode = (this.trayBarcode || "").replace(/\s+/g, "").trim();
        this.trayBarcode = currentTrayBarcode;
        if (!currentTrayBarcode) {
          this.error = "璇疯緭鍏ユ垨鎵弿鎵樼洏鏉$爜";