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 @@