Commit fc4abf0c by lianyang

letopn/not/drw/ame/amc交易金额浮动、附加金额页加回车触发失焦点事件

parent 39cd8ee8
......@@ -190,7 +190,7 @@ export default {
"ledgrp.cbs.max2.amt":[
{type: "strig", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -80,6 +80,7 @@
<c-form-item label="Amount Tolerance +/-" prop="ledgrp.rec.nomtop">
<c-input v-model.number="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"></c-input>
</c-form-item>
</c-col>
......@@ -87,6 +88,7 @@
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input v-model.number="model.ledgrp.rec.nomton" maxlength="2" style="width: 95%"
placeholder="请输入Amount Tolerance - Negative"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"></c-input>
</el-form-item>
</c-col>
......
......@@ -128,6 +128,7 @@
<c-input v-model.number="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"
class="m-input-currency"
@keyup.enter.native="$event.target.blur()"
disabled></c-input>
</c-form-item>
</c-col>
......@@ -135,6 +136,7 @@
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input v-model.number="model.ledgrp.rec.nomton" maxlength="2" style="width: 95%"
placeholder="请输入Amount Tolerance - Negative"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
disabled></c-input>
</el-form-item>
......
......@@ -161,6 +161,7 @@
maxlength="2"
style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
</c-form-item>
......@@ -172,6 +173,7 @@
maxlength="2"
style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
</el-form-item>
......
......@@ -156,6 +156,7 @@
maxlength="2"
style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
</c-form-item>
......@@ -167,6 +168,7 @@
maxlength="2"
style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
</el-form-item>
......
......@@ -166,8 +166,10 @@
maxlength="2"
style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
<!-- @keyup.enter.native="$event.target.blur()"回车触发失去焦点后触发的事件 -->
</c-form-item>
</c-col>
<c-col :span="7">
......@@ -177,6 +179,7 @@
maxlength="2"
style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency"
></c-input>
</el-form-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment