Commit 75a4a61c by liuxin

detopn前端校验调整

parent 39739605
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
], ],
"dedgrp.ben.pts.ref":[ "dedgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"dedgrp.ben.pts.extkey":[ "dedgrp.ben.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"detp.benp.ptsget.sdamod.seainf":[ "detp.benp.ptsget.sdamod.seainf":[
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
], ],
"dedgrp.cbs.nom1.amt":[ "dedgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: true, 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位" }
], ],
...@@ -82,12 +82,12 @@ export default { ...@@ -82,12 +82,12 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"dedgrp.cbs.max.amt":[ "dedgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: true, 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位" }
], ],
"dedgrp.ben.pts.extact":[ "dedgrp.ben.pts.extact":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 34,message:"长度不能超过34"} {max: 34,message:"长度不能超过34"}
], ],
"dedgrp.rec.opndat":[ "dedgrp.rec.opndat":[
...@@ -99,10 +99,10 @@ export default { ...@@ -99,10 +99,10 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.rec.expdat":[ "dedgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: true, message: "输入正确的日期"}
], ],
"dedgrp.beb.pts.jigomc":[ "dedgrp.beb.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.expplc":[ "dedgrp.rec.expplc":[
...@@ -114,7 +114,7 @@ export default { ...@@ -114,7 +114,7 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"dedgrp.apl.pts.ref":[ "dedgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
...@@ -123,7 +123,7 @@ export default { ...@@ -123,7 +123,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"dedgrp.apl.pts.extkey":[ "dedgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"detp.aplp.ptsget.sdamod.seainf":[ "detp.aplp.ptsget.sdamod.seainf":[
...@@ -146,8 +146,7 @@ export default { ...@@ -146,8 +146,7 @@ export default {
], ],
"dedgrp.rec.tenmaxday":[ "dedgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"}, {required: true, message: "必输项"}
{max: 4,message:"长度不能超过4"}
], ],
"dedgrp.blk.defdet":[ "dedgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -158,13 +157,13 @@ export default { ...@@ -158,13 +157,13 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.dftat":[ "dedgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.preper":[ "dedgrp.blk.preper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
...@@ -173,7 +172,7 @@ export default { ...@@ -173,7 +172,7 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.blk.rejadvrsn":[ "dedgrp.blk.rejadvrsn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.blk.lcrgod":[ "dedgrp.blk.lcrgod":[
...@@ -207,7 +206,7 @@ export default { ...@@ -207,7 +206,7 @@ export default {
], ],
"dedgrp.rmb.pts.jigomc":[ "dedgrp.rmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.avb.pts.bankno":[ "dedgrp.avb.pts.bankno":[
...@@ -215,15 +214,15 @@ export default { ...@@ -215,15 +214,15 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.avb.pts.jigomc":[ "dedgrp.avb.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rmb.pts.dizhii":[ "dedgrp.rmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.avb.pts.dizhii":[ "dedgrp.avb.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.cmb.pts.bankno":[ "dedgrp.cmb.pts.bankno":[
...@@ -231,7 +230,7 @@ export default { ...@@ -231,7 +230,7 @@ export default {
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.cmb.pts.jigomc":[ "dedgrp.cmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.adv.pts.extkey":[ "dedgrp.adv.pts.extkey":[
...@@ -239,7 +238,7 @@ export default { ...@@ -239,7 +238,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"dedgrp.cmb.pts.dizhii":[ "dedgrp.cmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.adv.pts.bankno":[ "dedgrp.adv.pts.bankno":[
...@@ -259,7 +258,7 @@ export default { ...@@ -259,7 +258,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apc.pts.jigomc":[ "dedgrp.apc.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.adv.pts.youzbm":[ "dedgrp.adv.pts.youzbm":[
...@@ -271,7 +270,7 @@ export default { ...@@ -271,7 +270,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"dedgrp.apc.pts.dizhii":[ "dedgrp.apc.pts.dizhii":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.kzref":[ "dedgrp.rec.kzref":[
...@@ -279,7 +278,7 @@ export default { ...@@ -279,7 +278,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.iss.pts.extkey":[ "dedgrp.iss.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"dedgrp.apc.pts.youzbm":[ "dedgrp.apc.pts.youzbm":[
...@@ -291,7 +290,7 @@ export default { ...@@ -291,7 +290,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"dedgrp.iss.pts.bankno":[ "dedgrp.iss.pts.bankno":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"dedgrp.apl.pts.extact":[ "dedgrp.apl.pts.extact":[
...@@ -311,7 +310,7 @@ export default { ...@@ -311,7 +310,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.apb.pts.jigomc":[ "dedgrp.apb.pts.jigomc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.iss.pts.youzbm":[ "dedgrp.iss.pts.youzbm":[
...@@ -382,4 +381,8 @@ export default { ...@@ -382,4 +381,8 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"dedgrp.rec.avbby":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
} }
\ No newline at end of file
...@@ -459,28 +459,27 @@ ...@@ -459,28 +459,27 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="远期付款指示" prop="dedgrp.blk.dftat"> <el-form-item label="天数" prop="dedgrp.rec.tenmaxday">
<c-input <c-input
type="textarea" v-model="model.dedgrp.rec.tenmaxday"
v-model="model.dedgrp.blk.dftat"
maxlength="35" maxlength="35"
show-word-limit placeholder="请输入天数"
placeholder="请输入远期付款指示"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单期限" prop="dedgrp.blk.preper"> <el-form-item label="远期付款指示" prop="dedgrp.blk.dftat">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.dedgrp.blk.preper" v-model="model.dedgrp.blk.dftat"
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入交单期限" placeholder="请输入远期付款指示"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- ========================右边======================= --> <!-- ========================右边======================= -->
...@@ -688,6 +687,19 @@ ...@@ -688,6 +687,19 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="交单期限" prop="dedgrp.blk.preper">
<c-input
type="textarea"
v-model="model.dedgrp.blk.preper"
maxlength="35"
show-word-limit
placeholder="请输入交单期限"
></c-input>
</el-form-item>
</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