Commit 067af69b by wangren

inflid交易转行 实现查询、详情、处理按钮跳转功能

parent 3c6e54c9
...@@ -4,7 +4,62 @@ import Utils from "~/utils" ...@@ -4,7 +4,62 @@ import Utils from "~/utils"
* Inflid Check规则 * Inflid Check规则
*/ */
let checkObj = { let checkObj = {
"lidgrp.rec.prepers18" :null,
"lidgrp.apl.namelc" :null,
"lidgrp.rec.lcrtyp" :null,
"lidgrp.rec.apprul" :null,
"lidgrp.rec.apprultxt" :null,
"lidgrp.blk.lcrgod" :null,
"lidgrp.adv.pts.adrblk" :null,
"lidgrp.blk.adlcnd" :null,
"lidgrp.ini.namelc" :null,
"lidgrp.rec.stacty" :null,
"lidgrp.ini.pts.adrblk" :null,
"lidgrp.blk.lcrdoc" :null,
"lidgrp.a2b.namelc" :null,
"lidgrp.apl.adrelc" :null,
"recpan.usr.extkey" :null,
"lidgrp.avb.pts.adrblk" :null,
"lidgrp.rec.avbwth" :null,
"lidgrp.rec.opndat" :null,
"lidgrp.a2b.adrelc" :null,
"lidgrp.avb.namelc" :null,
"lidgrp.blk.feetxt" :null,
"lidgrp.blk.preper" :null,
"lidgrp.ben.adrelc" :null,
"lidgrp.rec.cnfdet" :null,
"lidgrp.avb.adrelc" :null,
"lidgrp.a2b.pts.adrblk" :null,
"lidgrp.adv.namelc" :null,
"lidgrp.blk.mixdet" :null,
"lidgrp.ini.pts.extkey" :null,
"lidgrp.drw.adrelc" :null,
"infcon.seaamtto" :null, "infcon.seaamtto" :null,
"lidgrp.rec.expplc" :null,
"lidgrp.rmb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"lidgrp.adv.pts.extkey" :null,
"lidgrp.adv.adrelc" :null,
"lidgrp.avb.pts.extkey" :null,
"lidgrp.ben.pts.extkey" :null,
"lidgrp.a2b.pts.extkey" :null,
"lidgrp.blk.defdet" :null,
"lidgrp.blk.insbnk" :null,
"lidgrp.con.pts.extkey" :null,
"lidgrp.apl.pts.adrblk" :null,
"lidgrp.ini.adrelc" :null,
"lidgrp.ben.pts.adrblk" :null,
"lidgrp.rmb.pts.nam" :null,
"lidgrp.drw.pts.extkey" :null,
"lidgrp.con.adrelc" :null,
"lidgrp.blk.dftat" :null,
"lidgrp.con.pts.adrblk" :null,
"lidgrp.apl.pts.extkey" :null,
"lidgrp.rec.tenmaxday" :null,
"lidgrp.ben.namelc" :null,
"lidgrp.drw.pts.adrblk" :null,
"lidgrp.drw.namelc" :null,
"lidgrp.con.namelc" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -6,9 +6,112 @@ import Api from "~/service/Api"; ...@@ -6,9 +6,112 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"infcon.usr.extkey" :Utils.defaultFunction,
"infcon.seapty" :Utils.defaultFunction, "infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction, "infcon.pty.extkey" :Utils.defaultFunction,
"lidgrp.adv.pts.extkey" :Utils.defaultFunction,
"lidgrp.rec.avbwth" :Utils.defaultFunction,
"lidgrp.avb.pts.extkey" :Utils.defaultFunction,
"lidgrp.avb.adrelc" :Utils.defaultFunction,
"lidgrp.avb.namelc" :Utils.defaultFunction,
"lidgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.avb.pts.adrblk" :Utils.defaultFunction,
"infcon.usr.extkey" :Utils.defaultFunction,
"recpan.aamp.aammod.addamtflg" :Utils.defaultFunction,
"recpan.usr.extkey" :Utils.defaultFunction,
"lidgrp.rec.avbby" :Utils.defaultFunction,
"lidgrp.rec.opndat" :Utils.defaultFunction,
"lidgrp.blk.avbwthtxt" :Utils.defaultFunction,
"infcon.trnstm" :Utils.defaultFunction,
"lidgrp.apl.pts.extkey" :Utils.defaultFunction,
"lidgrp.apl.adrelc" :Utils.defaultFunction,
"lidgrp.apl.namelc" :Utils.defaultFunction,
"lidgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"infcon.sepdelflg" :Utils.defaultFunction,
"infcon.setflg" :Utils.defaultFunction,
"infcon.fcpdsp" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"lidgrp.rec.rmbflg" :Utils.defaultFunction,
"lidgrp.rec.revflg" :Utils.defaultFunction,
"lidgrp.con.pts.adrblk" :Utils.defaultFunction,
"lidgrp.ben.pts.extkey" :Utils.defaultFunction,
"lidgrp.ben.adrelc" :Utils.defaultFunction,
"lidgrp.ben.namelc" :Utils.defaultFunction,
"lidgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"infcon.cbctxt" :Utils.defaultFunction,
"lidgrp.rec.shptrs" :Utils.defaultFunction,
"lidgrp.rec.shptrss18" :Utils.defaultFunction,
"infcon.smhdatfrom" :Utils.defaultFunction,
"infcon.smhdir" :Utils.defaultFunction,
"infcon.chktrn" :Utils.defaultFunction,
"infcon.smhdatto" :Utils.defaultFunction,
"infcon.smhcortyp" :Utils.defaultFunction,
"lidgrp.adv.adrelc" :Utils.defaultFunction,
"lidgrp.adv.namelc" :Utils.defaultFunction,
"lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.shppars18" :Utils.defaultFunction,
"lidgrp.rec.shppar" :Utils.defaultFunction,
"lidgrp.rec.expdat" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
"lidgrp.a2b.adrelc" :Utils.defaultFunction,
"lidgrp.a2b.namelc" :Utils.defaultFunction,
"lidgrp.a2b.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.a2b.pts.adrblk" :Utils.defaultFunction,
"lidgrp.con.pts.extkey" :Utils.defaultFunction,
"lidgrp.drw.pts.extkey" :Utils.defaultFunction,
"lidgrp.ini.pts.extkey" :Utils.defaultFunction,
"lidgrp.ini.adrelc" :Utils.defaultFunction,
"lidgrp.ini.namelc" :Utils.defaultFunction,
"lidgrp.ini.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.apl.pts.adrblk" :Utils.defaultFunction,
"lidgrp.drw.adrelc" :Utils.defaultFunction,
"lidgrp.drw.namelc" :Utils.defaultFunction,
"lidgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.drw.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rmb.pts.extkey" :Utils.defaultFunction,
"lidgrp.rec.nomtop" :Utils.defaultFunction,
"lidgrp.cbs.nom1.amt" :Utils.defaultFunction,
"lidgrp.rec.porloa" :Utils.defaultFunction,
"lidgrp.rec.shpto" :Utils.defaultFunction,
"lidgrp.rec.pordis" :Utils.defaultFunction,
"lidgrp.rec.shpfro" :Utils.defaultFunction,
"infcon.seatrninr" :Utils.defaultFunction,
"infcon.seabucdatto" :Utils.defaultFunction,
"infcon.seabucdatfro" :Utils.defaultFunction,
"lidgrp.blk.preper" :Utils.defaultFunction,
"lidgrp.rec.shpdat" :Utils.defaultFunction,
"infcon.sptcor" :Utils.defaultFunction,
"infcon.sptreg" :Utils.defaultFunction,
"infcon.sptdel" :Utils.defaultFunction,
"infcon.sptinc" :Utils.defaultFunction,
"infcon.sptpen" :Utils.defaultFunction,
"infcon.chksubcon" :Utils.defaultFunction,
"infcon.chktrnsta" :Utils.defaultFunction,
"lidgrp.con.adrelc" :Utils.defaultFunction,
"lidgrp.con.namelc" :Utils.defaultFunction,
"lidgrp.con.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.rec.spcrcbflg" :Utils.defaultFunction,
"lidgrp.rec.apprul" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"infcon.fepfeecod" :Utils.defaultFunction,
"infcon.fepdsp" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.spcbenflg" :Utils.defaultFunction,
"lidgrp.ben.pts.adrblk" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction, "infbut.dspstm" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"infcon.diasta" :Utils.defaultFunction,
"infcon.diadatfrom" :Utils.defaultFunction,
"infcon.diadatto" :Utils.defaultFunction,
"lidgrp.rec.prepers18" :Utils.defaultFunction,
"lidgrp.rec.stacty" :Utils.defaultFunction,
"lidgrp.rmb.pts.nam" :Utils.defaultFunction,
"lidgrp.cbs.max.cur" :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处理 //你可以添加自动default处理
...@@ -3,25 +3,17 @@ import Utils from "~/utils" ...@@ -3,25 +3,17 @@ import Utils from "~/utils"
export default { export default {
async onInfbutSearow(){ async onInfbutSearow(){
const that = this.root; let rtnmsg = await this.executeRule("infbut.searow")
let rtnmsg = await that.executeRule("infbut.searow") if(rtnmsg.respCode == SUCCESS)
if(rtnmsg.respCode == "AAAAAA")
{ {
// Utils.copyValueFromVO(this.model,rtnmsg.data); //TODO 处理数据逻辑
//console.log("afdsafdsa");
// this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
this.model.infbut.dspstm = rtnmsg.data.infbut_dspstm.rows
// console.log("第一条数据" + rtnmsg.data.infbut_dspstm.rows[0]);
this.$message({
type: 'success',
message: '查询成功!'
});
} }
else else
{ {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutDsp(){ async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp") let rtnmsg = await this.executeRule("infbut.dsp")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
...@@ -82,5 +74,243 @@ export default { ...@@ -82,5 +74,243 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); 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 onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdvpDet(){
let rtnmsg = await this.executeRule("advp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAvbpDet(){
let rtnmsg = await this.executeRule("avbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChariaButtxmsel(){
let rtnmsg = await this.executeRule("charia.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDrwpDet(){
let rtnmsg = await this.executeRule("drwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInipDet(){
let rtnmsg = await this.executeRule("inip.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onA2bpDet(){
let rtnmsg = await this.executeRule("a2bp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onConpDet(){
let rtnmsg = await this.executeRule("conp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.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 onLcrgodButtxmsel(){
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
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) {
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
} }
\ No newline at end of file
...@@ -183,7 +183,7 @@ export default class Litsel{ ...@@ -183,7 +183,7 @@ export default class Litsel{
mattxtlab:"", // Label for MATTXT .matp.mattxtlab mattxtlab:"", // Label for MATTXT .matp.mattxtlab
}, },
cfgfil:{ cfgfil:{
btnstm: "", //按钮数据 btnstm: [], //按钮数据
bitmap:"", // Bitmap for folder .cfgfil.bitmap bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1 regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2 regside2:"", // Regside .cfgfil.regside2
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Additional Conditions" prop="lidgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入Additional Conditions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lidgrp.rec.spcbenflg">Special payment conditions for beneficiary exists</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lidgrp.rec.spcrcbflg">Special Payment Conditions for specified Bank only</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lidgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Instructions to Pay.," prop="lidgrp.blk.insbnk">
<c-input type="textarea" v-model="model.lidgrp.blk.insbnk" maxlength="65" show-word-limit placeholder="请输入Instructions to Pay.," ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Inflid/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="busnavbar"> <div class="busnavbar">
<div class="busnavbar-items"> <div class="busnavbar-items">
<c-button 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> <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>
</div> </div>
</template> </template>
...@@ -23,7 +34,7 @@ export default { ...@@ -23,7 +34,7 @@ export default {
trnName:'litsel', trnName:'litsel',
model:new Litsel().data, model:new Litsel().data,
navcode:[ navcode:[
{code:"",label:"",isDis:"",title:""}, // {code:"",label:"",isDis:"",title:""},
], ],
} }
}, },
...@@ -34,9 +45,10 @@ export default { ...@@ -34,9 +45,10 @@ export default {
let rtnmsg = await this.executeRule("cfgfil.hotsub1") let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1); console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){ if(rtnmsg.respCode == SUCCESS){
this.navcode=[]
this.$emit("onChoose",code.toLowerCase()); this.$emit("onChoose",code.toLowerCase());
}else{ }else{
this.$notify.error({title: "错误", message: "服务请求失败!"})
} }
}, },
...@@ -47,6 +59,7 @@ export default { ...@@ -47,6 +59,7 @@ export default {
//将model中的数据映射成数组 //将model中的数据映射成数组
return this.navcode.map(item=>{ return this.navcode.map(item=>{
let entireItem = {...item} let entireItem = {...item}
this.navcode=[];
//TODO 根据数据判断当前的code,是否可以继续 //TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis // entireItem.enable = item.isDis
return entireItem return entireItem
...@@ -66,22 +79,27 @@ export default { ...@@ -66,22 +79,27 @@ export default {
mounted(){ mounted(){
this.$nextTick(function(){ this.$nextTick(function(){
this.$on('childmethods',async function(){ this.$on('childmethods',async function(){
this.navcode = []
//请求按钮数据 //请求按钮数据
this.model.lidgrp.rec.ownref = this.ownref this.model.lidget.lid.ownref = this.ownref
console.log("ownref:" + this.ownref ); console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("lidgrp.rec.ownref")
let rtnmsg = await this.executeRule("lidget.lid.ownref");//lidget.lid.ownref
if(rtnmsg.respCode == SUCCESS){ if(rtnmsg.respCode == SUCCESS){
//重置数组 //重置数组
this.navcode.length = 0 this.navcode = []
this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到 //给inr赋值,后面弹窗里面的按钮请求会用到
this.model.lidgrp.rec.inr = rtnmsg.data.lidgrp_rec_inr //this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const idx = this.model.cfgfil.btnstm.length const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm let btnStr = this.model.cfgfil.btnstm.rows
// console.log("btnstmStr:"+btnStr); let j = 0;
let m = 0;
for(let i=0; i < idx; i++){ 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 arr = btnStr[i].split("\t");
let newList = { let newList = {
code:arr[0], code:arr[0],
...@@ -89,12 +107,23 @@ export default { ...@@ -89,12 +107,23 @@ export default {
isDis:arr[2], isDis:arr[2],
title:arr[3] title:arr[3]
} }
m++;
j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
if(j<0){
j = m;
}
//添加到navcode数组中 //添加到navcode数组中
this.navcode.splice(i,0,newList) this.navcode.splice(j,0,newList)
} }
} }
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}) })
}) })
} }
...@@ -103,7 +132,4 @@ export default { ...@@ -103,7 +132,4 @@ export default {
} }
</script> </script>
<style> <style>
.busnavbar-items{
/*TODO完善按钮间隔等样式 */
}
</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/Inflid/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/Inflid/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/Inflid/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="Description. of Goods" prop="lidgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="65" show-word-limit placeholder="请输入Description. of Goods" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Goods Code " prop="lidgrp.rec.stagod">
<c-select v-model="model.lidgrp.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/Inflid/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="Documents Required" prop="lidgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入Documents Required" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
...
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Inflid/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/Inflid/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/Inflid/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/Inflid/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/Inflid/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/Inflid/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/Inflid/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/Inflid/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/Inflid/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/Inflid/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000006 --> <c-content>
<el-tab-pane label="进口信用证交易查询" name="infsea"> <m-infsea :model="model" :codes="codes" ref="infsea" />
<m-infsea :model="model" :codes="codes"/> </c-content>
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
......
...@@ -75,8 +75,8 @@ export default { ...@@ -75,8 +75,8 @@ export default {
{ inifrm: "betdrv", ininam: "出口信用证单据修改", pntmiu: "3" }, { inifrm: "betdrv", ininam: "出口信用证单据修改", pntmiu: "3" },
{ inifrm: "infbpd", ininam: "出口押汇查询", pntmiu: "3" }, { inifrm: "infbpd", ininam: "出口押汇查询", pntmiu: "3" },
{ inifrm: "4", ininam: "进口信用证", pntmiu: "" }, { inifrm: "4", ininam: "进口信用证", pntmiu: "" },
{ inifrm: "litsel", ininam: "进口信用证入口", pntmiu: "4" }, { inifrm: "inflid", ininam: "进口信用证交易查询", pntmiu: "4" },
{ inifrm: "inflid", ininam: "进口信用证查询", pntmiu: "4" }, { inifrm: "litsel", ininam: "进口信用证单据查询", pntmiu: "4" },
// { inifrm: "litopn", ininam: "进口信用证开立", pntmiu: "4" }, // { inifrm: "litopn", ininam: "进口信用证开立", pntmiu: "4" },
// { inifrm: "litdav", ininam: "进口信用证通知到单", pntmiu: "4" }, // { inifrm: "litdav", ininam: "进口信用证通知到单", pntmiu: "4" },
// { inifrm: "litdck", ininam: "进口信用证到单", pntmiu: "4" }, // { inifrm: "litdck", ininam: "进口信用证到单", pntmiu: "4" },
......
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