Commit 8c5b8e38 by wangren
parents 19e971b4 dfcf9349
......@@ -6046,5 +6046,14 @@ const CodeTable = {
{label:"Temporary",value:"T"},
],
betdrvdoctypcod: [
{ label: `远期承兑`, value: `A` },
{ label: `延期付款`, value: `D` },
{ label: `External Presented Docs`, value: `E` },
{ label: `混合支付`, value: `M` },
{ label: `议付`, value: `N` },
{ label: `即期`, value: `P` },
],
}
export default CodeTable;
\ No newline at end of file
import Utils from "~/utils"
/**
* Betdcr Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bedgrp.oth.namelc" :null,
"bedgrp.oth.adrelc" :null,
"bedgrp.prb.namelc" :null,
"setmod.dspflg" :null,
"betp.othp.ptsget.sdamod.dadsnd" :null,
"betp.ledget.sdamod.dadsnd" :null,
"bedgrp.blk.docdis" :null,
"setmod.redamt" :null,
"bedgrp.prb.adrelc" :null,
"bedgrp.blk.docins" :null,
"bedgrp.blk.intdis" :null,
"bedgrp.prb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"bedgrp.oth.pts.adrblk" :null,
"bedgrp.prb.pts.adrblk" :null,
"betp.recget.sdamod.dadsnd" :null,
"bedgrp.oth.pts.extkey" :null,
"setmod.docamt" :null,
"betp.prbp.ptsget.sdamod.dadsnd" :null,
"bedgrp.blk.disdoc" :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
/**
* Betdcr Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bedgrp.blk.docdis" :Utils.defaultFunction,
"bedgrp.prb.pts.extkey" :Utils.defaultFunction,
"bedgrp.prb.adrelc" :Utils.defaultFunction,
"bedgrp.prb.namelc" :Utils.defaultFunction,
"bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"bedgrp.rec.advdocflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bedgrp.prb.pts.adrblk" :Utils.defaultFunction,
"advrefflg" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bedgrp.cbs.max.amt" :Utils.defaultFunction,
"rejpenins" :Utils.defaultFunction,
"bedgrp.cbs.opn1.amt" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bedgrp.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.blk.docdisflg" :Utils.defaultFunction,
"bedgrp.rec.payrol" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"advdisflg" :Utils.defaultFunction,
"bedgrp.oth.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.rec.docprbrol" :Utils.defaultFunction,
"bedgrp.oth.adrelc" :Utils.defaultFunction,
"bedgrp.oth.namelc" :Utils.defaultFunction,
"bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.rec.docsta" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onIntdisButtxmsel() {
let rtnmsg = await this.executeRule("intdis.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf(data) {
console.log('测试。。。。。。。', data)
},
async onCptpGetref() {
let rtnmsg = await this.executeRule("cptp_getref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onResrejButtxmsel() {
let rtnmsg = await this.executeRule("resrej.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDisdocButtxmsel() {
let rtnmsg = await this.executeRule("disdoc.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDocdisButtxmsel() {
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onMtdbutButapy() {
let rtnmsg = await this.executeRule("mtdbut.butapy")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onMtdbutButcan() {
let rtnmsg = await this.executeRule("mtdbut.butcan")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc.butshw")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc.butadd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc.butnew")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc.butattto")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc.butdel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc.butatt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPrbpDet() {
let rtnmsg = await this.executeRule("prbp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Betdcr{
constructor () {
this.data = {
bedgrp:{
blk:{
intdis:"", // Internal Discrepancies .bedgrp.blk.intdis
docdis:"", // Discrepancies .bedgrp.blk.docdis
docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg
docins:"", // Reasons for Rejection .bedgrp.blk.docins
disdoc:"", // Disposal of Documents .bedgrp.blk.disdoc
},
rec:{
ownref:"", // 单据参考号 .bedgrp.rec.ownref
doctypcod:"", // 单据类型 .bedgrp.rec.doctypcod
matdat:"", // 到期日 .bedgrp.rec.matdat
rcvdat:"", // 到单日期 .bedgrp.rec.rcvdat
predat:"", // Presentation Date .bedgrp.rec.predat
docsta:"", // 单据状态 .bedgrp.rec.docsta
nam:"", // Externally Displayed Name to Identify the Contract .bedgrp.rec.nam
advdocflg:"", // Return of Documents .bedgrp.rec.advdocflg
payrol:"", // Payer .bedgrp.rec.payrol
docprbrol:"", // Presented by .bedgrp.rec.docprbrol
},
cbs:{
max:{
cur:"", // 单据金额 .bedgrp.cbs.max.cur
amt:"", // 单据金额 .bedgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .bedgrp.cbs.opn1.cur
amt:"", // Balance .bedgrp.cbs.opn1.amt
},
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .bedgrp.prb.namelc
adrelc:"", // 地址 .bedgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .bedgrp.prb.dbfadrblkcn
},
iss:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
namelc:"", // 名称 .bedgrp.oth.namelc
adrelc:"", // 地址 .bedgrp.oth.adrelc
dbfadrblkcn:"", // Chinese address .bedgrp.oth.dbfadrblkcn
},
},
betp:{
docgrdm:{
docdsclab:"", // Label of document description .betp.docgrdm.docdsclab
},
ledget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .betp.ledget.sdamod.dadsnd
seainf:"", // .betp.ledget.sdamod.seainf
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .betp.recget.sdamod.dadsnd
seainf:"", // .betp.recget.sdamod.seainf
},
},
adaflg:"", // Add. amount .betp.adaflg
othp:{
ptsget:{
sdamod:{
seainf:"", // .betp.othp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp.othp.ptsget.sdamod.dadsnd
},
},
},
prbp:{
ptsget:{
sdamod:{
seainf:"", // .betp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp.prbp.ptsget.sdamod.dadsnd
},
},
},
},
rejpenins:"", // Rejection pending instructions .rejpenins
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
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
redamt:"", // 减少的金额 .setmod.redamt
setamt:"", // 减少后的结算金额 .setmod.setamt
redamttxt:"", // 注释 .setmod.redamttxt
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
clsflg:"", // Close Flag .mtabut.clsflg
},
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
addstr750:"", // Tag 72 (MT750) .trnmod.trndoc.addstr750
},
},
ledgrp:{
rec:{
ownref:"", // 参考号 .ledgrp.rec.ownref
},
cbs:{
opn1:{
cur:"", // Currency .ledgrp.cbs.opn1.cur
amt:"", // Balance .ledgrp.cbs.opn1.amt
},
},
},
advrefflg:"", // Advice of Refusal MT734 .advrefflg
advdisflg:"", // Advice of Discrepancy MT750 .advdisflg
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Betdrv Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bedgrp.oth.namelc" :null,
"bedgrp.oth.adrelc" :null,
"bedgrp.prb.namelc" :null,
"bedgrp.blk.comcon" :null,
"bedgrp.blk.setinsbe" :null,
"setmod.dspflg" :null,
"betp.othp.ptsget.sdamod.dadsnd" :null,
"betp.ledget.sdamod.dadsnd" :null,
"bedgrp.rec.matdat" :null,
"bedgrp.blk.docdis" :null,
"setmod.redamt" :null,
"bedgrp.prb.adrelc" :null,
"bedgrp.blk.intdis" :null,
"bedgrp.prb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"bedgrp.oth.pts.adrblk" :null,
"bedgrp.prb.pts.adrblk" :null,
"bedgrp.rec.rcvdat" :null,
"betp.recget.sdamod.dadsnd" :null,
"bedgrp.oth.pts.extkey" :null,
"setmod.docamt" :null,
"bedgrp.rec.orddat" :null,
"betp.prbp.ptsget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Betdrv Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bedgrp.blk.docdis" :Utils.defaultFunction,
"bedgrp.prb.pts.extkey" :Utils.defaultFunction,
"bedgrp.prb.adrelc" :Utils.defaultFunction,
"bedgrp.prb.namelc" :Utils.defaultFunction,
"bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.cbs.max2.amt" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"bedgrp.blk.matper" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"bedgrp.rec.doctypcod" :Utils.defaultFunction,
"bedgrp.rec.matdat" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.prb.pts.adrblk" :Utils.defaultFunction,
"betp.folwupopt" :Utils.defaultFunction,
"bedgrp.blk.intdis" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"oldbedgrp.cbs.max2.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bedgrp.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.blk.docdisflg" :Utils.defaultFunction,
"bedgrp.rec.payrol" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bedgrp.oth.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.rec.dscinsflg" :Utils.defaultFunction,
"bedgrp.cbs.max.amt" :Utils.defaultFunction,
"oldbedgrp.cbs.max.amt" :Utils.defaultFunction,
"bedgrp.rec.docprbrol" :Utils.defaultFunction,
"bedgrp.oth.adrelc" :Utils.defaultFunction,
"bedgrp.oth.namelc" :Utils.defaultFunction,
"bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bedgrp.rec.docsta" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onOthpDet() {
let rtnmsg = await this.executeRule("othp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf(data) {
console.log('测试。。。。。。。', data)
},
async onCptpGetref() {
let rtnmsg = await this.executeRule("cptp_getref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onCptpGetref() {
let rtnmsg = await this.executeRule("cptp_getref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.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 onDocdisButtxmsel() {
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onIntdisButtxmsel() {
let rtnmsg = await this.executeRule("intdis.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onComconButtxmsel() {
let rtnmsg = await this.executeRule("comcon.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetinstxmButtxmsel() {
let rtnmsg = await this.executeRule("setinstxm.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall.butmisamt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall.butmissig")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onMtdbutButapy() {
let rtnmsg = await this.executeRule("mtdbut.butapy")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onMtdbutButcan() {
let rtnmsg = await this.executeRule("mtdbut.butcan")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc.butshw")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc.butadd")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc.butnew")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc.butattto")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc.butdel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc.butatt")
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"
export default class Betdrv{
constructor () {
this.data = {
oridoclab:"", // Label original .oridoclab
oriaddlab:"", // Label original .oriaddlab
betp:{
ledget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .betp.ledget.sdamod.dadsnd
seainf:"", // .betp.ledget.sdamod.seainf
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .betp.recget.sdamod.dadsnd
seainf:"", // .betp.recget.sdamod.seainf
},
},
adaflg:"", // Add. amount .betp.adaflg
othp:{
ptsget:{
sdamod:{
seainf:"", // .betp.othp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp.othp.ptsget.sdamod.dadsnd
},
},
},
prbp:{
ptsget:{
sdamod:{
seainf:"", // .betp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .betp.prbp.ptsget.sdamod.dadsnd
},
},
},
docgrdm:{
docdsclab:"", // Label of document description .betp.docgrdm.docdsclab
},
folwupopt:"", // Processing Options .betp.folwupopt
},
ledgrp:{
rec:{
ownref:"", // 参考号 .ledgrp.rec.ownref
utlnbr:"", // No. of Existing and not Completely Processed Document Sets .ledgrp.rec.utlnbr
},
cbs:{
opn1:{
cur:"", // Currency .ledgrp.cbs.opn1.cur
amt:"", // Balance .ledgrp.cbs.opn1.amt
},
},
},
bedgrp:{
rec:{
ownref:"", // 单据参考号 .bedgrp.rec.ownref
doctypcod:"", // Document Type .bedgrp.rec.doctypcod
matdat:"", // Maturity Date .bedgrp.rec.matdat
rcvdat:"", // Received on .bedgrp.rec.rcvdat
predat:"", // 到单日期 .bedgrp.rec.predat
docsta:"", // 单据状态 .bedgrp.rec.docsta
nam:"", // Externally Displayed Name to Identify the Contract .bedgrp.rec.nam
orddat:"", // Order Date .bedgrp.rec.orddat
shpdat:"", // Date of Shipment .bedgrp.rec.shpdat
dscinsflg:"", // Enter Docs, Discrep. and Instructions .bedgrp.rec.dscinsflg
payrol:"", // Payer .bedgrp.rec.payrol
docprbrol:"", // Presented by .bedgrp.rec.docprbrol
},
cbs:{
max:{
cur:"", // Document Amount .bedgrp.cbs.max.cur
amt:"", // Balance .bedgrp.cbs.max.amt
},
opn1:{
cur:"", // 单据余额 .bedgrp.cbs.opn1.cur
amt:"", // Balance .bedgrp.cbs.opn1.amt
},
opn2:{
cur:"", // 附加金额 .bedgrp.cbs.opn2.cur
},
max2:{
amt:"", // 附加金额 .bedgrp.cbs.max2.amt
},
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .bedgrp.prb.namelc
adrelc:"", // 地址 .bedgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .bedgrp.prb.dbfadrblkcn
},
iss:{
pts:new Pts().data,
},
apl:{
pts:new Pts().data,
},
blk:{
matper:"", // Maturity Period .bedgrp.blk.matper
intdis:"", // Internal Discrepancies .bedgrp.blk.intdis
comcon:"", // Comments and Conclusions .bedgrp.blk.comcon
setinsbe:"", // Settlement Instructions transaction field .bedgrp.blk.setinsbe
docdis:"", // Discrepancies .bedgrp.blk.docdis
docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg
},
oth:{
pts:new Pts().data,
namelc:"", // 名称 .bedgrp.oth.namelc
adrelc:"", // 地址 .bedgrp.oth.adrelc
dbfadrblkcn:"", // Chinese address .bedgrp.oth.dbfadrblkcn
},
},
oldbedgrp:{
cbs:{
max:{
amt:"", // Balance .oldbedgrp.cbs.max.amt
},
max2:{
amt:"", // Balance .oldbedgrp.cbs.max2.amt
},
},
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
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
redamt:"", // 减少的金额 .setmod.redamt
setamt:"", // 减少后的结算金额 .setmod.setamt
redamttxt:"", // 注释 .setmod.redamttxt
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
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
}
}
}
\ No newline at end of file
......@@ -2,23 +2,43 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow (callback) {
async onInfbutSearow () {
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
callback();
},
async handleSearch () {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset () {
},
async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) {
......@@ -90,4 +110,15 @@ export default {
}
},
display (index, row) {
debugger;
Api.post("getTrnNameByInr", { inr: row['INR'] }).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + row['INR']
window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
},
}
\ No newline at end of file
......@@ -65,6 +65,7 @@ export default class Infbfd {
diastm: "", // stream for diaries to selected contract .infcon.diastm
liastm: "", // Stream for all engagements to selected contract .infcon.liastm
ordstm: "", // Stream for Orders for Contract .infcon.ordstm
objinr: "",
},
seadoctypcod: "", // Document Type .seadoctypcod
infbut: {
......
......@@ -2,21 +2,41 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow (callback) {
async onInfbutSearow () {
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleSearch () {
this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom;
if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return;
}
let opndatto = this.model.infcon.opndatto;
if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return;
}
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
callback();
},
async handleReset () {
},
async onInfbutDsp () {
let rtnmsg = await this.executeRule("infbut.dsp")
......@@ -179,4 +199,15 @@ export default {
}
},
display (index, row) {
debugger;
Api.post("getTrnNameByInr", { inr: row['INR'] }).then((res) => {
if (res.respCode == SUCCESS) {
const trnName = res.data.toLowerCase();
let viewurl = "/#/display/" + trnName + "?trn=" + row['INR']
window.open(viewurl, 'newwindow', 'height=1500,width=1200,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
}
});
},
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Letnot Check规则
*/
let checkObj = {
"ledgrp.apb.pts.extkey" :null,
"letp.rmbp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.opndat" :null,
"ledgrp.adv.namelc" :null,
"ledgrp.blk.shpper" :null,
"ledgrp.rmb.pts.extkey" :null,
"letp.avbp.ptsget.sdamod.dadsnd" :null,
"ledgrp.a2b.pts.adrblk" :null,
"letp.conp.ptsget.sdamod.dadsnd" :null,
"ledgrp.iss.pts.adrblk" :null,
"letp.issp.ptsget.sdamod.dadsnd" :null,
"ledgrp.blk.preper" :null,
"ledgrp.adv.adrelc" :null,
"ledgrp.ben.adrelc" :null,
"ledgrp.avb.adrelc" :null,
"ledgrp.rec.tenmaxday" :null,
"ledgrp.blk.mixdet" :null,
"ledgrp.avb.pts.extkey" :null,
"ledgrp.adv.pts.extkey" :null,
"ledgrp.drw.adrelc" :null,
"ledgrp.ben.pts.extkey" :null,
"ledgrp.rmb.pts.adrblk" :null,
"ledgrp.blk.lcrgod" :null,
"setmod.dspflg" :null,
"ledgrp.a2b.adrelc" :null,
"ledgrp.avb.namelc" :null,
"ledgrp.avb.pts.adrblk" :null,
"ledgrp.apb.pts.adrblk" :null,
"letp.usr.extkey" :null,
"ledgrp.a2b.namelc" :null,
"ledgrp.cbs.nom1.cur" :null,
"setmod.redamt" :null,
"ledgrp.rec.shpdat" :null,
"letp.a2bp.ptsget.sdamod.dadsnd" :null,
"ledgrp.con.pts.nam" :null,
"ledgrp.rec.prepers18" :null,
"ledgrp.rec.nomtop" :null,
"ledgrp.iss.adrelc" :null,
"ledgrp.rec.nomton" :null,
"ledgrp.rec.avbwth" :null,
"ledgrp.apb.namelc" :null,
"letp.drwp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rmb.namelc" :null,
"ledgrp.blk.feetxt" :null,
"ledgrp.apl.namelc" :null,
"ledgrp.rec.stacty" :null,
"ledgrp.adv.pts.adrblk" :null,
"ledgrp.cbs.nom1.amt" :null,
"ledgrp.blk.lcrdoc" :null,
"ledgrp.blk.defdet" :null,
"letp.apbp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.expdat" :null,
"ledgrp.blk.dftat" :null,
"letp.benp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.lcrtyp" :null,
"ledgrp.blk.insbnk" :null,
"mtabut.coninf.conexedat" :null,
"ledgrp.rec.apprul" :null,
"ledgrp.apl.adrelc" :null,
"ledgrp.iss.pts.extkey" :null,
"ledgrp.blk.adlcnd" :null,
"ledgrp.iss.namelc" :null,
"ledgrp.rec.expplc" :null,
"letp.advp.ptsget.sdamod.dadsnd" :null,
"ledgrp.drw.pts.extkey" :null,
"ledgrp.a2b.pts.extkey" :null,
"ledgrp.iss.pts.ref" :null,
"ledgrp.ben.namelc" :null,
"ledgrp.apl.pts.adrblk" :null,
"letp.recget.sdamod.dadsnd" :null,
"ledgrp.ben.pts.adrblk" :null,
"setmod.docamt" :null,
"ledgrp.apb.adrelc" :null,
"ledgrp.rmb.adrelc" :null,
"ledgrp.drw.namelc" :null,
"ledgrp.apl.pts.extkey" :null,
"letp.aplp.ptsget.sdamod.dadsnd" :null,
"ledgrp.con.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null,
"ledgrp.drw.pts.adrblk" :null,
"ledgrp.rec.apprultxt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Letnot Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ledgrp.apb.pts.extkey" :Utils.defaultFunction,
"ledgrp.apb.pts.adrblk" :Utils.defaultFunction,
"ledgrp.a2b.pts.extkey" :Utils.defaultFunction,
"ledgrp.a2b.adrelc" :Utils.defaultFunction,
"ledgrp.a2b.namelc" :Utils.defaultFunction,
"ledgrp.a2b.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.con.pts.nam" :Utils.defaultFunction,
"ledgrp.cbs.nom1.amt" :Utils.defaultFunction,
"ledgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ledgrp.rec.stacty" :Utils.defaultFunction,
"ledgrp.rec.avbby" :Utils.defaultFunction,
"ledgrp.avb.pts.extkey" :Utils.defaultFunction,
"ledgrp.rec.revflg" :Utils.defaultFunction,
"ledgrp.apl.pts.extkey" :Utils.defaultFunction,
"ledgrp.apl.adrelc" :Utils.defaultFunction,
"ledgrp.apl.namelc" :Utils.defaultFunction,
"ledgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.rec.nomtop" :Utils.defaultFunction,
"letp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"ledgrp.blk.shpper" :Utils.defaultFunction,
"ledgrp.rec.shpdat" :Utils.defaultFunction,
"ledgrp.blk.preper" :Utils.defaultFunction,
"ledgrp.rec.prepers18" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"ledgrp.rmb.pts.extkey" :Utils.defaultFunction,
"ledgrp.rmb.adrelc" :Utils.defaultFunction,
"ledgrp.rmb.namelc" :Utils.defaultFunction,
"ledgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.rec.nonban" :Utils.defaultFunction,
"ledgrp.rec.avbwth" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"ledgrp.blk.avbwthtxt" :Utils.defaultFunction,
"ledgrp.iss.pts.extkey" :Utils.defaultFunction,
"ledgrp.adv.pts.extkey" :Utils.defaultFunction,
"ledgrp.adv.adrelc" :Utils.defaultFunction,
"ledgrp.adv.namelc" :Utils.defaultFunction,
"ledgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.a2b.pts.adrblk" :Utils.defaultFunction,
"ledgrp.avb.adrelc" :Utils.defaultFunction,
"ledgrp.avb.namelc" :Utils.defaultFunction,
"ledgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.apl.pts.adrblk" :Utils.defaultFunction,
"ledgrp.avb.pts.adrblk" :Utils.defaultFunction,
"ledgrp.rec.resflg" :Utils.defaultFunction,
"ledgrp.con.pts.extkey" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"ledgrp.cbs.max.amt" :Utils.defaultFunction,
"ledgrp.rec.shppars18" :Utils.defaultFunction,
"ledgrp.rec.shppar" :Utils.defaultFunction,
"ledgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"ledgrp.ben.pts.extkey" :Utils.defaultFunction,
"ledgrp.ben.adrelc" :Utils.defaultFunction,
"ledgrp.ben.namelc" :Utils.defaultFunction,
"ledgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.adv.pts.adrblk" :Utils.defaultFunction,
"ledgrp.rec.apprul" :Utils.defaultFunction,
"letp.usr.extkey" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.iss.adrelc" :Utils.defaultFunction,
"ledgrp.iss.namelc" :Utils.defaultFunction,
"ledgrp.iss.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.iss.pts.adrblk" :Utils.defaultFunction,
"chaadv" :Utils.defaultFunction,
"ledgrp.drw.pts.extkey" :Utils.defaultFunction,
"ledgrp.drw.adrelc" :Utils.defaultFunction,
"ledgrp.drw.namelc" :Utils.defaultFunction,
"ledgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.cbs.max.cur" :Utils.defaultFunction,
"ledgrp.rec.shptrss18" :Utils.defaultFunction,
"ledgrp.rec.shptrs" :Utils.defaultFunction,
"ledgrp.rec.expdat" :Utils.defaultFunction,
"ledgrp.apb.adrelc" :Utils.defaultFunction,
"ledgrp.apb.namelc" :Utils.defaultFunction,
"ledgrp.apb.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.rec.advdat" :Utils.defaultFunction,
"ledgrp.rec.spcrcbflg" :Utils.defaultFunction,
"ledgrp.rec.spcbenflg" :Utils.defaultFunction,
"ledgrp.drw.pts.adrblk" :Utils.defaultFunction,
"ledgrp.ben.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
}
//你可以添加自动default处理
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="18">
<el-form-item label="初审的不符点" prop="bedgrp.blk.intdis">
<c-input
type="textarea"
:rows="5"
v-model="model.bedgrp.blk.intdis"
maxlength="65"
show-word-limit
placeholder="请输入初审的不符点"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-col> &nbsp; </c-col>
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onIntdisButtxmsel"
>
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="不符点描述" prop="bedgrp.blk.docdis">
<c-checkbox v-model="model.bedgrp.blk.docdisflg"
>是否录入不符点</c-checkbox
>
<c-input
type="textarea"
:rows="5"
v-model="model.bedgrp.blk.docdis"
:disabled="model.bedgrp.blk.docdisflg ? false : true"
maxlength="50"
show-word-limit
placeholder="请输入不符点描述"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onDocdisButtxmsel"
>
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="拒付理由" prop="bedgrp.blk.docins">
<c-input
type="textarea"
:rows="3"
v-model="model.bedgrp.blk.docins"
maxlength="35"
show-word-limit
placeholder="请输入拒付理由"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-col> &nbsp; </c-col>
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onResrejButtxmsel"
>
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="18">
<el-form-item label="单据处理说明" prop="bedgrp.blk.disdoc">
<c-input
type="textarea"
:rows="3"
v-model="model.bedgrp.blk.disdoc"
maxlength="35"
show-word-limit
placeholder="请输入单据处理说明"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-col> &nbsp; </c-col>
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onDisdocButtxmsel"
>
...
</c-button>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="">
<c-checkbox v-model="model.rejpenins">是否保留单据</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="18">
<c-istream-table :list="model.betp.docgrdm.docgrd" :columns="columns"> -->
</c-istream-table>
</c-col>
<!-- <c-col :span="12">
<span
v-text="model.betp.docgrdm.docdsclab"
data-path=".betp.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/Betdcr/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
columns: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 200'],
};
},
methods: {
...Event,
changed(e) {
if (!e) {
this.model.bedgrp.blk.docdis = "";
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betdcr/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButapy">
确定
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="减少的金额" prop="setmod.redamt">
<c-input v-model="model.setmod.redamt" placeholder="请输入减少的金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="减少后的结算金额" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" placeholder="请输入减少后的结算金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="注释" prop="setmod.redamttxt">
<c-input type="textarea" v-model="model.setmod.redamttxt" maxlength="35" show-word-limit placeholder="请输入注释" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
取消
</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/Betdcr/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betdcr/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="19">
<c-col>
<el-form-item label="接收的文件">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.filrecv"
placeholder="请输入接收的文件"
:rows="10"
></c-input>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="文件列表">
<c-input
type="textarea"
:rows="10"
v-model="model.trnmod.trndoc.doctrestm"
placeholder="请输入文件列表"
></c-input>
</el-form-item> </c-col
></c-col>
<c-col :offset="1" :span="4">
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButshw">
出示
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButadd">
详情
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButnew">
新增
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button
size="small"
type="primary"
@click="onTrndocButattto"
disabled
>
附加
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button type="primary" size="small" @click="onTrndocButdel" disabled>
删除
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButatt" disabled>
附加
</c-button>
</c-col>
</c-col>
<c-col :offset="8" :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">展示来报信息</c-checkbox>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwout">展示发报信息</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/Betdcr/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betdcr/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betdcr/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-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betdcr/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="出口信用证单据电提不符点">
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000009 -->
<el-tab-pane label="明细" name="betdcrs">
<c-content>
<m-betdcrs :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000026 -->
<el-tab-pane label="概况" name="betdcrd">
<c-content>
<m-betdcrd :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000020 -->
<el-tab-pane label="信用证详情" name="detp">
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Betdcr from "~/model/Betdcr";
import CommonProcess from "~/mixin/CommonProcess";
import Check from "~/model/Betdcr/Check";
import Default from "~/model/Betdcr/Default";
import Pattern from "~/model/Betdcr/Pattern";
import Betdcrd from "./Betdcrd";
//import Engp from "./Engp"
import Detp from "./Detp";
//import Setpan from "./Setpan"
//import Glepan from "./Glepan"
//import Coninfp from "./Coninfp"
//import Docpan from "./Docpan"
import Doctre from "./Doctre";
import Betdcrs from "./Betdcrs";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
export default {
components: {
"m-betdcrd": Betdcrd,
"m-engp": Engp,
"m-detp": Detp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-betdcrs": Betdcrs,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "betdcrs",
trnName: "betdcr",
model: new Betdcr().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入betdcr交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betdrv/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButapy">
确定
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="减少的金额" prop="setmod.redamt">
<c-input v-model="model.setmod.redamt" placeholder="请输入减少的金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="减少后的结算金额" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" placeholder="请输入减少后的结算金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="注释" prop="setmod.redamttxt">
<c-input type="textarea" v-model="model.setmod.redamttxt" maxlength="35" show-word-limit placeholder="请输入注释" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onMtdbutButcan">
取消
</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/Betdrv/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betdrv/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="19">
<c-col>
<el-form-item label="接收的文件">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.filrecv"
placeholder="请输入接收的文件"
:rows="10"
></c-input>
</el-form-item>
</c-col>
<c-col>
<el-form-item label="文件列表">
<c-input
type="textarea"
:rows="10"
v-model="model.trnmod.trndoc.doctrestm"
placeholder="请输入文件列表"
></c-input>
</el-form-item> </c-col
></c-col>
<c-col :offset="1" :span="4">
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButshw">
出示
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButadd">
详情
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButnew">
新增
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button
size="small"
type="primary"
@click="onTrndocButattto"
disabled
>
附加
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button type="primary" size="small" @click="onTrndocButdel" disabled>
删除
</c-button>
</c-col>
<c-col> &nbsp; </c-col>
<c-col> &nbsp; </c-col>
<c-col>
<c-button size="small" type="primary" @click="onTrndocButatt" disabled>
附加
</c-button>
</c-col>
</c-col>
<c-col :offset="8" :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">展示来报信息</c-checkbox>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.trnmod.trndoc.shwout">展示发报信息</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/Betdrv/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="20" >
<c-checkbox v-model="model.bedgrp.blk.docdisflg">是否录入不符点</c-checkbox>
</c-col> -->
<c-col :span="18">
<el-form-item label="不符点描述" prop="bedgrp.blk.docdis">
<c-checkbox v-model="model.bedgrp.blk.docdisflg"
>是否录入不符点</c-checkbox
>
<c-input
type="textarea"
:rows="3"
v-model="model.bedgrp.blk.docdis"
maxlength="50"
show-word-limit
placeholder="请输入Discrepancies"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-col> &nbsp; </c-col>
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onDocdisButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="18">
<el-form-item label="初审的不符点" prop="bedgrp.blk.intdis">
<c-input
type="textarea"
v-model="model.bedgrp.blk.intdis"
maxlength="65"
show-word-limit
placeholder="请输入Internal Discrepancies"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onIntdisButtxmsel"
>
...
</c-button>
</c-col>
<!-- <c-col :span="22">
<el-form-item label="Payer" prop="bedgrp.rec.payrol">
<c-select v-model="model.bedgrp.rec.payrol" style="width:100%" placeholder="请选择Payer">
</c-select>
</el-form-item>
</c-col> -->
<!-- <c-col :span="22">
<el-form-item label="参考号" prop="bedgrp.oth.pts.ref">
<c-input v-model="model.bedgrp.oth.pts.ref" maxlength="16" placeholder="请输入参考号"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="18">
<el-form-item label="对交易的注释和结论" prop="bedgrp.blk.comcon">
<c-input
type="textarea"
v-model="model.bedgrp.blk.comcon"
maxlength="65"
show-word-limit
placeholder="请输入Comments and Conclusions"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onComconButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="18">
<el-form-item label="结算指示" prop="bedgrp.blk.setinsbe">
<c-input
type="textarea"
v-model="model.bedgrp.blk.setinsbe"
maxlength="65"
show-word-limit
placeholder="请输入Settlement Instructions transaction field"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onSetinstxmButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="11">
<c-istream-table :list="model.betp.docgrdm.docgrd" :columns="columns">
</c-istream-table>
</c-col>
<!-- <c-col :span="22">
<span v-text="model.betp.docgrdm.docdsclab" data-path=".betp.docgrdm.docdsclab" > </span>
</c-col> -->
<c-col :span="12" :offset="1">
<c-col :span="20">
<el-form-item label="远期处理" prop="betp.folwupopt">
<c-select
v-model="model.betp.folwupopt"
style="width: 100%"
placeholder="请选择远期处理"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="20">
<c-ptap
:model="model"
:argadr="{
title: '付款人',
grp: 'bedgrp',
rol: 'oth',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAplpDet"
>
</c-ptap>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betdrv/Event";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
columns: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 200'],
};
},
methods: { ...Event },
created: function () {
this.model.bedgrp.blk.docdis = "";
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betdrv/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betdrv/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-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Betdrv/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="出口信用证单据修改">
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane label="明细" name="drv">
<c-content>
<m-drv :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000073 -->
<el-tab-pane label="单据/不符点/指示" name="dscins" v-if="model.bedgrp.rec.dscinsflg">
<c-content>
<m-dscins :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="或有" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000020 -->
<el-tab-pane label="信用证详情" name="detp">
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Betdrv from "~/model/Betdrv";
import CommonProcess from "~/mixin/CommonProcess";
import Check from "~/model/Betdrv/Check";
import Default from "~/model/Betdrv/Default";
import Pattern from "~/model/Betdrv/Pattern";
import Drv from "./Drv";
import Dscins from "./Dscins";
//import Engp from "./Engp"
import Detp from "./Detp";
//import Setpan from "./Setpan"
//import Glepan from "./Glepan"
//import Coninfp from "./Coninfp"
//import Docpan from "./Docpan"
import Doctre from "./Doctre";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
export default {
components: {
"m-drv": Drv,
"m-dscins": Dscins,
"m-engp": Engp,
"m-detp": Detp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "drv",
trnName: "betdrv",
model: new Betdrv().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入betdrv交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
......@@ -115,6 +115,8 @@ import ExamRule from "./ExamRule";
import Gitsel from "./Gitsel"
import Gitset from "./Gitset"
import Gitcrq from "./Gitcrq"
import Betdcr from "./Betdcr"
import Betdrv from "./Betdrv"
import Ditdav from "./Ditdav"
import Infpty from "./Infpty"
......@@ -250,6 +252,8 @@ const BusRouter = [
{ path: 'ditdav', component: Ditdav, name: 'Ditdav', meta: { title: '信用证收单' } },
{ path: 'Infpty', component: Infpty, name: 'Infpty', meta: { title: 'Infpty' } },
{ path: 'Dbipty', component: Dbipty, name: 'Dbipty', meta: { title: 'Dbipty' } },
{ path: 'betdcr', component: Betdcr, name: 'Betdcr', meta: { title: '出口信用证电提不符点/拒付' } },
{ path: 'betdrv', component: Betdrv, name: 'Betdrv', meta: { title: '出口信用证单据修改' } },
]
export default BusRouter
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Letsel from "~/model/Detsel"
import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'detsel',
model:new Letsel().data,
navcode:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub3")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode = []
this.$emit("onChoose",code.toLowerCase());
}else{
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
computed:{
codeList(){
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
this.navcode = [];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return entireItem
})
}
},
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
// onTigger()
return;
}
}
},
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
this.navcode = []
//请求按钮数据
this.model.bfdgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg0 = await this.executeRule("bfdgrp.rec.ownref");//bfdgrp_rec_ownref
if(rtnmsg0.respCode == SUCCESS){
this.updateModel(rtnmsg0.data)
let rtnmsg = await this.executeRule("cfgfil.hotreg3");//cfgfil.hotreg3
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.bfdgrp.rec.inr = rtnmsg.data.bfdgrp_rec_inr
console.log("ownref:" + this.ownref );
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
//let j = 0;
//let m = 0;
//const buttonIndex = ['国内证通知','国内证修改通知','收单']
for(let i=0; i < length; i++){
//获取数组中每行的数据
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
//isDis:'Y',
title:arr[3]
}
//添加到navcode数组中
this.navcode.splice(i,0,newList)
/*
if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
m++;
j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
if(j<0){
j = m;
}
//添加到navcode数组中
this.navcode.splice(j,0,newList)
}
*/
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
})
})
}
}
</script>
<style>
</style>
<template>
<c-content class="eibs-tab" :height="200">
<c-infsearch-group @handleSearch="onInfbutSearow" @handleReset="onInfbutClr">
<!-- 持续展示区 -->
<template slot="keepShow">
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
ref="paramsForm"
:inline="true"
label-position="right"
label-width="110px"
size="small"
>
<c-row>
<c-col :span="24">
<c-col :span="12">
......@@ -19,10 +28,10 @@
</c-col>
</c-col>
</c-row>
</template>
<!-- 可控展示区 -->
<template slot="changeShow">
<el-row v-show="searchSlot.searchToggle">
<c-row>
<c-col :span="24">
<c-col :span="12">
......@@ -136,9 +145,12 @@
</c-col>
</c-row>
</el-row>
</el-form>
</template>
</c-infsearch-group>
</c-list-search>
<!--
<c-row style="margin-top:20px; padding: 0 10px 0 10px;">
<c-col>
......@@ -198,6 +210,16 @@
详情
</c-button>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理
</c-button>
<!--
<c-button
style="margin-left: 0"
size="small"
......@@ -246,6 +268,7 @@
>
注销
</c-button>
-->
</template>
</el-table-column>
</c-istream-table>
......@@ -269,18 +292,29 @@
</c-row>
-->
</c-content>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"
>11</m-busbtn
>
</div>
</el-dialog>
</div>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infbfd/Event"
//交易跳转逻辑
import BusNavbar from "~/views/Business/Infbfd/BusNavbar";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data(){
return {
ownref: "",
......@@ -339,19 +373,53 @@ export default {
this.initdialog = true
this.ownref = ownref
console.log("ownref:" +ownref);
setTimeout(()=>{
this.$refs.childs.$emit("childmethods")
},10)
// setTimeout(()=>{
// // this.$refs.childs.$emit("childmethods")
// console.log(this)
// console.log(this.$refs)
// console.log(this.$refs.childs)
// },10)
this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
//this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
},
async onChoose(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false
},
async getDitSelInfo(idx,row){
//TD中选中行触发
var params = {selDst:"infbut.dspstm",selIds:[idx+1]}
let rtnmsg = await this.executeRule("infbut.dspstm", params);
if(rtnmsg.respCode = SUCCESS){
this.updateModel(rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params = {selDst:"infbut.dsp",selIds:[idx+1]}
let rtnmsgNew = await this.executeRule("infbut.dsp", params);
if(rtnmsgNew.respCode = SUCCESS){
console.log(rtnmsgNew);
this.updateModel(rtnmsgNew.data);
let rtnmsgOitset = await this.executeDefault("mtabut.coninf.oitset.oit");
if(rtnmsgOitset.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsgOitset.data);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this.$emit('updateShowPanel', true)
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
......
......@@ -81,6 +81,7 @@
</c-page>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infbfd from "~/model/Infbfd"
......
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Letsel from "~/model/Detsel"
import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'detsel',
model:new Letsel().data,
navcode:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode = []
this.$emit("onChoose",code.toLowerCase());
}else{
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
computed:{
codeList(){
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
this.navcode = [];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return entireItem
})
}
},
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
// onTigger()
return;
}
}
},
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
this.navcode = []
//请求按钮数据
this.model.dedgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("dedgrp.rec.ownref");//dedgrp_rec_ownref
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.dedgrp.rec.inr = rtnmsg.data.dedgrp_rec_inr
console.log("ownref:" + this.ownref );
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
let j = 0;
let m = 0;
const buttonIndex = ['国内证通知','国内证修改通知','收单']
for(let i=0; i < length; i++){
//获取数组中每行的数据
if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
m++;
j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
if(j<0){
j = m;
}
//添加到navcode数组中
this.navcode.splice(j,0,newList)
}
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
})
})
}
}
</script>
<style>
</style>
<template>
<!-- Selection -->
<c-content class="eibs-tab" :height="200">
<div class="eibs-tab">
<c-infsearch-group @handleSearch="onInfbutSearow" @handleReset="onInfbutClr">
<c-list-search @form-reset="handleReset" @form-search="handleSearch">
<!-- 持续展示区 -->
<template slot="keepShow">
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
ref="paramsForm"
:inline="true"
label-position="right"
label-width="110px"
size="small"
>
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="业务编号" prop="infcon.seaownref">
......@@ -18,10 +26,9 @@
</el-form-item>
</c-col>
</c-row>
</template>
<!-- 可控展示区 -->
<template slot="changeShow">
<el-row v-show="searchSlot.searchToggle">
<c-row>
<c-col :span="11" :offset="1">
<el-form-item label="参考号" prop="infcon.searef">
......@@ -187,9 +194,10 @@
</c-col>
</c-row>
</template>
</c-infsearch-group>
</el-row>
</el-form>
</template>
</c-list-search>
<c-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" type="primary" @click="toDetopn">卖方信用证国内证通知</c-button>
</c-col>
......@@ -239,12 +247,21 @@
slot="reference"
>
详情
</c-button>
</c-button>
</el-popover>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理
</c-button>
<!--
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'], 'detame')"
>
修改通知
......@@ -256,8 +273,9 @@
@click="getButtons(scope.row['Reference'], 'detdrv')"
>
收单
</c-button>
</template>
</c-button>
-->
</template>
</el-table-column>
</c-istream-table>
</c-col>
......@@ -292,19 +310,29 @@
</template>
</el-table-column>
-->
</c-content>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"
>11</m-busbtn
>
</div>
</el-dialog>
</div>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infdet/Event"
//交易跳转逻辑
import BusNavbar from "~/views/Business/Infdet/BusNavbar";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data(){
return {
ownref: "",
......@@ -356,23 +384,49 @@ export default {
},
*/
methods:{ ...Event,
async getButtons(ownref, frm){
async getButtons(ownref){
this.initdialog = true
this.ownref = ownref
console.log("ownref:" +ownref);
// setTimeout(()=>{
// // this.$refs.childs.$emit("childmethods")
// console.log(this)
// console.log(this.$refs)
// console.log(this.$refs.childs)
// },10)
this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
setTimeout(()=>{
this.$refs.childs.$emit("childmethods")
},10)
//this.$router.history.push({ path: "/business/" + frm, query: { ownref } })
},
async onChoose(code){
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false
} ,
async getDitSelInfo(idx,row){
//TD中选中行触发
var params = {selDst:"infbut.dspstm",selIds:[idx+1]}
let rtnmsg = await this.executeRule("infbut.dspstm", params);
if(rtnmsg.respCode = SUCCESS){
this.updateModel(rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TD中点击display时触发
params = {selDst:"infbut.dsp",selIds:[idx+1]}
let rtnmsgNew = await this.executeRule("infbut.dsp", params);
if(rtnmsgNew.respCode = SUCCESS){
console.log(rtnmsgNew);
this.updateModel(rtnmsgNew.data);
let rtnmsgOitset = await this.executeDefault("mtabut.coninf.oitset.oit");
if(rtnmsgOitset.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsgOitset.data);
}
}
}
//触发父组件中updateShowPanel 事件,修改index中showPanel ,控制 index中组件的显示和隐藏
this.$emit('updateShowPanel', true)
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
......@@ -400,10 +454,8 @@ export default {
},
created:function(){
}
}
created:function(){},
};
</script>
<style>
......
......@@ -37,14 +37,17 @@
-->
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<!--PD000006 -->
<!--
<el-tab-pane label="查詢界面" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
-->
<c-content>
<m-infsea v-show="!showPanel" @updateShowPanel="updateShowPanel($event)" :model="model" :codes="codes" ref="infsea"/>
</c-content>
<c-tabs v-model="tabVal" v-show="showPanel" ref="elment" type="card" @tab-click="tabClick">
<!--PD000017 -->
<el-tab-pane label="内容" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
......@@ -131,11 +134,21 @@
-->
</c-tabs>
</el-form>
<c-button
v-show="showPanel"
style="margin-left: 75%;bottom: 10%;position:sticky"
size="small"
@click="goBack()">
<!-- @click="getDitSelInfo(scope.$index, scope.row)" -->
返回
</c-button>
</div>
</c-page>
</template>
<script>
import Utils from "~/utils/index";
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infdet from "~/model/Infdet"
......@@ -164,6 +177,7 @@ import Stament from "./Stament"
export default {
name: "Infdet",
components:{
"m-infsea" : Infsea,
"m-ovwp" : Ovwp,
......@@ -192,20 +206,55 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infsea",
tabVal: "",
trnName: "infdet",
model: new Infdet().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
showPanel:false,
rules: null,
codes: {...CodeTable},
showflg: true,
};
},
methods:{
tabClick(){
}
tabClick(tab){
const name = tab.name
let rulePath;
if (name === "fepinfp") {
rulePath = "infcon.fepinfp";
}
if (name === "coninfp") {
rulePath = "coninf.coninfp";
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
})
}
},
initPanel(val){
if(val){
this.tabVal = "ovwp"
//
}else{
this.tabVal = ""
}
},
async updateShowPanel(value) {
this.showPanel = value;
this.initPanel(value);
},
goBack(){
this.showPanel = false;
},
},
created:async function(){
console.log("进入infdet交易");
......@@ -213,15 +262,20 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$refs.infsea.handleSearch();
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
watch:{
}
}
</script>
<style>
<style scoped>
</style>
<template>
<div class="eibs-tab">
<c-col :span="19">
<el-form-item label="附加条件" prop="ledgrp.blk.adlcnd">
<c-input
type="textarea"
:rows="16"
v-model="model.ledgrp.blk.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入Additional Conditions"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="2" class="letopn_dogp_button">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onAdlcndButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="24" class="letopn_adcp_cheak">
<c-checkbox v-model="model.ledgrp.rec.spcbenflg">
受益人特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="24" class="letopn_adcp_cheak">
<c-checkbox v-model="model.ledgrp.rec.spcrcbflg">
收款银行特殊付款条款</c-checkbox
>
</c-col>
<c-col :span="24" class="letopn_adcp_cheak">
<c-checkbox v-model="model.ledgrp.rec.redclsflg">
红、绿条款选项
</c-checkbox>
</c-col>
<c-col :span="19">
<el-form-item label="付款、承兑、议付银行指示" prop="ledgrp.blk.insbnk">
<c-input
type="textarea"
:rows="4"
v-model="model.ledgrp.blk.insbnk"
maxlength="65"
show-word-limit
placeholder="付款、承兑、议付银行指示"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" class="letopn_dogp_button">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onInsbnkButtxmsel"
>
...
</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/Letnot/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
.letopn_adcp_cheak {
margin: 0px 0 10px 150px;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span
v-text="model.mtabut.coninf.oitinf.labinftxt"
data-path=".mtabut.coninf.oitinf.labinftxt"
>
</span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitinf.oit.inftxt"
maxlength="60"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Infotext Level"
prop="mtabut.coninf.oitinf.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitinf.oit.inflev"
style="width: 100%"
placeholder="请选择Infotext Level"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span
v-text="model.mtabut.coninf.oitset.labinftxt"
data-path=".mtabut.coninf.oitset.labinftxt"
>
</span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitset.oit.inftxt"
maxlength="60"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Infotext Level"
prop="mtabut.coninf.oitset.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
style="width: 100%"
placeholder="请选择Infotext Level"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 100%"
placeholder="请选择执行日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letnot/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-row>
<c-col :span="11">
<!-- Available with -->
<c-col :span="24">
<el-form-item label="指定银行" prop="ledgrp.rec.avbwth">
<c-select
v-model="model.ledgrp.rec.avbwth"
style="width: 100%"
placeholder="请选择指定银行"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '指定银行',
grp: 'ledgrp',
rol: 'avb',
}"
:noRef="true"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="名称地址" prop="ledgrp.blk.avbwthtxt">
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.blk.avbwthtxt"
maxlength="35"
show-word-limit
placeholder="请输入名称地址"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.avb.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.avb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="兑付方式" prop="ledgrp.rec.avbby">
<c-select
v-model="model.ledgrp.rec.avbby"
style="width: 100%"
placeholder="请选择兑付方式"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限描述" prop="ledgrp.blk.defdet">
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.blk.defdet"
maxlength="35"
show-word-limit
placeholder="请输入期限描述"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="汇票期限" prop="ledgrp.blk.dftat">
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.blk.dftat"
maxlength="35"
show-word-limit
placeholder="请输入汇票期限"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '汇票申请人',
grp: 'ledgrp',
rol: 'drw',
}"
:noRef="true"
@onSeainf="onSeainf"
@onAplpDet="onDrwpDet"
>
</c-ptap>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="最大金额详情" prop="ledgrp.blk.mixdet">
<c-input
type="textarea"
:rows="4"
v-model="model.ledgrp.blk.mixdet"
maxlength="35"
show-word-limit
placeholder="请输入最大金额详情"
></c-input>
</el-form-item>
</c-col>
<!-- Days of presentation period -->
<c-col :span="24">
<el-form-item label="交单期天数" prop="ledgrp.rec.prepers18">
<c-input
v-model="model.ledgrp.rec.prepers18"
placeholder="请输入交单期天数"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单期" prop="ledgrp.blk.preper">
<c-input
type="textarea"
v-model="model.ledgrp.blk.preper"
maxlength="35"
show-word-limit
placeholder="请输入交单期"
></c-input>
</el-form-item>
</c-col>
<!-- Additional Details to Code for Charges CHATO -->
<c-col :span="24">
<el-form-item label="附加收费详情" prop="ledgrp.blk.feetxt">
<c-input
type="textarea"
:rows="6"
v-model="model.ledgrp.blk.feetxt"
maxlength="35"
show-word-limit
placeholder="请输入附加收费详情"
></c-input>
</el-form-item>
</c-col>
<!-- Own Charges Borne by -->
<c-col :span="18">
<el-form-item label="自行承担费用" prop="ledgrp.rec.chato">
<c-select
v-model="model.ledgrp.rec.chato"
style="width: 100%"
placeholder="请选择"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="国家统计代码" prop="ledgrp.rec.stacty">
<c-select
v-model="model.ledgrp.rec.stacty"
style="width: 100%"
placeholder="请选择国家统计代码"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="兑付最高期限" prop="ledgrp.rec.tenmaxday">
<c-input
v-model="model.ledgrp.rec.tenmaxday"
placeholder="请输入兑付最高期限"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-row>
<!-- Dispatch from -->
<c-col :span="11">
<el-form-item label="转运" prop="ledgrp.rec.shpfro">
<c-input
type="textarea"
:rows="3"
show-word-limit
v-model="model.ledgrp.rec.shpfro"
maxlength="65"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="货物装运地(港)" prop="ledgrp.rec.porloa">
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.rec.porloa"
maxlength="65"
show-word-limit
placeholder="请输入货物装运地(港)"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="航空/目的港" prop="ledgrp.rec.pordis">
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.rec.pordis"
maxlength="65"
show-word-limit
placeholder="航空/目的港"
></c-input>
</el-form-item>
</c-col>
<!-- Final Destination -->
<c-col :span="11" :offset="1">
<el-form-item label="货物目的地、交货地(港)" prop="ledgrp.rec.shpto">
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.rec.shpto"
maxlength="65"
show-word-limit
placeholder="货物目的地、交货地(港)"
></c-input>
</el-form-item>
</c-col>
<!-- Shipment Period -->
<c-col :span="11">
<el-form-item label="发货期" prop="ledgrp.blk.shpper">
<c-input
type="textarea"
:rows="3"
v-model="model.ledgrp.blk.shpper"
maxlength="65"
show-word-limit
placeholder="请输入发货期"
></c-input>
</el-form-item>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letnot/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
watch: {
"model.ledgrp.avb.pts.adrblk": {
handler(val, oldVal) {
this.model.ledgrp.blk.avbwthtxt = val;
},
immediate: true,
},
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span
v-text="model.trnmod.trndoc.advlabel"
data-path=".trnmod.trndoc.advlabel"
>
</span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input
v-model="model.trnmod.trndoc.advnam"
maxlength="50"
placeholder="请输入国内证落款"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.amdapl"
maxlength="50"
show-word-limit
placeholder="请输入修改申请人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span
v-text="model.trnmod.trndoc.amdnam"
data-path=".trnmod.trndoc.amdnam"
>
</span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input
v-model="model.trnmod.trndoc.advdoc"
maxlength="1"
placeholder="请输入国内证通知书"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letnot/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="19">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.filrecv"
placeholder="请输入File Receiver"
maxlength="2000"
:rows="10"
></c-input>
</el-form-item>
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input
type="textarea"
v-model="model.trnmod.trndoc.doctrestm"
placeholder="请输入Document tree"
maxlength="2000"
:rows="10"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<!-- <c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button> -->
</c-col>
<c-col :span="12">
<span
v-text="model.trnmod.trndoc.doclbl"
data-path=".trnmod.trndoc.doclbl"
>
</span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc"
>Show Incoming Messages</c-checkbox
>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout"
>Show Outgoing Messages</c-checkbox
>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input
v-model="model.trnmod.trndoc.condocstm"
placeholder="请输入Connected Documents"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="待定待定" prop="trnmod.trndoc.rcvatt.seainf">
<c-input
v-model="model.trnmod.trndoc.rcvatt.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letnot/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="19">
<el-form-item label="Description of Goods" prop="ledgrp.blk.lcrgod">
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrgod"
:rows="20"
maxlength="2000"
show-word-limit
placeholder="请输入Description of Goods"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2" class="letopn_dogp_button">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onLcrgodButtxmsel"
>
...
</c-button>
</c-col>
<br />
<c-col :span="12">
<el-form-item label="Goods Code " prop="ledgrp.rec.stagod">
<c-select
v-model="model.ledgrp.rec.stagod"
style="width: 100%"
placeholder="请选择Goods Code "
>
</c-select>
</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/Letnot/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
.letopn_dogp_button {
margin: 20px 0 0 -10px;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="19">
<el-form-item label="Documents Required" prop="ledgrp.blk.lcrdoc">
<c-input
type="textarea"
v-model="model.ledgrp.blk.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required"
:rows="10"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onLcrdocButtxmsel"
>
...
</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/Letnot/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="19">
<el-form-item label="Narrative to" prop="chaadv">
<c-input
type="textarea"
v-model="model.chaadv"
maxlength="50"
show-word-limit
placeholder="请输入Narrative to"
:rows="10"
></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/Letnot/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<c-row>
<c-col :span="11">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '第一通知行',
grp: 'ledgrp',
rol: 'adv',
}"
@onSeainf="onSeainf"
@onAplpDet="onAdvpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人银行',
grp: 'ledgrp',
rol: 'a2b',
}"
@onSeainf="onSeainf"
@onAplpDet="onA2bpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="第二通知行确认指令" prop="ledgrp.rec.cnfins">
<c-select
v-model="model.ledgrp.rec.cnfins"
style="width: 100%"
placeholder="第二通知行确认指令"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人银行',
grp: 'ledgrp',
rol: 'apb',
}"
@onSeainf="onSeainf"
@onAplpDet="onApbpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '偿付银行',
grp: 'ledgrp',
rol: 'rmb',
}"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '第二通知行',
grp: 'ledgrp',
rol: 'con',
}"
:onlySearch="true"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="第二通知行名称" prop="ledgrp.con.pts.nam">
<c-input
v-model="model.ledgrp.con.pts.nam"
maxlength="40"
placeholder="请输入第二通知行名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
>详情</el-button
>
</template>
</el-table-column>
</c-edit-table>
</c-row>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Ptap from "~/views/Public/Ptap";
import Event from "~/model/Letopn/Event";
export default {
inject: ["root"],
components: { "c-ptap": Ptap },
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
ptsaddg: {
columns: [
{
title: "角色",
width: "120px",
dataIndex: "rol",
show: "select",
},
{
title: "机构实体",
width: "180px",
dataIndex: "ptyextkey",
show: "input",
},
{
title: "名称",
width: "300px",
dataIndex: "nam",
},
{
title: "参考地址",
width: "300px",
dataIndex: "ref",
},
],
urls: "letp.ptsaddp.ptsaddg",
},
};
},
methods: {
...Event,
handleEdit() {
console.log("1111测试");
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg"> </span>
</c-col>
<c-col :span="12">
<el-form-item label="自区主号" prop="setmod.zmqacc">
<c-input
v-model="model.setmod.zmqacc"
maxlength="20"
placeholder="请输入自区主号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab">
</span>
</c-col>
<c-col :span="12">
<span
v-text="model.setmod.setglg.labdspflg"
data-path=".setmod.setglg.labdspflg"
>
</span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letnot/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<c-page title="出口信用证通知">
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="left"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000017 -->
<el-tab-pane label="内容" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000063 -->
<el-tab-pane label="信用证详情" name="detp">
<c-content>
<m-detp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000042 -->
<el-tab-pane label="银行信息" name="ptyp">
<c-content>
<m-ptyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000055 -->
<el-tab-pane label="货物说明" name="dogp">
<m-dogp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000057 -->
<el-tab-pane label="单据要求" name="dorp">
<m-dorp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000060 -->
<el-tab-pane label="其他条款" name="adcp">
<c-content>
<m-adcp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000015 -->
<el-tab-pane label="PD000015" name="notcha">
<m-notcha :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000020 -->
<!-- <el-tab-pane label="信用证详情" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<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" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
<c-bus-button :$pntvm="this"></c-bus-button>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Letnot from "~/model/Letnot";
import CommonProcess from "~/mixin/CommonProcess";
import Check from "~/model/Letnot/Check";
import Default from "~/model/Letnot/Default";
import Pattern from "~/model/Letnot/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dogp from "./Dogp";
import Dorp from "./Dorp";
import Adcp from "./Adcp";
import Notcha from "./Notcha";
// import Detp from "./Detp";
// import Setpan from "./Setpan";
// import Coninfp from "./Coninfp";
// import Docpan from "./Docpan";
import Doctre from "./Doctre";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
export default {
name: "Letnot",
components: {
"m-ovwp": Ovwp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dogp": Dogp,
"m-dorp": Dorp,
"m-adcp": Adcp,
"m-notcha": Notcha,
// "m-detp": Detp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "letnot",
model: new Letnot().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
tabClick() {},
},
created: async function () {
console.log("进入letnot交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment