Commit 002d4a92 by “yanyuxin”

LITAME输入栏检验规则修改

parent ce8a15af
...@@ -20,11 +20,11 @@ export default { ...@@ -20,11 +20,11 @@ export default {
], ],
"trnmod.swiadd.amenbr":[ "trnmod.swiadd.amenbr":[
{required: true, message: "必输项"}, {required: true, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"} {type: "number", max: 999,message:"只能输入数字,且长度不能超过3"}
], ],
"litamep.amenbr":[ "litamep.amenbr":[
{required: false, message: "必输项"}, {required: false, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"} {type: "number", max: 999,message:"只能输入数字,长度不能超过3"}
], ],
"lidgrp.cbs.nom1.cur":[ "lidgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -32,16 +32,16 @@ export default { ...@@ -32,16 +32,16 @@ export default {
], ],
"oldlidgrp.cbs.nom1.amt":[ "oldlidgrp.cbs.nom1.amt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"oldlidgrp.rec.nomtop":[ "oldlidgrp.rec.nomtop":[
{required: false, message: "必输项"}, {required: false, message: "必输项"},
{type: "number",max: 99,message:"长度不能超过2"} {type: "number",max: 99,message:"只能输入数字,长度不能超过2"}
], ],
"oldlidgrp.rec.nomton":[ "oldlidgrp.rec.nomton":[
{required: false, message: "必输项"}, {required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"} {type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
], ],
"oldlidgrp.cbs.max.cur":[ "oldlidgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -49,34 +49,34 @@ export default { ...@@ -49,34 +49,34 @@ export default {
], ],
"oldlidgrp.cbs.max.amt":[ "oldlidgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"trnmod.swiadd.ameamt":[ "trnmod.swiadd.ameamt":[
{required: false, message: "必输项"}, {required: false, message: "必输项"},
{type: "string", max: 18,message:"整数位不能超过14位"}, {type: "string", max: 18,message:"整数位不能超过15位"},
{pattern: /(^(\+|\-)|\d+$)|(^(\+|\-)|\.\d{1,3}$)|(^(\+|\-)|\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^(\+|\-)|\d+$)|(^(\+|\-)|\.\d{1,2}$)|(^(\+|\-)|\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"litamep.engamt":[ "litamep.engamt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"trnmod.swiadd.newamt":[ "trnmod.swiadd.newamt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"trnmod.swiadd.newnomtop":[ "trnmod.swiadd.newnomtop":[
{required: false, message: "必输项"}, {required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"} {type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
], ],
"trnmod.swiadd.newnomton":[ "trnmod.swiadd.newnomton":[
{ required: false, message: "必输项"}, { required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"} {type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
], ],
"litamep.maxcur":[ "litamep.maxcur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -84,8 +84,8 @@ export default { ...@@ -84,8 +84,8 @@ export default {
], ],
"litamep.maxamt":[ "litamep.maxamt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"oldlidgrp.rec.expdat":[ "oldlidgrp.rec.expdat":[
...@@ -103,11 +103,11 @@ export default { ...@@ -103,11 +103,11 @@ export default {
"oldlidgrp.rec.prepers18":[ "oldlidgrp.rec.prepers18":[
{ required: false, message: "必输项"}, { required: false, message: "必输项"},
{type: "number",max: 999,message:"长度不能超过3"} {type: "number",max: 999,message:"只能输入数字,长度不能超过3"}
], ],
"trnmod.swiadd.prepers18":[ "trnmod.swiadd.prepers18":[
{required: false, message: "必输项"}, {required: false, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"} {type: "number", max: 999,message:"只能输入数字,长度不能超过3"}
], ],
"oldlidgrp.blk.preper":[ "oldlidgrp.blk.preper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -129,8 +129,8 @@ export default { ...@@ -129,8 +129,8 @@ export default {
], ],
"trnmod.swiadd.addamt":[ "trnmod.swiadd.addamt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"trnmod.swiadd.trnfeetxt":[ "trnmod.swiadd.trnfeetxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -209,11 +209,11 @@ export default { ...@@ -209,11 +209,11 @@ export default {
], ],
"lidgrp.rec.nomtop":[ "lidgrp.rec.nomtop":[
{required: false, message: "必输项"}, {required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"} {type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
], ],
"lidgrp.rec.nomton":[ "lidgrp.rec.nomton":[
{ required: false, message: "必输项"}, { required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"} {type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
], ],
"lidgrp.apl.adrelc":[ "lidgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -227,8 +227,8 @@ export default { ...@@ -227,8 +227,8 @@ export default {
"lidgrp.cbs.max.amt":[ "lidgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"litp.advp.ptsget.sdamod.dadsnd":[ "litp.advp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -358,7 +358,7 @@ export default { ...@@ -358,7 +358,7 @@ export default {
], ],
"lidgrp.rec.prepers18":[ "lidgrp.rec.prepers18":[
{ required: false, message: "必输项"}, { required: false, message: "必输项"},
{type: "number",max: 999,message:"长度不能超过3"} {type: "number",max: 999,message:"只能输入数字,长度不能超过3"}
], ],
"litp.avbp.ptsget.sdamod.dadsnd":[ "litp.avbp.ptsget.sdamod.dadsnd":[
...@@ -455,7 +455,7 @@ export default { ...@@ -455,7 +455,7 @@ export default {
], ],
"lidgrp.rec.tenmaxday":[ "lidgrp.rec.tenmaxday":[
{ required: false, message: "必输项"}, { required: false, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"} {type: "number", max: 999,message:"只能输入数字,长度不能超过3"}
], ],
"lidgrp.rec.porloa":[ "lidgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -613,8 +613,8 @@ export default { ...@@ -613,8 +613,8 @@ export default {
], ],
"liaall.outamt":[ "liaall.outamt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"liaall.outpct":[ "liaall.outpct":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -647,8 +647,8 @@ export default { ...@@ -647,8 +647,8 @@ export default {
], ],
"liaall.liaccv.newamt":[ "liaall.liaccv.newamt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
], ],
"liaall.liaccv.cshpct":[ "liaall.liaccv.cshpct":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -42,11 +42,11 @@ ...@@ -42,11 +42,11 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt"> <el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt">
<c-input <c-input-currency
v-model="model.oldlidgrp.cbs.nom1.amt" v-model="model.oldlidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额" placeholder="请输入信用证金额"
disabled disabled
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.ameamt"> <el-form-item label="" prop="trnmod.swiadd.ameamt">
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额." <c-input-currency v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额."
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.newamt"> <el-form-item label="" prop="trnmod.swiadd.newamt">
<c-input v-model="model.trnmod.swiadd.newamt" placeholder="请输入修改后金额"></c-input> <c-input-currency v-model="model.trnmod.swiadd.newamt" placeholder="请输入修改后金额"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -235,11 +235,11 @@ ...@@ -235,11 +235,11 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="oldlidgrp.cbs.max.amt"> <el-form-item label="" prop="oldlidgrp.cbs.max.amt">
<c-input <c-input-currency
v-model="model.oldlidgrp.cbs.max.amt" v-model="model.oldlidgrp.cbs.max.amt"
placeholder="请输入金额" placeholder="请输入金额"
disabled disabled
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -256,11 +256,11 @@ ...@@ -256,11 +256,11 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="litamep.engamt"> <el-form-item label="" prop="litamep.engamt">
<c-input <c-input-currency
v-model="model.litamep.engamt" v-model="model.litamep.engamt"
placeholder="请输入修改总金额" placeholder="请输入修改总金额"
disabled disabled
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -276,11 +276,11 @@ ...@@ -276,11 +276,11 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="litamep.maxamt"> <el-form-item label="" prop="litamep.maxamt">
<c-input <c-input-currency
v-model="model.litamep.maxamt" v-model="model.litamep.maxamt"
placeholder="请输入New Maximum Amount" placeholder="请输入New Maximum Amount"
disabled disabled
></c-input> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
...@@ -325,9 +325,9 @@ ...@@ -325,9 +325,9 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="附加金额" prop="trnmod.swiadd.addamt"> <el-form-item label="附加金额" prop="trnmod.swiadd.addamt">
<c-input <c-input-currency
:disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') " :disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') "
v-model="model.trnmod.swiadd.addamt" placeholder="请输入附加金额"></c-input> v-model="model.trnmod.swiadd.addamt" placeholder="请输入附加金额"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
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