From f266d671b9a985576638f8f591508b9c21fc00e3 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期一, 01 七月 2024 09:00:13 +0800 Subject: [PATCH] # --- pages/phyz/stationManage/stationDetl.vue | 1 + pages/phyz/order/orderCar.vue | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/pages/phyz/order/orderCar.vue b/pages/phyz/order/orderCar.vue index 459272e..98f1dc6 100644 --- a/pages/phyz/order/orderCar.vue +++ b/pages/phyz/order/orderCar.vue @@ -117,6 +117,8 @@ this.$refs.agvStart.close() }, agvStartConfirm() { + this.barcode = this.barcode.replace(/\s+/g, '') + this.agvDevp = this.agvDevp.replace(/\s+/g, '') let _this = this if (_this.barcode === '') { uni.showToast({ title: '璐ф灦鐮佷负绌猴紒', icon: "error", position: 'top' }) diff --git a/pages/phyz/stationManage/stationDetl.vue b/pages/phyz/stationManage/stationDetl.vue index 54c2ba0..4589773 100644 --- a/pages/phyz/stationManage/stationDetl.vue +++ b/pages/phyz/stationManage/stationDetl.vue @@ -434,6 +434,7 @@ }, emptyPakinConfirm() { let _this = this; + this.barcode = this.barcode.replace(/\s+/g, '') _this.emptyPakinDis = true if (this.barcode.length != 6) { _this.emptyPakinDis = false -- Gitblit v1.9.1