Commit 7be014e7 by cl

cl 提交打包托收交易模型

parent 0a4a44a2
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Credit to Account" prop="cldgrp.rec.creact">
<c-select v-model="model.cldgrp.rec.creact" style="width:100%" placeholder="请选择Credit to Account">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="A/C NO." prop="cldgrp.rec.acno">
<c-input v-model="model.cldgrp.rec.acno" maxlength="20" placeholder="请输入A/C NO."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Settlement Instructions" prop="cldgrp.blk.setins">
<c-input type="textarea" v-model="model.cldgrp.blk.setins" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.modflg">修改</c-checkbox>
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
...
</c-button>
</c-col>
<!--
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
...
</c-button>
</c-col>
-->
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cltdav/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="24">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col> -->
<c-col :span="24">
<c-col :span="14">
<el-form-item label="General">
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitinf.oit.inftxt"
maxlength="600"
rows="8"
show-word-limit
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="显示方式">
<c-input
v-model="model.mtabut.coninf.oitinf.oit.inflev"
style="width: 100%"
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Settlement">
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitset.oit.inftxt"
maxlength="600"
rows="8"
show-word-limit
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="显示方式">
<c-input
v-model="model.mtabut.coninf.oitset.oit.inflev"
style="width: 100%"
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="24">
<span
v-text="model.mtabut.coninf.oitset.labinftxt"
data-path=".mtabut.coninf.oitset.labinftxt"
>
</span>
</c-col> -->
<c-col :span="11">
<el-form-item label="执行日期">
<c-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 50%"
placeholder=""
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="发送">
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
style="width: 90%"
placeholder=""
readonly
></c-input>
</el-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/Cltdav/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="来往信件"> </el-form-item>
</c-col>
<c-col :span="22" >
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="报文格式">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].cortyp"
style="width: 100%"
disabled
placeholder="请选择"
>
<el-option
v-for="item in codes.doceotCortyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="报文格式">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].docsnf"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.docsnf"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="语言" width="150%">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].docuil"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.uiltxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="传送方式">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].apf"
disabled
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.apftxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Or." width="65%">
<template slot-scope="scope">
<c-input
v-model="model.trnmod.trndoc.doceot[scope.row.index].apfcpy1"
:readonly="true"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="CC" width="65%">
<template slot-scope="scope">
<c-input
v-model="model.trnmod.trndoc.doceot[scope.row.index].apfcpy2"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].staflg"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.swttlx"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
size="mini"
:disabled="
model.trnmod.trndoc.doceot[scope.row.index].pandsc == 'MT799' &&
model.didgrp.rec.elcflg == 'Y'
"
@click="handleDisplay(scope.row.index, scope.row)"
>显示</el-button
>
<el-button
size="mini"
type="danger"
@click="handleDetail(scope.row.index, scope.row)"
>明细</el-button
>
</template>
</el-table-column>
</c-istream-table-docpan>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cltdav/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
stmData: {
columns: [
//注释的已改成静态
"role 收报人",
"pandsc 描述",
//"cortyp 类型",
//"docsnf 报文格式",
//"docuil 语言",
//"apf 传送方式"
],
data: [],
}
};
},
methods: {...Event},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item
label="发送信件, 附件及其他单据"
label-width="400px"
>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- ========================左====================== -->
<c-col :span="14">
<c-col :span="24">
<div style="height: 300px; width: 100%;border:1px #ebeef5 solid">
<el-tree
:data="data"
:props="defaultProps"
@node-click="handleNodeClick"
></el-tree>
</div>
</c-col>
<c-col :span="24" style="margin-top:10px">
<c-col :span="4">
<el-form-item label="关联单据" v-show="isShow1 || isShow2"></el-form-item>
<el-form-item label="" v-show="!(isShow1 || isShow2)"></el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="">
<c-checkbox v-model="isShow1">显示收到的信息</c-checkbox>
</el-form-item>
<!-- <c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox> -->
</c-col>
<c-col :span="8" :offset="2">
<el-form-item label="">
<c-checkbox v-model="isShow2">显示以前发出的信息</c-checkbox>
</el-form-item>
<!-- <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox> -->
</c-col>
</c-col>
<c-col :span="22" :offset="1">
<c-table
:border="true"
:list="data1"
style="width:80%,text-align:center"
v-show="isShow1 || isShow2"
>
<el-table-column label="类型" width="auto"></el-table-column>
<el-table-column label="单据" width="auto"></el-table-column>
<el-table-column label="Cre.TRN" width="auto"></el-table-column>
<el-table-column label="日期" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
</c-table>
</c-col>
</c-col>
<!-- ==============右============= -->
<c-col :span="6" :offset="1">
<c-col :span="24">
<c-button size="small" type="primary" @click="onTrndocButshw">
显示
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" type="primary" @click="onTrndocButadd">
明细
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 40px">
<c-button size="small" type="primary" @click="onTrndocButnew">
新加
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" type="primary" @click="onTrndocButattto">
附加
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
删除
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 80px">
<c-button size="small" type="primary" @click="onTrndocButatt">
附加
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 150px">
<c-button size="small" type="primary" @click="onTrndocButatt">
i
</c-button>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cltdav/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
data1:[],
isShow1: false,
isShow2: false,
data: [
{
label: "Internal",
children: [{ label: "'Free Message' via Letter" }],
},
],
};
},
methods: { ...Event,
handleNodeClick(){} ,
defaultProps(){}
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-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/Cltdav/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">
<el-form-item label="Booking stream to Display">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="22" offset="1">
<c-table :border="true" :list="data" style="width:80%,text-align:center" height="">
<el-table-column label="D/C" width="auto"></el-table-column>
<el-table-column label="Account Number" width="auto"></el-table-column>
<el-table-column label="Cur" width="auto"></el-table-column>
<el-table-column label="Amount" width="auto"></el-table-column>
<el-table-column label="Value Date" width="auto"></el-table-column>
<el-table-column label="Rate Type" width="auto"></el-table-column>
<el-table-column label="Rate" width="auto"></el-table-column>
<el-table-column label="Term" width="auto"></el-table-column>
<el-table-column label="PN" width="auto"></el-table-column>
</c-table>
</c-col> -->
<c-col :span="22" :offset="1">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
</c-istream-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cltdav/Event"
export default {
inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"],
data(){
return {
stmData: {
columns: [
"2 1 \"D/C\" 38 1 0",
"6 2 \"Account Number\" 140",
"3 3 \"Cur\" 60",
"4 4 \"Amount\" 135 2 8:1 2 5",
"5 5 \"Value Date\" 80",
"7 6 \"Rate Type\" 90",
"8 7 \"Rate\" 85 2 0 1 0",
"9 8 \"Term\" 60",
"0 9 \"PN\" 62 1 0"
],
data: []
}
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="8">
<el-form-item label="Batch No." prop="cldgrp.rec.ownref">
<c-input v-model="model.cldgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
<c-button size="small" type="primary" @click="onCltpButgetref">
获取
</c-button>
<c-button size="small" type="primary" @click="onGet">
Get Swt
</c-button>
</c-col>
<c-col> </c-col>
<c-col :span="12">
<el-form-item label="Name of CC contract" prop="cldgrp.rec.nam">
<c-input v-model="model.cldgrp.rec.nam" maxlength="40" placeholder="请输入Name of CC contract"></c-input>
</el-form-item>
</c-col>
<c-col> </c-col>
<c-col :span="6">
<el-form-item label="Date of creation" prop="cldgrp.rec.credat">
<c-date-picker type="date" v-model="model.cldgrp.rec.credat" style="width:100%"
placeholder="请选择Date of creation"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Value Date" prop="cldgrp.rec.valdat">
<c-date-picker type="date" v-model="model.cldgrp.rec.valdat" style="width:100%"
placeholder="请选择Value Date"></c-date-picker>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="currency" prop="cur">
<c-select v-model="model.cur" style="width:100%" placeholder="请选择currency">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<c-col :span="10">
<el-form-item label="Amount" prop="model.cur">
<c-select v-model="model.cur" style="width: 100%" placeholder="请选择币种" :code="codes.cur">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" label-width="15px" prop="model.amt">
<c-input v-model="model.amt" placeholder="请输入Amount"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Total Row Count" prop="rowcntr">
<c-input v-model="model.rowcntr" placeholder="请输入Total Row Count" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Register Ref." prop="cldgrp.rec.regref">
<c-input v-model="model.cldgrp.rec.regref" maxlength="16" placeholder="请输入Register Ref."></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="Amount" prop="amount">
<c-input v-model="model.amount" placeholder="请输入AMOUNT"></c-input>
</el-form-item>
</c-col>
-->
<c-col :span="12">
<el-form-item label="Item Count" prop="cldgrp.rec.count">
<c-input v-model="model.cldgrp.rec.count" placeholder="请输入ITEM COUNT"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Item Count" prop="items">
<c-input v-model="model.items" placeholder="请输入Item Count"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Collection Bank" prop="colbnk">
<c-select v-model="model.colbnk" style="width:100%" placeholder="请选择Collection Bank">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Collection Method" prop="colmet">
<c-select v-model="model.colmet" style="width:100%" placeholder="请选择Collection Method"></c-select>
</el-form-item>
</c-col>
<c-col> </c-col>
<c-col :span="12">
<el-form-item label="Coll Bank Ref" prop="cldgrp.rec.colref">
<c-input v-model="model.cldgrp.rec.colref" maxlength="16" placeholder="请输入COLL BANK REF"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Payemnt Disposition" prop="cldgrp.rec.colflg">
<c-select v-model="model.cldgrp.rec.colflg" maxlength="1" placeholder="请输入Payemnt Disposition":code="codes.colflg"></c-select>
<el-option v-for="item in codes.colflg" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Extkey" prop="cldgrp.col.pts.extkey">
<c-input v-model="model.cldgrp.col.pts.extkey" maxlength="16" placeholder="请输入External Key of Address">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf('cldgrp.col.pts.extkey')">i</c-button>
<c-button size="small" type="primary" @click="onAplpDet">
Details
</c-button>
</el-form-item>
</c-col>
<c-col> </c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="cldgrp.col.pts.adrblk">
<c-input type="textarea" :rows="4" v-model="model.cldgrp.col.pts.adrblk" maxlength="35" disabled
show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="名称" prop="cldgrp.col.pts.namelc">
<c-input type="textarea" v-model="model.cldgrp.col.pts.namelc" maxlength="35" show-word-limit
placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="cldgrp.col.pts.adrelc">
<c-input type="textarea" v-model="model.cldgrp.col.pts.adrelc" maxlength="35" show-word-limit
placeholder="请输入地址"></c-input>
</el-form-item>
</c-col>
-->
<c-col>
&nbsp;
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cltdav/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="打包托收开立">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000002 -->
<el-tab-pane label="内容" name="sel">
<m-sel :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane label="关联账号" name="account">
<m-account :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外信息" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录信息" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函及报文" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="交易附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cltdav from "~/model/Cltdav"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Cltdav/Check"
import Default from "~/model/Cltdav/Default"
import Pattern from "~/model/Cltdav/Pattern"
import Sel from "./Sel"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Coninfp from "./Coninfp"
import Setpan from "./Setpan"
import Account from "./Account"
import Engp from "./Engp"
import Glepan from "./Glepan"
export default {
name: "Cltdav",
components: {
"m-sel": Sel,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp,
"m-setpan": Setpan,
"m-account": Account,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "",
trnName: "cltdav",
model: new Cltdav().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
}
},
methods: {
tabClick() {
}
},
created: async function () {
console.log("进入cltdav交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-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/Cltset/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">
<el-form-item label="来往信件"> </el-form-item>
</c-col>
<c-col :span="22" >
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="报文格式">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].cortyp"
style="width: 100%"
disabled
placeholder="请选择"
>
<el-option
v-for="item in codes.doceotCortyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="报文格式">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].docsnf"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.docsnf"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="语言" width="150%">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].docuil"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.uiltxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="传送方式">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].apf"
disabled
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.apftxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Or." width="65%">
<template slot-scope="scope">
<c-input
v-model="model.trnmod.trndoc.doceot[scope.row.index].apfcpy1"
:readonly="true"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="CC" width="65%">
<template slot-scope="scope">
<c-input
v-model="model.trnmod.trndoc.doceot[scope.row.index].apfcpy2"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].staflg"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.swttlx"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
size="mini"
:disabled="
model.trnmod.trndoc.doceot[scope.row.index].pandsc == 'MT799' &&
model.didgrp.rec.elcflg == 'Y'
"
@click="handleDisplay(scope.row.index, scope.row)"
>显示</el-button
>
<el-button
size="mini"
type="danger"
@click="handleDetail(scope.row.index, scope.row)"
>明细</el-button
>
</template>
</el-table-column>
</c-istream-table-docpan>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cltset/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
stmData: {
columns: [
//注释的已改成静态
"role 收报人",
"pandsc 描述",
//"cortyp 类型",
//"docsnf 报文格式",
//"docuil 语言",
//"apf 传送方式"
],
data: [],
}
};
},
methods: {...Event},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input>
</el-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/Cltset/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">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-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/Cltset/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">
<el-form-item label="Booking stream to Display">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="22" offset="1">
<c-table :border="true" :list="data" style="width:80%,text-align:center" height="">
<el-table-column label="D/C" width="auto"></el-table-column>
<el-table-column label="Account Number" width="auto"></el-table-column>
<el-table-column label="Cur" width="auto"></el-table-column>
<el-table-column label="Amount" width="auto"></el-table-column>
<el-table-column label="Value Date" width="auto"></el-table-column>
<el-table-column label="Rate Type" width="auto"></el-table-column>
<el-table-column label="Rate" width="auto"></el-table-column>
<el-table-column label="Term" width="auto"></el-table-column>
<el-table-column label="PN" width="auto"></el-table-column>
</c-table>
</c-col> -->
<c-col :span="22" :offset="1">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
</c-istream-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cltset/Event"
export default {
inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"],
data(){
return {
stmData: {
columns: [
"2 1 \"D/C\" 38 1 0",
"6 2 \"Account Number\" 140",
"3 3 \"Cur\" 60",
"4 4 \"Amount\" 135 2 8:1 2 5",
"5 5 \"Value Date\" 80",
"7 6 \"Rate Type\" 90",
"8 7 \"Rate\" 85 2 0 1 0",
"9 8 \"Term\" 60",
"0 9 \"PN\" 62 1 0"
],
data: []
}
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="8">
<el-form-item label="Batch No." prop="cldgrp.rec.ownref">
<c-input v-model="model.cldgrp.rec.ownref" maxlength="16" placeholder="请输入Batch No."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="cltp0.recget.sdamod.seainf">
<c-button size="small" type="primary" @click="onCltpButgetref">
获取
</c-button>
</el-form-item>
</c-col>
<c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Type of Draft" prop="cldgrp.rec.chktyp">
<c-input v-model="model.cldgrp.rec.chktyp" maxlength="1" placeholder="请输入Type of Draft"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Payemnt Disposition" prop="cldgrp.rec.colflg">
<c-input v-model="model.cldgrp.rec.colflg" maxlength="1" placeholder="请输入Payemnt Disposition"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Draft Amount" prop="cldgrp.cbs.max.cur">
<c-select v-model="model.cldgrp.cbs.max.cur" style="width:100%" placeholder="请选择Draft Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Draft Amount" prop="cldgrp.cbs.max.amt">
<c-input v-model="model.cldgrp.cbs.max.amt" placeholder="请输入Draft Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="cldgrp.cbs.opn1.cur">
<c-select v-model="model.cldgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Open Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="cldgrp.cbs.opn1.amt">
<c-input v-model="model.cldgrp.cbs.opn1.amt" placeholder="请输入Open Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Coll.bank ref." prop="cldgrp.rec.colref">
<c-input v-model="model.cldgrp.rec.colref" maxlength="16" placeholder="请输入Coll.bank ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Coll.bank name" prop="cldgrp.rec.colptynam">
<c-input v-model="model.cldgrp.rec.colptynam" maxlength="40" placeholder="请输入Coll.bank name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of creation" prop="cldgrp.rec.credat">
<c-date-picker type="date" v-model="model.cldgrp.rec.credat" style="width:100%"
placeholder="请选择Date of creation"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Item Count" prop="cldgrp.rec.count">
<c-input v-model="model.cldgrp.rec.count" placeholder="请输入Item Count"></c-input>
</el-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/Cltset/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cltset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="打包托收解包">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000002 -->
<el-tab-pane label="内容" name="sel">
<m-sel :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外信息" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录信息" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函及报文" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="交易附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cltset from "~/model/Cltset"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Cltset/Check"
import Default from "~/model/Cltset/Default"
import Pattern from "~/model/Cltset/Pattern"
import Sel from "./Sel"
import Setpan from "./Setpan"
import Engp from "./Engp"
import Glepan from "./Glepan"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Coninfp from "./Coninfp"
export default {
name: "Cltset",
components: {
"m-sel": Sel,
"m-setpan": Setpan,
"m-engp": Engp,
"m-glepan": Glepan,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "",
trnName: "cltset",
model: new Cltset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods: {
tabClick() {
}
},
created: async function () {
console.log("进入cltset交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Batch No." prop="cldgrp.rec.ownref">
<c-input v-model="model.cldgrp.rec.ownref" maxlength="16" placeholder="请输入Batch No."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="cltp0.recget.sdamod.seainf">
<c-input v-model="model.cltp0.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of Draft" prop="cldgrp.rec.chktyp">
<c-input v-model="model.cldgrp.rec.chktyp" maxlength="1" placeholder="请输入Type of Draft"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Payemnt Disposition" prop="cldgrp.rec.colflg">
<c-input v-model="model.cldgrp.rec.colflg" maxlength="1" placeholder="请输入Payemnt Disposition"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Draft Amount" prop="cldgrp.cbs.max.cur">
<c-select v-model="model.cldgrp.cbs.max.cur" style="width:100%" placeholder="请选择Draft Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Draft Amount" prop="cldgrp.cbs.max.amt">
<c-input v-model="model.cldgrp.cbs.max.amt" placeholder="请输入Draft Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="cldgrp.cbs.opn1.cur">
<c-select v-model="model.cldgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Open Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="cldgrp.cbs.opn1.amt">
<c-input v-model="model.cldgrp.cbs.opn1.amt" placeholder="请输入Open Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Coll.bank ref." prop="cldgrp.rec.colref">
<c-input v-model="model.cldgrp.rec.colref" maxlength="16" placeholder="请输入Coll.bank ref."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Coll.bank name" prop="cldgrp.rec.colptynam">
<c-input v-model="model.cldgrp.rec.colptynam" maxlength="40" placeholder="请输入Coll.bank name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of creation" prop="cldgrp.rec.credat">
<c-date-picker type="date" v-model="model.cldgrp.rec.credat" style="width:100%" placeholder="请选择Date of creation"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Item Count" prop="cldgrp.rec.count">
<c-input v-model="model.cldgrp.rec.count" placeholder="请输入Item Count"></c-input>
</el-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/Clttra/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="24">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col> -->
<c-col :span="24">
<c-col :span="14">
<el-form-item label="General">
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitinf.oit.inftxt"
maxlength="600"
rows="8"
show-word-limit
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="显示方式">
<c-input
v-model="model.mtabut.coninf.oitinf.oit.inflev"
style="width: 100%"
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Settlement">
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitset.oit.inftxt"
maxlength="600"
rows="8"
show-word-limit
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="显示方式">
<c-input
v-model="model.mtabut.coninf.oitset.oit.inflev"
style="width: 100%"
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="24">
<span
v-text="model.mtabut.coninf.oitset.labinftxt"
data-path=".mtabut.coninf.oitset.labinftxt"
>
</span>
</c-col> -->
<c-col :span="11">
<el-form-item label="执行日期">
<c-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 50%"
placeholder=""
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="发送">
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
style="width: 90%"
placeholder=""
readonly
></c-input>
</el-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/Clttra/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="来往信件"> </el-form-item>
</c-col>
<c-col :span="22" >
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="报文格式">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].cortyp"
style="width: 100%"
disabled
placeholder="请选择"
>
<el-option
v-for="item in codes.doceotCortyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="报文格式">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].docsnf"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.docsnf"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="语言" width="150%">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].docuil"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.uiltxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="传送方式">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].apf"
disabled
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.apftxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="Or." width="65%">
<template slot-scope="scope">
<c-input
v-model="model.trnmod.trndoc.doceot[scope.row.index].apfcpy1"
:readonly="true"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="CC" width="65%">
<template slot-scope="scope">
<c-input
v-model="model.trnmod.trndoc.doceot[scope.row.index].apfcpy2"
style="width: 100%"
placeholder="请选择"
>
</c-input>
</template>
</el-table-column>
<el-table-column label="">
<template slot-scope="scope">
<c-select
v-model="model.trnmod.trndoc.doceot[scope.row.index].staflg"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.swttlx"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
size="mini"
:disabled="
model.trnmod.trndoc.doceot[scope.row.index].pandsc == 'MT799' &&
model.didgrp.rec.elcflg == 'Y'
"
@click="handleDisplay(scope.row.index, scope.row)"
>显示</el-button
>
<el-button
size="mini"
type="danger"
@click="handleDetail(scope.row.index, scope.row)"
>明细</el-button
>
</template>
</el-table-column>
</c-istream-table-docpan>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Clttra/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
stmData: {
columns: [
//注释的已改成静态
"role 收报人",
"pandsc 描述",
//"cortyp 类型",
//"docsnf 报文格式",
//"docuil 语言",
//"apf 传送方式"
],
data: [],
}
};
},
methods: {...Event},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item
label="发送信件, 附件及其他单据"
label-width="400px"
>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- ========================左====================== -->
<c-col :span="14">
<c-col :span="24">
<div style="height: 300px; width: 100%;border:1px #ebeef5 solid">
<el-tree
:data="data"
:props="defaultProps"
@node-click="handleNodeClick"
></el-tree>
</div>
</c-col>
<c-col :span="24" style="margin-top:10px">
<c-col :span="4">
<el-form-item label="关联单据" v-show="isShow1 || isShow2"></el-form-item>
<el-form-item label="" v-show="!(isShow1 || isShow2)"></el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="">
<c-checkbox v-model="isShow1">显示收到的信息</c-checkbox>
</el-form-item>
<!-- <c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox> -->
</c-col>
<c-col :span="8" :offset="2">
<el-form-item label="">
<c-checkbox v-model="isShow2">显示以前发出的信息</c-checkbox>
</el-form-item>
<!-- <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox> -->
</c-col>
</c-col>
<c-col :span="22" :offset="1">
<c-table
:border="true"
:list="data1"
style="width:80%,text-align:center"
v-show="isShow1 || isShow2"
>
<el-table-column label="类型" width="auto"></el-table-column>
<el-table-column label="单据" width="auto"></el-table-column>
<el-table-column label="Cre.TRN" width="auto"></el-table-column>
<el-table-column label="日期" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
</c-table>
</c-col>
</c-col>
<!-- ==============右============= -->
<c-col :span="6" :offset="1">
<c-col :span="24">
<c-button size="small" type="primary" @click="onTrndocButshw">
显示
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" type="primary" @click="onTrndocButadd">
明细
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 40px">
<c-button size="small" type="primary" @click="onTrndocButnew">
新加
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" type="primary" @click="onTrndocButattto">
附加
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
删除
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 80px">
<c-button size="small" type="primary" @click="onTrndocButatt">
附加
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 150px">
<c-button size="small" type="primary" @click="onTrndocButatt">
i
</c-button>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Clttra/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
data1:[],
isShow1: false,
isShow2: false,
data: [
{
label: "Internal",
children: [{ label: "'Free Message' via Letter" }],
},
],
};
},
methods: { ...Event,
handleNodeClick(){} ,
defaultProps(){}
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-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/Clttra/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">
<el-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input>
</el-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/Clttra/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">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Clttra/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000002 -->
<el-tab-pane label="内容" name="clttra">
<m-clttra :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外信息" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录信息" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函及报文" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="交易附件" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Clttra from "~/model/Clttra"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Clttra/Check"
import Default from "~/model/Clttra/Default"
import Pattern from "~/model/Clttra/Pattern"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Coninfp from "./Coninfp"
import Setpan from "./Setpan"
import Engp from "./Engp"
import Glepan from "./Glepan"
export default {
name: "Clttra",
components:{
"m-clttra" : Clttra,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-coninfp" : Coninfp,
"m-setpan" : Setpan,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "clttra",
model: new Clttra().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入clttra交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
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