From 0296def95f51a327cd742c727552407a2c531be9 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期四, 04 七月 2024 13:18:09 +0800
Subject: [PATCH] 修改输入框可输负数

---
 src/components/do/b1-inspect-order-plan/Inspection.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index 256f554..b2593f8 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -1926,7 +1926,7 @@
         return sum
       },
       handleInput (n) {
-        n.v.v = n.v.v.replace(/[^\d.^e/]/g, '');
+        n.v.v = n.v.v.replace(/[^\d.^e\-/]/g, '');
       },
       bigNum (n) {
         if (n.v.v > 10000 && this.PROJECT === '瑁呭鐢电紗') {

--
Gitblit v1.9.3