Commit 06420273 by liumin

submit bftdcr and bftacc

parent dd9146bc
import Utils from "~/utils"
/**
* Bftacc Check规则
*/
let checkObj = {
"bfdgrp.iss.pts.nam" :null,
"bfdgrp.rmb.adrelc" :null,
"bfdgrp.blk.docdis" :null,
"dedgrp.beb.pts.adrblk" :null,
"bfdgrp.rmb.namelc" :null,
"bfdgrp.rmb.pts.extkey" :null,
"bfdgrp.prb.pts.nam" :null,
"bfdgrp.acb.pts.extkey" :null,
"dedgrp.beb.pts.extkey" :null,
"setmod.redamt" :null,
"aamset.utlamt2" :null,
"bfdgrp.acb.pts.adrblk" :null,
"dedgrp.beb.namelc" :null,
"bfdgrp.rmb.pts.adrblk" :null,
"bfdgrp.apl.pts.nam" :null,
"setmod.docamt" :null,
"bfdgrp.acb.adrelc" :null,
"dedgrp.beb.adrelc" :null,
"bfdgrp.acb.namelc" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Bftacc Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bfdgrp.cbs.max.cur" :Utils.defaultFunction,
"bfdgrp.blk.docdisflg" :Utils.defaultFunction,
"bfdgrp.blk.docdis" :Utils.defaultFunction,
"dedgrp.beb.pts.extkey" :Utils.defaultFunction,
"dedgrp.beb.adrelc" :Utils.defaultFunction,
"dedgrp.beb.namelc" :Utils.defaultFunction,
"dedgrp.beb.dbfadrblkcn" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bfdgrp.rmb.pts.extkey" :Utils.defaultFunction,
"bfdgrp.rmb.adrelc" :Utils.defaultFunction,
"bfdgrp.rmb.namelc" :Utils.defaultFunction,
"bfdgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"bfdgrp.rec.ownref" :Utils.defaultFunction,
"bfdgrp.prb.pts.nam" :Utils.defaultFunction,
"bfdgrp.acb.pts.extkey" :Utils.defaultFunction,
"dedgrp.beb.pts.adrblk" :Utils.defaultFunction,
"bfdgrp.cbs.max2.amt" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"bfdgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"bfdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"bfdgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"bfdgrp.cbs.max.amt" :Utils.defaultFunction,
"bfdgrp.iss.pts.nam" :Utils.defaultFunction,
"bfdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"bfdgrp.acb.adrelc" :Utils.defaultFunction,
"bfdgrp.acb.namelc" :Utils.defaultFunction,
"bfdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"bfdgrp.apl.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"bfdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bfdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bfdgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bfdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bfdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bftp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bfdgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bftp.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bfdgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bfdgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bfdgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bfdgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bfdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"bfdgrp.blk.nartxt77a":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bftp.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bfdgrp.rmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bftp.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bfdgrp.rmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bfdgrp.rmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bfdgrp.rmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bfdgrp.rmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bftp.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.beb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bftp.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.beb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.beb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.beb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.beb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bfdgrp.rec.totdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bftp.dedget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bftp.dedget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"dedgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bftp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bfdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bftp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bfdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bfdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bfdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bfdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bfdgrp.prb.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"dedgrp.rec.kzref":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bfdgrp.iss.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bfdgrp.iss.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bfdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bfdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bfdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bfdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bfdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bfdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"trnmod.swiadd.strinf":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"aamset.utlamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"aamset.utlamt2":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Bftacc{
constructor () {
this.data = {
bfdgrp:{
cbs:{
max:{
cur:"", // 单据金额 .bfdgrp.cbs.max.cur
amt:"", // 单据金额 .bfdgrp.cbs.max.amt
},
opn2:{
cur:"", // 附加金额 .bfdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .bfdgrp.cbs.max2.amt
},
opn1:{
cur:"", // 单据余额 .bfdgrp.cbs.opn1.cur
amt:"", // Balance .bfdgrp.cbs.opn1.amt
},
},
blk:{
chaded:"", // Charges Deducted .bfdgrp.blk.chaded
chaadd:"", // Charges Added .bfdgrp.blk.chaadd
docdis:"", // 不符点 .bfdgrp.blk.docdis
docdisflg:"", // Discrepancies modified .bfdgrp.blk.docdisflg
nartxt77a:"", // Narrative TAG 77A of Incoming MT754 .bfdgrp.blk.nartxt77a
},
rec:{
totcur:"", // Total Amount Claimed .bfdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .bfdgrp.rec.totamt
totdat:"", // 付款日期 .bfdgrp.rec.totdat
ownref:"", // 单据参考号 .bfdgrp.rec.ownref
doctypcod:"", // 单据类型 .bfdgrp.rec.doctypcod
matdat:"", // 远期单据到期日 .bfdgrp.rec.matdat
rcvdat:"", // 到单日期 .bfdgrp.rec.rcvdat
predat:"", // Presentation Date .bfdgrp.rec.predat
docsta:"", // 单据状态 .bfdgrp.rec.docsta
nam:"", // Externally Displayed Name to Identify the Contract .bfdgrp.rec.nam
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .bfdgrp.acb.namelc
adrelc:"", // 地址 .bfdgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .bfdgrp.acb.dbfadrblkcn
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .bfdgrp.rmb.namelc
adrelc:"", // 地址 .bfdgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .bfdgrp.rmb.dbfadrblkcn
},
prb:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
},
bftp:{
acbp:{
ptsget:{
sdamod:{
seainf:"", // .bftp.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bftp.acbp.ptsget.sdamod.dadsnd
},
},
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .bftp.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bftp.rmbp.ptsget.sdamod.dadsnd
},
},
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .bftp.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bftp.bebp.ptsget.sdamod.dadsnd
},
},
},
dedget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bftp.dedget.sdamod.dadsnd
seainf:"", // .bftp.dedget.sdamod.seainf
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bftp.recget.sdamod.dadsnd
seainf:"", // .bftp.recget.sdamod.seainf
},
},
},
dedgrp:{
beb:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.beb.namelc
adrelc:"", // 地址 .dedgrp.beb.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.beb.dbfadrblkcn
},
rec:{
ownref:"", // 参考号 .dedgrp.rec.ownref
kzref:"", // 信用证编号 .dedgrp.rec.kzref
},
cbs:{
opn1:{
cur:"", // Currency .dedgrp.cbs.opn1.cur
amt:"", // Balance .dedgrp.cbs.opn1.amt
},
},
},
trnmod:{
swiadd:{
strinf:"", // 收到报文 .trnmod.swiadd.strinf
},
},
aamset:{
utlamt:"", // 单据金额 .aamset.utlamt
utlamt2:"", // 附加金额 .aamset.utlamt2
},
setmod:{
doccur:"", // 扣减金额 .setmod.doccur
docamt:"", // 承兑金额 .setmod.docamt
redamt:"", // Reduction Amount .setmod.redamt
},
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Bftdcr Check规则
*/
let checkObj = {
"bfdgrp.prb.pts.extkey" :null,
"bfdgrp.iss.pts.nam" :null,
"bfdgrp.rmb.adrelc" :null,
"bfdgrp.blk.docdis" :null,
"bfdgrp.oth.pts.extkey" :null,
"dedgrp.beb.pts.adrblk" :null,
"bfdgrp.prb.adrelc" :null,
"bfdgrp.prb.pts.adrblk" :null,
"bfdgrp.rmb.namelc" :null,
"bfdgrp.rmb.pts.extkey" :null,
"bfdgrp.prb.pts.nam" :null,
"bfdgrp.blk.intdis" :null,
"bfdgrp.acb.pts.extkey" :null,
"dedgrp.beb.pts.extkey" :null,
"bfdgrp.acb.pts.adrblk" :null,
"bfdgrp.oth.pts.jigomc" :null,
"bfdgrp.oth.pts.bankno" :null,
"bfdgrp.oth.pts.dizhii" :null,
"dedgrp.beb.namelc" :null,
"trnmod.trndoc.addstr750" :null,
"bfdgrp.rmb.pts.adrblk" :null,
"bfdgrp.apl.pts.nam" :null,
"bfdgrp.acb.adrelc" :null,
"dedgrp.beb.adrelc" :null,
"bfdgrp.acb.namelc" :null,
"bfdgrp.prb.namelc" :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
/**
* Bftdcr Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bfdgrp.blk.docdis" :Utils.defaultFunction,
"bfdgrp.cbs.max.cur" :Utils.defaultFunction,
"bfdgrp.blk.docdisflg" :Utils.defaultFunction,
"dedgrp.beb.pts.extkey" :Utils.defaultFunction,
"dedgrp.beb.adrelc" :Utils.defaultFunction,
"dedgrp.beb.namelc" :Utils.defaultFunction,
"dedgrp.beb.dbfadrblkcn" :Utils.defaultFunction,
"bfdgrp.prb.pts.extkey" :Utils.defaultFunction,
"bfdgrp.prb.adrelc" :Utils.defaultFunction,
"bfdgrp.prb.namelc" :Utils.defaultFunction,
"bfdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"bfdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"bfdgrp.oth.pts.extkey" :Utils.defaultFunction,
"bfdgrp.rec.docprbrol" :Utils.defaultFunction,
"bfdgrp.rec.advdocflg" :Utils.defaultFunction,
"bfdgrp.rmb.pts.extkey" :Utils.defaultFunction,
"bfdgrp.rmb.adrelc" :Utils.defaultFunction,
"bfdgrp.rmb.namelc" :Utils.defaultFunction,
"bfdgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"bfdgrp.rec.ownref" :Utils.defaultFunction,
"bfdgrp.prb.pts.nam" :Utils.defaultFunction,
"bfdgrp.acb.pts.extkey" :Utils.defaultFunction,
"bfdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"bfdgrp.cbs.max.amt" :Utils.defaultFunction,
"rejpenins" :Utils.defaultFunction,
"dedgrp.beb.pts.adrblk" :Utils.defaultFunction,
"bfdgrp.rec.payrol" :Utils.defaultFunction,
"bfdgrp.cbs.max2.amt" :Utils.defaultFunction,
"advdisflg" :Utils.defaultFunction,
"bfdgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"bfdgrp.iss.pts.nam" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"advrefflg" :Utils.defaultFunction,
"bfdgrp.acb.pts.adrblk" :Utils.defaultFunction,
"bfdgrp.acb.adrelc" :Utils.defaultFunction,
"bfdgrp.acb.namelc" :Utils.defaultFunction,
"bfdgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"bfdgrp.apl.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.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 onIntdisButtxmsel(){
let rtnmsg = await this.executeRule("intdis.buttxmsel")
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: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Bftdcr{
constructor () {
this.data = {
bfdgrp:{
cbs:{
max:{
cur:"", // 单据金额 .bfdgrp.cbs.max.cur
amt:"", // 单据金额 .bfdgrp.cbs.max.amt
},
opn2:{
cur:"", // 附加金额 .bfdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .bfdgrp.cbs.max2.amt
},
opn1:{
cur:"", // 单据余额 .bfdgrp.cbs.opn1.cur
amt:"", // Balance .bfdgrp.cbs.opn1.amt
},
},
blk:{
chaded:"", // Charges Deducted .bfdgrp.blk.chaded
chaadd:"", // Charges Added .bfdgrp.blk.chaadd
docdis:"", // Discrepancies .bfdgrp.blk.docdis
docdisflg:"", // Discrepancies modified .bfdgrp.blk.docdisflg
nartxt77a:"", // Narrative TAG 77A of Incoming MT754 .bfdgrp.blk.nartxt77a
intdis:"", // Internal Discrepancies .bfdgrp.blk.intdis
},
rec:{
totcur:"", // Total Amount Claimed .bfdgrp.rec.totcur
totamt:"", // Total Amount to be Paid .bfdgrp.rec.totamt
totdat:"", // 付款日期 .bfdgrp.rec.totdat
ownref:"", // 单据参考号 .bfdgrp.rec.ownref
doctypcod:"", // 单据类型 .bfdgrp.rec.doctypcod
matdat:"", // 远期单据到期日 .bfdgrp.rec.matdat
rcvdat:"", // 到单日期 .bfdgrp.rec.rcvdat
predat:"", // Presentation Date .bfdgrp.rec.predat
docsta:"", // 单据状态 .bfdgrp.rec.docsta
nam:"", // Externally Displayed Name to Identify the Contract .bfdgrp.rec.nam
advdocflg:"", // Return of Documents .bfdgrp.rec.advdocflg
payrol:"", // Payer .bfdgrp.rec.payrol
docprbrol:"", // Presented by .bfdgrp.rec.docprbrol
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .bfdgrp.acb.namelc
adrelc:"", // 地址 .bfdgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .bfdgrp.acb.dbfadrblkcn
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .bfdgrp.rmb.namelc
adrelc:"", // 地址 .bfdgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .bfdgrp.rmb.dbfadrblkcn
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .bfdgrp.prb.namelc
adrelc:"", // 地址 .bfdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .bfdgrp.prb.dbfadrblkcn
},
iss:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
},
bftp:{
acbp:{
ptsget:{
sdamod:{
seainf:"", // .bftp.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bftp.acbp.ptsget.sdamod.dadsnd
},
},
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .bftp.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bftp.rmbp.ptsget.sdamod.dadsnd
},
},
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .bftp.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bftp.bebp.ptsget.sdamod.dadsnd
},
},
},
dedget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bftp.dedget.sdamod.dadsnd
seainf:"", // .bftp.dedget.sdamod.seainf
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .bftp.recget.sdamod.dadsnd
seainf:"", // .bftp.recget.sdamod.seainf
},
},
prbp:{
ptsget:{
sdamod:{
seainf:"", // .bftp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .bftp.prbp.ptsget.sdamod.dadsnd
},
},
},
docgrdm:{
docdsclab:"", // Label of document description .bftp.docgrdm.docdsclab
},
},
dedgrp:{
beb:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.beb.namelc
adrelc:"", // 地址 .dedgrp.beb.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.beb.dbfadrblkcn
},
rec:{
ownref:"", // 参考号 .dedgrp.rec.ownref
kzref:"", // 信用证编号 .dedgrp.rec.kzref
},
cbs:{
opn1:{
cur:"", // Currency .dedgrp.cbs.opn1.cur
amt:"", // Balance .dedgrp.cbs.opn1.amt
},
},
},
advrefflg:"", // Advice of Refusal MT734 .advrefflg
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
},
advdisflg:"", // Advice of Discrepancy MT750 .advdisflg
trnmod:{
trndoc:{
addstr750:"", // 给受益人信息 .trnmod.trndoc.addstr750
},
},
rejpenins:"", // Rejection pending instructions .rejpenins
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="收到报文" prop="trnmod.swiadd.strinf">
<c-input type="textarea" v-model="model.trnmod.swiadd.strinf" maxlength="35" show-word-limit placeholder="请输入收到报文" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="扣减金额" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择扣减金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="承兑金额" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入承兑金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="bfdgrp.cbs.opn2.cur">
<c-select v-model="model.bfdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据金额" prop="aamset.utlamt">
<c-input v-model="model.aamset.utlamt" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="aamset.utlamt2">
<c-input v-model="model.aamset.utlamt2" placeholder="请输入附加金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Reduction Amount" prop="setmod.redamt">
<c-input v-model="model.setmod.redamt" placeholder="请输入Reduction Amount"></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/Bftacc/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="单据金额" prop="bfdgrp.cbs.max.cur">
<c-input v-model="model.bfdgrp.cbs.max.cur" maxlength="3" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据金额" prop="bfdgrp.cbs.max.amt">
<c-input v-model="model.bfdgrp.cbs.max.amt" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="bfdgrp.cbs.opn2.cur">
<c-select v-model="model.bfdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="bfdgrp.cbs.max2.amt">
<c-input v-model="model.bfdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Deducted" prop="bfdgrp.blk.chaded">
<c-input type="textarea" v-model="model.bfdgrp.blk.chaded" maxlength="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Added" prop="bfdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.bfdgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges Added" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount Claimed" prop="bfdgrp.rec.totcur">
<c-input v-model="model.bfdgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount to be Paid" prop="bfdgrp.rec.totamt">
<c-input v-model="model.bfdgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp.acbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bftp.acbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bfdgrp.acb.pts.extkey">
<c-input v-model="model.bfdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bftp.acbp.ptsget.sdamod.seainf">
<c-input v-model="model.bftp.acbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAcbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bfdgrp.acb.namelc">
<c-input type="textarea" v-model="model.bfdgrp.acb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bfdgrp.acb.pts.adrblk">
<c-input type="textarea" v-model="model.bfdgrp.acb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bfdgrp.acb.dbfadrblkcn">
<c-input type="textarea" v-model="model.bfdgrp.acb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bfdgrp.acb.adrelc">
<c-input type="textarea" v-model="model.bfdgrp.acb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="不符点" prop="bfdgrp.blk.docdis">
<c-input type="textarea" v-model="model.bfdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bfdgrp.blk.docdisflg">Discrepancies modified</c-checkbox>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bftacc/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="Narrative TAG 77A of Incoming MT754" prop="bfdgrp.blk.nartxt77a">
<c-input type="textarea" v-model="model.bfdgrp.blk.nartxt77a" maxlength="35" show-word-limit placeholder="请输入Narrative TAG 77A of Incoming MT754" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp.rmbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bftp.rmbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bfdgrp.rmb.pts.extkey">
<c-input v-model="model.bfdgrp.rmb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bftp.rmbp.ptsget.sdamod.seainf">
<c-input v-model="model.bftp.rmbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRmbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bfdgrp.rmb.namelc">
<c-input type="textarea" v-model="model.bfdgrp.rmb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bfdgrp.rmb.pts.adrblk">
<c-input type="textarea" v-model="model.bfdgrp.rmb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bfdgrp.rmb.dbfadrblkcn">
<c-input type="textarea" v-model="model.bfdgrp.rmb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bfdgrp.rmb.adrelc">
<c-input type="textarea" v-model="model.bfdgrp.rmb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp.bebp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bftp.bebp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="dedgrp.beb.pts.extkey">
<c-input v-model="model.dedgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bftp.bebp.ptsget.sdamod.seainf">
<c-input v-model="model.bftp.bebp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBebpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="dedgrp.beb.namelc">
<c-input type="textarea" v-model="model.dedgrp.beb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="dedgrp.beb.pts.adrblk">
<c-input type="textarea" v-model="model.dedgrp.beb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="dedgrp.beb.dbfadrblkcn">
<c-input type="textarea" v-model="model.dedgrp.beb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="dedgrp.beb.adrelc">
<c-input type="textarea" v-model="model.dedgrp.beb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="付款日期" prop="bfdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.totdat" style="width:100%" placeholder="请选择付款日期"></c-date-picker>
</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/Bftacc/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="Drag Drop Sender" prop="bftp.dedget.sdamod.dadsnd">
<c-input v-model="model.bftp.dedget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="参考号" prop="dedgrp.rec.ownref">
<c-input v-model="model.dedgrp.rec.ownref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bftp.dedget.sdamod.seainf">
<c-input v-model="model.bftp.dedget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="dedgrp.cbs.opn1.cur">
<c-input v-model="model.dedgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="dedgrp.cbs.opn1.amt">
<c-input v-model="model.dedgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp.recget.sdamod.dadsnd">
<c-input v-model="model.bftp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据参考号" prop="bfdgrp.rec.ownref">
<c-input v-model="model.bfdgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bftp.recget.sdamod.seainf">
<c-input v-model="model.bftp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Externally Displayed Name to Identify the Contract" prop="bfdgrp.rec.nam">
<c-input v-model="model.bfdgrp.rec.nam" maxlength="40" placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单人" prop="bfdgrp.prb.pts.ref">
<c-input v-model="model.bfdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单人"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据余额" prop="bfdgrp.cbs.opn1.cur">
<c-input v-model="model.bfdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="bfdgrp.cbs.opn1.amt">
<c-input v-model="model.bfdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bfdgrp.prb.pts.nam">
<c-input v-model="model.bfdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证编号" prop="dedgrp.rec.kzref">
<c-input v-model="model.dedgrp.rec.kzref" maxlength="35" placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="开证行" prop="bfdgrp.iss.pts.ref">
<c-input v-model="model.bfdgrp.iss.pts.ref" maxlength="16" placeholder="请输入开证行"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
<c-select v-model="model.bfdgrp.rec.doctypcod" style="width:100%" placeholder="请选择单据类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bfdgrp.iss.pts.nam">
<c-input v-model="model.bfdgrp.iss.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期单据到期日" prop="bfdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.matdat" style="width:100%" placeholder="请选择远期单据到期日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到单日期" prop="bfdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presentation Date" prop="bfdgrp.rec.predat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="申请人" prop="bfdgrp.apl.pts.ref">
<c-input v-model="model.bfdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
<c-input v-model="model.bfdgrp.rec.docsta" maxlength="40" placeholder="请输入单据状态"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bfdgrp.apl.pts.nam">
<c-input v-model="model.bfdgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></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/Bftacc/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000033 -->
<el-tab-pane label="承兑" name="accp">
<m-accp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000139 -->
<el-tab-pane label="不符点通知" name="mt750p">
<m-mt750p :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="Advice of Payment" name="mt754p">
<m-mt754p :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="费用及账务" name="setpan">
<!--PD000000 -->
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="表外" name="engp">
<!--PD000027 -->
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes" ref="docpan" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bftacc from "~/model/Bftacc"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Bftacc/Check"
import Default from "~/model/Bftacc/Default"
import Pattern from "~/model/Bftacc/Pattern"
import Mt750p from "./Mt750p"
import Mt754p from "./Mt754p"
import Ovwp from "./Ovwp"
import Accp from "./Accp"
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
export default {
name: "Bftacc",
components:{
"m-mt750p" : Mt750p,
"m-mt754p" : Mt754p,
"m-ovwp" : Ovwp,
"m-accp" : Accp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-engp": Engp,
"m-docpan": Docpan,
"m-coninfp": Coninfp,
"m-ccvpan": Ccvpan,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "bftacc",
model: new Bftacc().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入bftacc交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Internal Discrepancies" prop="bfdgrp.blk.intdis">
<c-input type="textarea" v-model="model.bfdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onIntdisButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Discrepancies" prop="bfdgrp.blk.docdis">
<c-input type="textarea" v-model="model.bfdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.rejpenins">Rejection pending instructions</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.bftp.docgrdm.docdsclab" data-path=".bftp.docgrdm.docdsclab" > </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/Bftdcr/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">
<c-checkbox v-model="model.advrefflg">Advice of Refusal MT734</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Payer" prop="bfdgrp.rec.payrol">
<c-select v-model="model.bfdgrp.rec.payrol" style="width:100%" placeholder="请选择Payer">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bfdgrp.rec.advdocflg">Return of Documents</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bfdgrp.oth.pts.extkey">
<c-input v-model="model.bfdgrp.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Number of bank" prop="bfdgrp.oth.pts.bankno">
<c-input v-model="model.bfdgrp.oth.pts.bankno" maxlength="20" placeholder="请输入Number of bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.mtabut.clsflg">Close Flag</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="联行名称 电证用" prop="bfdgrp.oth.pts.jigomc">
<c-input type="textarea" v-model="model.bfdgrp.oth.pts.jigomc" maxlength="35" show-word-limit placeholder="请输入联行名称 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址 电证用" prop="bfdgrp.oth.pts.dizhii">
<c-input type="textarea" v-model="model.bfdgrp.oth.pts.dizhii" maxlength="35" show-word-limit placeholder="请输入地址 电证用" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.advdisflg">Advice of Discrepancy MT750</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Presented by" prop="bfdgrp.rec.docprbrol">
<c-select v-model="model.bfdgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="给受益人信息" prop="trnmod.trndoc.addstr750">
<c-input type="textarea" v-model="model.trnmod.trndoc.addstr750" maxlength="35" show-word-limit placeholder="请输入给受益人信息" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp.prbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bftp.prbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bfdgrp.prb.pts.extkey">
<c-input v-model="model.bfdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bftp.prbp.ptsget.sdamod.seainf">
<c-input v-model="model.bftp.prbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPrbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bfdgrp.prb.namelc">
<c-input type="textarea" v-model="model.bfdgrp.prb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bfdgrp.prb.pts.adrblk">
<c-input type="textarea" v-model="model.bfdgrp.prb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bfdgrp.prb.dbfadrblkcn">
<c-input type="textarea" v-model="model.bfdgrp.prb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bfdgrp.prb.adrelc">
<c-input type="textarea" v-model="model.bfdgrp.prb.adrelc" maxlength="35" show-word-limit 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/Bftdcr/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="单据金额" prop="bfdgrp.cbs.max.cur">
<c-input v-model="model.bfdgrp.cbs.max.cur" maxlength="3" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据金额" prop="bfdgrp.cbs.max.amt">
<c-input v-model="model.bfdgrp.cbs.max.amt" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="bfdgrp.cbs.opn2.cur">
<c-select v-model="model.bfdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="附加金额" prop="bfdgrp.cbs.max2.amt">
<c-input v-model="model.bfdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Deducted" prop="bfdgrp.blk.chaded">
<c-input type="textarea" v-model="model.bfdgrp.blk.chaded" maxlength="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Added" prop="bfdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.bfdgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges Added" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount Claimed" prop="bfdgrp.rec.totcur">
<c-input v-model="model.bfdgrp.rec.totcur" maxlength="3" placeholder="请输入Total Amount Claimed"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount to be Paid" prop="bfdgrp.rec.totamt">
<c-input v-model="model.bfdgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp.acbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bftp.acbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bfdgrp.acb.pts.extkey">
<c-input v-model="model.bfdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bftp.acbp.ptsget.sdamod.seainf">
<c-input v-model="model.bftp.acbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAcbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bfdgrp.acb.namelc">
<c-input type="textarea" v-model="model.bfdgrp.acb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bfdgrp.acb.pts.adrblk">
<c-input type="textarea" v-model="model.bfdgrp.acb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bfdgrp.acb.dbfadrblkcn">
<c-input type="textarea" v-model="model.bfdgrp.acb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bfdgrp.acb.adrelc">
<c-input type="textarea" v-model="model.bfdgrp.acb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Discrepancies" prop="bfdgrp.blk.docdis">
<c-input type="textarea" v-model="model.bfdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入Discrepancies" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bfdgrp.blk.docdisflg">Discrepancies modified</c-checkbox>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bftdcr/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="Narrative TAG 77A of Incoming MT754" prop="bfdgrp.blk.nartxt77a">
<c-input type="textarea" v-model="model.bfdgrp.blk.nartxt77a" maxlength="35" show-word-limit placeholder="请输入Narrative TAG 77A of Incoming MT754" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp.rmbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bftp.rmbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bfdgrp.rmb.pts.extkey">
<c-input v-model="model.bfdgrp.rmb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bftp.rmbp.ptsget.sdamod.seainf">
<c-input v-model="model.bftp.rmbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRmbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bfdgrp.rmb.namelc">
<c-input type="textarea" v-model="model.bfdgrp.rmb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bfdgrp.rmb.pts.adrblk">
<c-input type="textarea" v-model="model.bfdgrp.rmb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bfdgrp.rmb.dbfadrblkcn">
<c-input type="textarea" v-model="model.bfdgrp.rmb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bfdgrp.rmb.adrelc">
<c-input type="textarea" v-model="model.bfdgrp.rmb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp.bebp.ptsget.sdamod.dadsnd">
<c-input v-model="model.bftp.bebp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="dedgrp.beb.pts.extkey">
<c-input v-model="model.dedgrp.beb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bftp.bebp.ptsget.sdamod.seainf">
<c-input v-model="model.bftp.bebp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBebpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="dedgrp.beb.namelc">
<c-input type="textarea" v-model="model.dedgrp.beb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="dedgrp.beb.pts.adrblk">
<c-input type="textarea" v-model="model.dedgrp.beb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="dedgrp.beb.dbfadrblkcn">
<c-input type="textarea" v-model="model.dedgrp.beb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="dedgrp.beb.adrelc">
<c-input type="textarea" v-model="model.dedgrp.beb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="付款日期" prop="bfdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.totdat" style="width:100%" placeholder="请选择付款日期"></c-date-picker>
</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/Bftdcr/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="Drag Drop Sender" prop="bftp.dedget.sdamod.dadsnd">
<c-input v-model="model.bftp.dedget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="参考号" prop="dedgrp.rec.ownref">
<c-input v-model="model.dedgrp.rec.ownref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bftp.dedget.sdamod.seainf">
<c-input v-model="model.bftp.dedget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="dedgrp.cbs.opn1.cur">
<c-input v-model="model.dedgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="dedgrp.cbs.opn1.amt">
<c-input v-model="model.dedgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp.recget.sdamod.dadsnd">
<c-input v-model="model.bftp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据参考号" prop="bfdgrp.rec.ownref">
<c-input v-model="model.bfdgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="bftp.recget.sdamod.seainf">
<c-input v-model="model.bftp.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Externally Displayed Name to Identify the Contract" prop="bfdgrp.rec.nam">
<c-input v-model="model.bfdgrp.rec.nam" maxlength="40" placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="交单人" prop="bfdgrp.prb.pts.ref">
<c-input v-model="model.bfdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单人"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据余额" prop="bfdgrp.cbs.opn1.cur">
<c-input v-model="model.bfdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="bfdgrp.cbs.opn1.amt">
<c-input v-model="model.bfdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bfdgrp.prb.pts.nam">
<c-input v-model="model.bfdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证编号" prop="dedgrp.rec.kzref">
<c-input v-model="model.dedgrp.rec.kzref" maxlength="35" placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="开证行" prop="bfdgrp.iss.pts.ref">
<c-input v-model="model.bfdgrp.iss.pts.ref" maxlength="16" placeholder="请输入开证行"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
<c-select v-model="model.bfdgrp.rec.doctypcod" style="width:100%" placeholder="请选择单据类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bfdgrp.iss.pts.nam">
<c-input v-model="model.bfdgrp.iss.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="远期单据到期日" prop="bfdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.matdat" style="width:100%" placeholder="请选择远期单据到期日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到单日期" prop="bfdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presentation Date" prop="bfdgrp.rec.predat">
<c-date-picker type="date" v-model="model.bfdgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="申请人" prop="bfdgrp.apl.pts.ref">
<c-input v-model="model.bfdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
<c-input v-model="model.bfdgrp.rec.docsta" maxlength="40" placeholder="请输入单据状态"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="bfdgrp.apl.pts.nam">
<c-input v-model="model.bfdgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></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/Bftdcr/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000009 -->
<el-tab-pane label="明细" name="betdcrs">
<m-betdcrs :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000026 -->
<el-tab-pane label="不符点/拒付" name="betdcrd">
<m-betdcrd :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000139 -->
<el-tab-pane label="不符点通知" name="mt750p">
<m-mt750p :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="Advice of Payment" name="mt754p">
<m-mt754p :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="费用及账务" name="setpan">
<!--PD000000 -->
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="表外" name="engp">
<!--PD000027 -->
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes" ref="docpan" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bftdcr from "~/model/Bftdcr"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Bftdcr/Check"
import Default from "~/model/Bftdcr/Default"
import Pattern from "~/model/Bftdcr/Pattern"
import Mt750p from "./Mt750p"
import Mt754p from "./Mt754p"
import Ovwp from "./Ovwp"
import Betdcrs from "./Betdcrs"
import Betdcrd from "./Betdcrd"
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
export default {
name: "Bftdcr",
components:{
"m-mt750p" : Mt750p,
"m-mt754p" : Mt754p,
"m-ovwp" : Ovwp,
"m-betdcrs" : Betdcrs,
"m-betdcrd" : Betdcrd,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-engp": Engp,
"m-docpan": Docpan,
"m-coninfp": Coninfp,
"m-ccvpan": Ccvpan,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "bftdcr",
model: new Bftdcr().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入bftdcr交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -8,60 +8,35 @@
>
<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>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<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">
<!--PD000002 -->
<el-tab-pane label="单据" name="drv">
<m-drv :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000034 -->
<el-tab-pane label="PD000034" name="dscins">
<el-tab-pane label="不符点" name="dscins">
<m-dscins :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000030 -->
<el-tab-pane label="PD000030" name="letprbl1">
<m-letprbl1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000031 -->
<el-tab-pane label="PD000031" name="letissl1">
<m-letissl1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000139 -->
<el-tab-pane label="PD000139" name="mt750p">
<el-tab-pane label="不符点通知" name="mt750p">
<m-mt750p :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="PD000147" name="mt754p">
<el-tab-pane label="Advice of Payment" name="mt754p">
<m-mt754p :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="PD000018" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000252 -->
<el-tab-pane label="PD000252" name="yx">
<m-yx :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000253 -->
<el-tab-pane label="PD000253" name="invyx">
<m-invyx :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000002 -->
<el-tab-pane label="PD000002" name="drv">
<m-drv :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="费用及账务" name="setpan">
<!--PD000000 -->
......@@ -69,6 +44,7 @@
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
......@@ -111,8 +87,6 @@ import Check from "~/model/Detdrv/Check"
import Default from "~/model/Detdrv/Default"
import Pattern from "~/model/Detdrv/Pattern"
import Dscins from "./Dscins"
import Letprbl1 from "./Letprbl1"
import Letissl1 from "./Letissl1"
import Mt750p from "./Mt750p"
import Mt754p from "./Mt754p"
import Ovwp from "./Ovwp"
......@@ -133,8 +107,6 @@ export default {
name: "Detdrv",
components:{
"m-dscins" : Dscins,
"m-letprbl1" : Letprbl1,
"m-letissl1" : Letissl1,
"m-mt750p" : Mt750p,
"m-mt754p" : Mt754p,
"m-ovwp" : Ovwp,
......
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