Commit 9a4c47be by 1198835488@qq.com

m

parent 88fc18f3
import Utils from "~/utils"
/**
* Bttdcr Check规则
*/
let checkObj = {
"btdgrp.blk.disdoc" :null,
"btdgrp.blk.docdis" :null,
"bttp0.recget.sdamod.dadsnd" :null,
"bttp0.ltdget.sdamod.dadsnd" :null,
"furide" :null,
"btdgrp.rec.disdat" :null,
"btdgrp.blk.docins" :null,
"bttp0.ledget.sdamod.dadsnd" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Bttdcr Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.blk.docdis" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"btdgrp.blk.disdoc" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocinsButtxmsel(){
let rtnmsg = await this.executeRule("docins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDisdocButtxmsel(){
let rtnmsg = await this.executeRule("disdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"bttp0.ltdget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bttp0.ledget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"ltdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bttp0.ltdget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bttp0.ledget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bttp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"btdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bttp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"btdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.be1.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"btdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"btdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"btdgrp.be1.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"btdgrp.rec.doctypcod":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"btdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"btdgrp.be2.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"btdgrp.rec.rcvdatbe2":[
{type: "date", required: false, message: "输入正确的日期"}
],
"btdgrp.rec.rcvdatbe1":[
{type: "date", required: false, message: "输入正确的日期"}
],
"btdgrp.be2.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"btdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"btdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"btdgrp.blk.docins":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.blk.disdoc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"btdgrp.blk.docdisame":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"btdgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bttdcr{
constructor () {
this.data = {
bttp0:{
ltdget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bttp0.ltdget.sdamod.dadsnd
seainf:"", // .bttp0.ltdget.sdamod.seainf
},
},
ledget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bttp0.ledget.sdamod.dadsnd
seainf:"", // .bttp0.ledget.sdamod.seainf
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bttp0.recget.sdamod.dadsnd
seainf:"", // .bttp0.recget.sdamod.seainf
},
},
matp:{
mattxtlab:"", // Label for MATTXT .bttp0.matp.mattxtlab
},
aammod:{
addamtflg:"", // Add. Amount .bttp0.aammod.addamtflg
},
},
mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
ltdgrp:{
rec:{
ownref:"", // Transfer Reference .ltdgrp.rec.ownref
},
},
ledgrp:{
rec:{
ownref:"", // L/C Reference .ledgrp.rec.ownref
},
},
btdgrp:{
rec:{
ownref:"", // Doc. Set Reference .btdgrp.rec.ownref
doctypcod:"", // Document Type .btdgrp.rec.doctypcod
matdat:"", // Maturity Date .btdgrp.rec.matdat
rcvdatbe2:"", // Received on 2nd Ben. .btdgrp.rec.rcvdatbe2
rcvdatbe1:"", // Received on 1st Ben. .btdgrp.rec.rcvdatbe1
docsta:"", // Document Set Status .btdgrp.rec.docsta
nam:"", // Name of Bill Contract .btdgrp.rec.nam
disdat:"", // Date of Discrepancy Advice .btdgrp.rec.disdat
},
cbs:{
max:{
cur:"", // Document Amount .btdgrp.cbs.max.cur
amt:"", // Document Amount .btdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .btdgrp.cbs.opn1.cur
amt:"", // Balance .btdgrp.cbs.opn1.amt
},
},
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
blk:{
docdis:"", // Discrepancies .btdgrp.blk.docdis
docdisflg:"", // discrepancies modified .btdgrp.blk.docdisflg
docins:"", // Reasons for Rejection .btdgrp.blk.docins
disdoc:"", // Disposal of Documents .btdgrp.blk.disdoc
docdisame:"", // DiscrepanciesAmendment History .btdgrp.blk.docdisame
},
},
rejpenins:"", // Rejection pending instructions .rejpenins
advdisflg:"", // Send Advice of Discrepancies .advdisflg
accdisflg:"", // Accept to 2ben bank .accdisflg
furide:"", // (History) .furide
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Bttdrv Check规则
*/
let checkObj = {
"btdgrp.prb.pts.adrblk" :null,
"bttp.prpp.ptsget.sdamod.dadsnd" :null,
"btdgrp.prp.pts.extkey" :null,
"btdgrp.prp.namelc" :null,
"btdgrp.prb.namelc" :null,
"bttp.othp.ptsget.sdamod.dadsnd" :null,
"btdgrp.prb.pts.nam" :null,
"btdgrp.prb.adrelc" :null,
"btdgrp.oth.pts.adrblk" :null,
"btdgrp.prb.pts.extkey" :null,
"btdgrp.rec.rcvdatbe1" :null,
"btdgrp.be1.pts.nam" :null,
"btdgrp.prp.adrelc" :null,
"bttp.prbp.ptsget.sdamod.dadsnd" :null,
"btdgrp.oth.adrelc" :null,
"bttp.ltdget.sdamod.dadsnd" :null,
"btdgrp.prp.pts.adrblk" :null,
"bttp.recget.sdamod.dadsnd" :null,
"btdgrp.cbs.opnbe1amt.amt" :null,
"btdgrp.oth.pts.extkey" :null,
"bttp.ledget.sdamod.dadsnd" :null,
"btdgrp.oth.namelc" :null,
"btdgrp.be2.pts.nam" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Bttdrv Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"btdgrp.prp.pts.extkey" :Utils.defaultFunction,
"btdgrp.oth.pts.extkey" :Utils.defaultFunction,
"btdgrp.oth.adrelc" :Utils.defaultFunction,
"btdgrp.oth.namelc" :Utils.defaultFunction,
"btdgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.be2amt" :Utils.defaultFunction,
"oldbtdgrp.be2amt" :Utils.defaultFunction,
"btdgrp.oth.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"oldbtdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.cbs.max2.amt" :Utils.defaultFunction,
"btdgrp.prp.adrelc" :Utils.defaultFunction,
"btdgrp.prp.namelc" :Utils.defaultFunction,
"btdgrp.prp.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"btdgrp.cbs.max2.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.cbs.opnbe1amt.amt" :Utils.defaultFunction,
"btdgrp.cbs.opnbe1amt.cur" :Utils.defaultFunction,
"oldbtdgrp.cbs.opnbe1amt.amt" :Utils.defaultFunction,
"btdgrp.prp.pts.adrblk" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"oldbtdgrp.cbs.max2.amt" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"btdgrp.rec.nam" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe1" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe2" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPrppDet(){
let rtnmsg = await this.executeRule("prpp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bttdrv{
constructor () {
this.data = {
ltdgrp:{
rec:{
ownref:"", // Transfer Reference .ltdgrp.rec.ownref
utlnbr:"", // Number of Utilizations .ltdgrp.rec.utlnbr
},
},
mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
bttp:{
ltdget:{
sdamod:{
seainf:"", // .bttp.ltdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd
},
},
ledget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bttp.ledget.sdamod.dadsnd
seainf:"", // .bttp.ledget.sdamod.seainf
},
},
recget:{
sdamod:{
seainf:"", // .bttp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.recget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .bttp.aammod.addamtflg
},
docgrdmbe1:{
docdsclab:"", // Label of document description .bttp.docgrdmbe1.docdsclab
},
docgrdmbe2:{
docdsclab:"", // Label of document description .bttp.docgrdmbe2.docdsclab
},
othp:{
ptsget:{
sdamod:{
seainf:"", // .bttp.othp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.othp.ptsget.sdamod.dadsnd
},
},
},
prbp:{
ptsget:{
sdamod:{
seainf:"", // .bttp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd
},
},
},
prpp:{
ptsget:{
sdamod:{
seainf:"", // .bttp.prpp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.prpp.ptsget.sdamod.dadsnd
},
},
},
},
ledgrp:{
rec:{
ownref:"", // L/C Reference .ledgrp.rec.ownref
},
},
btdgrp:{
rec:{
ownref:"", // Doc. Set Reference .btdgrp.rec.ownref
nam:"", // Name of Bill Contract .btdgrp.rec.nam
doctypcod:"", // Document Type .btdgrp.rec.doctypcod
matdat:"", // Maturity Date .btdgrp.rec.matdat
predat:"", // Presentation Date .btdgrp.rec.predat
docsta:"", // Document Set Status .btdgrp.rec.docsta
rcvdatbe1:"", // Date of Receipt 1st Beneficiary .btdgrp.rec.rcvdatbe1
orddatbe1:"", // Order Date 1st Beneficiary .btdgrp.rec.orddatbe1
rcvdatbe2:"", // Date of Receipt 2nd Beneficiary .btdgrp.rec.rcvdatbe2
orddatbe2:"", // Order Date 2nd Beneficiary .btdgrp.rec.orddatbe2
shpdat:"", // Date of Shipment .btdgrp.rec.shpdat
dscinsflg:"", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg
payrol:"", // Payer .btdgrp.rec.payrol
docprbrol:"", // Presented by .btdgrp.rec.docprbrol
docprbrolbe1:"", // Presented by 1st Ben-Side .btdgrp.rec.docprbrolbe1
},
cbs:{
max:{
cur:"", // Total Document .btdgrp.cbs.max.cur
amt:"", // Balance .btdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .btdgrp.cbs.opn1.cur
amt:"", // Balance .btdgrp.cbs.opn1.amt
},
max2:{
cur:"", // Total Additional .btdgrp.cbs.max2.cur
amt:"", // Total Additional .btdgrp.cbs.max2.amt
},
opnbe1amt:{
cur:"", // Difference Document .btdgrp.cbs.opnbe1amt.cur
amt:"", // Balance .btdgrp.cbs.opnbe1amt.amt
},
opnbe1amt2:{
cur:"", // Difference Additional .btdgrp.cbs.opnbe1amt2.cur
amt:"", // Difference Additional .btdgrp.cbs.opnbe1amt2.amt
},
},
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .btdgrp.prb.namelc
adrelc:"", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn
},
be2amt:"", // Document Amount .btdgrp.be2amt
be2amt2:"", // Additional Amount .btdgrp.be2amt2
oth:{
pts:new Pts().data,
namelc:"", // 名称 .btdgrp.oth.namelc
adrelc:"", // 地址 .btdgrp.oth.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.oth.dbfadrblkcn
},
prp:{
pts:new Pts().data,
namelc:"", // 名称 .btdgrp.prp.namelc
adrelc:"", // 地址 .btdgrp.prp.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prp.dbfadrblkcn
},
},
be2addlab:"", // Label for Additionan Amount 2nd Beneficiary .be2addlab
be2doclab:"", // Label for Document Amount 2nd Beneficiary .be2doclab
oridoclab:"", // Label original .oridoclab
oriaddlab:"", // Label original .oriaddlab
oldbtdgrp:{
cbs:{
max:{
amt:"", // Balance .oldbtdgrp.cbs.max.amt
},
max2:{
amt:"", // Balance .oldbtdgrp.cbs.max2.amt
},
opnbe1amt:{
amt:"", // Balance .oldbtdgrp.cbs.opnbe1amt.amt
},
opnbe1amt2:{
amt:"", // Balance .oldbtdgrp.cbs.opnbe1amt2.amt
},
},
be2amt:"", // Document Amount for 2nd Ben. .oldbtdgrp.be2amt
be2amt2:"", // Additional Amount for 2nd Ben. .oldbtdgrp.be2amt2
},
be1doclab:"", // Label for Document Amount 1st Beneficiary .be1doclab
be1addlab:"", // Label for Additional Amount 1st Beneficiary .be1addlab
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Bttsnd Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"btdgrp.blk.comcon" :null,
"btdgrp.prb.pts.nam" :null,
"btdgrp.prb.adrelc" :null,
"btdgrp.oth.pts.adrblk" :null,
"setmod.dspflg" :null,
"btdgrp.prb.pts.extkey" :null,
"liaall.liaccv.totcovamt" :null,
"btdgrp.blk.intdis" :null,
"bttp.prbp.ptsget.sdamod.dadsnd" :null,
"btdgrp.oth.adrelc" :null,
"btdgrp.rec.disdat" :null,
"bttp.ltdget.sdamod.dadsnd" :null,
"btdgrp.oth.pts.extkey" :null,
"bttp.ledget.sdamod.dadsnd" :null,
"btdgrp.be2.pts.nam" :null,
"btdgrp.blk.benref" :null,
"btdgrp.prb.pts.adrblk" :null,
"btdgrp.prb.namelc" :null,
"btdgrp.blk.setinsbt" :null,
"btdgrp.blk.docdis" :null,
"bttp.othp.ptsget.sdamod.dadsnd" :null,
"bttp.furide" :null,
"btdgrp.be1.pts.nam" :null,
"bttp.recget.sdamod.dadsnd" :null,
"setmod.docamt" :null,
"liaall.liaccv.cshpct" :null,
"btdgrp.oth.namelc" :null,
"liaall.liaccv.relcshpct" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Bttsnd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"btdgrp.oth.pts.extkey" :Utils.defaultFunction,
"btdgrp.oth.adrelc" :Utils.defaultFunction,
"btdgrp.oth.namelc" :Utils.defaultFunction,
"btdgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.oth.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"bttp.cre752flg" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.blk.docdisflg" :Utils.defaultFunction,
"btdgrp.blk.docdis" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe1" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe2" :Utils.defaultFunction,
"btdgrp.rec.doctypcod" :Utils.defaultFunction,
"btdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"btdgrp.blk.benref" :Utils.defaultFunction,
"btdgrp.rec.disdat" :Utils.defaultFunction,
"btdgrp.rec.approvcod" :Utils.defaultFunction,
"rmbclmlate" :Utils.defaultFunction,
"rmbclmnow" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
onSeainf() {
},
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIntdisButtxmsel(){
let rtnmsg = await this.executeRule("intdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onComconButtxmsel(){
let rtnmsg = await this.executeRule("comcon.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetinsButtxmsel(){
let rtnmsg = await this.executeRule("setins.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaccvAdd(){
let rtnmsg = await this.executeRule("liaccv.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaccvDel(){
let rtnmsg = await this.executeRule("liaccv.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bttsnd{
constructor () {
this.data = {
ltdgrp:{
rec:{
ownref:"", // Transfer Reference .ltdgrp.rec.ownref
},
be1:{
pts:new Pts().data,
},
},
mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
bttp:{
ltdget:{
sdamod:{
seainf:"", // .bttp.ltdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.ltdget.sdamod.dadsnd
},
},
ledget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bttp.ledget.sdamod.dadsnd
seainf:"", // .bttp.ledget.sdamod.seainf
},
},
recget:{
sdamod:{
seainf:"", // .bttp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.recget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .bttp.aammod.addamtflg
},
prbp:{
ptsget:{
sdamod:{
seainf:"", // .bttp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.prbp.ptsget.sdamod.dadsnd
},
},
},
othp:{
ptsget:{
sdamod:{
seainf:"", // .bttp.othp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bttp.othp.ptsget.sdamod.dadsnd
},
},
},
futhndflg:"", // Internal Discrepancies .bttp.futhndflg
cre752flg:"", // Create 752 .bttp.cre752flg
furide:"", // Further Identification .bttp.furide
docgrdmbe2:{
docdsclab:"", // Label of document description .bttp.docgrdmbe2.docdsclab
},
docgrdmbe1:{
docdsclab:"", // Label of document description .bttp.docgrdmbe1.docdsclab
},
},
ledgrp:{
rec:{
ownref:"", // L/C Reference .ledgrp.rec.ownref
},
},
btdgrp:{
rec:{
ownref:"", // Doc. Set Reference .btdgrp.rec.ownref
nam:"", // Name of Bill Contract .btdgrp.rec.nam
doctypcod:"", // Document Type .btdgrp.rec.doctypcod
matdat:"", // Maturity Date .btdgrp.rec.matdat
predat:"", // Presentation Date .btdgrp.rec.predat
docsta:"", // Document Set Status .btdgrp.rec.docsta
rcvdatbe1:"", // Rec. Date 1st Ben. .btdgrp.rec.rcvdatbe1
rcvdatbe2:"", // Rec. Date 2nd Ben. .btdgrp.rec.rcvdatbe2
dscinsflg:"", // Enter Docs, Discrep. and Instructions .btdgrp.rec.dscinsflg
docprbrol:"", // Presented by .btdgrp.rec.docprbrol
payrol:"", // Payer .btdgrp.rec.payrol
lescom:"", // Less comm. .btdgrp.rec.lescom
approvcod:"", // Documents on Approval Basis .btdgrp.rec.approvcod
disdat:"", // Date of Advise .btdgrp.rec.disdat
},
cbs:{
max:{
cur:"", // Document Amount .btdgrp.cbs.max.cur
amt:"", // Document Amount .btdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .btdgrp.cbs.opn1.cur
amt:"", // Balance .btdgrp.cbs.opn1.amt
},
},
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .btdgrp.prb.namelc
adrelc:"", // 地址 .btdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.prb.dbfadrblkcn
},
blk:{
be1ins:"", // Instructions 1st Beneficiary .btdgrp.blk.be1ins
be2ins:"", // Instructions 2nd Beneficiary .btdgrp.blk.be2ins
benref:"", // New Benificiary Ref. .btdgrp.blk.benref
intdis:"", // Internal Discrepancies .btdgrp.blk.intdis
comcon:"", // Comments and Conclusions .btdgrp.blk.comcon
setinsbt:"", // Settlement Instructions transaction field .btdgrp.blk.setinsbt
docdis:"", // Discrepancies .btdgrp.blk.docdis
docdisflg:"", // discrepancies modified .btdgrp.blk.docdisflg
},
oth:{
pts:new Pts().data,
namelc:"", // 名称 .btdgrp.oth.namelc
adrelc:"", // 地址 .btdgrp.oth.adrelc
dbfadrblkcn:"", // Chinese address .btdgrp.oth.dbfadrblkcn
},
},
btdsnd:{
snd732:"", // Create MT 732 .btdsnd.snd732
},
rmbclmnow:"", // Claim Reimbursement now .rmbclmnow
rmbclmlate:"", // Claim Reimbursement late .rmbclmlate
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<c-row>
<!-- top -->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入Transfer Reference" style="width: 100%"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入L/C Reference" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入Doc. Set Reference" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="" prop="bttp0.ltdget.sdamod.seainf">
<c-input v-model="model.bttp0.ltdget.sdamod.seainf" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount币种" disabled>
<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">
<el-form-item label="" label-width="65px" prop="btdgrp.cbs.max.amt">
<c-input v-model="model.btdgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.bttp0.aammod.addamtflg" disabled>Add. Amount</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Open Amount币种" disabled>
<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">
<el-form-item label="" label-width="65px" prop="btdgrp.cbs.opn1.cur">
<c-input v-model="model.btdgrp.cbs.opn1.cur" placeholder="请输入Open Amount" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" placeholder="请输入Document Type" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"
disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Received on 2nd Ben." prop="btdgrp.rec.rcvdatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%" placeholder="请选择Received on 2nd Ben."
disabled="disabled"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Received on 1st Ben." prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%" placeholder="请选择Received on 1st Ben."
disabled="disabled"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" v-model="model.btdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies"
rows="5" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onIntdisButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="DiscrepanciesAmendment History" prop="btdgrp.blk.docdisame">
<c-input type="textarea" v-model="model.btdgrp.blk.docdisame" maxlength="50" show-word-limit placeholder="请输入DiscrepanciesAmendment History"
rows="5"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="1st Beneficiary" prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be1.pts.nam" label-width="0px">
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="2nd Beneficiary" prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入2nd Beneficiary" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be2.pts.nam" label-width="0px">
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="Reasons for Rejection" prop="btdgrp.blk.docins">
<c-input type="textarea" v-model="model.btdgrp.blk.docins" maxlength="35" show-word-limit placeholder="请输入Reasons for Rejection"
rows="5"></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onIntdisButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="Disposal of Documents" prop="btdgrp.blk.disdoc">
<c-input type="textarea" v-model="model.btdgrp.blk.disdoc" maxlength="35" show-word-limit placeholder="请输入Disposal of Documents"
rows="5"></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onIntdisButtxmsel">
...
</c-button>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.mtabut.clsflg">Close Flag</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.accdisflg">Accept to 2ben bank</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.accdisflg">Accept to 2ben bank</c-checkbox>
</c-col>
</c-col>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdcr/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
}
},
methods: { ...Event
},
created: function() {
}
}
</script>
<style>
.point {
margin-left: 0px;
line-height: 16px;
height: 20px;
}
</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/Bttdcr/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>
<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>
<!-- <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">
<!--PD000009 -->
<el-tab-pane label="Rejection" name="betdcrs">
<m-betdcrs :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="表外" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函及报文" name="docpan">
<m-docpan :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 Bttdcr from "~/model/Bttdcr"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Bttdcr/Check"
import Default from "~/model/Bttdcr/Default"
import Pattern from "~/model/Bttdcr/Pattern"
import Betdcrs from "./Betdcrs"
import Glepan from "./Glepan"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Ccvpan from "~/views/Public/Ccvpan";
import Docpan from "~/views/Public/Docpan";
import Coninfp from "~/views/Public/Coninfp";
export default {
components:{
"m-betdcrs" : Betdcrs,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-ccvpan" : Ccvpan,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "betdcrs",
trnName: "bttdcr",
model: new Bttdcr().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bttdcr交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<c-row>
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Total Document" prop="btdgrp.cbs.max.cur">
<c-input v-model="model.btdgrp.cbs.max.cur" maxlength="3"
placeholder="请输入Total Document" disabled
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="btdgrp.cbs.max.amt" label-width="15px">
<c-input v-model="model.btdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Total Additional" prop="btdgrp.cbs.max2.cur">
<c-select v-model="model.btdgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Total Additional"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="btdgrp.cbs.max2.amt" label-width="15px">
<c-input v-model="model.btdgrp.cbs.max2.amt" placeholder="请输入Total Additional"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-input v-model="model.btdgrp.cbs.max.cur" maxlength="3" placeholder="请输入Total Document" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="btdgrp.be2amt" label-width="15px">
<c-input v-model="model.btdgrp.be2amt" placeholder="请输入Document Amount"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Additional Amount" prop="btdgrp.cbs.max2.cur">
<c-select v-model="model.btdgrp.cbs.max2.cur" style="width:100%"
disabled
placeholder="请选择Total Additional">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="oldbtdgrp.be2amt2" label-width="15px">
<c-input v-model="model.oldbtdgrp.be2amt2" placeholder="请输入Additional Amount for 2nd Ben."></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Difference Document" prop="btdgrp.cbs.opnbe1amt.cur">
<c-input v-model="model.btdgrp.cbs.opnbe1amt.cur" maxlength="3"
disabled
placeholder="请输入Difference Document"></c-input>
</el-form-item>
</c-col>
<c-col :span="12" >
<el-form-item label="" prop="btdgrp.cbs.opnbe1amt.amt" label-width="15px">
<c-input v-model="model.btdgrp.cbs.opnbe1amt.amt"
placeholder="请输入Balance">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Difference Additional" prop="btdgrp.cbs.opnbe1amt2.cur">
<c-select v-model="model.btdgrp.cbs.opnbe1amt2.cur"
disabled
style="width:100%" placeholder="请选择Difference Additional">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" >
<el-form-item label="" prop="btdgrp.cbs.opnbe1amt2.amt" label-width="15px">
<c-input v-model="model.btdgrp.cbs.opnbe1amt2.amt" placeholder="请输入Difference Additional"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Payer" prop="btdgrp.rec.payrol">
<c-select v-model="model.btdgrp.rec.payrol" style="width:100%" placeholder="请选择Payer">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="" prop="btdgrp.oth.pts.extkey" label-width="0px">
<c-input v-model="model.btdgrp.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4" style="text-align: right">
<c-button style="margin:0 0" class="detailsButton" size="small" type="primary" @click="onAplpDet">
{{ $t('buttons.details') }}
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.oth.pts.adrblk" label-width="0px">
<c-input type="textarea" v-model="model.btdgrp.oth.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block"
disabled></c-input>
</el-form-item>
</c-col>
<!-- r2 -->
<c-col :span="24">
<el-form-item label="Presented by 1st Ben-Side" prop="btdgrp.rec.docprbrolbe1">
<c-select v-model="model.btdgrp.rec.docprbrolbe1" style="width:100%" placeholder="请选择Presented by 1st Ben-Side">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Reference for Address Optional" prop="btdgrp.prb.pts.ref">
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Reference for Address Optional"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="" prop="btdgrp.oth.pts.extkey" label-width="0px">
<c-input v-model="model.btdgrp.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4" style="text-align: right">
<c-button style="margin:0 0" class="detailsButton" size="small" type="primary" @click="onAplpDet">
{{ $t('buttons.details') }}
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.oth.pts.adrblk" label-width="0px">
<c-input type="textarea" v-model="model.btdgrp.oth.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block"
disabled></c-input>
</el-form-item>
</c-col>
<!-- r3 -->
<c-col :span="24">
<el-form-item label="Presented by 1st Ben-Side" prop="btdgrp.rec.docprbrolbe1">
<c-select v-model="model.btdgrp.rec.docprbrolbe1" style="width:100%" placeholder="请选择Presented by 1st Ben-Side">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Reference for Address Optional" prop="btdgrp.prb.pts.ref">
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Reference for Address Optional"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="" prop="btdgrp.oth.pts.extkey" label-width="0px">
<c-input v-model="model.btdgrp.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4" style="text-align: right">
<c-button style="margin:0 0" class="detailsButton" size="small" type="primary" @click="onAplpDet">
{{ $t('buttons.details') }}
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.oth.pts.adrblk" label-width="0px">
<c-input type="textarea" v-model="model.btdgrp.oth.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block"
disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdrv/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
}
},
methods: { ...Event
},
created: function() {
}
}
</script>
<style>
</style>
<template>
<c-row>
<!-- top -->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入Transfer Reference" style="width: 100%"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入L/C Reference" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入Doc. Set Reference" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="" prop="bttp.recget.sdamod.seainf">
<c-input v-model="model.bttp.recget.sdamod.seainf" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount币种" disabled>
<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">
<el-form-item label="" label-width="65px" prop="btdgrp.cbs.max.amt">
<c-input v-model="model.btdgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.bttp.aammod.addamtflg" disabled>Add. Amount</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Open Amount币种" disabled>
<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">
<el-form-item label="" label-width="65px" prop="btdgrp.cbs.opn1.cur">
<c-input v-model="model.btdgrp.cbs.opn1.cur" placeholder="请输入Open Amount" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" placeholder="请输入Document Type" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"
disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Presentation Date" prop="btdgrp.rec.predat">
<c-date-picker type="date" v-model="model.btdgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"
disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="6">
<el-form-item label="Documents presented by 1st Beneficiary">
</el-form-item>
</c-col>
<c-col :span="18">
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button size="mini" @click="handleEdit(scope.$index, scope.row)" type="primary">详情</el-button>
</template>
</el-table-column>
</c-edit-table>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="6">
<el-form-item label="Documents presented by 2nd Beneficiary">
</el-form-item>
</c-col>
<c-col :span="18">
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button size="mini" @click="handleEdit(scope.$index, scope.row)" type="primary">详情</el-button>
</template>
</el-table-column>
</c-edit-table>
</c-col>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="1st Beneficiary" prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be1.pts.nam" label-width="0px">
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="2nd Beneficiary" prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入2nd Beneficiary" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be2.pts.nam" label-width="0px">
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Presenting Bank" prop="btdgrp.prb.pts.ref">
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Presenting Bank" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.prb.pts.nam" label-width="0px">
<c-input v-model="model.btdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-select v-model="model.btdgrp.rec.doctypcod" style="width:100%" placeholder="请选择Document Type">
</c-select>
</el-form-item>
<c-col :span="24">
<el-form-item label="Number of Utilizations" prop="ltdgrp.rec.utlnbr">
<c-input v-model="model.ltdgrp.rec.utlnbr" placeholder="请输入Number of Utilizations" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.btdgrp.rec.dscinsflg">Enter Docs, Discrep. and Instructions</c-checkbox>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Date of Receipt 1st Beneficiary" prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%" placeholder="请选择Date of Receipt 1st Beneficiary"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Date 1st Beneficiary" prop="btdgrp.rec.orddatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.orddatbe1" style="width:100%" placeholder="请选择Order Date 1st Beneficiary"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Date of Receipt 2nd Beneficiary" prop="btdgrp.rec.rcvdatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%" placeholder="请选择Date of Receipt 2nd Beneficiary"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Date 2nd Beneficiary" prop="btdgrp.rec.orddatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.orddatbe2" style="width:100%" placeholder="请选择Order Date 2nd Beneficiary"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Date of Shipment" prop="btdgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.shpdat" style="width:100%" placeholder="请选择Date of Shipment"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdrv/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
ptsaddg: {
columns: [{
title: "1st",
width: "120px",
dataIndex: "ptyextkey1",
show: "input",
},
{
title: "2nd",
width: "180px",
dataIndex: "ptyextkey2",
show: "input",
},
{
title: "Document",
width: "300px",
dataIndex: "nam",
show: "select",
},
],
urls: "letp.ptsaddp.ptsaddg",
},
};
},
methods: {
...Event,
handleEdit() {
console.log("1111测试");
},
},
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>
<!-- <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">
<!--PD000003 -->
<el-tab-pane label="Docs.received" name="drv">
<m-drv :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Amounts And Parties" name="adapan">
<m-adapan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="表外" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函及报文" name="docpan">
<m-docpan :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 Bttdrv from "~/model/Bttdrv"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Bttdrv/Check"
import Default from "~/model/Bttdrv/Default"
import Pattern from "~/model/Bttdrv/Pattern"
import Drv from "./Drv"
import Adapan from "./Adapan"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Ccvpan from "~/views/Public/Ccvpan";
import Docpan from "~/views/Public/Docpan";
import Coninfp from "~/views/Public/Coninfp";
export default {
components:{
"m-drv" : Drv,
"m-adapan" : Adapan,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-ccvpan" : Ccvpan,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "drv",
trnName: "bttdrv",
model: new Bttdrv().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bttdrv交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="应付保证金金额" prop="liaall.liaccv.concur">
<c-input v-model="model.liaall.liaccv.concur" maxlength="3" placeholder="请输入应付保证金金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同金额" prop="liaall.liaccv.newamt">
<c-input v-model="model.liaall.liaccv.newamt" placeholder="请输入合同金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金应收比例" prop="liaall.liaccv.cshpct">
<c-input v-model="model.liaall.liaccv.cshpct" placeholder="请输入保证金应收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reserved Amount" prop="liaall.liaccv.newresamt">
<c-input v-model="model.liaall.liaccv.newresamt" placeholder="请输入Reserved Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金实收比例" prop="liaall.liaccv.relcshpct">
<c-input v-model="model.liaall.liaccv.relcshpct" placeholder="请输入保证金实收比例"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.gleflg">Create gle flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="reserve amount based percent" prop="liaall.liaccv.pctresamt">
<c-input v-model="model.liaall.liaccv.pctresamt" placeholder="请输入reserve amount based percent"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.liaall.liaccv.chgcurflg">Change currency flag</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaccvAdd">
Add
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel">
Del
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="金额总和" prop="liaall.liaccv.totcovamt">
<c-input v-model="model.liaall.liaccv.totcovamt" placeholder="请输入金额总和"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Information " prop="liaall.liaccv.addinf">
<c-input type="textarea" v-model="model.liaall.liaccv.addinf" maxlength="70" show-word-limit placeholder="请输入Additional Information " ></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/Bttsnd/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="Display Type">
<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="Infotext Level">
<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="Execution Date">
<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="Send for Release to">
<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/Cptopn/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/Bttsnd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-row>
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="22">
<el-form-item label="Internal Discrepancies" prop="btdgrp.blk.intdis">
<c-input type="textarea" v-model="model.btdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies"
rows="4"></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onIntdisButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="Comments and Conclusions" prop="btdgrp.blk.comcon">
<c-input type="textarea" v-model="model.btdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions"
rows="2"></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onComconButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="Settlement Instructions transaction field" prop="btdgrp.blk.setinsbt">
<c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions transaction field"
rows="4"></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onSetinsButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="22">
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<c-input type="textarea" v-model="model.btdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies"
rows="4"></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" class="point" type="primary" @click="onDocdisButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Further Identification" prop="bttp.furide">
<c-select v-model="model.bttp.furide" style="width:100%" placeholder="请选择Further Identification">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.btdgrp.rec.approvcod">Documents on Approval Basis</c-checkbox>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bttp.cre752flg">Create 752</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="Date of Advise" prop="btdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.disdat" style="width:100%" placeholder="请选择Date of Advise"
disabled="disabled"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.btdsnd.snd732">Create MT 732</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.rmbclmnow">Claim Reimbursement now</c-checkbox>
</c-col>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttsnd/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
}
},
methods: { ...Event
},
created: function() {
}
}
</script>
<style>
.point {
margin-left: 0px;
line-height: 16px;
height: 20px;
}
</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/Bttsnd/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/Bttsnd/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>
<!-- <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="160px"
size="small"
label-position="left"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000032 -->
<el-tab-pane label="Send Documents" name="payp">
<m-payp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000067 -->
<el-tab-pane label="instr./Discrep." name="dscins">
<m-dscins :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函及报文" name="docpan">
<m-docpan :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 Bttsnd from "~/model/Bttsnd"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Bttsnd/Check"
import Default from "~/model/Bttsnd/Default"
import Pattern from "~/model/Bttsnd/Pattern"
import Payp from "./Payp"
import Dscins from "./Dscins"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Ccvpan from "./Ccvpan"
// import Docpan from "./Docpan"
// import Coninfp from "./Coninfp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Ccvpan from "~/views/Public/Ccvpan";
import Docpan from "~/views/Public/Docpan";
import Coninfp from "~/views/Public/Coninfp";
export default {
components:{
"m-payp" : Payp,
"m-dscins" : Dscins,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-ccvpan" : Ccvpan,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "payp",
trnName: "bttsnd",
model: new Bttsnd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bttsnd交易");
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