Commit 8d9c9ccf by Wuyuqiu

交易bug修改,lttdav页面布局完成

parent 3c6afb51
......@@ -341,6 +341,7 @@ export default {
msg = (ms ? ms + '\r\n' : '') + msg
}
_.set(this.model, modelUrl[k], msg);
this.defaultFunction();
}
},
/**
......
......@@ -133,7 +133,7 @@ export default {
"btdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{type: "string",max: 999,message:"长度不能超过35"}
],
"btdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -15,7 +15,6 @@
maxlength="50"
show-word-limit
placeholder="Please input Discrepancies"
@change="defaultFunction()"
:disabled="!docdisflg"
></c-input>
<template slot="footer">
......@@ -24,7 +23,16 @@
size="small"
type="primary"
:disabled="!docdisflg"
@click="showGridPromptDialog('betp.docdis.buttxmsel',null,null,{TXT:'bedgrp.blk.docdis'},{TXT:false},'doxpDialog')"
@click="
showGridPromptDialog(
'betp.docdis.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.docdis' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
......@@ -52,7 +60,16 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="showGridPromptDialog('betp.intdis.buttxmsel',null,null,{TXT:'bedgrp.blk.intdis'},{TXT:false},'doxpDialog')"
@click="
showGridPromptDialog(
'betp.intdis.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.intdis' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
......@@ -80,7 +97,16 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="showGridPromptDialog('betp.comcon.buttxmsel',null,null,{TXT:'bedgrp.blk.comcon'},{TXT:false},'doxpDialog')"
@click="
showGridPromptDialog(
'betp.comcon.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.comcon' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
......@@ -108,7 +134,16 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
@click="showGridPromptDialog('betp.setinstxm.buttxmsel',null,null,{TXT:'bedgrp.blk.setinsbe'},{TXT:false},'doxpDialog')"
@click="
showGridPromptDialog(
'betp.setinstxm.buttxmsel',
null,
null,
{ TXT: 'bedgrp.blk.setinsbe' },
{ TXT: false },
'etyDialog'
)
"
>
...
</c-button>
......@@ -128,7 +163,7 @@
style="width: 100%"
placeholder="Please select Further Handling"
disabled
@change="defaultFunction()"
@change="changeFolwupopt"
>
<el-option
v-for="item in codes.folwupopt1"
......@@ -139,9 +174,14 @@
</el-option>
</c-select>
<template slot="footer">
<c-checkbox v-model="docdisflg" style="margin-left: 10px" @change="defaultFunction()"
>Discrepancies modified</c-checkbox
>
<el-form-item label="" prop="model.bedgrp.blk.docdisflg">
<c-checkbox
v-model="docdisflg"
style="margin-left: 10px"
@change="defaultFunction()"
>Discrepancies modified</c-checkbox
>
</el-form-item>
</template>
</c-fullbox>
</el-form-item>
......@@ -173,7 +213,7 @@
rol: 'oth',
}"
:noRef="false"
:disabled="!(model.bedgrp.rec.payrol=='OTH')"
:disabled="!(model.bedgrp.rec.payrol == 'OTH')"
:isAdrblk="true"
:disabledRef="payrolFlag"
:disabledExtkey="payrolFlag"
......@@ -497,15 +537,13 @@ import Utils from "~/utils";
import Docpre from "~/views/Public/Docpre";
export default {
name:'Docpre',
components: { "c-ptap": Ptap ,"c-docpre": Docpre},
name: "Docpre",
components: { "c-ptap": Ptap, "c-docpre": Docpre },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
};
return {};
},
computed: {
docdisflg: {
......@@ -514,16 +552,21 @@ export default {
},
set(val) {
this.model.bedgrp.blk.docdisflg = val ? "X" : "";
this.model.bedgrp.blk.docdis = '';
},
},
payrolFlag:{
payrolFlag: {
get() {
return this.model.bedgrp.rec.payrol == "AVB"||this.model.bedgrp.rec.payrol == "ISS";
return (
this.model.bedgrp.rec.payrol == "AVB" ||
this.model.bedgrp.rec.payrol == "ISS"
);
},
}
},
},
methods: {
...Event,
changeFolwupopt(){}
},
created: function () {},
};
......
......@@ -348,7 +348,7 @@
v-model="model.btdgrp.rec.disdat"
style="width: 100%"
placeholder="Please select Discrep. advised on"
disabled
:disabled="model.btdgrp.rec.advtyp=='754'"
></c-date-picker>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- left -->
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<el-form-item
......@@ -152,17 +152,13 @@
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="4">
<el-form-item label="" style="text-align: left" prop="docdisflg">
<c-checkbox v-model="docdisflg" @change="defaultFunction()"
>Discrepancies modified</c-checkbox
>
<c-checkbox v-model="docdisflg">Discrepancies modified</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -176,7 +172,7 @@
style="width: 100%"
placeholder="Please select Further Handing"
disabled
:code="code.futhndflg"
:code="codes.futhndflg"
>
</c-select>
</el-form-item>
......@@ -203,11 +199,10 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- next part -->
<c-docpre
<c-docpre
:model="model"
:argadr="{
path: 'btdgrp.blk.prsdocbe1',
......@@ -228,26 +223,39 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttdav/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
computed: {
docdisflg: {
get() {
return this.model.btdgrp.blk.docdisflg != "";
},
set(val) {
this.model.btdgrp.blk.docdisflg = val ? "X" : "";
},
},
methods:{...Event},
created:function(){
}
}
payrolFlag: {
get() {
return (
this.model.btdgrp.rec.payrol == "AVB" ||
this.model.btdgrp.rec.payrol == "ISS"
);
},
},
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -87,7 +87,7 @@
<c-ptap
:model="model"
:argadr="{
title: '',
title: 'Account with Bank',
grp: 'btdgrp',
rol: 'acb',
}"
......
<template>
<div class="eibs-tab">
<!-- S0000269 : Document Amount -->
<!-- S0000278 : Narrative (Tag 77A of MT754) -->
<c-col :span="12">
<c-form-item label="Narrative Tag77A of MT754" prop="btdgrp.blk.nartxt77a">
<c-input type="textarea" v-model="model.btdgrp.blk.nartxt77a" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Narrative Tag77A of MT754'" ></c-input>
</c-form-item>
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-input
v-model="model.btdgrp.cbs.max.cur"
maxlength="3"
placeholder="Please input Document Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<!-- S0000006 : 附加金额 -->
<!-- SF000272 : Charges Deducted -->
<!-- SF000273 : Charges Added -->
<!-- S0000276 : Total Amount Claimed -->
<!-- SF000294 : Reimbursing Bank -->
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="bttp.rmtp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bttp.rmtp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="btdgrp.rmt.pts.extkey">
<c-input v-model="model.btdgrp.rmt.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="bttp.rmtp.ptsget.sdamod.seainf">
<c-input v-model="model.bttp.rmtp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRmtpDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="btdgrp.rmt.namelc">
<c-input type="textarea" v-model="model.btdgrp.rmt.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="btdgrp.cbs.max.amt">
<c-input
v-model="model.btdgrp.cbs.max.amt"
placeholder="Please input Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="btdgrp.rmt.pts.adrblk">
<c-input type="textarea" v-model="model.btdgrp.rmt.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Drawn Add. Amount" prop="btdgrp.cbs.opn2.cur">
<c-input
v-model="model.btdgrp.cbs.opn2.cur"
maxlength="3"
placeholder="Please input Drawn Add. Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="btdgrp.rmt.dbfadrblkcn">
<c-input type="textarea" v-model="model.btdgrp.rmt.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="btdgrp.cbs.max2.amt">
<c-input
v-model="model.btdgrp.cbs.max2.amt"
placeholder="Please input Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="btdgrp.rmt.adrelc">
<c-input type="textarea" v-model="model.btdgrp.rmt.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Charges Deducted" prop="btdgrp.blk.chaded">
<c-input
type="textarea"
v-model="model.btdgrp.blk.chaded"
maxlength="35"
show-word-limit
placeholder="Please input Charges Deducted"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Charges Added" prop="btdgrp.blk.chaadd">
<c-input
type="textarea"
v-model="model.btdgrp.blk.chaadd"
maxlength="35"
show-word-limit
placeholder="Please input Charges Added"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Total Amount Claimed" prop="btdgrp.rec.totcur">
<c-input
v-model="model.btdgrp.rec.totcur"
maxlength="3"
placeholder="Please input Total Amount Claimed"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="btdgrp.rec.totamt">
<c-input
v-model="model.btdgrp.rec.totamt"
placeholder="Please input Balance"
></c-input>
</el-form-item>
</c-col>
<!-- SF000293 : Account with Bank -->
<!-- S0000280 : Date to be Paid -->
<c-col :span="12">
<el-form-item :label="$t('bttp.S0000280')" prop="btdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.totdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bttp.S0000280')"></c-date-picker>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Reimbursing Bank',
grp: 'btdgrp',
rol: 'rmt',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
disabled
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: 'Account with Bank',
grp: 'btdgrp',
rol: 'acb',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input
type="textarea"
v-model="model.btdgrp.blk.docdis"
maxlength="3500"
show-word-limit
placeholder="请输入Discrepancies"
:rows="5"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Date to Paid" prop="btdgrp.rec.totdat">
<c-date-picker
type="date"
v-model="model.btdgrp.rec.totdat"
style="width: 100%"
placeholder="Please select Date to Paid"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="Narrative(Tag 77A of MT754)"
prop="btdgrp.blk.nartxt77a"
>
<c-input
type="textarea"
v-model="model.btdgrp.blk.nartxt77a"
maxlength="3500"
show-word-limit
placeholder="please input Narrative(Tag 77A of MT754)"
:rows="5"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Lttdav/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttdav/Event";
import Ptap from "~/views/Public/Ptap";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -40,7 +40,9 @@
</el-tab-pane>
<!--bttp PD000268 Advice of Payment -->
<el-tab-pane label="Advice of Payment" name="mt754p" v-if="model.btdgrp.rec.advtyp=='754'">
<m-mt754p :model="model" :codes="codes" />
<c-content>
<m-mt754p :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
......
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