Commit 14fb308b by wangna

Ccttra

parent 9525c9da
......@@ -184,14 +184,14 @@ export default {
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ccdgrp.blk.bcgque":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
// "ccdgrp.blk.bcgque":[
// {type: "string", required: true, message: "必输项"},
// {max: 35,message:"长度不能超过35"}
// ],
"ccdgrp.blk.bcgans":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
// "ccdgrp.blk.bcgans":[
// {type: "string", required: true, message: "必输项"},
// {max: 35,message:"长度不能超过35"}
// ],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Ccttra{
constructor () {
this.data = {
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
swiadd:{
tracur:"", // Traced Amount .trnmod.swiadd.tracur
traamt:"", // Traced Amount .trnmod.swiadd.traamt
},
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[]
},
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
ccdgrp:{
rec:{
ownref:"", // Our Reference .ccdgrp.rec.ownref
nam:"", // Name of CC contract .ccdgrp.rec.nam
chkdat:"", // Date of Draft .ccdgrp.rec.chkdat
ccform:"", // Form of Clean Coll. .ccdgrp.rec.ccform
purflg:"", // Payment disposition .ccdgrp.rec.purflg
},
cbs:{
max:{
cur:"", // Currency .ccdgrp.cbs.max.cur
amt:"", // Currency .ccdgrp.cbs.max.amt
},
opn1:{
cur:"", // Currency .ccdgrp.cbs.opn1.cur
amt:"", // Currency .ccdgrp.cbs.opn1.amt
},
},
pre:{
pts:new Pts().data,
},
dro:{
pts:new Pts().data,
},
col:{
pts:new Pts().data,
},
blk:{
bcgque:"", // Queries .ccdgrp.blk.bcgque
bcgans:"", // Answers .ccdgrp.blk.bcgans
},
},
cctp0:{
recget:{
sdamod:{
seainf:"", // .cctp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp0.recget.sdamod.dadsnd
},
},
},
advtyp:"", // Type of Advice .advtyp
advrol:"", // Receive of Message .advrol
pageId: "" // ctx的key
}
}
export default class Ccttra {
constructor() {
this.data = {
ccdgrp: {
rec: {
ownref: "", // Our Reference .ccdgrp.rec.ownref
nam: "", // Name of CC contract .ccdgrp.rec.nam
chkdat: "", // Date of Draft .ccdgrp.rec.chkdat
ccform: "", // Form of Clean Coll. .ccdgrp.rec.ccform
purflg: "", // Payment disposition .ccdgrp.rec.purflg
},
cbs: {
max: {
cur: "", // Currency .ccdgrp.cbs.max.cur
amt: "", // Currency .ccdgrp.cbs.max.amt
},
opn1: {
cur: "", // Currency .ccdgrp.cbs.opn1.cur
amt: "", // Currency .ccdgrp.cbs.opn1.amt
},
},
pre: {
pts: new Pts().data,
},
dro: {
pts: new Pts().data,
},
col: {
pts: new Pts().data,
},
blk: {
bcgque: "", // Queries .ccdgrp.blk.bcgque
bcgans: "", // Answers .ccdgrp.blk.bcgans
},
},
cctp0: {
recget: {
sdamod: {
seainf: "", // .cctp0.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp0.recget.sdamod.dadsnd
},
},
},
advtyp: "", // Type of Advice .advtyp
advrol: "", // Receive of Message .advrol
pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
mtabut: new Pub().data.Mtabut,
}
}
}
\ No newline at end of file
......@@ -71,6 +71,8 @@ export default class Trnmod {
newliaflg:"", // Unlimited Liability .trnmod.swiadd.newliaflg
chaamt:"", // charges amount .trnmod.swiadd.chaamt
chacur:"", //Amount of Charges .trnmod.swiadd.chacur
tracur:"",
traamt:"",
},
trndoc: {
nar754: "", // Narrative :77A: .trnmod.trndoc.nar754
......
......@@ -7,7 +7,7 @@
<c-input
v-model="model.ccdgrp.rec.ownref"
maxlength="8"
placeholder="请输入User ID"
placeholder="请输入Our Reference"
disabled
></c-input>
</el-form-item>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="cctp0.recget.sdamod.dadsnd">
<c-input v-model="model.cctp0.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of CC contract" prop="ccdgrp.rec.nam">
<c-input v-model="model.ccdgrp.rec.nam" maxlength="40" placeholder="请输入Name of CC contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Our Reference" prop="ccdgrp.rec.ownref">
<c-input v-model="model.ccdgrp.rec.ownref" maxlength="16" placeholder="请输入Our Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="cctp0.recget.sdamod.seainf">
<c-input v-model="model.cctp0.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="ccdgrp.cbs.max.cur">
<c-select v-model="model.ccdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="ccdgrp.cbs.max.amt">
<c-input v-model="model.ccdgrp.cbs.max.amt" placeholder="请输入Currency"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presenter" prop="ccdgrp.pre.pts.ref">
<c-input v-model="model.ccdgrp.pre.pts.ref" maxlength="16" placeholder="请输入Presenter"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="ccdgrp.pre.pts.nam">
<c-input v-model="model.ccdgrp.pre.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="ccdgrp.cbs.opn1.cur">
<c-select v-model="model.ccdgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="ccdgrp.cbs.opn1.amt">
<c-input v-model="model.ccdgrp.cbs.opn1.amt" placeholder="请输入Currency"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drawn on Bank" prop="ccdgrp.dro.pts.ref">
<c-input v-model="model.ccdgrp.dro.pts.ref" maxlength="16" placeholder="请输入Drawn on Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date of Draft" prop="ccdgrp.rec.chkdat">
<c-date-picker type="date" v-model="model.ccdgrp.rec.chkdat" style="width:100%" placeholder="请选择Date of Draft"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="ccdgrp.dro.pts.nam">
<c-input v-model="model.ccdgrp.dro.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Form of Clean Coll." prop="ccdgrp.rec.ccform">
<c-input v-model="model.ccdgrp.rec.ccform" maxlength="1" placeholder="请输入Form of Clean Coll."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Collecting Bank" prop="ccdgrp.col.pts.ref">
<c-input v-model="model.ccdgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Payment disposition" prop="ccdgrp.rec.purflg">
<c-input v-model="model.ccdgrp.rec.purflg" maxlength="1" placeholder="请输入Payment disposition"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="ccdgrp.col.pts.nam">
<c-input v-model="model.ccdgrp.col.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Traced Amount" prop="trnmod.swiadd.tracur">
<c-input v-model="model.trnmod.swiadd.tracur" maxlength="3" placeholder="请输入Traced Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Traced Amount" prop="trnmod.swiadd.traamt">
<c-input v-model="model.trnmod.swiadd.traamt" placeholder="请输入Traced Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Queries" prop="ccdgrp.blk.bcgque">
<c-input type="textarea" v-model="model.ccdgrp.blk.bcgque" maxlength="35" show-word-limit placeholder="请输入Queries" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of Advice" prop="advtyp">
<c-select v-model="model.advtyp" style="width:100%" placeholder="请选择Type of Advice">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Receive of Message " prop="advrol">
<c-select v-model="model.advrol" style="width:100%" placeholder="请选择Receive of Message ">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Answers" prop="ccdgrp.blk.bcgans">
<c-input type="textarea" v-model="model.ccdgrp.blk.bcgans" maxlength="35" show-word-limit placeholder="请输入Answers" ></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/Ccttra/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="11">
<c-col :span="22">
<el-form-item label="Our Reference" prop="ccdgrp.rec.ownref">
<c-input
v-model="model.ccdgrp.rec.ownref"
maxlength="8"
placeholder="请输入Our Reference"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
style="margin: 0 12px 0 14px; padding: 0 12px"
size="small"
type="primary"
disabled
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="ccdgrp.cbs.max.cur">
<c-select
v-model="model.ccdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency"
disabled
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="ccdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.ccdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="请输入"
@keyup.enter.native="
defaultFunction('ccdgrp.cbs.max.amt', model.ccdgrp.cbs.max.amt)
"
disabled
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="ccdgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.ccdgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择Currency"
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="ccdgrp.cbs.opn1.amt"
>
<c-input-currency
v-model="model.ccdgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
placeholder="请输入"
@keyup.enter.native="
defaultFunction('ccdgrp.cbs.opn1.amt', model.ccdgrp.cbs.opn1.amt)
"
disabled
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Date of Draft" prop="ccdgrp.rec.chkdat">
<c-date-picker
type="date"
v-model="model.ccdgrp.rec.chkdat"
style="width: 100%"
placeholder="请选择Date of Draft"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Form of Clean Coll." prop="ccdgrp.rec.ccform">
<c-select
v-model="model.ccdgrp.rec.ccform"
style="width: 100%"
placeholder="请选择Form of Clean Coll."
:code="codes.ccform"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Payment Disposition " prop="ccdgrp.rec.purflg">
<c-select
v-model="model.ccdgrp.rec.purflg"
style="width: 100%"
placeholder="请选择Payment Disposition "
:code="codes.purflg"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Traced Amount" prop="trnmod.swiadd.tracur">
<c-select
disabled
v-model="model.trnmod.swiadd.tracur"
style="width: 100%"
placeholder="请选择Traced Amount"
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="trnmod.swiadd.traamt"
>
<c-input-currency
v-model="model.trnmod.swiadd.traamt"
style="text-align: left; width: 100%"
placeholder="请输入"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Receive of Message" prop="advrol">
<c-select
v-model="model.advrol"
style="width: 100%"
placeholder="请选择Receive of Message"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="ccdgrp.rec.nam">
<c-input
v-model="model.ccdgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Presenter Draft Nb." prop="ccdgrp.pre.pts.ref">
<c-input
v-model="model.ccdgrp.pre.pts.ref"
maxlength="40"
placeholder="请输入Presenter Draft Nb."
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ccdgrp.pre.pts.nam">
<c-input
v-model="model.ccdgrp.pre.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drawn on Bank Ref." prop="ccdgrp.dro.pts.ref">
<c-input
v-model="model.ccdgrp.dro.pts.ref"
maxlength="40"
placeholder="请输入Drawn on Bank Ref."
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ccdgrp.dro.pts.nam">
<c-input
v-model="model.ccdgrp.dro.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Collecting Bank Ref." prop="ccdgrp.col.pts.ref">
<c-input
v-model="model.ccdgrp.col.pts.ref"
maxlength="40"
placeholder="请输入Collecting Bank Ref."
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="ccdgrp.col.pts.nam">
<c-input
v-model="model.ccdgrp.col.pts.nam"
maxlength="40"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item
label="Queries"
prop="ccdgrp.blk.bcgque"
>
<c-input
type="textarea"
:rows="6"
v-model="model.ccdgrp.blk.bcgque"
maxlength="600"
show-word-limit
placeholder="请输入Queries"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item
label="Answers"
prop="ccdgrp.blk.bcgans"
>
<c-input
type="textarea"
:rows="6"
v-model="model.ccdgrp.blk.bcgans"
maxlength="600"
show-word-limit
placeholder="请输入Answers"
disabled
></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="cctp0.recget.sdamod.dadsnd">
<c-input v-model="model.cctp0.recget.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="Name of CC contract" prop="ccdgrp.rec.nam">
<c-input v-model="model.ccdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of CC contract'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('cctp0.S0000002')" prop="ccdgrp.rec.ownref">
<c-input v-model="model.ccdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('cctp0.S0000002')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="cctp0.recget.sdamod.seainf">
<c-input v-model="model.cctp0.recget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('cctp0.S0000005')" prop="ccdgrp.cbs.max.cur">
<c-select v-model="model.ccdgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('cctp0.S0000005')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('cctp0.S0000005')" prop="ccdgrp.cbs.max.amt">
<c-input v-model="model.ccdgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+$t('cctp0.S0000005')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('cctp0.S0000013')" prop="ccdgrp.pre.pts.ref">
<c-input v-model="model.ccdgrp.pre.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('cctp0.S0000013')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="ccdgrp.pre.pts.nam">
<c-input v-model="model.ccdgrp.pre.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('cctp0.S0000007')" prop="ccdgrp.cbs.opn1.cur">
<c-select v-model="model.ccdgrp.cbs.opn1.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('cctp0.S0000007')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('cctp0.S0000007')" prop="ccdgrp.cbs.opn1.amt">
<c-input v-model="model.ccdgrp.cbs.opn1.amt" :placeholder="$t('other.please_enter')+$t('cctp0.S0000007')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('cctp0.S0000015')" prop="ccdgrp.dro.pts.ref">
<c-input v-model="model.ccdgrp.dro.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('cctp0.S0000015')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('cctp0.S0000009')" prop="ccdgrp.rec.chkdat">
<c-date-picker type="date" v-model="model.ccdgrp.rec.chkdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('cctp0.S0000009')"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="ccdgrp.dro.pts.nam">
<c-input v-model="model.ccdgrp.dro.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('cctp0.S0000010')" prop="ccdgrp.rec.ccform">
<c-input v-model="model.ccdgrp.rec.ccform" maxlength="1" :placeholder="$t('other.please_enter')+$t('cctp0.S0000010')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('cctp0.S0000017')" prop="ccdgrp.col.pts.ref">
<c-input v-model="model.ccdgrp.col.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('cctp0.S0000017')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('cctp0.S0000011')" prop="ccdgrp.rec.purflg">
<c-input v-model="model.ccdgrp.rec.purflg" maxlength="1" :placeholder="$t('other.please_enter')+$t('cctp0.S0000011')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="ccdgrp.col.pts.nam">
<c-input v-model="model.ccdgrp.col.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('ccttra.S0000006')" prop="trnmod.swiadd.tracur">
<c-input v-model="model.trnmod.swiadd.tracur" maxlength="3" :placeholder="$t('other.please_enter')+$t('ccttra.S0000006')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Traced Amount" prop="trnmod.swiadd.traamt">
<c-input v-model="model.trnmod.swiadd.traamt" :placeholder="$t('other.please_enter')+'Traced Amount'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Queries" prop="ccdgrp.blk.bcgque">
<c-input type="textarea" v-model="model.ccdgrp.blk.bcgque" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Queries'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of Advice" prop="advtyp">
<c-select v-model="model.advtyp" style="width:100%" :placeholder="$t('other.please_enter')+'Type of Advice'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('ccttra.S0000010')" prop="advrol">
<c-select v-model="model.advrol" style="width:100%" :placeholder="$t('other.please_enter')+$t('ccttra.S0000010')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Answers" prop="ccdgrp.blk.bcgans">
<c-input type="textarea" v-model="model.ccdgrp.blk.bcgans" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Answers'" ></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/Ccttra/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">
<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/Ccttra/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">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" 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/Ccttra/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="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/Ccttra/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/Ccttra/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/Ccttra/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-row class="eibs-tab">
<!-- ====================顶部==================== -->
<c-col :span="6">
<el-form-item label="参考号" label-width="100px">
<c-input
v-model="model.setmod.ref"
maxlength="16"
:readonly="true"
placeholder="请输入our reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="结算金额" label-width="100px">
<c-input
v-model="model.setmod.doccur"
style="width: 100%"
placeholder="CNY"
:readonly="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="" label-width="20px">
<c-input
v-model="model.setmod.docamt"
:readonly="true"
placeholder="请输入document amount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="类型" label-width="100px">
<c-select
v-model="model.setmod.dspflg"
disabled
style="width: 100%"
placeholder="请选择Type of settlement"
>
<el-option
v-for="item in codes.dspflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="自贸区账号">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自贸区账号"></c-input>
</el-form-item>
</c-col>
<c-col :span="6" style="text-align:center">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
-->
<c-col :span="3" :offset="21">
<el-form-item label="" label-width="20px">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</el-form-item>
</c-col>
<!-- ==============中部表格===================== -->
<c-col :span="24">
<el-form-item
label="Foreign Commission/Charges:"
label-width="210px"
>
</el-form-item>
</c-col>
<c-col :span="22" style="margin-bottom: 18px" :offset="1">
<c-table
style="text-align: center"
:list="model.setmod.setfog.setfol"
:paginationShow="false"
:border="true"
>
<el-table-column label="Payer" prop="ptydbt" width="auto">
<template slot-scope="scope">
<el-select v-model="scope.ptydbt">
<el-option
v-for="item in codes.ptydbt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="Payee" width="auto">
<template slot-scope="scope">
<el-select v-model="scope.Payee">
<el-option
v-for="item in codes.Payee"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="Source" prop="src" width="auto">
</el-table-column>
<el-table-column label="Disp" prop="dsp" width="auto">
</el-table-column>
<el-table-column
label="Text for Payer"
prop="txtdbt"
width="auto"
>
</el-table-column>
<el-table-column
label="Text for Payee"
prop="txtpay"
width="auto"
>
</el-table-column>
<el-table-column label="Currency" prop="cur" width="auto">
<template slot-scope="scope">
<el-select v-model="scope.cur">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="Amount" prop="amt" width="auto">
</el-table-column>
<el-table-column label="" prop="det" width="auto">
<template slot-scope="scope" slot="header">
<el-button
class="el-icon-circle-plus-outline"
size="mini"
@click="addRow(scope)"
>
</el-button>
<el-button
class="el-icon-remove-outline"
size="mini"
@click="removeRow(scope)"
>
</el-button>
</template>
<template slot-scope="scoped">
<el-button
size="mini"
@click="detail1(scoped.$index, scoped.row)"
>details</el-button
>
</template>
</el-table-column>
</c-table>
</c-col>
<c-col>
<el-dialog :visible.sync="dialogVisible" center>
<el-form :model="dialog">
<el-form-item label="收款人">
<el-select v-model="dialog.ptypay">
<el-option
v-for="item in codes.ptypay"
:key="item.value"
:labelF="item.label"
:value="item.value"
/>
</el-select>
</el-form-item>
<el-form-item label="收款人摘要"
><c-input v-model="dialog.txtpay" />
</el-form-item>
<el-form-item label="付款人">
<el-select v-model="dialog.ptydbt">
<el-option
v-for="item in codes.ptydbt"
:key="item.value"
:labelF="item.label"
:value="item.value"
/> </el-select
></el-form-item>
<el-form-item label="付款人摘要"
><c-input v-model="dialog.txtdbp" />
</el-form-item>
<el-form-item label="费用"
><c-select v-model="dialog.cur">
<el-option
v-for="item in codes.cur"
:key="item.value"
:labelF="item.label"
:value="item.value"
/>
</c-select>
<c-input v-model="dialog.amt" style="width: 200px"
/></el-form-item>
<el-form-item label-width="10em">
<c-checkbox v-model="dialog.forflg"
>CG00005</c-checkbox
>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button type="primary" @click="saveDialog"
>确 定</el-button
>
<el-button @click="dialogVisible = false">取 消</el-button>
</span>
</el-dialog>
</c-col>
<!--=================== Own Commission/Charges:================== -->
<c-col :span="24" style="text-align: left">
<el-form-item label="Own Commission/Charges:"> </el-form-item>
</c-col>
<c-col :span="22" style="margin-bottom: 18px" :offset="1">
<c-table
style="text-align: center"
:list="model.setmod.setfeg.setfel"
:paginationShow="false"
:border="true"
>
<el-table-column label="Role" width="auto">
<template #default="scope">
<el-select v-model="scope.row.rol">
<el-option
v-for="item in codes.setfelRol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="Code" prop="feecod" width="auto">
</el-table-column>
<el-table-column label="Source" prop="src" width="auto">
</el-table-column>
<el-table-column label="Disp" width="auto">
<template #default="scope">
<el-select v-model="scope.row.dsp" @change="dispDefault">
<el-option
v-for="item in codes.setfeldsp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="Units" prop="unt" width="auto">
</el-table-column>
<el-table-column
label="Long Fee Text"
prop="feetxtinf"
width="auto"
>
</el-table-column>
<el-table-column label="Currency" prop="cur" width="auto">
</el-table-column>
<el-table-column
label="Original Amount"
prop="ogiamt"
width="auto"
>
</el-table-column>
<el-table-column label="Fee Amount" prop="amt" width="auto">
</el-table-column>
<el-table-column label="Details" prop="det" width="auto">
<template slot-scope="scoped">
<el-button
size="mini"
@click="detail2(scoped.$index, scoped.row)"
>details</el-button
>
</template>
</el-table-column>
</c-table>
</c-col>
<setpan-dialog v-if="dialogVisible2" :visible="dialogVisible2" :model="model" :idx="index" :codes="codes"/>
<c-col :span="24" style="text-align: left">
<el-form-item label="Settlement:" label-width="100px">
</el-form-item>
</c-col>
<c-col :span="22" style="margin-bottom: 18px" :offset="1">
<c-table
style="text-align: center"
:list="model.setmod.setglg.setgll"
:paginationShow="false"
:border="true"
>
<el-table-column label="Mod" prop="modflg" width="auto">
</el-table-column>
<el-table-column label="Role" prop="rol" width="auto">
</el-table-column>
<el-table-column label="in" prop="acccur" width="auto">
<template slot-scope="scope">
<el-select v-model="scope.row.acccur">
<el-option
v-for="item in codes.acccur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</template>
</el-table-column>
<el-table-column
label="Amount Paid"
prop="fmtaccamt"
width="auto"
>
</el-table-column>
<el-table-column label="Disp." width="auto">
<template #default="scope">
<el-select v-model="scope.row.dsp">
<el-option
v-for="item in codes.setglldsp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="Account" prop="act" width="auto">
<template slot-scope="scope">
<el-select v-model="scope.row.act">
<el-option
v-for="item in scope.act"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</template>
</el-table-column>
<el-table-column label="C" prop="debcdtflg" width="auto">
</el-table-column>
<el-table-column label="Curr." prop="cur" width="auto">
</el-table-column>
<el-table-column
label="Original Amount"
prop="fmtamt"
width="auto"
>
</el-table-column>
<el-table-column label="Rate" prop="rat" width="auto">
</el-table-column>
<el-table-column label="" width="auto"> </el-table-column>
</c-table>
</c-col>
<c-col :span="12" style="margin-bottom: 10px;">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg">
</span>
</c-col>
<c-col :span="12" style="margin-bottom: 10px;">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab">
</span>
</c-col>
<c-col :span="12" style="margin-bottom: 10px;">
<span
v-text="model.setmod.setglg.labdspflg"
data-path=".setmod.setglg.labdspflg"
>
</span>
</c-col>
</c-row>
</template>
<script>
import Event from "~/model/Ditopn/Event";
import commonProcess from "~/mixin/commonProcess";
import SetpanDialog from "./SetpanDialog.vue";
import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
inject: ['root'],
components: { SetpanDialog },
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
dialogVisible: false,
dialogVisible2: false,
dialog: {
payee: "",
ptydbt: "",
txtpay: "",
txtdbt: "",
CG00005: "",
},
dialog2: {
feetxtinf:"",
feetxt:"",
},
index: 0,
};
},
methods: {
...Event,
//第一个表格
addRow() {
let newRow = { ...dialog };
this.model.setmod.setfog.setfol.push(newRow);
},
removeRow() {
this.model.setmod.setfog.setfol.pop();
},
saveDialog() {
this.visiable = false;
this.model.setmod.setfog.setfol[this.index] = this.dialog;
},
// 第二个表格
detail1(index, row) {
this.executeDefault("det").then(res=>{
this.dialogVisible = true;
this.dialog = row;
this.index = index;
})
},
dispDefault(){
this.executeDefault("mac").then(res=>{
Utils.copyValueFromVO(this.model, res.data)
})
},
// 第三个表格
detail2(index, row) {
this.executeRule("det").then(res=>{
this.dialogVisible2 = true;
this.index = index;
this.dialog2 = row
})
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<el-dialog :visible.sync="visiable" center fullscreen destroy-on-close><c-col>
<el-form v-model="model.setmod.setfeg.setfel[idx]" inline>
<c-col>
<c-col :span="8">
<el-form-item label="费用代码">
<c-input
v-model="model.setmod.setfeg.setfel[idx].feecod"
disabled/>
</el-form-item>
</c-col>
<c-col :span="16">
<el-form-item label="中文描述">
<c-input
v-model="model.setmod.setfeg.setfel[idx].feetxt"
style="width: 350px"/>
<c-input
v-model="model.setmod.setfeg.setfel[idx].modflg"
disabled
style="width: 350px; margin-left: 100px"/>
</el-form-item>
</c-col>
</c-col>
<c-col>
<c-col :span="6">
<el-form-item label="详细信息">
<c-input
v-model="model.setmod.setfeg.setfel[idx].feetxtinf"
/>
</el-form-item
>
</c-col>
<c-col :span="6">
<el-form-item label="起算时间">
<c-input
v-model="model.setmod.setfeg.setfel[idx].dat1"
type="date"
/>
</el-form-item
>
</c-col>
<c-col :span="6">
<el-form-item label="结束时间">
<c-input
v-model="
model.setmod.setfeg.setfel[idx].dat2
"
type="date"
/>
</el-form-item
>
</c-col>
<c-col :span="6">
<el-form-item label="收取份数">
<c-input
v-model="model.setmod.setfeg.setfel[idx].unt"
/>
</el-form-item
>
</c-col>
</c-col>
<c-col>
<el-form-item label="费用换算">
<c-select
v-model="model.setmod.setfeg.setfel[idx].usrcur">
<el-option
v-for="item in codes.usrcur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<c-input
v-model="model.setmod.setfeg.setfel[idx].usramt"
style="width: 200px; margin-left: 50px"
/>
</el-form-item>
</c-col>
<c-col>
<c-col :span="8">
<el-form-item label="应收费用"
>
<c-input
v-model="model.setmod.setfeg.setfel[idx].cur"
disabled
style="width: 100px; margin-right: 10px"
/>
<c-input
v-model="model.setmod.setfeg.setfel[idx].ogiamt"
disabled
style="width: 200px"
/>
</el-form-item
>
</c-col>
<c-col :span="8">
<el-form-item label="优惠百分比"
>
<c-input v-model="model.setmod.setfeg.setfel[idx].dctrat" >
<template #append>%</template>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Period calculation starting at">
<c-input
v-model="model.setmod.setfeg.setfel[idx].datrefbeg"
disabled/>
</el-form-item
>
</c-col>
</c-col>
<c-col>
<c-col :span="8">
<el-form-item label="付款方">
<c-select
v-model="model.setmod.setfeg.setfel[idx].rol">
<el-option
v-for="item in codes.rol"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="优惠金额">
<c-input
v-model="model.setmod.setfeg.setfel[idx].dctamt"/>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="优惠后实收费用金额">
<c-input
v-model="model.setmod.setfeg.setfel[idx].amt"/>
</el-form-item>
</c-col>
</c-col>
<c-col>
<el-form-item
:label="idx==0?'Per mile fee depending on duration':
'A fixed amount per unit is caculated. This type will, for example, be used for correspondence charges.'"
/>
</c-col>
<c-col :span="12">
<c-col v-if="idx==0">
<c-col>
<el-form-item label="千分率">
<c-input
v-model="model.setmod.setfeg.setfel[idx].fecp1.ratcal"
style="width: 200px"
/>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最小值">
<c-select
v-model="model.setmod.setfeg.setfel[idx].fecp1.mincur"
style="width: 200px" >
<el-option
v-for="item in codes.mincur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<!-- v-model="model.setmod.setfeg.setfel[idx].fecp1.fec.minamt" -->
<c-input
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.minamt"
/>
<c-input
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.minfcc"
/>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最大值">
<c-select
v-model="model.setmod.setfeg.setfel[idx].fecp1.maxcur"
style="width: 200px" >
<el-option
v-for="item in codes.maxcur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<c-input
style="width: 200px;"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.maxamt"/>
<c-input
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.maxfcc"
/>
</el-form-item>
</c-col>
<c-col>
<el-form-item>
<c-checkbox
label="CG000652"
v-model="model.setmod.setfeg.setfel[idx].fecp1.jnwshx"
/>
</el-form-item>
</c-col>
</c-col>
<c-col v-else>
<el-form-item label="Amount">
<c-select v-model="model.setmod.setfeg.setfel[idx].wrkfec.ratcur">
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<c-input
style="width:200px;"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.untamt "
>
</c-input>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="销项税">
<c-input
v-model="model.setmod.setfeg.setfel[idx].fecp1.taxrat"
disabled
style="width: 200px"
/>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="客户属性">
<c-input
v-model="model.setmod.setfeg.setfel[idx].fecp1.custyp"
disabled
style="width: 200px"
/>
</el-form-item>
</c-col>
</c-col>
<c-col v-if="idx==0" :span="12">
<el-form-item label="Caiculation Base">
<c-input
v-model="model.setmod.setfeg.setfel[idx].fecp1.calcbs"
disabled
style="width: 200px"
/>
</el-form-item>
<el-form-item label="Calc.Period">
<c-select
v-model="model.setmod.setfeg.setfel[idx].fecp1.pertyp">
<el-option
v-for="item in codes.pertyp"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
</el-form-item>
<el-form-item label="Min.Periods">
<c-input
v-model="model.setmod.setfeg.setfel[idx].fecp1.per"
style="width: 200px"
/>
</el-form-item>
<el-form-item label="Rates to Apply per Period Tier"/>
<el-form-item label="from Perimod">
<c-input
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perbegtr2"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perrattr2"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perbegtr3"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perrattr3"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perbegtr4"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perrattr4"
/>
</el-form-item>
<el-form-item label="from Perimod">
<c-input
disabled
style="width: 200px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perbegtr5"
/>
<c-input
disabled
style="width: 200px; margin-left: 50px"
v-model="model.setmod.setfeg.setfel[idx].wrkfec.perrattr5"
/>
</el-form-item>
</c-col>
<c-col>&nbsp;</c-col>
<c-col :span="18" :offset="6">
<el-form-item label="收费的说明信息" >
<c-input
v-model="model.setmod.setfeg.setfel[idx].inftxt"
disabled
rows="10"
type="textarea"
style="width: 500px;"
/>
</el-form-item>
</c-col>
</el-form>
<c-col :span="4" :offset="8">
<c-button type="primary" @click="saveDialog">
确 定
</c-button>
</c-col>
<c-col :span="6" >
<c-button @click="visiable = false">取 消</c-button>
</c-col>
</c-col>
</el-dialog>
</template>
<script>
export default {
props: {
visible: Boolean,
model: Object,
idx: Number,
codes:Object,
},
methods: {
saveDialog() {
this.visiable = false;
},
},
computed:{
visiable:{
get:function () {return this.visible;},
set:function (value) {
this.$parent.$parent.dialogVisible2 =value;
}
}
}
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!--==========================CCTP0 Select BC=================================-->
<el-row>
<c-col :span="12">
<el-form-item label="Our Reference" prop="ccdgrp.rec.ownref">
<c-input style="width: 50%" v-model="model.ccdgrp.rec.ownref" maxlength="16" placeholder="请输入Our Reference"></c-input>
<c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="ccdgrp.rec.nam">
<c-input v-model="model.ccdgrp.rec.nam" maxlength="40" placeholder="Clean Bill Name"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="6">
<el-form-item label="Bill Amount" prop="ccdgrp.cbs.max.cur">
<c-select disabled v-model="model.ccdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<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="5" >
<el-form-item
style="text-align: left"
label-width="20px"
prop="ccdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.ccdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="Document Amount"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="2"></c-col>
<c-col :span="9" offset="4">
<el-form-item label="Presenter Draft Nb." prop="ccdgrp.pre.pts.ref">
<c-input v-model="model.ccdgrp.pre.pts.ref" maxlength="16" placeholder="请输入Presenter"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="6">
<el-form-item label="Opening Amount" prop="ccdgrp.cbs.opn1.cur">
<c-select disabled v-model="model.ccdgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<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="5" >
<el-form-item
style="text-align: left"
label-width="20px"
prop="ccdgrp.cbs.opn1.amt"
>
<c-input-currency
v-model="model.ccdgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
placeholder="Document Amount"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12" offset="1">
<el-form-item label="" prop="ccdgrp.pre.pts.nam">
<c-input v-model="model.ccdgrp.pre.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="8">
<el-form-item label="Date of Draft" prop="ccdgrp.rec.chkdat">
<c-date-picker type="date" v-model="model.ccdgrp.rec.chkdat" style="width:100%" placeholder="Date of Draft"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="9" offset="7">
<el-form-item label="Drawn on Bank Ref." prop="ccdgrp.dro.pts.ref">
<c-input v-model="model.ccdgrp.dro.pts.ref" maxlength="16" placeholder="请输入Drawn on Bank"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="Form of Clean Coll." prop="ccdgrp.rec.ccform">
<c-input v-model="model.ccdgrp.rec.ccform" maxlength="1" placeholder="请输入Form of Clean Coll."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="ccdgrp.dro.pts.nam">
<c-input v-model="model.ccdgrp.dro.pts.nam" maxlength="16" placeholder="请输入Drawn on Bank"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="Payment disposition" prop="ccdgrp.rec.purflg">
<c-input v-model="model.ccdgrp.rec.purflg" maxlength="1" placeholder="请输入Payment disposition"></c-input>
</el-form-item>
</c-col>
<c-col :span="9" offset="3">
<el-form-item label="Collecting Bank Ref." prop="ccdgrp.col.pts.ref">
<c-input v-model="model.ccdgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12"></c-col>
<c-col :span="11" offst="22">
<el-form-item label="Name of Party" style="text-align: right; width: 100%" prop="ccdgrp.col.pts.nam">
<c-input v-model="model.ccdgrp.col.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
</el-row>
<el-divider class="el-divider--horizontal" ></el-divider>
<!--===========================left side======================================-->
<c-col :span="11">
<c-col :span="13">
<el-form-item label="Traced Amount" prop="trnmod.swiadd.tracur">
<c-select disabled v-model="model.trnmod.swiadd.tracur"
style="width: 100%"
placeholder="请选择Currency"><!--@keyup.enter.native="nom1CurEvent"-->
<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="10">
<el-form-item
style="text-align: left"
label-width="20px"
prop="trnmod.swiadd.traamt"
>
<c-input-currency
v-model="model.trnmod.swiadd.traamt"
style="text-align: left; width: 100%"
placeholder="Document Amount"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Type of Advice" prop="advtyp">
<c-select v-model="model.advtyp" style="width:100%" placeholder="请选择Type of Advice">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Receive of Message " prop="advrol">
<c-select v-model="model.advrol" style="width:100%" placeholder="请选择Receive of Message ">
</c-select>
</el-form-item>
</c-col>
</c-col>
<!--===========================right side======================================-->
<c-col :span="11" offset="1">
<c-col :span="24">
<el-form-item label="Queries" prop="ccdgrp.blk.bcgque">
<c-input type="textarea" v-model="model.ccdgrp.blk.bcgque" maxlength="35" show-word-limit placeholder="请输入Queries" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Answers" prop="ccdgrp.blk.bcgans">
<c-input type="textarea" v-model="model.ccdgrp.blk.bcgans" maxlength="35" show-word-limit placeholder="请输入Answers" ></c-input>
</el-form-item>
</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/Ccttra/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
.el-divider--horizontal{
margin-top: 3px;
margin-bottom: 8px;
}
</style>
<template>
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="Tracer BC" name="tra">
<m-tra :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Message" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000002 -->
</c-tabs>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--ccttra PD000002 Tracer BC -->
<el-tab-pane label="Tracer BC" name="ccttra1">
<m-ccttra1 :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--engp PD000000 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :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 Ccttra from "~/model/Ccttra"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Ccttra/Check"
import Default from "~/model/Ccttra/Default"
import Pattern from "~/model/Ccttra/Pattern"
import Tra from "./Tra"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Ccttra from "~/model/Ccttra";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Ccttra/Check";
import Default from "~/model/Ccttra/Default";
import Pattern from "~/model/Ccttra/Pattern";
import Ccttra1 from "./Ccttra1";
import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp"
import Coninfp from "~/views/Public/Coninfp"
import Doctre from "~/views/Public/Doctre";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Engp from "~/views/Public/Engp";
export default {
components:{
"m-docpan" : Docpan,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-glepan" : Glepan,
"m-coninfp" : Coninfp,
"m-tra" : Tra,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "tra",
trnName: "ccttra",
model: new Ccttra().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
name: "Ccttra",
components: {
"m-ccttra1": Ccttra1,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp,
"m-setpan": Setpan,
"m-engp": Engp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ccttra1",
trnName: "ccttra",
trnType: "",
model: new Ccttra().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入ccttra交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入ccttra交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<template>
<ReviewWrapper>
<Ccttra></Ccttra>
</ReviewWrapper>
</template>
<script>
import Ccttra from "~/views/Business/Ccttra";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewCcttra",
components: { ReviewWrapper, Ccttra },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
......@@ -67,6 +67,7 @@ import ReviewGitame from "./Business/ReviewGitame.vue";
import ReviewGetame from "./Business/ReviewGetame.vue";
import ReviewCctdav from "./Business/ReviewCctdav.vue";
import ReviewCctdcr from "./Business/ReviewCctdcr.vue";
import ReviewCcttra from "./Business/ReviewCcttra.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
......@@ -152,6 +153,7 @@ const ReviewRouter = [
{ path: "bctset", component: ReviewBctset, name: "ReviewBctset", meta: { title: "复核-Bctset" } },
{ path: "cctdav", component: ReviewCctdav, name: "ReviewCctdav", meta: { title: "复核-Cctdav" } },
{ path: "cctdcr", component: ReviewCctdcr, name: "ReviewCctdcr", meta: { title: "复核-Cctdcr" } },
{ path: "ccttra", component: ReviewCcttra, name: "ReviewCcttra", meta: { title: "复核-Ccttra" } },
];
export default ReviewRouter;
\ No newline at end of file
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