From 018fd60f8e255162cb36ca97e98aa29d0212e751 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 21 Oct 2021 20:05:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A0=B7=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Transaction.vue | 231 +++++++++++++++++++++----------------- 1 file changed, 127 insertions(+), 104 deletions(-) diff --git a/src/views/Transaction.vue b/src/views/Transaction.vue index 98302a0..7ef8fe5 100644 --- a/src/views/Transaction.vue +++ b/src/views/Transaction.vue @@ -62,12 +62,12 @@ header-align="center" :header-cell-style="headClass" > - + @@ -206,6 +206,8 @@ class="number-input" v-model.trim="scope.row.value2" :disabled="isView || scope.row.isDisabled" + onkeyup="value=this.value.replace(/\D+/g,'')" + oninput="value=value.replace(/[^0-9.]/g,'')" type="number" min="1" size="mini" @@ -231,79 +233,86 @@ - - - - -
- 交易指标区间 -
-
- - - - - - +
@@ -314,9 +323,10 @@