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="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>
<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