Commit 4c28e7fb by Wuyuqiu

letrsv交易检核及提交完成

parent aee2f5a7
...@@ -208,23 +208,23 @@ export default { ...@@ -208,23 +208,23 @@ export default {
"ledgrp.avb.namelc": [ "ledgrp.avb.namelc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140,message:"长度不能超过140"}
], ],
"ledgrp.blk.avbwthtxt": [ "ledgrp.blk.avbwthtxt": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140,message:"长度不能超过140"}
], ],
"ledgrp.avb.pts.adrblk": [ "ledgrp.avb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ type: "string",max: 999, message: "长度不能超过35" } { max: 140,message:"长度不能超过140"}
], ],
"ledgrp.avb.dbfadrblkcn": [ "ledgrp.avb.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140,message:"长度不能超过140"}
], ],
"ledgrp.avb.adrelc": [ "ledgrp.avb.adrelc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" } { max: 140,message:"长度不能超过140" }
], ],
"ledgrp.blk.preper": [ "ledgrp.blk.preper": [
{ required: true, message: "必输项" }, { required: true, message: "必输项" },
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
style="width: 100%" style="width: 100%"
placeholder="Please select Available with" placeholder="Please select Available with"
:code="codes.avbwth" :code="codes.avbwth"
@change="avbwthEvent"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -18,6 +19,7 @@ ...@@ -18,6 +19,7 @@
<c-col :span="24"> <c-col :span="24">
<c-ptap <c-ptap
v-if="model.ledgrp.rec.avbwth!='O'"
:model="model" :model="model"
:argadr="{ :argadr="{
title: '', title: '',
...@@ -327,18 +329,24 @@ export default { ...@@ -327,18 +329,24 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
avbwthEvent(){
if (this.model.ledgrp.rec.avbwth != 'A'||this.model.ledgrp.rec.avbwth != 'O') {
this.model.ledgrp.avb.pts.extkey = ''
this.model.ledgrp.blk.avbwthtxt = ''
}
},
avbbykeyEvent() { avbbykeyEvent() {
if (this.model.ledgrp.rec.avbby == "P") { if (this.model.ledgrp.rec.avbby == 'P') {
this.model.ledgrp.rec.tenmaxday = 0; this.model.ledgrp.rec.tenmaxday = 0;
this.model.ledgrp.blk.defdet = ""; this.model.ledgrp.blk.defdet = '';
} }
if ( if (
this.model.ledgrp.rec.avbby == "D" || this.model.ledgrp.rec.avbby == 'D'||
this.model.ledgrp.rec.avbby == "M" this.model.ledgrp.rec.avbby == 'M'
) { ) {
this.model.ledgrp.blk.defdet = ""; //汇票期限置空 this.model.ledgrp.blk.defdet = ''; //汇票期限置空
this.model.ledgrp.drw.pts.extkey = ""; //付款人置空 this.model.ledgrp.drw.pts.extkey = ''; //付款人置空
this.model.ledgrp.drw.pts.adrblk = ""; //名称地址置空.pts.adrblk this.model.ledgrp.drw.pts.adrblk = ''; //名称地址置空.pts.adrblk
} }
this.executeCheck("ledgrp.rec.avbby").then((res) => { this.executeCheck("ledgrp.rec.avbby").then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
......
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