Commit b9c61edd by liyixun

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 46655cb9 ec067956
......@@ -7,6 +7,11 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
......
......@@ -7,6 +7,11 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
......
......@@ -4,21 +4,34 @@ import Utils from "~/utils"
* Letcan Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"rmbclm.rmbrmb.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"rmbclm.acwacw.pts.extkey" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"rmbclm.acwacw.pts.adrblk" :null,
"setmod.dspflg" :null,
"letp0.recget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"sndmsg" :null,
"rmbclm.bebbeb.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"rmbclm.acwacw.namelc" :null,
"mtabut.coninf.conexedat" :null,
"rmbclm.bebbeb.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"rmbclm.rmbrmb.pts.adrblk" :null,
"letcanf.strinf" :null,
"setmod.docamt" :null,
"rmbclm.rmbrmb.adrelc" :null,
"rmbclm.bebbeb.pts.adrblk" :null,
"rmbclm.acwacw.adrelc" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
}
for (const key in checkObj) {
......
......@@ -15,6 +15,10 @@ export default {
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.adrelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.namelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
......@@ -22,6 +26,18 @@ export default {
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"rmbclm.acwacw.pts.extkey" :Utils.defaultFunction,
"rmbclm.acwacw.adrelc" :Utils.defaultFunction,
"rmbclm.acwacw.namelc" :Utils.defaultFunction,
"rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction,
"rmbclm.bebbeb.adrelc" :Utils.defaultFunction,
"rmbclm.bebbeb.namelc" :Utils.defaultFunction,
"rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
......@@ -33,5 +49,8 @@ export default {
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"ledgrp.cbs.opn1.amt" :Utils.defaultFunction,
"ledgrp.rec.expdat" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"rmbclm.rmbrol" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -84,6 +84,36 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 1750,message:"长度不能超过1750"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[
......@@ -99,13 +129,118 @@ export default {
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"rmbclm.rmbrmb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbrmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.rmbrmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"rmbclm.rmbrmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwacw.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.acwacw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"rmbclm.acwacw.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebbeb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.bebbeb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"rmbclm.bebbeb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
......@@ -149,14 +284,6 @@ export default {
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......@@ -170,8 +297,6 @@ export default {
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -221,10 +346,6 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
......
......@@ -23,6 +23,9 @@ export default class Letcan{
cnftxt:"", // Confirmation text .letp0.cnftxt
},
ledgrp:{
rmb:{
rolsetflg:"", //判断页面MT 742 Reimbursement Clain显现的条件 .ledgrp.rmb.rolsetflg
},
rec:{
ownref:"", // Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
......@@ -80,6 +83,52 @@ export default class Letcan{
// setfel:[]
// }
// },
rmbclm:{
rmbrmb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.rmbrmb.namelc
adrelc:"", // 地址 .rmbclm.rmbrmb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.rmbrmb.dbfadrblkcn
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.rmbp.ptsget.sdamod.dadsnd
},
},
},
acwacw:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.acwacw.namelc
adrelc:"", // 地址 .rmbclm.acwacw.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.acwacw.dbfadrblkcn
},
acwp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.acwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.acwp.ptsget.sdamod.dadsnd
},
},
},
bebbeb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.bebbeb.namelc
adrelc:"", // 地址 .rmbclm.bebbeb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.bebbeb.dbfadrblkcn
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.bebp.ptsget.sdamod.dadsnd
},
},
},
rmbrol:"", // 偿付行 .rmbclm.rmbrol
valdat:"", // value date .rmbclm.valdat
},
// mtabut:{
// coninf:{
// oitinf:{
......
......@@ -7,6 +7,12 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else
......
......@@ -206,7 +206,7 @@ export default {
],
"ledgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"letp.avbp.ptsget.sdamod.dadsnd":[
......@@ -231,7 +231,7 @@ export default {
{max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.avb.dbfadrblkcn":[
......@@ -258,16 +258,16 @@ export default {
],
"ledgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"ledgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 105,message:"长度不能超过105"}
],
......@@ -289,7 +289,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"ledgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.drw.dbfadrblkcn":[
......@@ -494,7 +494,7 @@ export default {
],
"ledgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
......@@ -502,7 +502,7 @@ export default {
"ledgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 780,message:"长度不能超过780"}
],
......@@ -586,12 +586,12 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"ledgrp.blk.spcrcb":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
"ledgrp.blk.spcben":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
......
......@@ -486,7 +486,7 @@ export default {
],
"ledgrp.blk.adlcnd":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
......@@ -494,7 +494,7 @@ export default {
"ledgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
......@@ -646,12 +646,12 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"ledgrp.blk.spcben":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
"ledgrp.blk.spcrcb":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 52000,message:"长度不能超过52000"}
],
......
......@@ -317,7 +317,7 @@
grp: 'ccdgrp',
rol: 'col',
}"
:disabled="true"
:disabled="model.ccdgrp.rec.modset == '2' || this.flag3"
>
</c-ptap> -->
......@@ -370,7 +370,7 @@
maxlength="150"
show-word-limit
placeholder="请输入名称地址"
:disabled="model.ccdgrp.rec.modset == '2'"
:disabled="model.ccdgrp.rec.modset == '2' || this.flag3"
></c-input>
</el-form-item>
</c-col>
......@@ -396,6 +396,7 @@ export default {
return {
flag1:false,
flag2:false,
flag3:false,
};
},
watch:{
......@@ -419,6 +420,22 @@ export default {
}
}
},
"model.ccdgrp.col.pts.extkey" :{
immediate:true,
handler(val ,oldVal){
if(this.model.ccdgrp.col.pts.extkey!=''){
this.flag3=true;
}else{
this.flag3=false;
}
}
},
"model.ccdgrp.rec.modset": function () {
if (this.model.ccdgrp.rec.modset == "2") {
this.model.ccdgrp.col.pts.extkey = "";
this.model.ccdgrp.col.pts.adrblk = "";
}
},
},
methods: { ...Event },
created: function () {},
......
......@@ -569,11 +569,19 @@ export default {
'0 1 "Trn ID" 100',
'1 2 "Reference" 150',
'2 3 "Transaction Name" 200',
'3 4 "Entry" 150',
'4 5 "Status" 150',
'5 6 "Cur." 100',
'3 4 "Entry" 200',
// '4 5 "Status" 150',
{
index: 4,
position: 5,
width: 100,
pattern: "code",
label: "Status",
code: this.codes.relflg,
},
'5 6 "Cur." 80',
'6 7 "Relevant Amount" 150',
'7 8 "Signed" 150',
'7 8 "Signed" 100',
],
data: [],
},
......
<template>
<div class="eibs-tab">
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letcan/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" :placeholder="$t('other.please_enter')+'Booking stream to Display'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letcan/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -66,6 +66,14 @@
</c-content>
</el-tab-pane>
<!--letcan PD000023 MT 742 Reimbursement Claim -->
<el-tab-pane label="MT 742 Reimbursement Claim" name="rcldetp"
v-if="model.ledgrp.rmb.rolsetflg=='Y'">
<c-content>
<m-rcldetp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 Completion附言-->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
......@@ -133,6 +141,7 @@ import Canp from './Canp'
import Engp from "~/views/Public/Engp";
import Setpan from '~/views/Public/Setpan';
import Glepan from "~/views/Public/Glepan";
import Rcldetp from "./Rcldetp";
import Coninfp from '~/views/Public/Coninfp'
import Docpan from '~/views/Public/Docpan'
import Doctre from '~/views/Public/Doctre'
......@@ -145,6 +154,7 @@ export default {
'm-engp': Engp,
'm-setpan': Setpan,
'm-glepan': Glepan,
'm-rcldetp':Rcldetp,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
......
......@@ -27,13 +27,15 @@
</c-col>
<c-col :span="24" class="letnot_adcp_cheak">
<c-checkbox v-model="model.ledgrp.rec.spcbenflg">
<c-checkbox v-model="model.ledgrp.rec.spcbenflg"
:disabled="model.ledgrp.blk.spcben!=''">
受益人特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="24" class="letnot_adcp_cheak">
<c-checkbox v-model="model.ledgrp.rec.spcrcbflg">
<c-checkbox v-model="model.ledgrp.rec.spcrcbflg"
:disabled="model.ledgrp.blk.spcrcb!=''">
收款银行特殊付款条款</c-checkbox
>
</c-col>
......
......@@ -11,7 +11,6 @@
style="width: 100%"
placeholder="请选择指定银行"
:code="codes.avbwth"
@change="avbwthEvent"
>
</c-select>
</el-form-item>
......@@ -37,7 +36,25 @@
<!-- 名称地址 -->
<c-col :span="24">
<el-form-item label="" prop="ledgrp.blk.avbwthtxt">
<el-form-item
label=""
prop="ledgrp.avb.pts.adrblk"
v-if="model.ledgrp.rec.avbwth != 'O'"
>
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入Address Block"
:disabled="model.ledgrp.rec.avbwth!=''"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ledgrp.blk.avbwthtxt"
v-if="model.ledgrp.rec.avbwth == 'O'">
<c-input
type="textarea"
:rows="3"
......@@ -45,21 +62,9 @@
maxlength="140"
show-word-limit
placeholder="请输入名称地址"
:disabled="model.ledgrp.rec.avbwth!='O'"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.avb.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col> -->
<!-- 信用证兑付方式 Available by-->
<c-col :span="24">
......@@ -69,7 +74,6 @@
style="width: 100%"
placeholder="请选择兑付方式"
:code="codes.avbby0"
@change="avbbykeyEvent"
>
</c-select>
</el-form-item>
......@@ -131,6 +135,7 @@
:onlySearch="false"
@onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
:disabledExtkey="blkDftatFlag"
:disabled="blkDftatFlag"
>
</c-ptap>
......@@ -392,30 +397,30 @@ 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') {
this.model.ledgrp.rec.tenmaxday = 0
this.model.ledgrp.blk.defdet = ''
}
if (this.model.ledgrp.rec.avbby == 'D'||this.model.ledgrp.rec.avbby =='M') {
// 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') {
// this.model.ledgrp.rec.tenmaxday = 0
// this.model.ledgrp.blk.defdet = ''
// }
// if (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) {
Utils.copyValueFromVO(this.model, res.data)
}
})
},
// }
// this.executeCheck('ledgrp.rec.avbby').then((res) => {
// if (res.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, res.data)
// }
// })
// },
},
created: function () {},
computed: {
......@@ -423,7 +428,8 @@ export default {
get() {
return (
this.model.ledgrp.rec.avbwth == 'A' ||
this.model.ledgrp.rec.avbwth == 'S'
this.model.ledgrp.rec.avbwth == 'S' ||
this.model.ledgrp.rec.avbwth == ''
)
},
},
......
......@@ -43,7 +43,7 @@
style="width: 100%"
placeholder="第二通知行确认指令"
:code="codes.cnfflg1"
disabled
:disabled="model.ledgrp.a2b.pts.extkey==''"
>
</c-select>
</el-form-item>
......
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