Commit e70a8045 by lianyang

brtdck改页面输入框限制字数

parent 56568070
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
], ],
"brdgrp.prb.pts.adrblk":[ "brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"brdgrp.prb.dbfadrblkcn":[ "brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
], ],
"brdgrp.cbs.max2.amt":[ "brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -180,8 +180,8 @@ export default { ...@@ -180,8 +180,8 @@ export default {
"days":[ "days":[
{type: "string", required: false, message: "必输项"}, {required: true, message: "必输项"},
{max: 2,message:"长度不能超过2"} // {max: 2,message:"长度不能超过2"}
], ],
"brtp.oth.namelc":[ "brtp.oth.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -229,7 +229,7 @@ export default { ...@@ -229,7 +229,7 @@ export default {
], ],
"brdgrp.blk.comcon":[ "brdgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 1950,message:"长度不能超过1950"}
], ],
...@@ -237,7 +237,7 @@ export default { ...@@ -237,7 +237,7 @@ export default {
"brdgrp.blk.setinsbr":[ "brdgrp.blk.setinsbr":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 390,message:"长度不能超过390"}
], ],
...@@ -272,7 +272,7 @@ export default { ...@@ -272,7 +272,7 @@ export default {
], ],
"brdgrp.blk.relstoadr":[ "brdgrp.blk.relstoadr":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"brdgrp.blk.vesnam":[ "brdgrp.blk.vesnam":[
...@@ -306,7 +306,7 @@ export default { ...@@ -306,7 +306,7 @@ export default {
], ],
"brdgrp.blk.roggod":[ "brdgrp.blk.roggod":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 1600,message:"长度不能超过1600"}
], ],
"brdgrp.shp.pts.adrblk":[ "brdgrp.shp.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -322,7 +322,7 @@ export default { ...@@ -322,7 +322,7 @@ export default {
], ],
"brdgrp.blk.notpty":[ "brdgrp.blk.notpty":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 350,message:"长度不能超过350"}
], ],
"brdgrp.blk.porlod":[ "brdgrp.blk.porlod":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -510,5 +510,9 @@ export default { ...@@ -510,5 +510,9 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
], ],
"mhtyp":[
{type: "string", required: true, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
} }
\ No newline at end of file
...@@ -518,7 +518,6 @@ ...@@ -518,7 +518,6 @@
rol: 'prb', rol: 'prb',
}" }"
:disabled="true" :disabled="true"
:isAdrblk="false"
> >
</c-ptap1> </c-ptap1>
</c-col> </c-col>
...@@ -543,7 +542,6 @@ ...@@ -543,7 +542,6 @@
rol: 'prb', rol: 'prb',
}" }"
:disabled="true" :disabled="true"
:isAdrblk="false"
disabled1 disabled1
> >
</c-ptap1> </c-ptap1>
......
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon" > <el-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon" >
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" <c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="1950" show-word-limit placeholder="请输入Comments and Conclusions"
rows="5"></c-input> rows="5"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="21"> <c-col :span="21">
<el-form-item label="Settlement Instructions BR" prop="brdgrp.blk.setinsbr"> <el-form-item label="Settlement Instructions BR" prop="brdgrp.blk.setinsbr">
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions BR" <c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="390" show-word-limit placeholder="请输入Settlement Instructions BR"
rows="5"></c-input> rows="5"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Covered Goods" prop="brdgrp.blk.roggod"> <el-form-item label="Covered Goods" prop="brdgrp.blk.roggod">
<c-input type="textarea" v-model="model.brdgrp.blk.roggod" maxlength="40" show-word-limit placeholder="请输入Covered Goods" ></c-input> <c-input type="textarea" v-model="model.brdgrp.blk.roggod" maxlength="1600" show-word-limit placeholder="请输入Covered Goods" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
<c-col :span="20"> <c-col :span="20">
<el-form-item label="Release to Address" prop="brdgrp.blk.relstoadr"> <el-form-item label="Release to Address" prop="brdgrp.blk.relstoadr">
<c-input type="textarea" v-model="model.brdgrp.blk.relstoadr" maxlength="35" show-word-limit placeholder="请输入Release to Address" <c-input type="textarea" v-model="model.brdgrp.blk.relstoadr" maxlength="140" show-word-limit placeholder="请输入Release to Address"
rows="4"></c-input> rows="4"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -204,7 +204,7 @@ ...@@ -204,7 +204,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Notify Party" prop="brdgrp.blk.notpty"> <el-form-item label="Notify Party" prop="brdgrp.blk.notpty">
<c-input type="textarea" v-model="model.brdgrp.blk.notpty" maxlength="35" show-word-limit placeholder="请输入Notify Party" ></c-input> <c-input type="textarea" v-model="model.brdgrp.blk.notpty" maxlength="350" show-word-limit placeholder="请输入Notify Party" ></c-input>
</el-form-item> </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