Commit e72039f0 by lianyang

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

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