Commit 4481fee4 by nanrui

infbod初始化

parent 12428b3f
import Utils from "~/utils"
/**
* Infbod Check规则
*/
let checkObj = {
"bodgrp.blk.setinsbo" :null,
"bodgrp.rec.matperbeg" :null,
"bodgrp.rec.matpertyp" :null,
"bodgrp.blk.proins" :null,
"bodgrp.drr.pts.adrblk" :null,
"bodgrp.dre.adrelc" :null,
"recpan.usr.extkey" :null,
"bodgrp.col.adrelc" :null,
"bodgrp.col.pts.adrblk" :null,
"bodgrp.col.pts.extkey" :null,
"bodgrp.blk.dftins" :null,
"bodgrp.blk.delins" :null,
"infcon.seaamtto" :null,
"mtabut.coninf.conexedat" :null,
"bodgrp.col.namelc" :null,
"bodgrp.rec.stacty" :null,
"bodgrp.drr.adrelc" :null,
"bodgrp.dre.namelc" :null,
"bodgrp.blk.colins" :null,
"bodgrp.drr.namelc" :null,
"bodgrp.dre.pts.adrblk" :null,
"bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null,
"bodgrp.rec.invtyp" :null,
"bodgrp.drr.pts.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infbod Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"infcon.usr.extkey" :Utils.defaultFunction,
"bodgrp.dre.pts.adrblk" :Utils.defaultFunction,
"recpan.usr.extkey" :Utils.defaultFunction,
"infcon.trnstm" :Utils.defaultFunction,
"bodgrp.rec.doctypcod" :Utils.defaultFunction,
"bodgrp.drr.pts.extkey" :Utils.defaultFunction,
"bodgrp.drr.adrelc" :Utils.defaultFunction,
"bodgrp.drr.namelc" :Utils.defaultFunction,
"bodgrp.drr.dbfadrblkcn" :Utils.defaultFunction,
"infcon.sepdelflg" :Utils.defaultFunction,
"infcon.setflg" :Utils.defaultFunction,
"infcon.fcpdsp" :Utils.defaultFunction,
"infcon.cbctxt" :Utils.defaultFunction,
"infcon.smhdatfrom" :Utils.defaultFunction,
"infcon.smhdir" :Utils.defaultFunction,
"infcon.chktrn" :Utils.defaultFunction,
"infcon.smhdatto" :Utils.defaultFunction,
"infcon.smhcortyp" :Utils.defaultFunction,
"bodgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bodgrp.cbs.max.amt" :Utils.defaultFunction,
"bodgrp.rec.stacty" :Utils.defaultFunction,
"bodgrp.cbs.max.cur" :Utils.defaultFunction,
"bodgrp.col.pts.extkey" :Utils.defaultFunction,
"bodgrp.col.adrelc" :Utils.defaultFunction,
"bodgrp.col.namelc" :Utils.defaultFunction,
"bodgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
"bodgrp.dre.pts.extkey" :Utils.defaultFunction,
"bodgrp.dre.adrelc" :Utils.defaultFunction,
"bodgrp.dre.namelc" :Utils.defaultFunction,
"bodgrp.dre.dbfadrblkcn" :Utils.defaultFunction,
"infcon.seatrninr" :Utils.defaultFunction,
"infcon.seabucdatto" :Utils.defaultFunction,
"infcon.seabucdatfro" :Utils.defaultFunction,
"bodgrp.rec.resflg" :Utils.defaultFunction,
"infcon.sptcor" :Utils.defaultFunction,
"infcon.sptreg" :Utils.defaultFunction,
"infcon.sptdel" :Utils.defaultFunction,
"infcon.sptinc" :Utils.defaultFunction,
"infcon.sptpen" :Utils.defaultFunction,
"bodgrp.rec.focflg" :Utils.defaultFunction,
"bodgrp.rec.predat" :Utils.defaultFunction,
"infcon.chksubcon" :Utils.defaultFunction,
"infcon.chktrnsta" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"infcon.fepfeecod" :Utils.defaultFunction,
"infcon.fepdsp" :Utils.defaultFunction,
"bodgrp.col.pts.adrblk" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"infcon.diasta" :Utils.defaultFunction,
"infcon.diadatfrom" :Utils.defaultFunction,
"infcon.diadatto" :Utils.defaultFunction,
"bodgrp.rec.nam" :Utils.defaultFunction,
"bodgrp.rec.shpdat" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"infcon.ordstm" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onInfbutSearow() {
let rtnmsg = await this.executeRule("infbut.searow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutDsp() {
let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutUserow() {
let rtnmsg = await this.executeRule("infbut.userow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut.clr")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutButprt() {
let rtnmsg = await this.executeRule("infbut.butprt")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutExi() {
let rtnmsg = await this.executeRule("infbut.exi")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onRecpanButgetref() {
let rtnmsg = await this.executeRule("recpan.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDrrpDet() {
let rtnmsg = await this.executeRule("drrp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onColpDet() {
let rtnmsg = await this.executeRule("colp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDrepDet() {
let rtnmsg = await this.executeRule("drep.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetinsButtxmsel() {
let rtnmsg = await this.executeRule("setins.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onColinsButtxmsel() {
let rtnmsg = await this.executeRule("colins.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onDftinsButtxmsel() {
let rtnmsg = await this.executeRule("dftins.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onProinsButtxmsel() {
let rtnmsg = await this.executeRule("proins.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onOthins1Buttxmsel() {
let rtnmsg = await this.executeRule("othins1.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onWhinsButtxmsel() {
let rtnmsg = await this.executeRule("whins.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshw() {
let rtnmsg = await this.executeRule("infcon.butshw")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshword() {
let rtnmsg = await this.executeRule("infcon.butshword")
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.updateModel(rtnmsg.data);
// this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async handleReset() {
},
}
\ No newline at end of file
export default {
"infcon.seaownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.searef":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"infcon.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.pty.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infcon.seapty":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"infcon.opndatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.opndatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"infcon.seaamtfr":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infcon.seaamtto":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.drr.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"recpan.drrp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.drr.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.drrp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.drr.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bodgrp.drr.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.drr.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.drr.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.col.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.colp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.col.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.colp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.col.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.col.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.rec.matpercnt":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.rec.paydocnum":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.col.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.rec.issdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bodgrp.blk.bogdet":[
{type: "string", required: true, message: "必输项"},
{max: 43,message:"长度不能超过43"}
],
"bodgrp.dre.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.blk.cctinsrcv":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recpan.drep.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bodgrp.dre.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.drep.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bodgrp.dre.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.dre.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.blk.cctinscol":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.blk.dftins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.intins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.setinsbo":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.agtaut":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.rec.shpfro":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.rec.shpto":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bodgrp.blk.goddes":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.colins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.chgtxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bodgrp.blk.proins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.blk.othins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"bodgrp.rec.lescom":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"bodgrp.blk.delins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
// "infcon.trnstm":[
// {type: "string", required: false, message: "必输项"},
// {max: 1,message:"长度不能超过1"}
// ],
"infcon.cbbstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.cbestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.fepstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.fcpstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.sepstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.seabucdatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.seabucdatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.seatrninr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"infcon.glestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.smhdatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.smhdatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.smhstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.sptstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.diadatfrom":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.diadatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"infcon.diastm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"infcon.liastm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"prtpanblk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"infcon.ordstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Infbod{
constructor () {
this.data = {
infcon:{
seaownref:"", // Own Reference .infcon.seaownref
nam:"", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef
pty:{
extkey:"", // Select Single Party .infcon.pty.extkey
nam:"", // External Visible Name .infcon.pty.nam
},
seapty:"", // Party Name/BIC .infcon.seapty
searol:"", // Role .infcon.searol
opndatfrom:"", // Opening between .infcon.opndatfrom
opndatto:"", // Open Date to .infcon.opndatto
usr:{
extkey:"", // User ID .infcon.usr.extkey
},
seasta:"", // Status .infcon.seasta
seacur:"", // Currency .infcon.seacur
seaamtfr:"", // Amount between .infcon.seaamtfr
seaamtto:"", // Amount to .infcon.seaamtto
relflg:"", // Release Status .infcon.relflg
cxmflg:"", // 是否显示查询码 .infcon.cxmflg
hndtyp:"", // Handling Type .infcon.hndtyp
chksubcon:"", // incl. all subcontracts .infcon.chksubcon
chktrnsta:"", // only active transactions .infcon.chktrnsta
trnstm:"", // stream for TRN to selected contract .infcon.trnstm
cbctxt:"", // CBS Column .infcon.cbctxt
cbbstm:"", // stream of CBBs .infcon.cbbstm
cbestm:"", // stream of CBEs .infcon.cbestm
feptxtlbl:"", // label used on FEP-Panel .infcon.feptxtlbl
fcptxtlbl:"", // Text label used on FCP-panel .infcon.fcptxtlbl
fepfeecod:"", // Fee Code .infcon.fepfeecod
fepdsp:"", // Disposition .infcon.fepdsp
fepstm:"", // stream for FEPs to selected contract .infcon.fepstm
fcpstm:"", // stream of foreign charges .infcon.fcpstm
fcpdsp:"", // Disposition .infcon.fcpdsp
setflg:"", // show temporary settlement that already settled .infcon.setflg
sepdelflg:"", // show temporary settlement that already deleted .infcon.sepdelflg
sepstm:"", // stream of SEPs .infcon.sepstm
seabucdatfro:"", // Booking date from .infcon.seabucdatfro
seabucdatto:"", // Booking date till used on GLEINFP .infcon.seabucdatto
seatrninr:"", // Transaction INR .infcon.seatrninr
glestm:"", // Stream of GLEs .infcon.glestm
smhcortyp:"", // Type of Document .infcon.smhcortyp
smhdatfrom:"", // Created between .infcon.smhdatfrom
smhdatto:"", // created till .infcon.smhdatto
smhdir:"", // Direction .infcon.smhdir
chktrn:"", // Active only .infcon.chktrn
smhstm:"", // stream of documents to selected contract .infcon.smhstm
sptinc:"", // Incoming .infcon.sptinc
sptreg:"", // Registered .infcon.sptreg
sptpen:"", // Pending .infcon.sptpen
sptcor:"", // Correction .infcon.sptcor
sptdel:"", // Deleted .infcon.sptdel
sptstm:"", // stream for SPT to selected contract .infcon.sptstm
diadatfrom:"", // Date from .infcon.diadatfrom
diadatto:"", // date till .infcon.diadatto
diasta:"", // Status .infcon.diasta
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:"", // Payment Condition .seadoctypcod
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
bodgrp:{
rec:{
matpertyp:"", // Days/Months or Years for Maturity Period .bodgrp.rec.matpertyp
ownref:"", // Reference .bodgrp.rec.ownref
nam:"", // Name .bodgrp.rec.nam
dircolflg:"", // Direct Collection .bodgrp.rec.dircolflg
resflg:"", // Reservated Contract .bodgrp.rec.resflg
rcvdat:"", // Order Date .bodgrp.rec.rcvdat
shpdat:"", // Shipment date .bodgrp.rec.shpdat
predat:"", // Presentation Date .bodgrp.rec.predat
advdat:"", // Dispatched on .bodgrp.rec.advdat
doctypcod:"", // Collection Condition .bodgrp.rec.doctypcod
matdat:"", // Maturity Date .bodgrp.rec.matdat
matpercnt:"", // Tenor Specification .bodgrp.rec.matpercnt
matperbeg:"", // Starting from .bodgrp.rec.matperbeg
stacty:"", // Country Code Risk Country! .bodgrp.rec.stacty
stagod:"", // Goods Code .bodgrp.rec.stagod
invtyp:"", // Maturity Date .bodgrp.rec.invtyp
paydoctyp:"", // Financial Document .bodgrp.rec.paydoctyp
paydocnum:"", // Document Number .bodgrp.rec.paydocnum
issdat:"", // Issued on .bodgrp.rec.issdat
ccdndrflg:"", // Truncation - Physical Document Kept w OWN .bodgrp.rec.ccdndrflg
ccdpurflg:"", // Payment Under Reserve .bodgrp.rec.ccdpurflg
shpfro:"", // Shipment from .bodgrp.rec.shpfro
shpto:"", // For Transportation to .bodgrp.rec.shpto
chato:"", // Our Charges to .bodgrp.rec.chato
focflg:"", // Free of Payment .bodgrp.rec.focflg
waicolcod:"", // Protest Instructions .bodgrp.rec.waicolcod
wairmtcod:"", // Waive Remitting Bank Charges .bodgrp.rec.wairmtcod
othins:"", // Defer Payment until .bodgrp.rec.othins
lescom:"", // Warehouse/Insurance .bodgrp.rec.lescom
},
cbs:{
max:{
cur:"", // Document Amount .bodgrp.cbs.max.cur
amt:"", // Document Amount .bodgrp.cbs.max.amt
},
opn1:{
cur:"", // Warehouse/Insurance .bodgrp.cbs.opn1.cur
amt:"", // Open Amount .bodgrp.cbs.opn1.amt
},
},
blk:{
bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet
cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv
cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol
dftins:"", // Draft Instructions .bodgrp.blk.dftins
intins:"", // Interest Instructions .bodgrp.blk.intins
setinsbo:"", // Settlement insrtrctions .bodgrp.blk.setinsbo
agtaut:"", // Authority of Agent .bodgrp.blk.agtaut
goddes:"", // Description of Goods .bodgrp.blk.goddes
colins:"", // Collection Instructions .bodgrp.blk.colins
colinsflg:"", // Collection instructions modified .bodgrp.blk.colinsflg
proins:"", // Protest Instructions .bodgrp.blk.proins
othins:"", // Other Instructions .bodgrp.blk.othins
chgtxt:"", // Charges Text .bodgrp.blk.chgtxt
delins:"", // Delivery instructions .bodgrp.blk.delins
},
drr:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.drr.namelc
adrelc:"", // 地址 .bodgrp.drr.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.drr.dbfadrblkcn
},
col:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.col.namelc
adrelc:"", // 地址 .bodgrp.col.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.col.dbfadrblkcn
},
dre:{
pts:new Pts().data,
namelc:"", // 名称 .bodgrp.dre.namelc
adrelc:"", // 地址 .bodgrp.dre.adrelc
dbfadrblkcn:"", // Chinese address .bodgrp.dre.dbfadrblkcn
},
},
recpan:{
recget:{
sdamod:{
seainf:"", // .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // Responsible User .recpan.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .recpan.usrget.sdamod.seainf
},
},
docgrdm:{
docdsclab:"", // Label of document description .recpan.docgrdm.docdsclab
},
drrp:{
ptsget:{
sdamod:{
seainf:"", // .recpan.drrp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.drrp.ptsget.sdamod.dadsnd
},
},
},
colp:{
ptsget:{
sdamod:{
seainf:"", // .recpan.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.colp.ptsget.sdamod.dadsnd
},
},
},
drep:{
ptsget:{
sdamod:{
seainf:"", // .recpan.drep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.drep.ptsget.sdamod.dadsnd
},
},
},
ptsaddp:{
ptsaddg:[], // .recpan.ptsaddp.ptsaddg
},
},
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
},
},
},
prtpanblk:"", // XMLPanel prtpan的内置block .prtpanblk
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<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 Litsel from "~/model/Ditsel"
import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'ditsel',
model:new Litsel().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.didgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("didgrp.rec.ownref");//didgrp_rec_ownref
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
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>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="stream of CBEs" prop="infcon.cbestm">
<c-input v-model="model.infcon.cbestm" placeholder="请输入stream of CBEs"></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/Infbod/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="CBS Column" prop="infcon.cbctxt">
<c-select v-model="model.infcon.cbctxt" style="width:100%" placeholder="请选择CBS Column">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream of CBBs" prop="infcon.cbbstm">
<c-input v-model="model.infcon.cbbstm" placeholder="请输入stream of CBBs"></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/Infbod/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.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/Infbod/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="Fee Code" prop="infcon.fepfeecod">
<c-select v-model="model.infcon.fepfeecod" style="width:100%" placeholder="请选择Fee Code">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Disposition" prop="infcon.fepdsp">
<c-select v-model="model.infcon.fepdsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream for FEPs to selected contract" prop="infcon.fepstm">
<c-input v-model="model.infcon.fepstm" placeholder="请输入stream for FEPs to selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.feptxtlbl" data-path=".infcon.feptxtlbl" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Disposition" prop="infcon.fcpdsp">
<c-select v-model="model.infcon.fcpdsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream of foreign charges" prop="infcon.fcpstm">
<c-input v-model="model.infcon.fcpstm" placeholder="请输入stream of foreign charges"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.fcptxtlbl" data-path=".infcon.fcptxtlbl" > </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/Infbod/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 date from" prop="infcon.seabucdatfro">
<c-date-picker type="date" v-model="model.infcon.seabucdatfro" style="width:100%" placeholder="请选择Booking date from"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Booking date till used on GLEINFP" prop="infcon.seabucdatto">
<c-date-picker type="date" v-model="model.infcon.seabucdatto" style="width:100%" placeholder="请选择Booking date till used on GLEINFP"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Transaction INR" prop="infcon.seatrninr">
<c-input v-model="model.infcon.seatrninr" maxlength="8" placeholder="请输入Transaction INR"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Stream of GLEs" prop="infcon.glestm">
<c-input v-model="model.infcon.glestm" placeholder="请输入Stream of GLEs"></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/Infbod/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-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="8">
<el-form-item label="业务编号" prop="infcon.seaownref" style="width: 100%">
<c-input v-model="model.infcon.seaownref" maxlength="16" placeholder="请输入Own Reference">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<c-col :span="12">
<el-form-item label="Opening between" prop="infcon.opndatfrom" style="width: 100%">
<c-date-picker type="date" v-model="model.infcon.opndatfrom" style="width: 100%"
placeholder="请选择Opening between"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Date to" prop="infcon.opndatto" style="width: 100%">
<c-date-picker type="date" v-model="model.infcon.opndatto" style="width: 100%"
placeholder="请选择Open Date to"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8">
<el-form-item label="Party Reference" prop="infcon.searef" style="width: 100%">
<c-input v-model="model.infcon.searef" maxlength="16" placeholder="请输入Party Reference"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Release Status" prop="infcon.relflg" style="width: 100%">
<c-select v-model="model.infcon.relflg" style="width: 100%" placeholder="请选择Release Status">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Handling Type" prop="infcon.hndtyp" style="width: 100%">
<c-select v-model="model.infcon.hndtyp" style="width: 100%" placeholder="请选择Handling Type">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Select Single Party" prop="infcon.pty.extkey" style="width: 100%">
<c-input v-model="model.infcon.pty.extkey" maxlength="24" placeholder="请输入Select Single Party">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="External Visible Name" prop="infcon.pty.nam" style="width: 100%">
<c-input v-model="model.infcon.pty.nam" maxlength="40" placeholder="请输入External Visible Name">
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Party Name/BIC" prop="infcon.seapty" style="width: 100%">
<c-input v-model="model.infcon.seapty" maxlength="24" placeholder="请输入Party Name/BIC"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Role" prop="infcon.searol" style="width: 100%">
<c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择Role">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="名称" prop="infcon.nam" style="width: 100%">
<c-input v-model="model.infcon.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="User ID" prop="infcon.usr.extkey" style="width: 100%">
<c-input v-model="model.infcon.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Status" prop="infcon.seasta" style="width: 100%">
<c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择Status">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Currency" prop="infcon.seacur" style="width: 100%">
<c-select v-model="model.infcon.seacur" style="width: 100%" placeholder="请选择Currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg" style="width: 100%">
<c-select v-model="model.infcon.cxmflg" style="width: 100%" placeholder="请选择是否显示查询码">
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<c-col :span="12">
<el-form-item label="Amount between" prop="infcon.seaamtfr" style="width: 100%">
<c-input v-model="model.infcon.seaamtfr" placeholder="请输入Amount between"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount to" prop="infcon.seaamtto" style="width: 100%">
<c-input v-model="model.infcon.seaamtto" placeholder="请输入Amount to"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="24">
<c-col :span="8">
<el-form-item label="display stream" prop="infbut.dspstm" style="width: 100%">
<c-input v-model="model.infbut.dspstm" placeholder="请输入display stream"></c-input>
</el-form-item>
</c-col>
</c-col> -->
</c-row>
</el-form>
</template>
</c-list-search>
<!-- <c-col :span="2">
<c-button size="small" type="primary" @click="onInfbutDsp" class="btn">
Display
</c-button>
</c-col> -->
<!-- <c-col :span="2">
<c-button size="small" type="primary" @click="onInfbutUserow" class="btn">
Use
</c-button>
</c-col> -->
<!-- <c-col :span="2">
<c-button size="small" type="primary" @click="onInfbutClr" class="btn">
Clear
</c-button>
</c-col> -->
<!-- <c-col :span="2">
<c-button size="small" type="primary" @click="onInfbutButprt" class="btn">
导Excel
</c-button>
</c-col> -->
<!-- <c-col :span="2">
<c-button size="small" type="primary" @click="onInfbutSearow" class="btn">
Search
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutExi">
E&xit
</c-button>
</c-col> -->
<c-col :span="8" style="margin-top:15px">
<el-form-item label="Payment Condition" prop="seadoctypcod" style="width: 100%">
<c-select v-model="model.seadoctypcod" style="width: 100%" placeholder="请选择Payment Condition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" style="margin-left: 0px" type="primary" @click="toBotdav">寄单</c-button>
</c-col>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column fixed="right" prop="op" label="操作" width="150px">
<template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
<c-col :span="12" style="text-align: right">
<c-button icon="el-icon-s-tools"></c-button>
</c-col>
</template>
<template slot-scope="scope">
<el-popover placement="top-start" title="历史信息" width="800" trigger="click"
:ref="'popover_' + scope.row.IDX">
<div style=" text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;">
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)" />
</div>
<c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row['INR'])">详情</c-button>
</template>
</el-table-column>
</c-istream-table>
<c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)"
slot="reference">详情</c-button>
</el-popover>
<c-button style="margin-left: 0" size="small" type="primary" @click="getButtons(scope.row['Reference'])">处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" :model="infbodModel" trnCode="infbod" @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/Infbod/Event";
import InfbodModel from "~/model/Infbod"
import BusNavbar from "~/BusNavbar.vue";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
components: { "m-busbtn": BusNavbar },
data() {
return {
infbodModel: new InfbodModel().data,
ownref: "",
initdialog: false,
dialogTableVisible: false,
trnData: {
columns: [
'1 1 "编号" 200',
'2 2 "交易名称" 120',
// '3 3 "日期" 200',
{ index: 3, position: 3, width: 110, pattern: 'date', label: '日期' },
// '4 4 "状态" 50',
{ index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN },
'5 5 "币种" 80',
'6 6 "金额" 110',
],
data: [],
},
stmData: {
columns: [
'1 1 "Reference" 150',
'2 2 "Resp. User" 100',
'3 3 "Opened" 200 4 7',
'4 4 "Closed" 200 4 7',
'5 5 "分行名称" 200',
'6 6 "Party Number" 150',
'7 7 "Drawee" 133',
'8 8 "PTA NO." 100',
'9 9 "Party Number" 150',
'10 10 "Drawer" 300',
'11 11 "Invoice No." 133',
'12 12 "Drawer CN" 150',
'13 13 "Party Number" 150',
'14 14 "Collecting Bank" 200',
'15 15 "Cur" 50',
'16 16 "Doc.Amount" 150 2 8 1 15',
'17 17 "Cur" 50',
],
data: [],
},
};
},
methods: {
...Event,
async getButtons(ownref) {
this.initdialog = true;
this.ownref = ownref
console.log("ownref:" + ownref);
setTimeout(() => {
this.$refs.childs.$emit("childmethods")
}, 10)
},
async onChoose(code) {
//跳转交易
this.$router.history.push("/business/" + code)
this.initdialog = false;
},
closeTrn(refId) {
this.$refs[refId].doClose();
},
async getTrnInfo(idx, row) {
this.model.infcon.objinr = row["INR"];
this.model.bodgrp.rec.inr = row["INR"];
this.model.infcon.chksubcon = "X";
this.dialogTableVisible = true;
let rtnmsg = await this.executeDefault("infcon.chksubcon");
console.log(rtnmsg);
console.log(this.model.infcon.chksubcon);
if ((rtnmsg.respCode = SUCCESS)) {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
console.log(this.trnData.data);
}
},
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)
},
toBotdav() {
this.$router.history.push("/business/botdav")
}
},
created: function () { },
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Collection Instructions" prop="bodgrp.blk.colins">
<c-input type="textarea" v-model="model.bodgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Our Charges to" prop="bodgrp.rec.chato">
<c-select v-model="model.bodgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Charges Text" prop="bodgrp.blk.chgtxt">
<c-input type="textarea" v-model="model.bodgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.blk.colinsflg">Collection instructions modified</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.rec.focflg">Free of Payment</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Protest Instructions" prop="bodgrp.rec.waicolcod">
<c-select v-model="model.bodgrp.rec.waicolcod" style="width:100%" placeholder="请选择Protest Instructions">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Protest Instructions" prop="bodgrp.blk.proins">
<c-input type="textarea" v-model="model.bodgrp.blk.proins" maxlength="65" show-word-limit placeholder="请输入Protest Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onProinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Waive Remitting Bank Charges" prop="bodgrp.rec.wairmtcod">
<c-select v-model="model.bodgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Other Instructions" prop="bodgrp.blk.othins">
<c-input type="textarea" v-model="model.bodgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Defer Payment until" prop="bodgrp.rec.othins">
<c-select v-model="model.bodgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.rec.lescom">
<c-input v-model="model.bodgrp.rec.lescom" placeholder="请输入Warehouse/Insurance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Delivery instructions" prop="bodgrp.blk.delins">
<c-input type="textarea" v-model="model.bodgrp.blk.delins" maxlength="65" show-word-limit placeholder="请输入Delivery instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onWhinsButtxmsel">
...
</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/Infbod/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="Draft Instructions" prop="bodgrp.blk.dftins">
<c-input type="textarea" v-model="model.bodgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Interest Instructions" prop="bodgrp.blk.intins">
<c-input type="textarea" v-model="model.bodgrp.blk.intins" maxlength="65" show-word-limit placeholder="请输入Interest Instructions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Settlement insrtrctions" prop="bodgrp.blk.setinsbo">
<c-input type="textarea" v-model="model.bodgrp.blk.setinsbo" maxlength="65" show-word-limit placeholder="请输入Settlement insrtrctions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Authority of Agent" prop="bodgrp.blk.agtaut">
<c-input type="textarea" v-model="model.bodgrp.blk.agtaut" maxlength="35" show-word-limit placeholder="请输入Authority of Agent" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Shipment from" prop="bodgrp.rec.shpfro">
<c-input v-model="model.bodgrp.rec.shpfro" maxlength="40" placeholder="请输入Shipment from"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="For Transportation to" prop="bodgrp.rec.shpto">
<c-input v-model="model.bodgrp.rec.shpto" maxlength="40" placeholder="请输入For Transportation to"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Description of Goods" prop="bodgrp.blk.goddes">
<c-input type="textarea" v-model="model.bodgrp.blk.goddes" maxlength="65" show-word-limit placeholder="请输入Description of Goods" ></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/Infbod/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="Stream for all engagements to selected contract" prop="infcon.liastm">
<c-input v-model="model.infcon.liastm" placeholder="请输入Stream for all engagements to selected contract"></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/Infbod/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="Stream for Orders for Contract" prop="infcon.ordstm">
<c-input v-model="model.infcon.ordstm" placeholder="请输入Stream for Orders for Contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfconButshword">
&Display
</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/Infbod/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="recpan.recget.sdamod.dadsnd">
<c-input v-model="model.recpan.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Reference" prop="bodgrp.rec.ownref">
<c-input v-model="model.bodgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="bodgrp.rec.nam">
<c-input v-model="model.bodgrp.rec.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
@click="onSeainf"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button> -->
<!-- <c-col :span="12">
<el-form-item label="" prop="recpan.recget.sdamod.seainf">
<c-input v-model="model.recpan.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanButgetref">
Get Ref
</c-button>
</c-col> -->
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Responsible User" prop="recpan.usr.extkey">
<c-input v-model="model.recpan.usr.extkey" maxlength="8" placeholder="请输入Responsible User">
</c-input>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-checkbox v-model="model.bodgrp.rec.dircolflg">Direct Collection</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Drawer ref" prop="recpan.usrget.sdamod.seainf">
<c-input v-model="model.recpan.usrget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Drawer" prop="bodgrp.drr.pts.ref">
<c-input v-model="model.bodgrp.drr.pts.ref" maxlength="16" placeholder="请输入Drawer"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-select v-model="model.bodgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.amt">
<c-input v-model="model.bodgrp.cbs.max.amt" placeholder="请输入Document Amount"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Drag Drop Sender" prop="recpan.drrp.ptsget.sdamod.dadsnd">
<c-input v-model="model.recpan.drrp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender">
</c-input>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-checkbox v-model="model.bodgrp.rec.resflg">Reservated Contract</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bodgrp.drr.pts.extkey">
<c-input v-model="model.bodgrp.drr.pts.extkey" maxlength="16"
placeholder="请输入External Key of Address">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="sdamod.seainf" prop="recpan.drrp.ptsget.sdamod.seainf">
<c-input v-model="model.recpan.drrp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onDrrpDet">
Details
</c-button>
</c-col> -->
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.drr.namelc">
<c-input type="textarea" v-model="model.bodgrp.drr.namelc" maxlength="35" show-word-limit
placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
<c-select v-model="model.bodgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Warehouse/Insurance">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.amt">
<c-input v-model="model.bodgrp.cbs.opn1.amt" placeholder="请输入Open Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bodgrp.drr.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.drr.pts.adrblk" maxlength="35" show-word-limit
placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.drr.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.drr.dbfadrblkcn" maxlength="35" show-word-limit
placeholder="请输入Chinese address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Date" prop="bodgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.rcvdat" style="width:100%"
placeholder="请选择Order Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Financial Document" prop="bodgrp.rec.paydoctyp">
<c-select v-model="model.bodgrp.rec.paydoctyp" style="width:100%" placeholder="请选择Financial Document">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Shipment date" prop="bodgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.shpdat" style="width:100%"
placeholder="请选择Shipment date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.drr.adrelc">
<c-input type="textarea" v-model="model.bodgrp.drr.adrelc" maxlength="35" show-word-limit
placeholder="请输入地址"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Presentation Date" prop="bodgrp.rec.predat">
<c-date-picker type="date" v-model="model.bodgrp.rec.predat" style="width:100%"
placeholder="请选择Presentation Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Dispatched on" prop="bodgrp.rec.advdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.advdat" style="width:100%"
placeholder="请选择Dispatched on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Collecting Bank" prop="bodgrp.col.pts.ref">
<c-input v-model="model.bodgrp.col.pts.ref" maxlength="16" placeholder="请输入Collecting Bank"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
<c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="recpan.colp.ptsget.sdamod.dadsnd">
<c-input v-model="model.recpan.colp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bodgrp.col.pts.extkey">
<c-input v-model="model.bodgrp.col.pts.extkey" maxlength="16" placeholder="请输入External Key of Address">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recpan.colp.ptsget.sdamod.seainf">
<c-input v-model="model.recpan.colp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onColpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.matdat" style="width:100%"
placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bodgrp.rec.invtyp">
<c-select v-model="model.bodgrp.rec.invtyp" style="width:100%" placeholder="请选择Maturity Date">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.col.namelc">
<c-input type="textarea" v-model="model.bodgrp.col.namelc" maxlength="35" show-word-limit
placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bodgrp.col.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.col.pts.adrblk" maxlength="35" show-word-limit
placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.col.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.col.dbfadrblkcn" maxlength="35" show-word-limit
placeholder="请输入Chinese address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-input v-model="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document Number" prop="bodgrp.rec.paydocnum">
<c-input v-model="model.bodgrp.rec.paydocnum" maxlength="16" placeholder="请输入Document Number"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bodgrp.rec.matpertyp" data-path=".bodgrp.rec.matpertyp"> </span>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.col.adrelc">
<c-input type="textarea" v-model="model.bodgrp.col.adrelc" maxlength="35" show-word-limit
placeholder="请输入地址"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Starting from" prop="bodgrp.rec.matperbeg">
<c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Starting from">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Issued on" prop="bodgrp.rec.issdat">
<c-date-picker type="date" v-model="model.bodgrp.rec.issdat" style="width:100%"
placeholder="请选择Issued on"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.rec.ccdndrflg">Truncation - Physical Document Kept w OWN</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Tenor Details Text" prop="bodgrp.blk.bogdet">
<c-input type="textarea" v-model="model.bodgrp.blk.bogdet" maxlength="43" show-word-limit
placeholder="请输入Tenor Details Text"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drawee" prop="bodgrp.dre.pts.ref">
<c-input v-model="model.bodgrp.dre.pts.ref" maxlength="16" placeholder="请输入Drawee"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bodgrp.rec.ccdpurflg">Payment Under Reserve</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Instructions Received" prop="bodgrp.blk.cctinsrcv">
<c-input type="textarea" v-model="model.bodgrp.blk.cctinsrcv" maxlength="35" show-word-limit
placeholder="请输入Instructions Received"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recpan.docgrdm.docdsclab" data-path=".recpan.docgrdm.docdsclab"> </span>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="recpan.drep.ptsget.sdamod.dadsnd">
<c-input v-model="model.recpan.drep.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="bodgrp.dre.pts.extkey">
<c-input v-model="model.bodgrp.dre.pts.extkey" maxlength="16" placeholder="请输入External Key of Address">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recpan.drep.ptsget.sdamod.seainf">
<c-input v-model="model.recpan.drep.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onDrepDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="bodgrp.dre.namelc">
<c-input type="textarea" v-model="model.bodgrp.dre.namelc" maxlength="35" show-word-limit
placeholder="请输入名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="bodgrp.dre.pts.adrblk">
<c-input type="textarea" v-model="model.bodgrp.dre.pts.adrblk" maxlength="35" show-word-limit
placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="bodgrp.dre.dbfadrblkcn">
<c-input type="textarea" v-model="model.bodgrp.dre.dbfadrblkcn" maxlength="35" show-word-limit
placeholder="请输入Chinese address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="bodgrp.dre.adrelc">
<c-input type="textarea" v-model="model.bodgrp.dre.adrelc" maxlength="35" show-word-limit
placeholder="请输入地址"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Collection Instruction" prop="bodgrp.blk.cctinscol">
<c-input type="textarea" v-model="model.bodgrp.blk.cctinscol" maxlength="35" show-word-limit
placeholder="请输入Collection Instruction"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Country Code Risk Country!" prop="bodgrp.rec.stacty">
<c-select v-model="model.bodgrp.rec.stacty" style="width:100%"
placeholder="请选择Country Code Risk Country!">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Goods Code" prop="bodgrp.rec.stagod">
<c-select v-model="model.bodgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code">
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infbod/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptinc">Incoming</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptreg">Registered</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptpen">Pending</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptcor">Correction</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptdel">Deleted</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="stream for SPT to selected contract" prop="infcon.sptstm">
<c-input v-model="model.infcon.sptstm" placeholder="请输入stream for SPT to selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Date from" prop="infcon.diadatfrom">
<c-date-picker type="date" v-model="model.infcon.diadatfrom" style="width:100%" placeholder="请选择Date from"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="date till" prop="infcon.diadatto">
<c-date-picker type="date" v-model="model.infcon.diadatto" style="width:100%" placeholder="请选择date till"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Status" prop="infcon.diasta">
<c-select v-model="model.infcon.diasta" style="width:100%" placeholder="请选择Status">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream for diaries to selected contract" prop="infcon.diastm">
<c-input v-model="model.infcon.diastm" placeholder="请输入stream for diaries to selected contract"></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/Infbod/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="XMLPanel prtpan的内置block" prop="prtpanblk">
<c-input type="textarea" v-model="model.prtpanblk" maxlength="200" show-word-limit placeholder="请输入XMLPanel prtpan的内置block" ></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/Infbod/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.recpan.ptsaddp.ptsaddg"
style="width: 100%"
>
<el-table-column
prop="rol"
label="角色"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="机构"
sortable
width="100">
</el-table-column>
<el-table-column
prop="nam"
label=""
sortable
width="100">
</el-table-column>
<el-table-column
prop="ref"
label="名称"
sortable
width="100">
</el-table-column>
</el-table>
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.recpan_ptsaddp_ptsaddg.total">
</el-pagination> -->
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infbod/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.infcon.setflg">show temporary settlement that already settled</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sepdelflg">show temporary settlement that already deleted</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="stream of SEPs" prop="infcon.sepstm">
<c-input v-model="model.infcon.sepstm" placeholder="请输入stream of SEPs"></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/Infbod/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="Type of Document" prop="infcon.smhcortyp">
<c-select v-model="model.infcon.smhcortyp" style="width:100%" placeholder="请选择Type of Document">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.chktrn">Active only</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Created between " prop="infcon.smhdatfrom">
<c-date-picker type="date" v-model="model.infcon.smhdatfrom" style="width:100%" placeholder="请选择Created between "></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="created till" prop="infcon.smhdatto">
<c-date-picker type="date" v-model="model.infcon.smhdatto" style="width:100%" placeholder="请选择created till"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Direction" prop="infcon.smhdir">
<c-select v-model="model.infcon.smhdir" style="width:100%" placeholder="请选择Direction">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream of documents to selected contract" prop="infcon.smhstm">
<c-input v-model="model.infcon.smhstm" placeholder="请输入stream of documents to selected contract"></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/Infbod/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-checkbox v-model="model.infcon.chksubcon">incl. all subcontracts</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.chktrnsta">only active transactions</c-checkbox>
</c-col>
<c-col :span="12">
<!-- <el-form-item label="stream for TRN to selected contract" prop="infcon.trnstm">
<c-input v-model="model.infcon.trnstm" placeholder="请输入stream for TRN to selected contract"></c-input>
</el-form-item> -->
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfconButshw">
&Display
</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/Infbod/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="myTabClick">
<!--PD000006 -->
<el-tab-pane label="infsea" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000262 -->
<el-tab-pane label="ovwp" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000280 -->
<el-tab-pane label="instrecp" name="instrecp">
<m-instrecp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="inst" name="inst">
<m-inst :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="coninfp" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="trnpan" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="cbsinfp" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane label="cbeinfp" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000111 -->
<el-tab-pane label="fepinfp" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000162 -->
<el-tab-pane label="sepinfp" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="gleinfp" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane label="smhinfp" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="peninfp" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="liainfp" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane label="prtpan" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000185 -->
<el-tab-pane label="ordpan" name="ordpan">
<m-ordpan :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 Infbod from "~/model/Infbod"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Infbod/Check"
import Default from "~/model/Infbod/Default"
import Pattern from "~/model/Infbod/Pattern"
import Infsea from "./Infsea"
import Ovwp from "./Ovwp"
import Ptyp from "./Ptyp"
import Instrecp from "./Instrecp"
import Inst from "./Inst"
import Coninfp from "./Coninfp"
import Trnpan from "./Trnpan"
import Cbsinfp from "./Cbsinfp"
import Cbeinfp from "./Cbeinfp"
import Fepinfp from "./Fepinfp"
import Sepinfp from "./Sepinfp"
import Gleinfp from "./Gleinfp"
import Smhinfp from "./Smhinfp"
import Peninfp from "./Peninfp"
import Liainfp from "./Liainfp"
import Prtpan from "./Prtpan"
import Ordpan from "./Ordpan"
export default {
name: "Infbod",
components:{
"m-infsea" : Infsea,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-instrecp" : Instrecp,
"m-inst" : Inst,
"m-coninfp" : Coninfp,
"m-trnpan" : Trnpan,
"m-cbsinfp" : Cbsinfp,
"m-cbeinfp" : Cbeinfp,
"m-fepinfp" : Fepinfp,
"m-sepinfp" : Sepinfp,
"m-gleinfp" : Gleinfp,
"m-smhinfp" : Smhinfp,
"m-peninfp" : Peninfp,
"m-liainfp" : Liainfp,
"m-prtpan" : Prtpan,
"m-ordpan" : Ordpan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infsea",
trnName: "infbod",
model: new Infbod().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入infbod交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment