Commit 6c47583d by lixinyi

litopn校验及兑付行修改

parent b5df8b16
......@@ -197,6 +197,10 @@ export default {
if (res.respCode == SUCCESS) {
this.model.lidgrp.avb.pts.extkey=res.data.avbwth.pts.extkey;
this.model.lidgrp.avb.pts.adrblk=res.data.avbwth.pts.adrblk;
this.model.lidgrp.avb.pts.nam=res.data.avbwth.pts.nam;
this.model.lidgrp.avb.pts.ptainr =res.data.avbwth.pts.ptainr;
this.model.lidgrp.avb.pts.ptyinr=res.data.avbwth.pts.ptyinr;
this.model.lidgrp.avb.pts.rol="AVB";
}
},
},
......
......@@ -442,7 +442,7 @@ export default {
{ max: 35, message: '长度不能超过35' },
],
'lidgrp.blk.mixdet': [
{ type: 'string', required: false, message: '必输项' },
{ type: 'string', message: '必输项' },
{ max: 130, message: '长度不能超过130' },
],
'lidgrp.drw.adrelc': [
......
......@@ -292,7 +292,13 @@
</c-col>
<c-col :span="24">
<el-form-item label="混合付款指示" prop="lidgrp.blk.mixdet">
<el-form-item
label="混合付款指示"
prop="lidgrp.blk.mixdet"
:rules="[
{ max: 130, message: '长度不能超过130' },
{ required:!flag3, message:'必输项'}
]">
<c-input
type="textarea"
v-model="model.lidgrp.blk.mixdet"
......@@ -309,12 +315,18 @@
<el-form-item
label="远期汇票最大期限(天)"
prop="lidgrp.rec.tenmaxday"
:required="flag8"
:rules="[
{ required:flag8,pattern:[0], message:'必输项'},
{ type: 'number', message: '请输入数字' },
{ type: 'number', max: 999, message: '不能超过999' },
{ pattern: /(^-?[1-9][0-9]{0,2}$)|0/, message: '-999至999之间' },
]"
>
<c-input
:disabled="!!(this.model.lidgrp.rec.avbby == 'P')"
v-model.number="model.lidgrp.rec.tenmaxday"
placeholder="请输入天数"
maxlength="3"
></c-input>
</el-form-item>
</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