Commit e72039f0 by lianyang

bttdck字段j金额显示必填项的pattern微调

parent 839218d2
......@@ -41,9 +41,9 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"btdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"btdgrp.be1.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -92,9 +92,8 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"btdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
],
"btdgrp.rec.rcvdatbe1":[
{type: "date", required: false, message: "输入正确的日期"}
......@@ -107,31 +106,31 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"btdgrp.be2amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.be2amt2":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.cbs.opnbe1amt.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.prp.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"btdgrp.cbs.opnbe1amt2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bttp.prpp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -183,9 +182,9 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"btdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", required: false, message: "必输项"},
{max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"btdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
......
......@@ -114,12 +114,11 @@
style="text-align: left; margin-left: 5px"
prop="btdgrp.cbs.opn1.amt"
>
<c-input
<c-input-currency-min
v-model="model.btdgrp.cbs.opn1.amt"
placeholder="请输入余额"
class="m-input-currency"
disabled
></c-input>
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
......@@ -232,11 +231,11 @@
style="text-align: left; margin-left: 5px"
prop="btdgrp.cbs.max2.amt"
>
<c-input-currency
<c-input-currency-min
v-model="model.btdgrp.cbs.max2.amt"
placeholder=""
disabled
></c-input-currency>
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
......@@ -293,10 +292,10 @@
style="text-align: left; margin-left: 5px"
prop="btdgrp.be2amt2"
>
<c-input-currency
<c-input-currency-min
v-model="model.btdgrp.be2amt2"
placeholder=""
></c-input-currency>
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
......@@ -352,10 +351,10 @@
style="text-align: left; margin-left: 5px"
prop="btdgrp.cbs.opnbe1amt2.amt"
>
<c-input-currency
<c-input-currency-min
v-model="model.btdgrp.cbs.opnbe1amt2.amt"
placeholder=""
></c-input-currency>
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
......
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