Commit c2f35050 by Gan

Merge branch 'master' of http://114.115.138.98:8900/fukai/vue-gjjs

 Conflicts:
	src/views/Business/BusRouter.js
	src/views/Layout/SideMenu.vue
parents 1af58908 647814ba
<template>
<div>
<c-input
v-bind="$attrs"
v-model="value"
@change="onChange"
></c-input>
</div>
</template>
<script>
export default {
props:['model'],
created:function(){
this.model["rows"] = this.model["rows"]||[];
this.value=this.model["rows"].join("\n");
},
data:function(){
return {
value:""
}
},
methods:{
onChange(){
this.model["rows"]=this.value.split("\n");
console.log(this.model["rows"]);
this.$emit("change",this.value);
}
}
}
</script>
......@@ -595,14 +595,14 @@ export default {
{ type: "string", required: false, message: "必输项" },
{ max: 14, message: "长度不能超过14" }
],
"mtabut.coninf.oitinf.oit.inftxt": [
{ type: "string", required: false, message: "必输项" },
{ max: 60, message: "长度不能超过60" }
],
"mtabut.coninf.oitset.oit.inftxt": [
{ type: "string", required: false, message: "必输项" },
{ max: 60, message: "长度不能超过60" }
],
// "mtabut.coninf.oitinf.oit.inftxt": [
// { type: "string", required: false, message: "必输项" },
// { max: 60, message: "长度不能超过60" }
// ],
// "mtabut.coninf.oitset.oit.inftxt": [
// { type: "string", required: true, message: "必输项" },
// { max: 60, message: "长度不能超过60" }
// ],
"mtabut.coninf.conexedat": [
{ required: false, message: "输入正确的日期" }
......
import Utils from "~/utils"
/**
* Infbpd Check规则
*/
let checkObj = {
"finmod.ovdintrat" :null,
"recpan.purtyp" :null,
"bpdgrp.fia.pts.extkey" :null,
"bpdgrp.fia.pts.adrblk" :null,
"finmod.fltval" :null,
"finmod.ratchgdat" :null,
"recpan.usr.extkey" :null,
"finmod.intamt" :null,
"finmod.act1" :null,
"finmod.act3" :null,
"finmod.intdat" :null,
"bpdgrp.fia.namelc" :null,
"infcon.seaamtto" :null,
"finmod.ratchgprd" :null,
"mtabut.coninf.conexedat" :null,
"finmod.ratchgtyp" :null,
"bpdgrp.fia.adrelc" :null,
"recpan.fiap.ptsget.sdamod.dadsnd" :null,
"finmod.ovdinttyp" :null,
"finmod.flttyp" :null,
"recpan.distyp" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infbpd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"infcon.usr.extkey" :Utils.defaultFunction,
"infcon.sptcor" :Utils.defaultFunction,
"infcon.sptreg" :Utils.defaultFunction,
"infcon.sptdel" :Utils.defaultFunction,
"infcon.sptinc" :Utils.defaultFunction,
"infcon.sptpen" :Utils.defaultFunction,
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"recpan.purtyp" :Utils.defaultFunction,
"bpdgrp.rec.fintyp" :Utils.defaultFunction,
"recpan.distyp" :Utils.defaultFunction,
"bpdgrp.fia.pts.extkey" :Utils.defaultFunction,
"bpdgrp.fia.adrelc" :Utils.defaultFunction,
"bpdgrp.fia.namelc" :Utils.defaultFunction,
"bpdgrp.fia.dbfadrblkcn" :Utils.defaultFunction,
"bpdgrp.fia.pts.adrblk" :Utils.defaultFunction,
"finmod.intprd" :Utils.defaultFunction,
"finmod.ratchgtyp" :Utils.defaultFunction,
"infcon.fepfeecod" :Utils.defaultFunction,
"infcon.fepdsp" :Utils.defaultFunction,
"infcon.sepdelflg" :Utils.defaultFunction,
"infcon.setflg" :Utils.defaultFunction,
"infcon.smhdatfrom" :Utils.defaultFunction,
"infcon.smhdir" :Utils.defaultFunction,
"infcon.chktrn" :Utils.defaultFunction,
"infcon.smhdatto" :Utils.defaultFunction,
"infcon.smhcortyp" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"recpan.usr.extkey" :Utils.defaultFunction,
"finmod.acttyp" :Utils.defaultFunction,
"finmod.act3" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"infcon.seatrninr" :Utils.defaultFunction,
"infcon.seabucdatto" :Utils.defaultFunction,
"infcon.seabucdatfro" :Utils.defaultFunction,
"finmod.ovdinttyp" :Utils.defaultFunction,
"infcon.trnstm" :Utils.defaultFunction,
"infcon.diasta" :Utils.defaultFunction,
"infcon.diadatfrom" :Utils.defaultFunction,
"infcon.diadatto" :Utils.defaultFunction,
"infcon.fcpdsp" :Utils.defaultFunction,
"finmod.flttyp" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"infcon.chksubcon" :Utils.defaultFunction,
"infcon.chktrnsta" :Utils.defaultFunction,
"infcon.cbctxt" :Utils.defaultFunction,
"infcon.ordstm" :Utils.defaultFunction,
"bpdgrp.cbs.max.cur" :Utils.defaultFunction,
"bpdgrp.cbs.max.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"finmod.intdat" :Utils.defaultFunction,
"fpdgrp.rec.ownref" :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 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
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 onInfconButshword(){
let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onFiapDet(){
let rtnmsg = await this.executeRule("fiap.det")
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: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Infbpd{
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
ordstm:"", // Stream for Orders for Contract .infcon.ordstm
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
},
seafintyp:"", // Type of Advance .seafintyp
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
bpdgrp:{
rec:{
pntref:"", // Parent Contract .bpdgrp.rec.pntref
pntnam:"", // Name .bpdgrp.rec.pntnam
ownref:"", // Finance Reference .bpdgrp.rec.ownref
nam:"", // Name .bpdgrp.rec.nam
pctfin:"", // Percentage .bpdgrp.rec.pctfin
opndat:"", // Open Date .bpdgrp.rec.opndat
intrat:"", // Margin Spread applied to Interest Rate .bpdgrp.rec.intrat
intday:"", // 到期日 .bpdgrp.rec.intday
tolrat:"", // Total Rate of the Unfunded Risk Participation .bpdgrp.rec.tolrat
fincod:"", // % .bpdgrp.rec.fincod
matdat:"", // Due Date .bpdgrp.rec.matdat
conrat:"", // 参考指标 .bpdgrp.rec.conrat
finact:"", // Advance Account .bpdgrp.rec.finact
fintyp:"", // Type of Advance .bpdgrp.rec.fintyp
},
cbs:{
max:{
cur:"", // Advance Amount .bpdgrp.cbs.max.cur
amt:"", // Balance .bpdgrp.cbs.max.amt
},
},
fia:{
pts:new Pts().data,
namelc:"", // 名称 .bpdgrp.fia.namelc
adrelc:"", // 地址 .bpdgrp.fia.adrelc
dbfadrblkcn:"", // Chinese address .bpdgrp.fia.dbfadrblkcn
},
},
finmod:{
pctlab:"", // Percentage Label .finmod.pctlab
intprd:"", // 计息周期 .finmod.intprd
intdat:"", // 计息日期 .finmod.intdat
ratchgtyp:"", // 利率调�'方式 .finmod.ratchgtyp
ratchgprd:"", // 利率调�'周期 .finmod.ratchgprd
ratchgdat:"", // 利率调�'月日数 .finmod.ratchgdat
graday:"", // 宽限期 .finmod.graday
flttyp:"", // 浮动方式 .finmod.flttyp
fltval:"", // 浮动值 .finmod.fltval
ovdinttyp:"", // 呆滞计息方式 .finmod.ovdinttyp
ovdintrat:"", // 罚息比率 .finmod.ovdintrat
act1:"", // 第一还款�'�号 .finmod.act1
acttyp:"", // 第三方还款方式 .finmod.acttyp
accbch:"", // 入�'�机构 .finmod.accbch
intamt:"", // 预收息金额 .finmod.intamt
act3:"", // 第三方还款�'�号 .finmod.act3
},
recpan:{
conrat:"", // 参考指标 .recpan.conrat
usr:{
extkey:"", // Responsible User .recpan.usr.extkey
},
fiap:{
ptsget:{
sdamod:{
seainf:"", // .recpan.fiap.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.fiap.ptsget.sdamod.dadsnd
},
},
},
distyp:"", // Discount Type .recpan.distyp
purtyp:"", // Purchase Type .recpan.purtyp
},
fpdgrp:{
rec:{
ownref:"", // Purchase Agreement .fpdgrp.rec.ownref
nam:"", // Name .fpdgrp.rec.nam
},
},
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
import Utils from "~/utils"
/**
* Inftxm Check规则
*/
let checkObj = {
"rec.nam" :null,
"rec.uil" :null,
"recpan.recget.sdamod.dadsnd" :null,
"recpan.keywrk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Inftxm Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"infbut.dspstm" :Utils.defaultFunction,
"rec.uil" :Utils.defaultFunction,
"rec.nam" :Utils.defaultFunction,
"recpan.grpwrk" :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 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
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: '服务请求失败!'});
}
this.model.extkey = "";
this.model.nam = "";
this.model.uil = "";
},
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: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.grpwrknam":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.keywrk":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"extkey":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"infbut.dspstm":[
{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 Inftxm{
constructor () {
this.data = {
recpan:{
grpwrk:"", // Group key workfield .recpan.grpwrk
grpwrknam:"", // Group .recpan.grpwrknam
keywrk:"", // Detail key workfield .recpan.keywrk
recget:{
sdamod:{
seainf:"", // .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
},
rec:{
nam:"", // Externally Displayed Name to Identify the Text Module .rec.nam
uil:"", // Language Code [UILCOD, UILTXT] .rec.uil
txt:"", // Contents of Text Module .rec.txt
},
extkey:"", // Module-ID .extkey
uil:"", // Language .uil
nam:"", // Name .nam
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -5,14 +5,14 @@ export default class Mtabut {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
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
inftxt: {}, // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
......
......@@ -4,10 +4,13 @@ import Diasel from "./Diasel"
import Bopsel from "./Bopsel"
import Ditame from "./Ditame"
import Ditsel from "./Ditsel"
import Infdid from "./Infdid"
import Ditopn from "./Ditopn"
import Office from "./Office"
import Sptsel from "./Sptsel"
import Sptbrk from "./Sptsel/Sptbrk"
import Trnrel from "./Trnrel"
import Trnfnd from "./Trnrel/Trnfnd"
import Tstopn from "./Tstopn"
import Bdtudp from "./Bdtudp"
import Bdtdcr from "./Bdtdcr"
......@@ -18,6 +21,7 @@ import Letsel from "./Letsel"
import Letopn from "./Letopn"
import Letame from "./Letame"
import Letrsv from './Letrsv'
import Infled from './Infled'
import Sptrel from "./Sptrel"
import Sptrou from "./Sptrou"
......@@ -30,6 +34,7 @@ import Infcpd from "./Infcpd"
import Bctacc from "./Bctacc"
import Infcur from "./Infcur"
import Infbed from "./Infbed"
import Letcan from "./Letcan"
//光大添加
import Brtlat from "./Brtlat"
import Litopn from "./Litopn"
......@@ -39,7 +44,16 @@ import Litdck from "./Litdck"
import Inflid from "./Inflid"
import Inftrd from "./Inftrd"
import Trtame from "./Trtame"
import Lttopn from "./Lttopn"
import Lttame from "./Lttame"
import Lttcan from "./Lttcan"
// import Infdet from "./Infdet"
import Botdav from "./Botdav"
import Botame from "./Botame"
import Botdcr from "./Botdcr"
import Botset from "./Botset"
import Infbpd from "./Infbpd"
import Inftxm from "./Inftxm"
/**
* 带有name的才会被添加进顶部的标签页里
......@@ -53,12 +67,15 @@ const BusRouter = [
{ path: 'bopsel', component: Bopsel, name: 'Bopsel', meta: { title: '待申报列表' } },
{ path: 'ditame', component: Ditame, name: 'Ditame', meta: { title: '信用证修改' } },
{ path: 'ditsel', component: Ditsel, name: 'Ditsel', meta: { title: '信用证查询' } },
{ path: 'infdid', component: Infdid, name: 'Infdid', meta: { title: '信用证查询' } },
{ path: 'ditopn', component: Ditopn, name: 'Ditopn', meta: { title: '买方信用证开立' } },
// 例
{ path: 'ditopn/:inr', component: Ditopn, name: 'DitopnInr', meta: { title: (params) => { return '买方信用证开立-' + params.inr } } },
{ path: 'office', component: Office, name: 'Office', meta: { title: 'Office' } },
{ path: 'sptsel', component: Sptsel, name: 'Sptsel', meta: { title: '待办任务' } },
{ path: 'sptbrk', component: Sptbrk, name: 'Sptbrk', meta: { title: '草稿箱' } },
{ path: 'trnrel', component: Trnrel, name: 'Trnrel', meta: { title: '复核任务' } },
{ path: 'trnfnd', component: Trnfnd, name: 'Trnfnd', meta: { title: '已完成任务' } },
{ path: 'trndtl', query: 'inr', component: Trndtl, name: 'Trndtl', meta: { title: 'Trndtl' } },
{ path: 'tstopn', component: Tstopn, name: 'Tstopn', meta: { title: 'Tstopn' } },
{ path: 'infpta', component: Infpta, name: 'Infpta', meta: { title: 'Infpta' } },
......@@ -66,6 +83,7 @@ const BusRouter = [
{ path: 'letopn', component: Letopn, name: 'Letopn', meta: { title: '出口信用证通知' } },
{ path: 'letame', component: Letame, name: 'Letame', meta: { title: '出口信用证修改' } },
{ path: 'letrsv', component: Letrsv, name: 'Letrsv', meta: { title: '出口信用证补通知' } },
{ path: 'infled', component: Infled, name: 'Infled', meta: { title: '出口信用证查询infled' } },
{ path: 'sptrel', component: Sptrel, name: 'Sptrel', meta: { title: 'Sptrel' } },
{ path: 'sptrou', component: Sptrou, name: 'Sptrou', meta: { title: 'Sptrou' } },
......@@ -77,7 +95,8 @@ const BusRouter = [
{ path: 'infcpd', component: Infcpd, name: 'Infcpd', meta: { title: '汇款查询' } },
{ path: 'bctacc', component: Bctacc, name: 'Bctacc', meta: { title: 'Bctacc' } },
{ path: 'infcur', component: Infcur, name: 'Infcur', meta: { title: 'Infcur' } },
{ path: 'infbed', component: Infcur, name: 'Infbed', meta: { title: 'Infbed' } },
{ path: 'infbed', component: Infbed, name: 'Infbed', meta: { title: '出口信用证单据查询' } },
{ path: 'letcan', component: Letcan, name: 'Letcan', meta: { title: '出口信用证注销' } },
//光大添加
{ path: 'brtlat', component: Brtlat, name: 'Brtlat', meta: { title: '进口信用证单据偿还垫款' } },
{ path: 'litopn', component: Litopn, name: 'Litopn', meta: { title: '进口信用证开立' } },
......@@ -87,6 +106,15 @@ const BusRouter = [
{ path: 'inflid', component: Inflid, name: 'Inflid', meta: { title: '进口信用证查询' } },
{ path: 'inftrd', component: Inftrd, name: 'Inftrd', meta: { title: '进口押汇查询' } },
{ path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } },
{ path: 'infbpd', component: Infbpd, name: 'Infbpd', meta: { title: '进口单据查询' } },
{ path: 'inftxm', component: Inftxm, name: 'Inftxm', meta: { title: '条式语句查询' } },
// { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } },
{ path: 'lttopn', component: Lttopn, name: 'Lttopn', meta: { title: '转让证开立' } },
  { path: 'lttame', component: Lttame, name: 'Lttame', meta: { title: '转让证修改' } },
  { path: 'lttcan', component: Lttcan, name: 'Lttcan', meta: { title: '转让证注销' } },
{ path: 'botdav', component: Botdav, name: 'Botdav', meta: { title: '出口托收寄单' } },
{ path: 'botame', component: Botame, name: 'Botame', meta: { title: '出口托收修改' } },
{ path: 'botdcr', component: Botdcr, name: 'Botdcr', meta: { title: '出口托收拒付/不符点' } },
{ path: 'botset', component: Botset, name: 'Botset', meta: { title: '出口托收收汇' } },
]
export default BusRouter
\ No newline at end of file
import Cptadv from "./Cptadv"
import Cptopn from "./Cptopn"
import Diasel from "./Diasel"
import Bopsel from "./Bopsel"
import Ditame from "./Ditame"
import Ditsel from "./Ditsel"
import Infdid from "./Infdid"
import Ditopn from "./Ditopn"
import Office from "./Office"
import Sptsel from "./Sptsel"
import Sptbrk from "./Sptsel/Sptbrk"
import Trnrel from "./Trnrel"
import Trnfnd from "./Trnrel/Trnfnd"
import Tstopn from "./Tstopn"
import Bdtudp from "./Bdtudp"
import Bdtdcr from "./Bdtdcr"
import Trndtl from "./Trnrel/Trndtl"
import Infpta from "./Infpta"
import Letsel from "./Letsel"
import Letopn from "./Letopn"
import Letame from "./Letame"
import Letrsv from './Letrsv'
import Infled from './Infled'
import Sptrel from "./Sptrel"
import Sptrou from "./Sptrou"
import Bddsel from "./Bddsel"
import Infbdd from "./Infbdd"
import Mgrtsk from "./Mgrtsk"
import Switsk from "./Switsk"
import Infusr from "./Infusr"
import Infcpd from "./Infcpd"
import Bctacc from "./Bctacc"
import Infcur from "./Infcur"
import Infbed from "./Infbed"
import Letcan from "./Letcan"
//光大添加
import Brtlat from "./Brtlat"
import Litopn from "./Litopn"
import Litcan from "./Litcan"
import Litdav from "./Litdav"
import Litdck from "./Litdck"
import Inflid from "./Inflid"
import Inftrd from "./Inftrd"
import Trtame from "./Trtame"
import Lttopn from "./Lttopn"
import Lttame from "./Lttame"
import Lttcan from "./Lttcan"
// import Infdet from "./Infdet"
import Botdav from "./Botdav"
import Botame from "./Botame"
import Botdcr from "./Botdcr"
import Botset from "./Botset"
import Infbpd from "./Infbpd"
import Inftxm from "./Inftxm"
/**
* 带有name的才会被添加进顶部的标签页里
*/
const BusRouter = [
{ path: 'bdtudp', component: Bdtudp, name: 'Bdtudp', meta: { title: '国内证承兑' } },
{ path: 'bdtdcr', component: Bdtdcr, name: 'Bdtdcr', meta: { title: '国内证不符点/拒付' } },
{ path: 'cptadv', component: Cptadv, name: 'Cptadv', meta: { title: '汇入汇款' } },
{ path: 'cptopn', component: Cptopn, name: 'Cptopn', meta: { title: '汇出汇款' } },
{ path: 'diasel', component: Diasel, name: 'Diasel', meta: { title: '备忘录选择交易' } },
{ path: 'bopsel', component: Bopsel, name: 'Bopsel', meta: { title: '待申报列表' } },
{ path: 'ditame', component: Ditame, name: 'Ditame', meta: { title: '信用证修改' } },
{ path: 'ditsel', component: Ditsel, name: 'Ditsel', meta: { title: '信用证查询' } },
{ path: 'infdid', component: Infdid, name: 'Infdid', meta: { title: '信用证查询' } },
{ path: 'ditopn', component: Ditopn, name: 'Ditopn', meta: { title: '买方信用证开立' } },
// 例
{ path: 'ditopn/:inr', component: Ditopn, name: 'DitopnInr', meta: { title: (params) => { return '买方信用证开立-' + params.inr } } },
{ path: 'office', component: Office, name: 'Office', meta: { title: 'Office' } },
{ path: 'sptsel', component: Sptsel, name: 'Sptsel', meta: { title: '待办任务' } },
{ path: 'sptbrk', component: Sptbrk, name: 'Sptbrk', meta: { title: '草稿箱' } },
{ path: 'trnrel', component: Trnrel, name: 'Trnrel', meta: { title: '复核任务' } },
{ path: 'trnfnd', component: Trnfnd, name: 'Trnfnd', meta: { title: '已完成任务' } },
{ path: 'trndtl', query: 'inr', component: Trndtl, name: 'Trndtl', meta: { title: 'Trndtl' } },
{ path: 'tstopn', component: Tstopn, name: 'Tstopn', meta: { title: 'Tstopn' } },
{ path: 'infpta', component: Infpta, name: 'Infpta', meta: { title: 'Infpta' } },
{ path: 'letsel', component: Letsel, name: 'Letsel', meta: { title: '出口信用证查询' } },
{ path: 'letopn', component: Letopn, name: 'Letopn', meta: { title: '出口信用证通知' } },
{ path: 'letame', component: Letame, name: 'Letame', meta: { title: '出口信用证修改' } },
{ path: 'letrsv', component: Letrsv, name: 'Letrsv', meta: { title: '出口信用证补通知' } },
{ path: 'infled', component: Infled, name: 'Infled', meta: { title: '出口信用证查询infled' } },
{ path: 'sptrel', component: Sptrel, name: 'Sptrel', meta: { title: 'Sptrel' } },
{ path: 'sptrou', component: Sptrou, name: 'Sptrou', meta: { title: 'Sptrou' } },
{ path: 'bddsel', component: Bddsel, name: 'Bddsel', meta: { title: 'Bddsel' } },
{ path: 'infbdd', component: Infbdd, name: 'Infbdd', meta: { title: '买方信用证单据查询' } },
{ path: 'mgrtsk', component: Mgrtsk, name: 'Mgrtsk', meta: { title: 'Mgrtsk' } },
{ path: 'switsk', component: Switsk, name: 'Switsk', meta: { title: 'Switsk' } },
{ path: 'infusr', component: Infusr, name: 'Infusr', meta: { title: '用户信息' } },
{ path: 'infcpd', component: Infcpd, name: 'Infcpd', meta: { title: '汇款查询' } },
{ path: 'bctacc', component: Bctacc, name: 'Bctacc', meta: { title: 'Bctacc' } },
{ path: 'infcur', component: Infcur, name: 'Infcur', meta: { title: 'Infcur' } },
{ path: 'infbed', component: Infbed, name: 'Infbed', meta: { title: '出口信用证单据查询' } },
{ path: 'letcan', component: Letcan, name: 'Letcan', meta: { title: '出口信用证注销' } },
//光大添加
{ path: 'brtlat', component: Brtlat, name: 'Brtlat', meta: { title: '进口信用证单据偿还垫款' } },
{ path: 'litopn', component: Litopn, name: 'Litopn', meta: { title: '进口信用证开立' } },
{ path: 'litcan', component: Litcan, name: 'Litcan', meta: { title: '进口信用证注销' } },
{ path: 'litdav', component: Litdav, name: 'Litdav', meta: { title: '进口信用证通知到单 ' } },
{ path: 'litdck', component: Litdck, name: 'Litdck', meta: { title: '进口信用证到单' } },
{ path: 'inflid', component: Inflid, name: 'Inflid', meta: { title: '进口信用证查询' } },
{ path: 'inftrd', component: Inftrd, name: 'Inftrd', meta: { title: '进口押汇查询' } },
{ path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } },
// { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } },
{ path: 'lttopn', component: Lttopn, name: 'Lttopn', meta: { title: '转让证开立' } },
  { path: 'lttame', component: Lttame, name: 'Lttame', meta: { title: '转让证修改' } },
  { path: 'lttcan', component: Lttcan, name: 'Lttcan', meta: { title: '转让证注销' } },
{ path: 'botdav', component: Botdav, name: 'Botdav', meta: { title: '出口托收寄单' } },
{ path: 'botame', component: Botame, name: 'Botame', meta: { title: '出口托收修改' } },
{ path: 'botdcr', component: Botdcr, name: 'Botdcr', meta: { title: '出口托收拒付/不符点' } },
{ path: 'botset', component: Botset, name: 'Botset', meta: { title: '出口托收收汇' } },
]
export default BusRouter
\ No newline at end of file
......@@ -12,6 +12,9 @@
v-model="model.didgrp.rec.ownref"
maxlength="16"
placeholder="请输入信用证编号"
@keyup.enter.native="
showGridPromptDialog('didgrp.rec.ownref')
"
></c-input>
</el-form-item>
</c-col>
......@@ -99,7 +102,7 @@
<c-col :span="13">
<el-form-item label="信用证余额">
<c-select
v-model="model.didgrp.cbs.nom1.cur"
v-model="model.didgrp.cbs.opn1.cur"
style="width: 95%"
disabled
>
......@@ -109,7 +112,7 @@
<c-col :span="11">
<el-form-item label-width="0">
<c-input
v-model="model.didgrp.cbs.opn1.cur"
v-model="model.didgrp.cbs.opn1.amt"
maxlength="3"
placeholder="请输入信用证余额"
disabled
......@@ -180,7 +183,7 @@
<c-col :span="11">
<el-form-item label="" label-width="0">
<c-input
v-model="model.bddgrp.rec.ownref"
v-model="model.didgrp.rec.expplc"
maxlength="16"
disabled
></c-input>
......@@ -220,7 +223,7 @@
<c-col :span="24">
<el-form-item label="">
<c-input
v-model="model.bpdget.sdamod.seainf"
v-model="model.didgrp.apl.pts.nam"
placeholder="请输入"
disabled
></c-input>
......@@ -244,7 +247,7 @@
<c-col :span="24">
<el-form-item label="">
<c-input
v-model="model.bddget.sdamod.seainf"
v-model="model.didgrp.ben.pts.nam"
placeholder="请输入"
disabled
></c-input>
......@@ -263,7 +266,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-input maxlength="16" disabled></c-input>
<c-input
v-model="model.didgrp.adv.pts.nam"
maxlength="16" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -435,7 +440,7 @@
<c-col :span="13">
<el-form-item label="单据余额">
<c-select
v-model="model.bddgrp.cbs.max.cur"
v-model="model.bddgrp.cbs.opn1.cur"
style="width: 95%"
placeholder="请选择单据余额"
disabled
......@@ -513,11 +518,11 @@
></c-input>
</el-form-item>
</c-col>
<!-- model.bpdget.sdamod.seainf 修改为 didgrp.apl.pts.nam -->
<c-col :span="24">
<el-form-item label="">
<c-input
v-model="model.bpdget.sdamod.seainf"
v-model="model.didgrp.apl.pts.nam"
placeholder="请输入"
disabled
></c-input>
......@@ -537,11 +542,11 @@
></c-input>
</el-form-item>
</c-col>
<!-- model.bddget.sdamod.seainf 修改为 bddgrp.ben.pts.nam -->
<c-col :span="24">
<el-form-item label="">
<c-input
v-model="model.bddget.sdamod.seainf"
v-model="model.bddgrp.ben.pts.nam"
placeholder="请输入"
disabled
></c-input>
......@@ -1938,7 +1943,7 @@ export default {
{ title: "", url: "#", disabled: false },
{ title: "", url: "#", disabled: false },
{ title: "开立信用证", url: "#/business/ditopn", disabled: false },
{ title: "信用证修改", url: "#/business/ditame", disabled: true },
{ title: "信用证修改", url: "#/business/ditame", disabled: false },
{ title: "减额修改接受", url: "#", disabled: true },
{ title: "", url: "#", disabled: false },
{ title: "", url: "#", disabled: false },
......
......@@ -43,6 +43,7 @@ export default {
data() {
return {
tabVal: "sel",
trnName: "ditsel",
model: new Ditsel().data,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
......
<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/Infbpd/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/Infbpd/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/Infbpd/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/Infbpd/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/Infbpd/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/Infbpd/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/Infbpd/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/Infbpd/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/Infbpd/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/Infbpd/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/Infbpd/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/Infbpd/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="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Overview" name="infovwp">
<m-infovwp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Transactions" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="SEP Info" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="GLE Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Engagement" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Order" 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 Infbpd from "~/model/Infbpd"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Infbpd/Check"
import Default from "~/model/Infbpd/Default"
import Pattern from "~/model/Infbpd/Pattern"
import Infsea from "./Infsea"
import Ordpan from "./Ordpan"
import Infovwp from "./Infovwp"
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"
export default {
components:{
"m-infsea" : Infsea,
"m-ordpan" : Ordpan,
"m-infovwp" : Infovwp,
"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,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infsea",
trnName: "infbpd",
model: new Infbpd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入infbpd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -292,6 +292,35 @@
<el-row>
<c-col :span="23">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column
fixed="right"
prop="op"
label="操作"
width="150px"
>
<template>
<c-button
style="margin-left: 0"
size="small"
type="primary"
>
快照
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
>
处理
</c-button>
</template>
</el-table-column>
</c-istream-table>
</c-col>
</el-row>
......@@ -496,21 +525,21 @@ export default {
return {
stmData: {
columns: [
'1 1 "Reference" 0',
'2 2 "Resp User" 0',
'3 3 "Tenor day" 0',
'7 4 "Applicant Party Number" 0',
'8 5 "Applicant" 0',
'9 6 "Beneficiary Party Number" 0',
'10 7 "Beneficiary" 0',
'11 8 "BIC" 0',
'4 9 "Opened" 0',
'5 10 "Expired" 0',
'6 11 "Closed" 0',
'12 12 "L/C Amt Cur" 0',
'13 13 "L/C Amount" 0',
'14 14 "Open Amount Cur" 0',
'15 15 "Open Amount" 0',
'1 1 "Reference" 100',
'2 2 "Resp User" 100',
'3 3 "Tenor day" 50',
'7 4 "Applicant Party Number" 80',
'8 5 "Applicant" 70',
'9 6 "Beneficiary Party Number" 80',
'10 7 "Beneficiary" 70',
'11 8 "BIC" 80',
'4 9 "Opened" 130',
'5 10 "Expired" 130',
'6 11 "Closed" 130',
'12 12 "L/C Amt Cur" 50',
'13 13 "L/C Amount" 80',
'14 14 "Open Amount Cur" 50',
'15 15 "Open Amount" 80',
],
data: [],
},
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Text Module ID" prop="extkey">
<c-input v-model="model.extkey" maxlength="15" placeholder="请输入Module-ID"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Description" prop="nam">
<c-input v-model="model.nam" maxlength="40" placeholder="请输入Name"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Language" prop="uil">
<c-select v-model="model.uil" style="width:100%" placeholder="请选择Language">
<el-option v-for="item in codes.payuil" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onInfbutSearow">
Search
</c-button>
<c-button size="small" type="primary" @click="onInfbutDsp">
Display
</c-button>
<c-button size="small" type="primary" @click="onInfbutUserow">
Use
</c-button>
<c-button size="small" type="primary" @click="onInfbutClr">
Clear
</c-button>
<c-button size="small" type="primary" @click="onInfbutButprt">
导Excel
</c-button>
<c-button size="small" type="primary" @click="onInfbutExi">
Exit
</c-button>
</el-form-item>
</c-col>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<!--
<el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
</template>
</el-table-column>
-->
</c-istream-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Inftxm/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
stmData: {
columns: [
"0 1 \"INR\" 170 ",
"1 2 \"EXTKEY\" 170 ",
"2 3 \"NAM\" 170",
"3 4 \"UIL\" 170",
"4 5 \"VER\" 170"
],
data: [
]
}
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="6">
<el-form-item label="Group" prop="recpan.grpwrknam">
<c-input v-model="model.recpan.grpwrknam" maxlength="6" placeholder="" :readonly=true></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="recpan.keywrk">
<c-input v-model="model.recpan.keywrk" maxlength="8" placeholder="" :readonly=true></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="recpan.recget.sdamod.seainf">
<c-input v-model="model.recpan.recget.sdamod.seainf" placeholder="" :readonly=true></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="Name" prop="rec.nam">
<c-input v-model="model.rec.nam" maxlength="40" placeholder="" :readonly=true></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Language" prop="rec.uil">
<c-input v-model="model.rec.uil" style="width:100%" placeholder="" :readonly=true></c-input>
<!--
<c-select v-model="model.rec.uil" style="width:100%" placeholder="" :readonly=true>
</c-select>
-->
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24">
<el-form-item label="Text" prop="rec.txt">
<c-input type="textarea" v-model="model.rec.txt" style="width:100%;height:100%;" :rows="10" maxlength="200" show-word-limit placeholder="" :readonly=true></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="">
&lt;-Search
</c-button>
<!--
<c-button size="small" type="primary" @click="">
&lt;
</c-button>
<c-button size="small" type="primary" @click="">
&gt;
</c-button>
-->
<c-button size="small" type="primary" icon="el-icon-arrow-left">
</c-button>
<c-button size="small" type="primary" icon="el-icon-arrow-right">
</c-button>
<c-button size="small" type="primary" @click="">
Print
</c-button>
<c-button size="small" type="primary" @click="">
Loginfo
</c-button>
<c-button size="small" type="primary" @click="">
Exit
</c-button>
</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/Inftxm/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="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="Search Panel" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Text Module" name="txmp0">
<m-txmp0 :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 Inftxm from "~/model/Inftxm"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Inftxm/Check"
import Default from "~/model/Inftxm/Default"
import Pattern from "~/model/Inftxm/Pattern"
import Txmp0 from "./Txmp0"
import Infsea from "./Infsea"
export default {
components:{
"m-txmp0" : Txmp0,
"m-infsea" : Infsea,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "infsea",
trnName: "inftxm",
model: new Inftxm().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入inftxm交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -522,14 +522,15 @@ export default {
columns: [
'10 1 "交易代码" 80',
'11 2 "业务编号" 150',
'12 3 "币种" 50',
'13 4 "金额" 70',
'14 5 "创建时间" 170',
'9 6 "签名要求" 70',
'2 7 "签名状态" 70',
'16 8 "经办柜员" 70',
'0 9 "业务状态" 70',
'15 10 "业务机构" 200',
'11 3 "摘要信息" 150',
'12 4 "币种" 50',
'13 5 "金额" 70',
'14 6 "创建时间" 170',
'9 7 "签名要求" 70',
'2 8 "签名状态" 70',
'16 9 "经办柜员" 70',
'0 10 "业务状态" 70',
'15 11 "业务机构" 120',
],
data: [],
},
......
......@@ -12,10 +12,10 @@
<c-search-input v-show="menuOpen"></c-search-input>
</div>
<c-content :height="250">
<img
<!-- <img
src="../../assets/menu_bottom.png"
style="position: fixed; width: 200px; bottom: 0"
/>
/> -->
<el-menu
:default-active="activeMenu"
class="el-menu-vertical-demo"
......@@ -28,7 +28,7 @@
<i class="el-icon-menu"></i>
<span slot="title">主页</span>
</el-menu-item> -->
<SubMenu :subMenuList="menus"></SubMenu>
<SubMenu :subMenuList="menus" :openFlgArr="openFlgArr"></SubMenu>
</el-menu>
</c-content>
</c-row>
......@@ -41,6 +41,7 @@ export default {
components: { Button, SubMenu },
data: function () {
return {
openFlgArr: [],
menuOpen: true,
searchContent: "",
menuList: [
......@@ -48,24 +49,27 @@ export default {
// { inifrm: "sptsel", ininam: "待办任务", pntmiu: "0" },
// { inifrm: "trnrel", ininam: "复核任务", pntmiu: "0" },
// { inifrm: "diasel", ininam: "备忘录选择交易", pntmiu: "0" },
{ inifrm: "1", ininam: "汇款", pntmiu: "", icon: require("~/assets/icons/sideMenu/汇款.svg") },
{ inifrm: "1", ininam: "汇款", pntmiu: ""},
{ inifrm: "infcpd", ininam: "汇款查询", pntmiu: "1" },
{ inifrm: "cptopn", ininam: "汇出汇款", pntmiu: "1" },
{ inifrm: "cptadv", ininam: "汇入汇款", pntmiu: "1" },
{ inifrm: "2", ininam: "国内证", pntmiu: "", icon: require("~/assets/icons/sideMenu/国内证.svg") },
{ inifrm: "ditopn", ininam: "买方信用证开立", pntmiu: "2" },
{ inifrm: "2", ininam: "买方信用证", pntmiu: "" },
{ inifrm: "ditopn", ininam: "信用证开立", pntmiu: "2" },
{ inifrm: "ditame", ininam: "信用证修改", pntmiu: "2" },
{ inifrm: "ditsel", ininam: "信用证查询", pntmiu: "2" },
{ inifrm: "infbdd", ininam: "买方信用证单据查询", pntmiu: "2" },
{ inifrm: "bdtudp", ininam: "国内证承兑", pntmiu: "2" },
{ inifrm: "bdtdcr", ininam: "国内证不符点/拒付", pntmiu: "2" },
{ inifrm: "3", ininam: "出口信用证", pntmiu: "", icon: require("~/assets/icons/sideMenu/出口信用证.svg") },
{ inifrm: "infdid", ininam: "信用证查询", pntmiu: "2" },
{ inifrm: "infbdd", ininam: "信用证单据查询", pntmiu: "2" },
{ inifrm: "bdtudp", ininam: "信用证承兑", pntmiu: "2" },
{ inifrm: "bdtdcr", ininam: "信用证不符点/拒付", pntmiu: "2" },
{ inifrm: "3", ininam: "出口信用证", pntmiu: "" },
//{ inifrm: "3", ininam: "出口信用证", pntmiu: "" },
{ inifrm: "letsel", ininam: "出口信用证查询", pntmiu: "3" },
{ inifrm: "letopn", ininam: "出口信用证通知", pntmiu: "3" },
{ inifrm: "letame", ininam: "出口信用证修改", pntmiu: "3" },
{ inifrm: "letrsv", ininam: "出口信用证补通知", pntmiu: "3" },
{ inifrm: "4", ininam: "进口信用证", pntmiu: "", icon: require("~/assets/icons/sideMenu/进口信用证.svg")},
{ inifrm: "infled", ininam: "出口信用证查询infled", pntmiu: "3" },
{ inifrm: "infbed", ininam: "出口信用证单据查询", pntmiu: "3" },
{ inifrm: "letcan", ininam: "出口信用证注销", pntmiu: "3" },
{ inifrm: "4", ininam: "进口信用证", pntmiu: "" },
{ inifrm: "inflid", ininam: "进口信用证查询", pntmiu: "4" },
{ inifrm: "litopn", ininam: "进口信用证开立", pntmiu: "4" },
{ inifrm: "litdav", ininam: "进口信用证通知到单", pntmiu: "4" },
......@@ -74,14 +78,21 @@ export default {
{ inifrm: "litcan", ininam: "进口信用证注销", pntmiu: "4" },
{ inifrm: "inftrd", ininam: "进口押汇查询", pntmiu: "4" },
{ inifrm: "trtame", ininam: "进口融资修改", pntmiu: "4" },
// { inifrm: "5", ininam: "进口代收", pntmiu: "" },
// { inifrm: "bctacc", ininam: "进口代收承兑", pntmiu: "5" },
// { inifrm: "6", ininam: "静态参数管理", pntmiu: "" },
// { inifrm: "infusr", ininam: "用户信息", pntmiu: "6" },
{ inifrm: "5", ininam: "进口代收", pntmiu: "", icon: require("~/assets/icons/sideMenu/进口代收.svg") },
{ inifrm: "infbpd", ininam: "进口单据查询", pntmiu: "4" },
{ inifrm: "inftxm", ininam: "条式语句查询", pntmiu: "4" },
{ inifrm: "5", ininam: "进口代收", pntmiu: "" },
{ inifrm: "bctacc", ininam: "进口代收承兑", pntmiu: "5" },
{ inifrm: "6", ininam: "静态参数管理", pntmiu: "", icon: require("~/assets/icons/sideMenu/静态参数.svg") },
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "6" },
{ inifrm: "6", ininam: "出口托收", pntmiu: "" },
{ inifrm: "botdav", ininam: "出口托收寄单", pntmiu: "6" },
{ inifrm: "botame", ininam: "出口托收修改", pntmiu: "6" },
{ inifrm: "botdcr", ininam: "出口托收拒付/不符点", pntmiu: "6" },
{ inifrm: "botset", ininam: "出口托收收汇", pntmiu: "6" },
{ inifrm: "7", ininam: "静态参数管理", pntmiu: "", },
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "7" },
{ inifrm: "8",ininam: "转让证", pntmiu: "" },
{ inifrm: "lttopn", ininam: "转让证开立", pntmiu: "8" },
{ inifrm: "lttame", ininam: "转让证修改", pntmiu: "8" },
{ inifrm: "lttcan", ininam: "转让证注销", pntmiu: "8" },
],
menusOrigin: [],
menus: [],
......@@ -97,6 +108,7 @@ export default {
this.generateMenuTree(arr);
this.menusOrigin = arr;
this.menus = this.menusOrigin;
this.openFlgArr = new Array(this.menus.length).fill(true)
},
methods: {
searchMenuEvent() {
......@@ -167,9 +179,9 @@ export default {
list.push({
name: menuItem.ininam,
path: menuItem.path,
icon: menuItem.icon,
children,
});
}
} else {
if (menuItem.pntmiu === item.inifrm) {
......@@ -186,11 +198,13 @@ export default {
}
}
},
handleOpen(key, keyPath) {
console.log(key, keyPath);
handleOpen(index, indexPath) {
// console.log(index, indexPath);
this.$set(this.openFlgArr, index.split("_")[1], false)
},
handleClose(key, keyPath) {
console.log(key, keyPath);
handleClose(index, indexPath) {
// console.log(index, indexPath);
this.$set(this.openFlgArr, index.split("_")[1], true)
},
openMenu() {
this.menuOpen = true;
......@@ -201,6 +215,7 @@ export default {
this.menuOpen = false;
const aside = document.querySelector("aside");
aside.className = aside.className + " fold";
this.openFlgArr = new Array(this.menus.length).fill(true)
},
},
};
......
<template id="SideMenu">
<c-row>
<div class="eContainer-menu-search">
<c-button
icon="el-icon-s-fold"
v-if="menuOpen"
@click="closeMenu"
></c-button>
<c-button icon="el-icon-s-unfold" v-else @click="openMenu"></c-button>
<!-- <c-input prefix-icon="el-icon-search" v-if="menuOpen" v-model="searchContent"
@keyup.enter.native="searchMenuEvent" placeholder="全局搜索"></c-input> -->
<c-search-input v-show="menuOpen"></c-search-input>
</div>
<c-content :height="250">
<!-- <img
src="../../assets/menu_bottom.png"
style="position: fixed; width: 200px; bottom: 0"
/> -->
<el-menu
:default-active="activeMenu"
class="el-menu-vertical-demo"
v-bind:router="true"
@open="handleOpen"
@close="handleClose"
:collapse="!menuOpen"
>
<!-- <el-menu-item index="/business/office">
<i class="el-icon-menu"></i>
<span slot="title">主页</span>
</el-menu-item> -->
<SubMenu :subMenuList="menus" :openFlgArr="openFlgArr"></SubMenu>
</el-menu>
</c-content>
</c-row>
</template>
<script>
import Button from "../../components/Button.vue";
import SubMenu from "~/components/SubMenu.vue";
export default {
components: { Button, SubMenu },
data: function () {
return {
openFlgArr: [],
menuOpen: true,
searchContent: "",
menuList: [
// { inifrm: "0", ininam: "公共夹", pntmiu: "" },
// { inifrm: "sptsel", ininam: "待办任务", pntmiu: "0" },
// { inifrm: "trnrel", ininam: "复核任务", pntmiu: "0" },
// { inifrm: "diasel", ininam: "备忘录选择交易", pntmiu: "0" },
{ inifrm: "1", ininam: "汇款", pntmiu: ""},
{ inifrm: "infcpd", ininam: "汇款查询", pntmiu: "1" },
{ inifrm: "cptopn", ininam: "汇出汇款", pntmiu: "1" },
{ inifrm: "cptadv", ininam: "汇入汇款", pntmiu: "1" },
{ inifrm: "2", ininam: "买方信用证", pntmiu: "" },
{ inifrm: "ditopn", ininam: "信用证开立", pntmiu: "2" },
{ inifrm: "ditame", ininam: "信用证修改", pntmiu: "2" },
{ inifrm: "infdid", ininam: "信用证查询", pntmiu: "2" },
{ inifrm: "infbdd", ininam: "信用证单据查询", pntmiu: "2" },
{ inifrm: "bdtudp", ininam: "信用证承兑", pntmiu: "2" },
{ inifrm: "bdtdcr", ininam: "信用证不符点/拒付", pntmiu: "2" },
{ inifrm: "3", ininam: "出口信用证", pntmiu: "" },
//{ inifrm: "3", ininam: "出口信用证", pntmiu: "" },
{ inifrm: "letsel", ininam: "出口信用证查询", pntmiu: "3" },
{ inifrm: "letopn", ininam: "出口信用证通知", pntmiu: "3" },
{ inifrm: "letame", ininam: "出口信用证修改", pntmiu: "3" },
{ inifrm: "letrsv", ininam: "出口信用证补通知", pntmiu: "3" },
{ inifrm: "infled", ininam: "出口信用证查询infled", pntmiu: "3" },
{ inifrm: "infbed", ininam: "出口信用证单据查询", pntmiu: "3" },
{ inifrm: "letcan", ininam: "出口信用证注销", pntmiu: "3" },
{ inifrm: "4", ininam: "进口信用证", pntmiu: "" },
{ inifrm: "inflid", ininam: "进口信用证查询", pntmiu: "4" },
{ inifrm: "litopn", ininam: "进口信用证开立", pntmiu: "4" },
{ inifrm: "litdav", ininam: "进口信用证通知到单", pntmiu: "4" },
{ inifrm: "litdck", ininam: "进口信用证到单", pntmiu: "4" },
{ inifrm: "brtlat", ininam: "进口信用证单据偿还垫款", pntmiu: "4" },
{ inifrm: "litcan", ininam: "进口信用证注销", pntmiu: "4" },
{ inifrm: "inftrd", ininam: "进口押汇查询", pntmiu: "4" },
{ inifrm: "trtame", ininam: "进口融资修改", pntmiu: "4" },
{ inifrm: "5", ininam: "进口代收", pntmiu: "" },
{ inifrm: "bctacc", ininam: "进口代收承兑", pntmiu: "5" },
{ inifrm: "6", ininam: "出口托收", pntmiu: "" },
{ inifrm: "botdav", ininam: "出口托收寄单", pntmiu: "6" },
{ inifrm: "botame", ininam: "出口托收修改", pntmiu: "6" },
{ inifrm: "botdcr", ininam: "出口托收拒付/不符点", pntmiu: "6" },
{ inifrm: "botset", ininam: "出口托收收汇", pntmiu: "6" },
{ inifrm: "7", ininam: "静态参数管理", pntmiu: "", },
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "7" },
{ inifrm: "8",ininam: "转让证", pntmiu: "" },
{ inifrm: "lttopn", ininam: "转让证开立", pntmiu: "8" },
{ inifrm: "lttame", ininam: "转让证修改", pntmiu: "8" },
{ inifrm: "lttcan", ininam: "转让证注销", pntmiu: "8" },
],
menusOrigin: [],
menus: [],
};
},
computed: {
activeMenu() {
return this.$route.path;
},
},
mounted() {
const arr = [];
this.generateMenuTree(arr);
this.menusOrigin = arr;
this.menus = this.menusOrigin;
this.openFlgArr = new Array(this.menus.length).fill(true)
},
methods: {
searchMenuEvent() {
if (this.searchContent.trim() === "") {
this.menus = this.menusOrigin;
return;
}
const res = [];
for (let i = 0; i < this.menusOrigin.length; i++) {
const menu = this.menusOrigin[i];
const r = this.eachItem(menu);
if (r !== null) {
res.push(r);
}
}
this.menus = res;
},
eachItem(item) {
if (item.name.indexOf(this.searchContent) > -1) {
// if (item.children.length > 0) {
// if (this.hasAvailableChild(item.children)) {
// return item;
// }
// return null;
// } else {
// // TODO 判断此处是否为叶子节点
// return item;
// }
return item;
}
const arr = [];
for (let i = 0; i < item.children.length; i++) {
const child = item.children[i];
const r = this.eachItem(child);
if (r !== null) {
arr.push(r);
}
}
if (arr.length > 0) {
return {
name: item.name,
path: item.path,
icon: item.icon,
children: arr,
};
}
return null;
},
hasAvailableChild(children) {
for (let i = 0; i < children.length; i++) {
const child = children.length[i];
if (child.children.length > 0) {
return this.hasAvailableChild(child.children);
} else {
// TODO 判断此处是否为叶子节点
return true;
}
}
},
generateMenuTree(list, item) {
for (let i = 0; i < this.menuList.length; i++) {
const menuItem = this.menuList[i];
if (!item) {
if (menuItem.pntmiu === undefined || menuItem.pntmiu === "") {
const children = [];
menuItem.path = "/business";
this.generateMenuTree(children, menuItem);
list.push({
name: menuItem.ininam,
path: menuItem.path,
children,
});
}
} else {
if (menuItem.pntmiu === item.inifrm) {
const children = [];
menuItem.path = item.path + "/" + menuItem.inifrm;
this.generateMenuTree(children, menuItem);
list.push({
name: menuItem.ininam,
path: menuItem.path,
icon: "el-icon-document",
children,
});
}
}
}
},
handleOpen(index, indexPath) {
// console.log(index, indexPath);
this.$set(this.openFlgArr, index.split("_")[1], false)
},
handleClose(index, indexPath) {
// console.log(index, indexPath);
this.$set(this.openFlgArr, index.split("_")[1], true)
},
openMenu() {
this.menuOpen = true;
const aside = document.querySelector("aside");
aside.className = aside.className.split(" ")[0];
},
closeMenu() {
this.menuOpen = false;
const aside = document.querySelector("aside");
aside.className = aside.className + " fold";
this.openFlgArr = new Array(this.menus.length).fill(true)
},
},
};
</script>
<style scoped>
.eContainer-menu-search .el-button {
border: none;
font-size: 20px;
padding: 12px 20px;
}
.eContainer-menu-search .el-input {
width: auto;
position: absolute;
right: 20px;
top: 10px;
left: 60px;
}
.eContainer-scroller .el-scrollbar__wrap {
overflow: auto;
margin-right: 0px !important;
}
.eContainer-menu-search {
width: 100%;
position: relative;
}
.eContainer-menu-search .el-input,
.eContainer-menu-search .search-wrapper {
width: auto;
position: absolute;
right: 20px;
top: 10px;
left: 60px;
}
.eContainer-menu-search .el-input .el-input__inner {
height: 30px;
}
.eContainer-menu-search .el-icon-search {
line-height: 30px;
}
.eContainer-scroller {
height: calc(100% - 44px);
}
.eContainer-scroller .el-scrollbar__bar {
display: none;
}
.el-icon-s-fold {
float: left;
font-size: 20px;
}
.el-icon-s-unfold {
float: left;
font-size: 20px;
}
.el-menu {
border-right: none;
}
.eContainer-refresh {
width: auto;
overflow: auto;
height: calc(100% - 44px);
}
.el-button-refresh {
width: 100%;
height: 40px;
}
</style>
<style>
.el-menu-vertical-demo.el-menu--collapse {
width: 60px;
}
.el-submenu__title,
.el-menu-item,
.el-submenu .el-menu-item {
font-size: 12px;
height: 35px;
line-height: 35px;
}
</style>
\ No newline at end of file
......@@ -7,16 +7,16 @@
label="General"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<c-input
<i-stream-input
type="textarea"
:rows="6"
@change="valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
v-model="model.mtabut.coninf.oitinf.oit.inftxt"
rows="6"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入Infotext"
></c-input>
@change="valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
:model="model.mtabut.coninf.oitinf.oit.inftxt"
></i-stream-input>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
......@@ -37,16 +37,16 @@
<c-col :span="24">
<c-col :span="15">
<el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input
<i-stream-input
type="textarea"
:rows="6"
@change="valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
v-model="model.mtabut.coninf.oitset.oit.inftxt"
rows="6"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入Infotext"
></c-input>
@change="valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
:model="model.mtabut.coninf.oitset.oit.inftxt"
></i-stream-input>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
......@@ -90,7 +90,9 @@
// 附言页签,勿改
import _ from "~/utils/Lodash.js";
import CommonProcess from "~/mixin/CommonProcess";
import IStreamInput from '~/components/IStreamInput'
export default {
components: {IStreamInput},
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
......
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