Commit 8c52c3c4 by lixinyi

litopn校验修改

parent 075ac582
......@@ -625,7 +625,7 @@ export default {
],
label5: [{ required: true, message: '必输项' }],
"lidgrp.rec.guaflg":[{ required: true, message: '必输项' }],
'lidgrp.blk.insbnk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 12000, message: '长度不能超过12000' },
......@@ -751,7 +751,7 @@ export default {
],
bcbtyp7: [
{ type: 'string', required: false, message: '必输项' },
{ type: 'string', required: true, message: '必输项' },
{ max: 30, message: '长度不能超过30' },
],
bcbdat: [{ type: 'string', required: false, message: '输入正确的日期' }],
......
......@@ -91,7 +91,14 @@
</c-col>
<c-col :span="24">
<el-form-item label="议付/延期付款指示" prop="lidgrp.blk.defdet">
<el-form-item
label="议付/延期付款指示"
prop="lidgrp.blk.defdet"
:rules=" [
{ type: 'string', required: flag9, message: '必输项' },
{ max: 140, message: '长度不能超过140' },
]"
>
<c-input
type="textarea"
v-model="model.lidgrp.blk.defdet"
......@@ -353,6 +360,7 @@ export default {
flag6: false,
flag7: false,
flag8: true,
flag9: false,
};
},
methods: {
......@@ -400,6 +408,7 @@ export default {
this.flag2 = true;
this.flag3 = true;
this.flag7 = false;
this.flag9 = true;
this.model.lidgrp.blk.defdet="days after B/L date"
}
if (val == "N") {
......@@ -407,6 +416,8 @@ export default {
this.flag2 = false;
this.flag3 = true;
this.flag7 = true;
this.flag8 = false;
this.flag9 = false;
this.model.lidgrp.blk.defdet="days after B/L date"
}
if (val == "P") {
......@@ -415,6 +426,7 @@ export default {
this.flag3 = true;
this.flag7 = false;
this.flag8 = false;
this.flag9 = false;
this.model.lidgrp.rec.tenmaxday == 0
this.model.lidgrp.blk.defdet=""
}
......@@ -423,6 +435,7 @@ export default {
this.flag2 = true;
this.flag3 = false;
this.flag7 = false;
this.flag9 = false;
this.model.lidgrp.blk.defdet=""
}
if (val == "A") {
......@@ -430,6 +443,7 @@ export default {
this.flag2 = false;
this.flag3 = true;
this.flag7 = true;
this.flag9 = false;
this.model.lidgrp.blk.defdet=""
}
},
......
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