Commit 002d4a92 by “yanyuxin”

LITAME输入栏检验规则修改

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