Commit 75a4a61c by liuxin

detopn前端校验调整

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