From a0db9daa3a9ea540fd78203e53a9b7d38e9aecd9 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 04 七月 2024 10:56:53 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master --- src/components/do/b1-inspect-order-plan/Inspection.vue | 6 +++++- 1 files changed, 5 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 27b091c..a38a441 100644 --- a/src/components/do/b1-inspect-order-plan/Inspection.vue +++ b/src/components/do/b1-inspect-order-plan/Inspection.vue @@ -1999,7 +1999,11 @@ return sum }, handleInput (n) { - n.v.v = n.v.v.replace(/[^\d.^]/g, ''); + if (n.v.v > 10000) { + let num2 = new this.$Big(n.v.v) + n.v.v = num2.toExponential() + } + n.v.v = n.v.v.replace(/[^\d.^e]/g, ''); }, getInspectionItemType(id) { for (var a in this.currentSample.insProduct) { -- Gitblit v1.9.3