Commit 4c28e7fb by Wuyuqiu

letrsv交易检核及提交完成

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