Commit 788956be by WH

修复前端letdav前端check问题

parent 2513f2fd
export default { export default {
"bedgrp.rec.advtyp" :null, "bedgrp.rec.advtyp" :null,
"setmod.dspflg" :null, // "setmod.dspflg" :null,
"bedgrp.rec.docprbrol" :null, "bedgrp.rec.docprbrol" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"betp.ledget.sdamod.dadsnd":[ "betp.ledget.sdamod.dadsnd":[
...@@ -36,12 +36,12 @@ export default { ...@@ -36,12 +36,12 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"ledgrp.cbs.opn1.amt":[ // "ledgrp.cbs.opn1.amt":[
{type: "string", 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位" }
{pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], // ],
"bedgrp.apl.pts.nam":[ "bedgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
...@@ -59,17 +59,17 @@ export default { ...@@ -59,17 +59,17 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"ledgrp.rec.opndat":[ "ledgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"ledgrp.rec.shpdat":[ "ledgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"bedgrp.prb.pts.ref":[ "bedgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"ledgrp.rec.expdat":[ "ledgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"ledgrp.rec.expplc":[ "ledgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -96,13 +96,13 @@ export default { ...@@ -96,13 +96,13 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"bedgrp.rec.rcvdat":[ "bedgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"bedgrp.rec.advdat":[ "bedgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"bedgrp.rec.disdat":[ "bedgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
"betp.oth.pts.ref":[ "betp.oth.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -255,34 +255,34 @@ export default { ...@@ -255,34 +255,34 @@ export default {
{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位" }
], ],
"setmod.ref":[ // "setmod.ref":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} // {max: 16,message:"长度不能超过16"}
], // ],
"setmod.docamt":[ // "setmod.docamt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", 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位" }
], // ],
"setmod.zmqacc":[ // "setmod.zmqacc":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"} // {max: 20,message:"长度不能超过20"}
], // ],
"mtabut.coninf.oitinf.oit.inftxt":[ // "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, // {type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"} // {max: 60,message:"长度不能超过60"}
], // ],
"mtabut.coninf.oitset.oit.inftxt":[ // "mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, // {type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"} // {max: 60,message:"长度不能超过60"}
], // ],
"mtabut.coninf.conexedat":[ // "mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"} // { required: false, message: "输入正确的日期"}
], // ],
"mtabut.coninf.usr.extkey":[ // "mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"}, // {type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"} // {max: 8,message:"长度不能超过8"}
], // ],
"trnmod.trndoc.advnam":[ "trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
...@@ -430,6 +430,6 @@ export default { ...@@ -430,6 +430,6 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bedgrp.rec.totdat":[ "bedgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"} { required: false, message: "输入正确的日期"}
], ],
} }
\ No newline at end of file
...@@ -13,6 +13,7 @@ export default class Letdav { ...@@ -13,6 +13,7 @@ export default class Letdav {
}, },
ledgrp: { ledgrp: {
rec: { rec: {
inr:'',
revflg: '', revflg: '',
expdat: '', expdat: '',
expplc: '', expplc: '',
......
...@@ -67,18 +67,19 @@ ...@@ -67,18 +67,19 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<!-- 数据回填效果 -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn <c-function-btn
:handleSubmit="handleSubmit" :handleSubmit="handleSubmit"
:handleCheck="handleCheck" :handleCheck="handleCheck"
:handleStash="handleStash" :handleStash="handleStash"
> >
</c-function-btn> </c-function-btn>
<!-- 选择数据的表格弹框 -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
</c-page> </c-page>
</div> </div>
</template> </template>
......
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