Commit 208286d7 by liuxin
parents e044447b 1d8154bd
......@@ -2895,16 +2895,16 @@ const CodeTable = {
{ label: "信用证单据承兑", value: "1" },
],
docsta: [
{ label: "Goods released, Adv. of Payment received", value: "A" },
{ label: "Goods released, Adv. of Payment + docs", value: "B" },
{ label: "Adv. of Payment received, wait for docs", value: "C" },
{ label: "Advice of Payment and documents received", value: "D" },
{ label: "Adv. of Discrep. received, wait for docs", value: "E" },
{ label: "Advice of Discrepancy and docs received", value: "F" },
{ label: "Documents received", value: "G" },
{ label: "已寄单索数", value: "A" },
{ label: "已到单", value: "B" },
{ label: "已到期付款确认", value: "C" },
{ label: "待付款", value: "D" },
{ label: "付款成功", value: "E" },
{ label: "已拒付", value: "F" },
{ label: "已退单", value: "G" },
{ label: "Clean documents received", value: "H" },
{ label: "Discrepant documents received", value: "I" },
{ label: "Goods released, wait for documents", value: "J" },
{ label: "Documents settled free of payment", value: "J" },
{ label: "Goods released, documents received", value: "K" },
{ label: "Documents sent on approval basis", value: "L" },
{ label: "Documents taken up", value: "M" },
......@@ -3342,12 +3342,12 @@ const CodeTable = {
{ label: "Percent", value: "%" },
],
folwupopt: [
{ label: "Wait for Response", value: "W" },
{ label: "Send Documents", value: "C" },
{ label: "等待回复", value: "W" },
{ label: "寄单", value: "C" },
{ label: "Register to Send and Settle Docs", value: "N" },
{ label: "Accept/ Settle Document now", value: "A" },
{ label: "Send and Accept/ Settle Documents", value: "B" },
{ label: "Send Advice of Discrepancy", value: "S" },
{ label: "通知不符点", value: "S" },
],
fpdsta: [
{ label: "Agreement Under Negotiation", value: "N" },
......@@ -6495,8 +6495,8 @@ const CodeTable = {
{ label: "MAY ADD", value: "A" },
],
invtyp:[
{label:"type1", value:"1"}
invtyp: [
{ label: "type1", value: "1" }
]
}
......
......@@ -3,142 +3,133 @@ import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Bftacc{
constructor () {
export default class Bftacc {
constructor() {
this.data = {
bfdgrp:{
cbs:{
max:{
cur:"", // 单据金额 .bfdgrp.cbs.max.cur
amt:"", // 单据金额 .bfdgrp.cbs.max.amt
bfdgrp: {
cbs: {
max: {
cur: "", // 单据金额 .bfdgrp.cbs.max.cur
amt: "", // 单据金额 .bfdgrp.cbs.max.amt
},
opn2:{
cur:"", // 附加金额 .bfdgrp.cbs.opn2.cur
opn2: {
cur: "", // 附加金额 .bfdgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .bfdgrp.cbs.max2.amt
max2: {
amt: "", // 附加金额 .bfdgrp.cbs.max2.amt
},
opn1:{
cur:"", // 单据余额 .bfdgrp.cbs.opn1.cur
amt:"", // Balance .bfdgrp.cbs.opn1.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
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
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
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
rmb: {
pts: new Pts().data,
namelc: "", // 名称 .bfdgrp.rmb.namelc
adrelc: "", // 地址 .bfdgrp.rmb.adrelc
dbfadrblkcn: "", // Chinese address .bfdgrp.rmb.dbfadrblkcn
},
prb:{
pts:new Pts().data,
prb: {
pts: new Pts().data,
},
iss:{
pts:new Pts().data,
iss: {
pts: new Pts().data,
},
apl:{
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
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
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
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
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
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
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
rec: {
ownref: "", // 参考号 .dedgrp.rec.ownref
kzref: "", // 信用证编号 .dedgrp.rec.kzref
},
cbs:{
opn1:{
cur:"", // Currency .dedgrp.cbs.opn1.cur
amt:"", // Balance .dedgrp.cbs.opn1.amt
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
aamset: {
utlamt: "", // 单据金额 .aamset.utlamt
utlamt2: "", // 附加金额 .aamset.utlamt2
},
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
}
}
}
\ No newline at end of file
......@@ -71,52 +71,6 @@ export default class Bftcan {
},
sndmsg: "", // Send Message .sndmsg
rebkpflg: "", // Booking Procedure .rebkpflg
liaall: {
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 国结业务编号 .liaall.limmod.ownref
comamt: "", // 业务余额 .liaall.limmod.comamt
ccvamt: "", // 保证金余额 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
},
mtabut: {
coninf: {
oitinf: {
......@@ -142,6 +96,7 @@ export default class Bftcan {
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
}
}
}
\ No newline at end of file
......@@ -2,137 +2,108 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPrbpDet(){
async onPrbpDet() {
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onIntdisButtxmsel(){
async onIntdisButtxmsel() {
let rtnmsg = await this.executeRule("intdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDocdisButtxmsel(){
async onDocdisButtxmsel() {
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmisamt(){
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmissig(){
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetmodDet(){
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onWrkpDet(){
async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onOthpDet(){
async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet1(){
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet2(){
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimmodTrycal(){
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {},
onDetpButgetref() {},
onBenpDet() {},
onAplpDet() {},
}
\ No newline at end of file
......@@ -16,7 +16,7 @@ export default {
{ max: 3, message: "长度不能超过3" }
],
"dedgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -149,12 +149,12 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.blk.intdis": [
{ type: "string", required: true, message: "必输项" },
{ type: "string" },
{ max: 65, message: "长度不能超过65" }
],
"bfdgrp.blk.docdis": [
{ type: "string", required: true, message: "必输项" },
{ type: "string" },
{ max: 50, message: "长度不能超过50" }
],
......
......@@ -2,149 +2,118 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPrbpDet(){
async onPrbpDet() {
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDocdisButtxmsel(){
async onDocdisButtxmsel() {
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onIntdisButtxmsel(){
async onIntdisButtxmsel() {
let rtnmsg = await this.executeRule("intdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onOthpDet(){
async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmisamt(){
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmissig(){
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetmodDet(){
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onWrkpDet(){
async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onOthp1Det(){
async onOthp1Det() {
let rtnmsg = await this.executeRule("othp1.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet1(){
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimptsGet2(){
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLimmodTrycal(){
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {},
onDetpButgetref() {},
onBenpDet() {},
onAplpDet() {},
}
\ No newline at end of file
......@@ -16,7 +16,7 @@ export default {
{ max: 3, message: "长度不能超过3" }
],
"dedgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -100,7 +100,7 @@ export default {
{ max: 3, message: "长度不能超过3" }
],
"bfdgrp.cbs.max.amt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -123,7 +123,7 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.blk.sndrmk": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"bfdgrp.oth.pts.dizhii": [
......@@ -162,7 +162,7 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.blk.matper": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"bfdgrp.prb.pts.adrblk": [
......@@ -178,10 +178,10 @@ export default {
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"dedgrp.rec.utlnbr": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
// "dedgrp.rec.utlnbr": [
// { type: "number" },
// { max: 35, message: "长度不能超过35" }
// ],
"bfdgrp.rec.anobnkcod": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
......@@ -190,19 +190,19 @@ export default {
{ type: "date", required: false, message: "输入正确的日期" }
],
"bfdgrp.rec.anodsp": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 55, message: "长度不能超过55" }
],
"bfdgrp.blk.docdis": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 50, message: "长度不能超过50" }
],
"bfdgrp.blk.intdis": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
......@@ -233,12 +233,12 @@ export default {
{ max: 35, message: "长度不能超过35" }
],
"bfdgrp.rec.expmno": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 60, message: "长度不能超过60" }
],
"bfdgrp.rec.lescom": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -148,7 +148,7 @@ export default {
{ max: 3, message: "长度不能超过3" }
],
"dedgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -8,54 +8,6 @@ export default class Bftset {
bptbck: {
bptbckg: "",
},
liaall: {
tenstm: "",
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 閸氬牆鎮撳ù渚婃嫹'閸欙拷 .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 閸氬牆鎮撳ù渚婃嫹'閸欙拷 .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 閸氬牆鎮撳ù渚婃嫹'閸欙拷 .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 閸ョ晫绮ㄦ稉姘缂傛牕褰� .liaall.limmod.ownref
comamt: "", // 娑撴艾濮熸担娆擃杺 .liaall.limmod.comamt
ccvamt: "", // 娣囨繆鐦夐柌鎴滅稇妫帮拷 .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
tenstm: "", // Tenor Stream .liaall.tenstm
},
mtabut: {
coninf: {
oitinf: {
......@@ -154,6 +106,7 @@ export default class Bftset {
pageId: "", // ctx閻ㄥ埍ey
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
}
}
}
\ No newline at end of file
......@@ -157,55 +157,10 @@ export default class Bftsnd {
},
},
},
liaall: {
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
outamt: "", // Sight Amount .liaall.outamt
exttotoldamt: "", // Old Amount booked externally .liaall.exttotoldamt
exttotamt: "", // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpts: {
wrklab: "", // Label .liaall.limmod.limpts.wrklab
othlab: "", // Label .liaall.limmod.limpts.othlab
othlabss: "", // Label .liaall.limmod.limpts.othlabss
wrk: {
pts: new Pts().data,
},
oth: {
pts: new Pts().data,
},
lsh: "", // 鍚堝悓娴侊拷'鍙� .liaall.limmod.limpts.lsh
nonrevflg1: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1: "", // 鍚堝悓娴侊拷'鍙� .liaall.limmod.limpts.pfcod1
nonrevflg2: "", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2: "", // 鍚堝悓娴侊拷'鍙� .liaall.limmod.limpts.pfcod2
},
wrkp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp: {
ptsget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf: "", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref: "", // 鍥界粨涓氬姟缂栧彿 .liaall.limmod.ownref
comamt: "", // 涓氬姟浣欓 .liaall.limmod.comamt
ccvamt: "", // 淇濊瘉閲戜綑棰� .liaall.limmod.ccvamt
ecifno: "", // ECIFNO .liaall.limmod.ecifno
},
},
pageId: "", // ctx鐨刱ey
setmod: new Pub().data.Setmod,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
}
}
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Brtdck{
constructor () {
this.data = {
setmod: new Pub().data.Setmod, //引入公共面板
// mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod, //引入公共面板
liaall: new Pub().data.Liaall, //引入公共面板
oridoclab:"", // Label original .oridoclab
oriaddlab:"", // Label original .oriaddlab
brdgrp:{
......@@ -171,66 +180,66 @@ export default class Brtdck{
},
mhtyp:"", // Transaction Type .mhtyp
days:"", // days .days
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
// liaall:{
// misamt:"", // Amount not yet assigned .liaall.misamt
// concur:"", // External Booking Amount .liaall.concur
// outpct:"", // Sight Amount Percentage .liaall.outpct
// outamt:"", // Sight Amount .liaall.outamt
// exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
// exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
// limmod:{
// limpts:{
// wrklab:"", // Label .liaall.limmod.limpts.wrklab
// othlab:"", // Label .liaall.limmod.limpts.othlab
// othlabss:"", // Label .liaall.limmod.limpts.othlabss
// wrk:{
// pts:new Pts().data,
// },
// oth:{
// pts:new Pts().data,
// },
// lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
// nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
// pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
// nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
// pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
// },
// wrkp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
// },
// },
// },
// othp:{
// ptsget:{
// sdamod:{
// dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
// seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
// },
// },
// },
// ownref:"", // 国结业务编号 .liaall.limmod.ownref
// comamt:"", // 业务余额 .liaall.limmod.comamt
// ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
// ecifno:"", // ECIFNO .liaall.limmod.ecifno
// },
// },
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // document currency .setmod.doccur
// docamt:"", // document amount .setmod.docamt
// dspflg:"", // Type of settlement .setmod.dspflg
// xreflg:"", // Recalculate Rates .setmod.xreflg
// setglg:{
// labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
// },
// zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
// zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
// },
mtabut:{
coninf:{
oitinf:{
......@@ -253,24 +262,24 @@ export default class Brtdck{
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
// trnmod:{
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
// amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
// advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
// advnam:"", // 国内证落款 .trnmod.trndoc.advnam
// amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
// doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
// doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
// shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
// shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
// condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
// rcvatt:{
// seainf:"", // .trnmod.trndoc.rcvatt.seainf
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
pageId: "" // ctx的key
}
}
......
......@@ -2,6 +2,7 @@ import Pts from "../Pts"
export default class Liaall {
constructor() {
this.data = {
tenstm: "",
misamt: "", // Amount not yet assigned .liaall.misamt
concur: "", // External Booking Amount .liaall.concur
outpct: "", // Sight Amount Percentage .liaall.outpct
......
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
......@@ -48,6 +66,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Bftcan from "~/model/Bftcan";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftcan/Check";
import Default from "~/model/Bftcan/Default";
import Pattern from "~/model/Bftcan/Pattern";
......@@ -73,10 +92,10 @@ export default {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "",
tabVal: "canp",
trnName: "bftcan",
model: new Bftcan().data,
checkRules: Check,
......
......@@ -8,6 +8,7 @@
maxlength="65"
show-word-limit
placeholder="请输入单据不符点"
></c-input>
</el-form-item>
</c-col>
......@@ -32,6 +33,7 @@
maxlength="65"
show-word-limit
placeholder="请输入不符点"
:disabled="!docdisflg"
></c-input>
</el-form-item>
</c-col>
......@@ -42,6 +44,7 @@
type="primary"
icon="el-icon-search"
@click="onDocdisButtxmsel"
:disabled="!docdisflg"
>
...
</c-button>
......@@ -52,10 +55,10 @@
</c-col>
<c-col :span="2">
<c-checkbox v-model="model.bfdgrp.blk.docdisflg">不符点修改</c-checkbox>
<c-checkbox v-model="docdisflg">不符点修改</c-checkbox>
</c-col>
<c-col :span="24" style="height: 24px; margin-top: 20px">
<!-- <c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel">
</el-form-item>
</c-col>
......@@ -101,6 +104,60 @@
</template>
</el-table-column>
</c-table>
</c-col> -->
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary"
>新增单据</c-button
>
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="TableValue"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
prop="cmail1"
width="auto"
></el-table-column>
<el-table-column
label="2st"
prop="cmail2"
width="auto"
></el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select
style="width: 100%"
placeholder="请选择"
v-model="scope.row.docnam"
>
<el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary"
>删除</c-button
>
</template>
</el-table-column>
</c-table>
</c-col>
</div>
</template>
......@@ -115,9 +172,62 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
},
],
newValue: {
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
},
codeTable: [
{ label: "增值税发票", value: "1" },
{ label: "发票", value: "2" },
{ label: "装箱单", value: "3" },
{ label: "空运单", value: "4" },
{ label: "海运提单", value: "5" },
{ label: "铁路运单", value: "6" },
{ label: "货物收据", value: "7" },
{ label: "邮政收据", value: "8" },
],
};
},
computed:{
docdisflg: {
get() {
return this.model.bfdgrp.blk.docdisflg != "";
},
set(val) {
this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
},
},
},
methods: { ...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
},
},
methods: { ...Event },
created: function () {},
};
</script>
......
......@@ -26,6 +26,7 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -74,6 +75,7 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -139,7 +141,7 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
<c-input
v-model="model.bfdgrp.rec.doctypcod"
......@@ -148,6 +150,24 @@
disabled
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
<c-select
v-model="model.bfdgrp.rec.doctypcod"
style="width: 100%"
placeholder="请输入单据类型"
disabled
>
<el-option
v-for="item in codes.doctypcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="远期单据到期日" prop="bfdgrp.rec.matdat">
......@@ -185,7 +205,7 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
<c-input
v-model="model.bfdgrp.rec.docsta"
......@@ -194,6 +214,24 @@
disabled
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
<c-select
v-model="model.bfdgrp.rec.docsta"
style="width: 100%"
placeholder="请输入单据状态"
disabled
>
<el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -201,9 +239,9 @@
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur">
<el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
<c-input
v-model="model.bfdgrp.cbs.opn1.cur"
v-model="model.dedgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
......@@ -211,9 +249,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt">
<el-form-item label="" label-width="5px" prop="dedgrp.cbs.opn1.amt">
<c-input
v-model="model.bfdgrp.cbs.opn1.amt"
v-model="model.dedgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input>
......@@ -236,14 +274,14 @@
<c-ptsmsg
:model="model"
:argadr="{
title: '交单',
title: '交单',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
......@@ -253,7 +291,30 @@
}"
:disabled="true"
></c-ptsmsg>
</c-col> -->
<c-col :span="24">
<el-form-item label="开证行编号" prop="dedgrp.rec.kzref">
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="'请输入开证行编号'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="bfdgrp.iss.pts.nam">
<c-input
v-model="model.bfdgrp.iss.pts.nam"
maxlength="40"
placeholder="'请输入开证行名称'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
......@@ -281,26 +342,21 @@
</c-col>
<c-col :span="24">
<c-checkbox
v-model="advdocflg"
style="margin-left: 150px"
<c-checkbox v-model="clsflg" style="margin-left: 150px"
>退单通知登记</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="clsflg"
style="margin-left: 150px"
disabled
<c-checkbox v-model="clsflg" style="margin-left: 150px" disabled
>闭卷</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.advdisflg"
style="margin-left: 150px; margin-top: 100px;margin-bottom: 10px;"
v-model="advdisflg"
style="margin-left: 150px; margin-top: 100px; margin-bottom: 10px"
>Advice of Discrepancy(MT750)</c-checkbox
>
</c-col>
......@@ -313,14 +369,13 @@
maxlength="35"
show-word-limit
placeholder="请输入给受益人信息"
disabled
:disabled="!advdisflg"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="付款人" prop="bfdgrp.rec.payrol">
<c-select
......@@ -370,7 +425,6 @@
v-model="model.bfdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单行"
disabled
>
<el-option
v-for="item in codes.docprbrol"
......@@ -387,7 +441,7 @@
<c-ptap
:model="model"
:argadr="{
title: '受益人',
title: '',
grp: 'bfdgrp',
rol: 'prb',
}"
......@@ -398,6 +452,15 @@
@onAplpDet="onBenpDet"
>
</c-ptap>
<!-- <c-ptsmsg
:model="model"
:argadr="{
title: '受益人',
grp: 'bfdgrp',
rol: 'ben',
}"
:disabled="true"
></c-ptsmsg> -->
</c-col>
</c-col>
......@@ -565,30 +628,44 @@ export default {
data() {
return {};
},
mounted:{
computed: {
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
advrefflg: {
get() {
return this.model.advrefflg != ''
return this.model.advrefflg != "";
},
set(val) {
this.model.advrefflg = val ? "X" : ""
}
this.model.advrefflg = val ? "X" : "";
},
},
advdocflg: {
// advdocflg: {
// get() {
// this.model.mtabut.clsflg = this.model.bfdgrp.rec.advdocflg != "" ? "C" : ""
// return this.model.bfdgrp.rec.advdocflg != "";
// },
// set(val) {
// this.model.bfdgrp.rec.advdocflg = val ? "X" : "";
// this.model.mtabut.clsflg = val ? "C" : "O";
// },
// },
clsflg: {
get() {
return this.model.bfdgrp.rec.advdocflg != ''
return this.model.bfdgrp.rec.advdocflg != "";
},
set(val) {
this.model.bfdgrp.rec.advdocflg = val ? "X" : ""
}
this.model.bfdgrp.rec.advdocflg = val ? "X" : "";
this.model.mtabut.clsflg = val ? "C" : "O";
},
clsflg: {
},
advdisflg: {
get() {
return this.model.mtabut.clsflg != 'O'
return this.model.advdisflg != "";
},
set(val) {
this.model.mtabut.clsflg = val ? "C" : "O"
}
this.model.advdisflg = val ? "X" : "";
},
},
},
methods: { ...Event },
......
......@@ -16,6 +16,7 @@
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
......@@ -109,7 +110,9 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {},
codes: {
...CodeTable
},
};
},
methods: {
......
......@@ -26,6 +26,7 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -74,6 +75,7 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -141,12 +143,20 @@
</c-col>
<c-col :span="24">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
<c-input
<c-select
v-model="model.bfdgrp.rec.doctypcod"
maxlength="1"
style="width: 100%"
placeholder="请输入单据类型"
disabled
></c-input>
>
<el-option
v-for="item in codes.doctypcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -186,12 +196,20 @@
</c-col>
<c-col :span="24">
<el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
<c-input
<c-select
v-model="model.bfdgrp.rec.docsta"
maxlength="40"
style="width: 100%"
placeholder="请输入单据状态"
disabled
></c-input>
>
<el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -200,9 +218,9 @@
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur">
<el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
<c-input
v-model="model.bfdgrp.cbs.opn1.cur"
v-model="model.dedgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
......@@ -210,9 +228,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt">
<el-form-item label="" label-width="5px" prop="dedgrp.cbs.opn1.amt">
<c-input
v-model="model.bfdgrp.cbs.opn1.amt"
v-model="model.dedgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input>
......@@ -235,14 +253,14 @@
<c-ptsmsg
:model="model"
:argadr="{
title: '交单',
title: '交单',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
......@@ -252,6 +270,28 @@
}"
:disabled="true"
></c-ptsmsg>
</c-col> -->
<c-col :span="24">
<el-form-item label="开证行编号" prop="dedgrp.rec.kzref">
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="'请输入开证行编号'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="bfdgrp.iss.pts.nam">
<c-input
v-model="model.bfdgrp.iss.pts.nam"
maxlength="40"
placeholder="'请输入开证行名称'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
......@@ -276,14 +316,23 @@
<c-col :span="12">
<c-col :span="24">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
<c-input
<c-select
v-model="model.bfdgrp.rec.doctypcod"
maxlength="1"
style="width: 100%"
placeholder="请输入单据类型"
disabled
></c-input>
>
<el-option
v-for="item in codes.doctypcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur">
......@@ -399,6 +448,13 @@
placeholder="请选择付款人"
disabled
>
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -449,7 +505,7 @@
<c-ptap
:model="model"
:argadr="{
title: '受益人',
title: '',
grp: 'bfdgrp',
rol: 'prb',
}"
......@@ -1022,6 +1078,11 @@ export default {
data() {
return {};
},
computed: {
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
methods: { ...Event },
created: function () {},
};
......
......@@ -6,6 +6,7 @@
v-model="model.bfdgrp.rec.anobnkcod"
maxlength="20"
placeholder="请输入交单批注行行号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -17,6 +18,7 @@
v-model="model.bfdgrp.rec.anodat"
style="width: 100%"
placeholder="请选择交单批注日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -29,6 +31,7 @@
maxlength="55"
show-word-limit
placeholder="请输入交单批注描述"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -39,6 +42,7 @@
v-model="model.bftp.msgtyp"
style="width: 100%"
placeholder="请选择报文类型"
disabled
>
<el-option
v-for="item in codes.docprbrol"
......
......@@ -15,13 +15,14 @@
maxlength="50"
show-word-limit
placeholder="请输入不符点"
disabled
:disabled="!docdisflg"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
:disabled="!docdisflg"
>
...
</c-button>
......@@ -99,11 +100,16 @@
style="width: 100%"
placeholder="请选择寄单状态"
>
<el-option
v-for="item in codes.folwupopt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<template slot="footer">
<c-checkbox
v-model="model.bfdgrp.blk.docdisflg"
style="margin-left: 10px"
<c-checkbox v-model="docdisflg" style="margin-left: 10px"
>录入不符点</c-checkbox
>
</template>
......@@ -117,6 +123,13 @@
style="width: 100%"
placeholder="请选择付款人"
>
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -124,14 +137,28 @@
<c-ptap
:model="model"
:argadr="{
title: '付款人',
title: '',
grp: 'bfdgrp',
rol: 'oth',
}"
:disabled="true"
:noRef="true"
:isAdrblk="false"
>
</c-ptap>
</c-col>
<!-- <c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '付款人',
grp: 'bfdgrp',
rol: 'oth',
}"
:disabled="true"
>
</c-ptap>
</c-col> -->
</c-col>
<!-- <c-col :span="24">
......@@ -141,7 +168,8 @@
>
</span>
</c-col> -->
<c-col :span="24" style="height: 24px; margin-top: 20px">
<!-- <c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel">
</el-form-item>
</c-col>
......@@ -187,6 +215,60 @@
</template>
</el-table-column>
</c-table>
</c-col> -->
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary"
>新增单据</c-button
>
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="">
<c-table
style="text-align: center"
:list="TableValue"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
prop="cmail1"
width="auto"
></el-table-column>
<el-table-column
label="2st"
prop="cmail2"
width="auto"
></el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select
style="width: 100%"
placeholder="请选择"
v-model="scope.row.docnam"
>
<el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary"
>删除</c-button
>
</template>
</el-table-column>
</c-table>
</c-col>
</div>
</template>
......@@ -205,9 +287,62 @@ export default {
"c-ptap": Ptap,
},
data() {
return {};
return {
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
},
],
newValue: {
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
},
codeTable: [
{ label: "增值税发票", value: "1" },
{ label: "发票", value: "2" },
{ label: "装箱单", value: "3" },
{ label: "空运单", value: "4" },
{ label: "海运提单", value: "5" },
{ label: "铁路运单", value: "6" },
{ label: "货物收据", value: "7" },
{ label: "邮政收据", value: "8" },
],
};
},
computed: {
docdisflg: {
get() {
return this.model.bfdgrp.blk.docdisflg != "";
},
set(val) {
this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
},
},
},
methods: {
...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
},
},
methods: { ...Event },
created: function () {},
};
</script>
......
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <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">
<!--PD000001 -->
<el-tab-pane label="修改单据" name="drv">
<c-content>
<m-drv :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000175 -->
......@@ -51,6 +71,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bftdrv from "~/model/Bftdrv"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftdrv/Check"
import Default from "~/model/Bftdrv/Default"
import Pattern from "~/model/Bftdrv/Pattern"
......@@ -81,10 +102,10 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "drv",
trnName: "bftdrv",
model: new Bftdrv().data,
checkRules: Check,
......
......@@ -26,6 +26,7 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -74,6 +75,7 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -200,9 +202,9 @@
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur">
<el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
<c-input
v-model="model.bfdgrp.cbs.opn1.cur"
v-model="model.dedgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
......@@ -210,9 +212,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt">
<el-form-item label="" label-width="5px" prop="dedgrp.cbs.opn1.amt">
<c-input
v-model="model.bfdgrp.cbs.opn1.amt"
v-model="model.dedgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input>
......@@ -235,14 +237,14 @@
<c-ptsmsg
:model="model"
:argadr="{
title: '交单',
title: '交单',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
......@@ -252,6 +254,27 @@
}"
:disabled="true"
></c-ptsmsg>
</c-col> -->
<c-col :span="24">
<el-form-item label="开证行编号" prop="dedgrp.rec.kzref">
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="'请输入开证行编号'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="bfdgrp.iss.pts.nam">
<c-input
v-model="model.bfdgrp.iss.pts.nam"
maxlength="40"
placeholder="'请输入开证行名称'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
......@@ -275,7 +298,12 @@
<!-- left -->
<c-col :span="12">
<c-col :span="24" style="margin-bottom:35px">
<c-istream-table :list="model.liaall.tenstm.rows || []" :columns="stmData.columns" :showSelection="true">
<c-istream-table
:list="model.liaall.tenstm.rows || []"
:columns="stmData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
>
</c-istream-table>
</c-col>
......@@ -426,6 +454,7 @@
<c-input
v-model="model.setmod.redamt"
placeholder="请输入扣减金额"
:disabled="frepayflg"
></c-input>
</el-form-item>
</c-col>
......@@ -846,7 +875,16 @@ export default {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
methods: { ...Event },
methods: {
...Event,
multipleSelect(selection) {
console.log(selection)
if (selection) {
const rtnmsg = this.executeRule('tenstm')
this.updateModel(rtnmsg.data)
}
}
},
created: function () {},
};
</script>
......
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <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">
......@@ -44,6 +62,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bftset from "~/model/Bftset"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bftset/Check"
import Default from "~/model/Bftset/Default"
import Pattern from "~/model/Bftset/Pattern"
......@@ -70,10 +89,10 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "setp",
trnName: "bftset",
model: new Bftset().data,
checkRules: Check,
......
......@@ -549,11 +549,13 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdck/Event";
import Ptap1 from "~/views/Public/Ptap1";
import Ptap from "~/views/Public/Ptap";
import Ptsmsg from "~/views/Public/Ptsmsg";
export default {
components: {
"c-ptap1": Ptap1,
"c-ptap": Ptap,
"c-ptsmsg": Ptsmsg,
},
inject: ['root'],
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" :placeholder="$t('other.please_enter')+'国内证落款'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'修改申请人名称'" ></c-input>
</c-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">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" :placeholder="$t('other.please_enter')+'国内证通知书'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000065 : 不符点 -->
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">{{$t('brtp.CF000074')}}</c-checkbox>
</c-col>
<!--=== ==========左边=============== -->
<c-col :span="11">
<c-col :span="21" >
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis" >
<c-input type="textarea" v-model="model.brdgrp.blk.docdis"
maxlength="50" show-word-limit placeholder="请输入Discrepancies" rows="5">
<c-col :span="12">
</c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDocdisButtxmsel">
{{$t('brtp.CF000077')}}
...
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'Discrepancies'" ></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon" >
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions"
rows="5"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">{{$t('brtp.CF000219')}}</c-checkbox>
<c-col :span="21">
<el-form-item label="Settlement Instructions BR" prop="brdgrp.blk.setinsbr">
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions BR"
rows="5"></c-input>
</el-form-item>
</c-col>
<!-- SF000222 : 收到的通知类型 -->
<c-col :span="12">
<el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp">
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" :placeholder="$t('other.please_enter')+'Type of Advice Received'">
<c-col :span="3">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
...
</c-button>
</c-col>
</c-col>
<!--=== ==========右边=============== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.igndisflg">Ignore Discrepancies</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="Type of Advice Received" prop="brdgrp.rec.advtyp" >
<c-select v-model="model.brdgrp.rec.advtyp" style="width:100%" placeholder="请选择Type of Advice Received">
</c-select>
</el-form-item>
</c-col>
<!-- S0000067 : 付款日期 -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000067')" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000067')"></c-date-picker>
<c-col :span="24">
<el-form-item label="付款日期" prop="brdgrp.rec.totdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.totdat" style="width:100%" placeholder="请选择付款日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000064 : 注释和结论 -->
<!-- SF000163 : Discrepancy Advice Dated -->
<c-col :span="12">
<el-form-item :label="$t('brtp.SF000163')" prop="brdgrp.rec.disdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.SF000163')"></c-date-picker>
<c-col :span="24">
<el-form-item label="Discrepancy Advice Dated" prop="brdgrp.rec.disdat" label-width="155px">
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择Discrepancy Advice Dated"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Comments and Conclusions" prop="brdgrp.blk.comcon">
<c-input type="textarea" v-model="model.brdgrp.blk.comcon" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Comments and Conclusions'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.approvcod">{{$t('brtp.CF000073')}}</c-checkbox>
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.approvcod">Documents on Approval Basis</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brtp.cre752flg">{{$t('brtp.CF000159')}}</c-checkbox>
<c-col :span="24">
<c-checkbox v-model="model.brtp.cre752flg">Create 752</c-checkbox>
</c-col>
<!-- SF000164 : Further Identification -->
<c-col :span="12">
<el-form-item :label="$t('brtp.SF000164')" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.SF000164')">
<c-col :span="24">
<el-form-item label="Further Identification" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width:100%" placeholder="请选择Further Identification">
</c-select>
</el-form-item>
</c-col>
<!-- S0000063 : 结算指示 -->
<c-col :span="12">
<c-checkbox v-model="model.brtp.cre732flg">{{$t('brtp.CF000166')}}</c-checkbox>
<c-col :span="24">
<c-checkbox v-model="model.brtp.cre732flg">Create MT 732</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Settlement Instructions BR" prop="brdgrp.blk.setinsbr">
<c-input type="textarea" v-model="model.brdgrp.blk.setinsbr" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Settlement Instructions BR'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinstxmButtxmsel">
{{$t('brtp.CF000211')}}
...
</c-button>
</c-col>
<c-col :span="12">
<c-col :span="12">
<span v-text="model.brtp.docgrdm.docdsclab" data-path=".brtp.docgrdm.docdsclab" > </span>
</c-col>
</c-col> -->
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<!-- S0000552 : Outgoing Correspondence, Attachments and other Documents -->
<c-col :span="12">
<c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" :placeholder="$t('other.please_enter')+'File Receiver'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" :placeholder="$t('other.please_enter')+'Document tree'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
{{$t('trndoc.CF000547')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
{{$t('trndoc.CF000548')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
{{$t('trndoc.CF000553')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
{{$t('trndoc.CG001184')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
{{$t('trndoc.CF000549')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">{{$t('trndoc.CF000556')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">{{$t('trndoc.CF000557')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
{{$t('trndoc.CF000551')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" :placeholder="$t('other.please_enter')+'Connected Documents'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdck/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-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" :placeholder="$t('other.please_enter')+'ECIFNO'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<!-- S0001138 : 业务编号 -->
<c-col :span="12">
<c-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" :placeholder="$t('other.please_enter')+'国结业务编号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.oth.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthp1Det">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<!-- S0001135 : 业务余额 -->
<c-col :span="12">
<c-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" :placeholder="$t('other.please_enter')+'业务余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0001136 : 保证金 -->
<!-- S0000011 : 额度类型 -->
<c-col :span="12">
<c-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" :placeholder="$t('other.please_enter')+'保证金余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet1">
{{$t('limpts.C0000013')}}
</c-button>
</c-col>
<!-- S0000012 : 额度类型 -->
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg2">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
{{$t('limpts.C0000014')}}
</c-button>
</c-col>
<!-- S0001137 : 余额 -->
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.lsh" data-path=".liaall.limmod.limpts.lsh" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" :placeholder="$t('other.please_enter')+'合同流水号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 合同流水号 -->
<c-col :span="12">
<c-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" :placeholder="$t('other.please_enter')+'合同流水号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
{{$t('limmod.C0000005')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000002 : 参考号 -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
</c-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="$t('other.please_enter')+'document currency'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 类型 -->
<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="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
{{$t('setmod.CF000032')}}
</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">
<c-form-item label="自号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<!-- S0000001 : Foreign Commission / Charges: -->
<!-- S0000001 : Own Commission / Charges: -->
<!-- SF000001 : Settlement: -->
<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/Brtdck/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> j加操作按钮-->
<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">imgyge</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">img</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">
<!--brtdck PD000046 Documents Received -->
<!--brtdck PD000046 Documents Received 标签页-->
<el-tab-pane label="Documents received" name="brtdckp">
<!--在页面上添加滚动条,使用 c-content 组件,有个height属性,默认是250,height:指的是页面document的高度与自身dom元素高度的差值。-->
<c-content>
<m-brtdckp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--brtp PD000062 Discr./Instr. -->
<el-tab-pane :label="$t('brtp.PD000062')" name="docpre">
<el-tab-pane label="Discr./Instr." name="docpre">
<m-docpre :model="model" :codes="codes"/>
</el-tab-pane>
<!--brtp PD000079 Shipping Details -->
<el-tab-pane :label="$t('brtp.PD000079')" name="shpdet">
<el-tab-pane label="Shipping Details" name="shpdet">
<c-content>
<m-shpdet :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane :label="$t('liaall.PD000027')" name="engp">
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane :label="$t('setmod.PD000000')" name="setpan">
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane :label="$t('coninf.PD000000')" name="coninfp">
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane :label="$t('trndoc.PD000529')" name="docpan">
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane :label="$t('trndoc.PD000546')" name="doctre">
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane :label="$t('limmod.PD000001')" name="limitbody">
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
......@@ -51,18 +73,27 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Brtdck from "~/model/Brtdck"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Brtdck/Check"
import Default from "~/model/Brtdck/Default"
import Pattern from "~/model/Brtdck/Pattern"
import Brtdckp from "./Brtdckp"
import Docpre from "./Docpre"
import Shpdet from "./Shpdet"
import Engp from "./Engp"
import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Limitbody from "./Limitbody"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
// import Limitbody from "./Limitbody"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
......@@ -77,13 +108,14 @@ export default {
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
......
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