Commit e8376346 by liuxin
parents d2d68f8f 8c5b8e38
......@@ -6041,7 +6041,19 @@ const CodeTable = {
{label:"对私中国居民" ,value:"D"},
{label:"对私中国非居民" ,value:"F"},
],
adrsta:[
{label:"Downloaded",value:"D"},
{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
import Utils from "~/utils"
/**
* Dbipty Check规则
*/
let checkObj = {
"recgrp.rec.hbkaccflg" :null,
"recgrp.hbk.extkey" :null,
"recgrp.rec.idcode" :null,
"recgrp.ptamaa.issbchinf" :null,
"recgrp.rec.heqaccflg" :null,
"recgrp.heq.extkey" :null,
"recgrp.rec.trnman" :null,
"recgrp.rec.extkey" :null,
"recpan.bchkey" :null,
"recpan.epty.juscod" :null,
"recgrp.rec.juscod" :null,
"recpan.epty.ptynam" :null,
"recgrp.rec.bngcod" :null,
"recgrp.rec.idtype" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbipty Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recpan.ratstm" :Utils.defaultFunction,
"recgrp.hbk.extkey" :Utils.defaultFunction,
"recgrp.rec.extkey" :Utils.defaultFunction,
"recgrp.ptyrat.buytyp" :Utils.defaultFunction,
"recgrp.typh" :Utils.defaultFunction,
"recgrp.typo" :Utils.defaultFunction,
"recgrp.typc" :Utils.defaultFunction,
"recgrp.typa" :Utils.defaultFunction,
"recgrp.typb" :Utils.defaultFunction,
"recpan.bchkey" :Utils.defaultFunction,
"recgrp.adrmaa.tid" :Utils.defaultFunction,
"recgrp.rec.nam" :Utils.defaultFunction,
"recgrp.ptyrat.cur" :Utils.defaultFunction,
"recpan.ptyinf.oit.inftxt" :Utils.defaultFunction,
"recpan.ptyinf.oit.inflev" :Utils.defaultFunction,
"recgrp.adrmaa.adr2" :Utils.defaultFunction,
"recgrp.adrmaa.adr1" :Utils.defaultFunction,
"recgrp.adrmaa.adr3" :Utils.defaultFunction,
"recgrp.heq.extkey" :Utils.defaultFunction,
"recgrp.adrmaa.loctxt" :Utils.defaultFunction,
"recgrp.adrmaa.nam1" :Utils.defaultFunction,
"recgrp.rec.idtype" :Utils.defaultFunction,
"recgrp.rec.juscod" :Utils.defaultFunction,
"recpan.ptystp.oit.inftxt" :Utils.defaultFunction,
"recpan.ptystp.oit.inflev" :Utils.defaultFunction,
"recgrp.rec.nam1" :Utils.defaultFunction,
"recgrp.adrmaa.pobtxt" :Utils.defaultFunction,
"recgrp.ptyrat.seltyp" :Utils.defaultFunction,
"recgrp.ptamaa.issbchinf" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onRecpanGetpty(){
let rtnmsg = await this.executeRule("recpan.getpty")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanAltnam(){
let rtnmsg = await this.executeRule("recpan.altnam")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanGet(){
let rtnmsg = await this.executeRule("recpan.get")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanUpd(){
let rtnmsg = await this.executeRule("recpan.upd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanUpdall(){
let rtnmsg = await this.executeRule("recpan.updall")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanEcif(){
let rtnmsg = await this.executeRule("recpan.ecif")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanDspadr(){
let rtnmsg = await this.executeRule("recpan.dspadr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanLnkdbmpty(){
let rtnmsg = await this.executeRule("recpan.lnkdbmpty")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanLnkinfptm(){
let rtnmsg = await this.executeRule("recpan.lnkinfptm")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onEptyPtyget(){
let rtnmsg = await this.executeRule("epty.ptyget")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onEptyPtyext(){
let rtnmsg = await this.executeRule("epty.ptyext")
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 Dbipty{
constructor () {
this.data = {
recgrp:{
rec:{
extkey:"", // Address Number .recgrp.rec.extkey
nam:"", // Party Name .recgrp.rec.nam
adrsta:"", // Address Status .recgrp.rec.adrsta
hbkaccflg:"", // Use Accounting of House Bank .recgrp.rec.hbkaccflg
heqaccflg:"", // Use Accounting of Headquarters .recgrp.rec.heqaccflg
accusr:"", // User ID of Account Officer .recgrp.rec.accusr
nam1:"", // Chinese name .recgrp.rec.nam1
juscod:"", // 组织机构'码 .recgrp.rec.juscod
dshflg:"", // 是否电商 .recgrp.rec.dshflg
rskcls:"", // Credit Class .recgrp.rec.rskcls
rskcty:"", // Risk Country .recgrp.rec.rskcty
rsktxt:"", // Risk Description .recgrp.rec.rsktxt
sla:"", // Service Level .recgrp.rec.sla
akkcom:"", // 金融机构类型 .recgrp.rec.akkcom
cunqii:"", // 流动资金贷款利率档次 .recgrp.rec.cunqii
bilvvv:"", // 上浮比率 .recgrp.rec.bilvvv
idtype:"", // 客户类型 .recgrp.rec.idtype
idcode:"", // 身份证号码 .recgrp.rec.idcode
trnman:"", // 交易主体 .recgrp.rec.trnman
speeco:"", // 特殊经济区域 .recgrp.rec.speeco
bngcod:"", // 企业海关十位制编码 .recgrp.rec.bngcod
ecifno:"", // ECIFNO .recgrp.rec.ecifno
crmtyp:"", // 贸金客户类别 .recgrp.rec.crmtyp
ecifnam1:"", // ECIFNO中文名称 .recgrp.rec.ecifnam1
ecifjuscod:"", // 组织机构代码 .recgrp.rec.ecifjuscod
qygmgb:"", // 企业规模(国标) .recgrp.rec.qygmgb
khbsdt:"", // ocrm日期 .recgrp.rec.khbsdt
},
typb:"", // Bank .recgrp.typb
typc:"", // Client .recgrp.typc
typa:"", // Own Address .recgrp.typa
typo:"", // Other .recgrp.typo
adrmaa:{
nam1:"", // Name 1/SWIFT Line 1 .recgrp.adrmaa.nam1
nam2:"", // Name 2/SWIFT Line 2 .recgrp.adrmaa.nam2
nam3:"", // Name 3 .recgrp.adrmaa.nam3
str1:"", // Street/SWIFT Line 3 .recgrp.adrmaa.str1
str2:"", // Optional Second Line of Street .recgrp.adrmaa.str2
loczip:"", // ZIP Code/First Part of SWIFT Line 4 .recgrp.adrmaa.loczip
loctxt:"", // Textpart of City/Second Part of SWIFT Line 4 .recgrp.adrmaa.loctxt
loc2:"", // Optional Second Line of City .recgrp.adrmaa.loc2
pob:"", // Line with Postbox .recgrp.adrmaa.pob
pobzip:"", // ZIP Code Used when Addressing Postbox .recgrp.adrmaa.pobzip
pobtxt:"", // Textpart of City Used when Addressing Postbox .recgrp.adrmaa.pobtxt
loccty:"", // Country .recgrp.adrmaa.loccty
eml:"", // eMail/Internet .recgrp.adrmaa.eml
tel1:"", // Telephone 1 .recgrp.adrmaa.tel1
tel2:"", // Telephone 2 .recgrp.adrmaa.tel2
fax1:"", // Telefax 1 .recgrp.adrmaa.fax1
fax2:"", // Telefax 2 .recgrp.adrmaa.fax2
tlx:"", // Telex Number .recgrp.adrmaa.tlx
bic:"", // BIC of Address Optional .recgrp.adrmaa.bic
bid:"", // Branch Identification Used in Option B of SWIFT Fieldtags .recgrp.adrmaa.bid
tid:"", // TradeConnect ID .recgrp.adrmaa.tid
blz:"", // Bankleitzahl German Clearing Code .recgrp.adrmaa.blz
clc:"", // Clearing Code for Banks .recgrp.adrmaa.clc
uil:"", // Default Language Code .recgrp.adrmaa.uil
cortyp:"", // Primary Output Chanel of Messages SWT, LET, TLX, TCO .recgrp.adrmaa.cortyp
dpt:"", // Department .recgrp.adrmaa.dpt
adr1:"", // Chinese Address .recgrp.adrmaa.adr1
adr2:"", // .recgrp.adrmaa.adr2
adr3:"", // .recgrp.adrmaa.adr3
dtacid:"", // DTA Import L/C ID .recgrp.adrmaa.dtacid
dtecid:"", // DTA Export L/C ID .recgrp.adrmaa.dtecid
dtgcid:"", // DTA Guarantees ID .recgrp.adrmaa.dtgcid
discod:"", // 国内地区码 .recgrp.adrmaa.discod
adrelc:"", // 地址 .recgrp.adrmaa.adrelc
namelc:"", // 名称 .recgrp.adrmaa.namelc
},
hbk:{
extkey:"", // Address Number .recgrp.hbk.extkey
nam:"", // External Visible Name .recgrp.hbk.nam
},
heq:{
extkey:"", // Address Number .recgrp.heq.extkey
nam:"", // External Visible Name .recgrp.heq.nam
},
typh:"", // 海关 .recgrp.typh
ptamaa:{
issbchinf:"", // Info of bank .recgrp.ptamaa.issbchinf
},
ptyrat:{
cur:"", // Currency .recgrp.ptyrat.cur
buytyp:"", // Customer Specific Buying Rate Type .recgrp.ptyrat.buytyp
seltyp:"", // Customer Specific Selling Rate Type .recgrp.ptyrat.seltyp
buyrat:"", // Buy rate discount .recgrp.ptyrat.buyrat
selrat:"", // Sell rate discount .recgrp.ptyrat.selrat
},
},
recpan:{
recget:{
sdamod:{
seainf:"", // .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
hbkget:{
sdamod:{
seainf:"", // .recpan.hbkget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.hbkget.sdamod.dadsnd
},
},
heqget:{
sdamod:{
seainf:"", // .recpan.heqget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.heqget.sdamod.dadsnd
},
},
bchkey:"", // Branch Key .recpan.bchkey
idnam:"", // 名称 .recpan.idnam
selpct:"", // Percent .recpan.selpct
buypct:"", // Percent .recpan.buypct
ratstm:"", // Rate Stream .recpan.ratstm
ptyinf:{
labinftxt:"", // Label for INFTXT .recpan.ptyinf.labinftxt
oit:{
inftxt:"", // Infotext .recpan.ptyinf.oit.inftxt
inflev:"", // Infotext Level .recpan.ptyinf.oit.inflev
},
},
ptystp:{
labinftxt:"", // Label for INFTXT .recpan.ptystp.labinftxt
oit:{
inftxt:"", // Infotext .recpan.ptystp.oit.inftxt
inflev:"", // Infotext Level .recpan.ptystp.oit.inflev
},
},
actnum:"", // Total Number of Accounts .recpan.actnum
ptssub:{
oited2:{
labinftxt:"", // Label for INFTXT .recpan.ptssub.oited2.labinftxt
},
},
epty:{
ptynam:"", // 客户名称 .recpan.epty.ptynam
eptystream:"", // ECIF pty info .recpan.epty.eptystream
extkey:"", // 客户号 .recpan.epty.extkey
juscod:"", // 组织机构'码 .recpan.epty.juscod
whzno:"", // 外汇许可证号 .recpan.epty.whzno
},
},
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,9 +115,12 @@ 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"
import Dbipty from "./Dbipty"
/**
* 带有name的才会被添加进顶部的标签页里
......@@ -248,6 +251,9 @@ 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="eibs-tab">
<c-col :span="12">
<el-form-item label="Total Number of Accounts" prop="recpan.actnum">
<c-input v-model="model.recpan.actnum" placeholder="请输入Total Number of Accounts"></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/Dbipty/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="onRecpanDspadr">
Display
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanLnkdbmpty">
&Make Main
</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/Dbipty/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.recpan.ptssub.oited2.labinftxt" data-path=".recpan.ptssub.oited2.labinftxt" > </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/Dbipty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbipty/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="onRecpanLnkinfptm">
Info
</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/Dbipty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="客户号" prop="recpan.epty.extkey">
<c-input v-model="model.recpan.epty.extkey" maxlength="24" placeholder="请输入客户号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onEptyPtyget">
查询
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="组织机构'码" prop="recpan.epty.juscod">
<c-input v-model="model.recpan.epty.juscod" maxlength="10" placeholder="请输入组织机构'码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="外汇许可证号" prop="recpan.epty.whzno">
<c-input v-model="model.recpan.epty.whzno" maxlength="50" placeholder="请输入外汇许可证号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="客户名称" prop="recpan.epty.ptynam">
<c-input v-model="model.recpan.epty.ptynam" maxlength="100" placeholder="请输入客户名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="ECIF pty info" prop="recpan.epty.eptystream">
<c-input v-model="model.recpan.epty.eptystream" placeholder="请输入ECIF pty info"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onEptyPtyext">
&Exit
</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/Dbipty/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.recpan.ptyinf.labinftxt" data-path=".recpan.ptyinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="recpan.ptyinf.oit.inftxt">
<c-input type="textarea" v-model="model.recpan.ptyinf.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="recpan.ptyinf.oit.inflev">
<c-select v-model="model.recpan.ptyinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recpan.ptystp.labinftxt" data-path=".recpan.ptystp.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="recpan.ptystp.oit.inftxt">
<c-input type="textarea" v-model="model.recpan.ptystp.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="recpan.ptystp.oit.inflev">
<c-select v-model="model.recpan.ptystp.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</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/Dbipty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000000 -->
<el-tab-pane label="Party" name="ptyp0">
<m-ptyp0 :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000200 -->
<el-tab-pane label="Details" name="ptyp1">
<m-ptyp1 :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000700 -->
<el-tab-pane label="Info and Stoptext" name="ptytxt">
<m-ptytxt :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000044 -->
<el-tab-pane label="Accounts" name="actinf">
<m-actinf :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000038 -->
<el-tab-pane label="Contacts" name="ptcinf">
<m-ptcinf :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000369 -->
<el-tab-pane label="Additonal Addresses" name="addadrp">
<m-addadrp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000655 -->
<el-tab-pane label="Authentication of Address" name="ptmpan">
<m-ptmpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000701 -->
<el-tab-pane label="Further Info and Stoptext" name="oitp">
<m-oitp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000851 -->
<el-tab-pane label="ECIF客户信息" name="ptyp2">
<m-ptyp2 :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Dbipty from "~/model/Dbipty";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Dbipty/Check";
import Default from "~/model/Dbipty/Default";
import Pattern from "~/model/Dbipty/Pattern";
import Ptyp0 from "./Ptyp0";
import Ptyp1 from "./Ptyp1";
import Ptytxt from "./Ptytxt";
import Actinf from "./Actinf";
import Ptcinf from "./Ptcinf";
import Addadrp from "./Addadrp";
import Ptmpan from "./Ptmpan";
import Oitp from "./Oitp";
import Ptyp2 from "./Ptyp2";
export default {
name: "Dbipty",
components: {
"m-ptyp0": Ptyp0,
"m-ptyp1": Ptyp1,
"m-ptytxt": Ptytxt,
"m-actinf": Actinf,
"m-ptcinf": Ptcinf,
"m-addadrp": Addadrp,
"m-ptmpan": Ptmpan,
"m-oitp": Oitp,
"m-ptyp2": Ptyp2,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ptyp0",
trnName: "dbipty",
model: new Dbipty().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
};
},
methods: {
tabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入dbipty交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
<template>
<div class="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>
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