Commit 11f59d91 by lixinyi

litopn详情修改

parent 36100273
......@@ -463,7 +463,7 @@ export default {
'lidgrp.rec.stagod': [{ required: true, message: '必输项' }],
'lidgrp.rec.tenmaxday': [
{ type: 'number', required: true, message: '请输入数字' },
{ type: 'number', message: '请输入数字' },
{ type: 'number', max: 999, message: '不能超过999' },
{ pattern: /(^-?[1-9][0-9]{0,2}$)|0/, message: '-999至999之间' },
// ^-?[1-9]\d*$   //匹配整数
......@@ -526,10 +526,10 @@ export default {
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.ini.pts.adrblk': [
{ type: 'string', required: false, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
// 'lidgrp.ini.pts.adrblk': [
// { type: 'string', required: false, message: '必输项' },
// { max: 35, message: '长度不能超过35' },
// ],
'lidgrp.ini.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
......
......@@ -154,7 +154,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="名称地址" prop="lidgrp.drw.pts.adrblk">
<el-form-item label="名称地址" prop="lidgrp.drw.pts.adrblk" :required="flag7">
<c-input
type="textarea"
:disabled="this.flag2"
......@@ -309,6 +309,7 @@
<el-form-item
label="远期汇票最大期限(天)"
prop="lidgrp.rec.tenmaxday"
:required="flag8"
>
<c-input
:disabled="!!(this.model.lidgrp.rec.avbby == 'P')"
......@@ -338,7 +339,8 @@ export default {
flag4: true,
flag5: false,
flag6: false,
flag7: false,
flag8: true,
};
},
methods: {
......@@ -385,18 +387,22 @@ export default {
this.flag1 = false;
this.flag2 = true;
this.flag3 = true;
this.flag7 = false;
this.model.lidgrp.blk.defdet="days after B/L date"
}
if (val == "N") {
this.flag1 = false;
this.flag2 = false;
this.flag3 = true;
this.flag7 = true;
this.model.lidgrp.blk.defdet="days after B/L date"
}
if (val == "P") {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
this.flag7 = false;
this.flag8 = false;
this.model.lidgrp.rec.tenmaxday == 0
this.model.lidgrp.blk.defdet=""
}
......@@ -404,12 +410,14 @@ export default {
this.flag1 = true;
this.flag2 = true;
this.flag3 = false;
this.flag7 = false;
this.model.lidgrp.blk.defdet=""
}
if (val == "A") {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
this.flag7 = true;
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