Commit 034e68ff by “yanyuxin”

inftrd交易修改

parent daf80859
......@@ -4,7 +4,25 @@ import Utils from "~/utils"
* Inftrd Check规则
*/
let checkObj = {
"finmod.ovdintrat" :null,
"finmod.fltval" :null,
"finmod.ratchgdat" :null,
"recpan.usr.extkey" :null,
"finmod.intamt" :null,
"finmod.act1" :null,
"finmod.act3" :null,
"finmod.intdat" :null,
"trdgrp.rec.stagod" :null,
"trdgrp.cbs.max.amt" :null,
"trdgrp.fip.pts.adrblk" :null,
"infcon.seaamtto" :null,
"trdgrp.fip.adrelc" :null,
"finmod.ratchgprd" :null,
"finmod.ratchgtyp" :null,
"trdgrp.fip.pts.extkey" :null,
"trdgrp.fip.namelc" :null,
"finmod.ovdinttyp" :null,
"finmod.flttyp" :null,
}
for (const key in checkObj) {
......
......@@ -6,10 +6,54 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"infcon.usr.extkey" :Utils.defaultFunction,
"infcon.seapty" :Utils.defaultFunction,
"infcon.pty.extkey" :Utils.defaultFunction,
"infcon.usr.extkey" :Utils.defaultFunction,
"recpan.usr.extkey" :Utils.defaultFunction,
"finmod.ovdinttyp" :Utils.defaultFunction,
"infcon.trnstm" :Utils.defaultFunction,
"finmod.flttyp" :Utils.defaultFunction,
"infcon.sepdelflg" :Utils.defaultFunction,
"infcon.setflg" :Utils.defaultFunction,
"infcon.fcpdsp" :Utils.defaultFunction,
"infcon.cbctxt" :Utils.defaultFunction,
"infcon.smhdatfrom" :Utils.defaultFunction,
"infcon.smhdir" :Utils.defaultFunction,
"infcon.chktrn" :Utils.defaultFunction,
"infcon.smhdatto" :Utils.defaultFunction,
"infcon.smhcortyp" :Utils.defaultFunction,
"finmod.intprd" :Utils.defaultFunction,
"trdgrp.fip.pts.extkey" :Utils.defaultFunction,
"trdgrp.fip.adrelc" :Utils.defaultFunction,
"trdgrp.fip.namelc" :Utils.defaultFunction,
"trdgrp.fip.dbfadrblkcn" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"finmod.ratchgtyp" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"trdgrp.fip.pts.adrblk" :Utils.defaultFunction,
"infcon.seatrninr" :Utils.defaultFunction,
"infcon.seabucdatto" :Utils.defaultFunction,
"infcon.seabucdatfro" :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,
"finmod.intdat" :Utils.defaultFunction,
"infcon.fepfeecod" :Utils.defaultFunction,
"infcon.fepdsp" :Utils.defaultFunction,
"trdgrp.rec.pntref" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"infcon.diasta" :Utils.defaultFunction,
"infcon.diadatfrom" :Utils.defaultFunction,
"infcon.diadatto" :Utils.defaultFunction,
"finmod.acttyp" :Utils.defaultFunction,
"trdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"trdgrp.rec.oseflg" :Utils.defaultFunction,
"finmod.act3" :Utils.defaultFunction,
"infcon.ordstm" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -3,24 +3,16 @@ import Utils from "~/utils"
export default {
async onInfbutSearow(){
const that = this.root;
let rtnmsg = await that.executeRule("infbut.searow")
if(rtnmsg.respCode == "AAAAAA")
{
// Utils.copyValueFromVO(this.model,rtnmsg.data);
//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
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
......@@ -82,5 +74,53 @@ export default {
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 onFippDet(){
let rtnmsg = await this.executeRule("fipp.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: '服务请求失败!'});
}
},
async onInfconButshword(){
let rtnmsg = await this.executeRule("infcon.butshword")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -6,6 +6,7 @@ export default class Inftrd{
this.data = {
infcon:{
seaownref:"", // Own Reference .infcon.seaownref
seashgref:"", // Own Reference .infcon.seashgref
nam:"", // Name .infcon.nam
searef:"", // Party Reference .infcon.searef
pty:{
......@@ -26,6 +27,44 @@ export default class Inftrd{
relflg:"", // Release Status .infcon.relflg
cxmflg:"", // 是否显示查询码 .infcon.cxmflg
hndtyp:"", // Handling Type .infcon.hndtyp
chksubcon:"", // incl. all subcontracts .infcon.chksubcon
chktrnsta:"", // only active transactions .infcon.chktrnsta
trnstm:"", // stream for TRN to selected contract .infcon.trnstm
cbctxt:"", // CBS Column .infcon.cbctxt
cbbstm:"", // stream of CBBs .infcon.cbbstm
cbestm:"", // stream of CBEs .infcon.cbestm
feptxtlbl:"", // label used on FEP-Panel .infcon.feptxtlbl
fcptxtlbl:"", // Text label used on FCP-panel .infcon.fcptxtlbl
fepfeecod:"", // Fee Code .infcon.fepfeecod
fepdsp:"", // Disposition .infcon.fepdsp
fepstm:"", // stream for FEPs to selected contract .infcon.fepstm
fcpstm:"", // stream of foreign charges .infcon.fcpstm
fcpdsp:"", // Disposition .infcon.fcpdsp
setflg:"", // show temporary settlement that already settled .infcon.setflg
sepdelflg:"", // show temporary settlement that already deleted .infcon.sepdelflg
sepstm:"", // stream of SEPs .infcon.sepstm
seabucdatfro:"", // Booking date from .infcon.seabucdatfro
seabucdatto:"", // Booking date till used on GLEINFP .infcon.seabucdatto
seatrninr:"", // Transaction INR .infcon.seatrninr
glestm:"", // Stream of GLEs .infcon.glestm
smhcortyp:"", // Type of Document .infcon.smhcortyp
smhdatfrom:"", // Created between .infcon.smhdatfrom
smhdatto:"", // created till .infcon.smhdatto
smhdir:"", // Direction .infcon.smhdir
chktrn:"", // Active only .infcon.chktrn
smhstm:"", // stream of documents to selected contract .infcon.smhstm
sptinc:"", // Incoming .infcon.sptinc
sptreg:"", // Registered .infcon.sptreg
sptpen:"", // Pending .infcon.sptpen
sptcor:"", // Correction .infcon.sptcor
sptdel:"", // Deleted .infcon.sptdel
sptstm:"", // stream for SPT to selected contract .infcon.sptstm
diadatfrom:"", // Date from .infcon.diadatfrom
diadatto:"", // date till .infcon.diadatto
diasta:"", // Status .infcon.diasta
diastm:"", // stream for diaries to selected contract .infcon.diastm
liastm:"", // Stream for all engagements to selected contract .infcon.liastm
ordstm:"", // Stream for Orders for Contract .infcon.ordstm
},
seafintyp:"", // Financing Type .seafintyp
infbut:{
......@@ -35,9 +74,119 @@ export default class Inftrd{
rec:{
ovdflg:"", // Overdue Flag .trdgrp.rec.ovdflg
oseflg:"", // 海外代付 .trdgrp.rec.oseflg
pntref:"", // 单据编号 .trdgrp.rec.pntref
pntnam:"", // Parent Contract Name .trdgrp.rec.pntnam
ownref:"", // 融资编号 .trdgrp.rec.ownref
nam:"", // Name of Loan Contract .trdgrp.rec.nam
issdat:"", // 开立日期 .trdgrp.rec.issdat
fintyp:"", // 融资品种 .trdgrp.rec.fintyp
stagod:"", // Good's Code .trdgrp.rec.stagod
guaflg:"", // 货押标识 .trdgrp.rec.guaflg
pctfin:"", // % Financed .trdgrp.rec.pctfin
fincod:"", // % .trdgrp.rec.fincod
opndat:"", // Date Opened .trdgrp.rec.opndat
matdat:"", // Maturity Date .trdgrp.rec.matdat
tenday:"", // Tenor Days .trdgrp.rec.tenday
intrat:"", // Margin Spread applied to Interest Rate .trdgrp.rec.intrat
actrat:"", // actural rate .trdgrp.rec.actrat
ffaflg:"", // 外汇贷款专户过账标识 .trdgrp.rec.ffaflg
},
fip:{
pts:new Pts().data,
namelc:"", // 名称 .trdgrp.fip.namelc
adrelc:"", // 地址 .trdgrp.fip.adrelc
dbfadrblkcn:"", // Chinese address .trdgrp.fip.dbfadrblkcn
},
cbs:{
max:{
cur:"", // Currency .trdgrp.cbs.max.cur
amt:"", // Balance .trdgrp.cbs.max.amt
},
},
},
seagodcod:"", // Goods Code .seagodcod
recpan:{
bcdget:{
sdamod:{
seainf:"", // .recpan.bcdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.bcdget.sdamod.dadsnd
},
},
btdget:{
sdamod:{
seainf:"", // .recpan.btdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.btdget.sdamod.dadsnd
},
},
brdget:{
sdamod:{
seainf:"", // .recpan.brdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.brdget.sdamod.dadsnd
},
},
ledget:{
sdamod:{
seainf:"", // .recpan.ledget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.ledget.sdamod.dadsnd
},
},
bedget:{
sdamod:{
seainf:"", // .recpan.bedget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.bedget.sdamod.dadsnd
},
},
recget:{
sdamod:{
seainf:"", // .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // 客户经理 .recpan.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .recpan.usrget.sdamod.seainf
},
},
fipp:{
ptsget:{
sdamod:{
seainf:"", // .recpan.fipp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.fipp.ptsget.sdamod.dadsnd
},
},
},
dfflag:"", // Flag .recpan.dfflag
},
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
},
mtabut:{
coninf:{
contag72his:"", // Historic content of TAG 72 .mtabut.coninf.contag72his
contag72:"", // Current content of TAG 72 .mtabut.coninf.contag72
contag79his:"", // Historic content of TAG 79 .mtabut.coninf.contag79his
contag79:"", // Current content of TAG 79 .mtabut.coninf.contag79
},
},
prtpanblk:"", // XMLPanel prtpan的内置block .prtpanblk
pageId: "" // ctx的key
}
}
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Trtopn{
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="stream of CBEs" prop="infcon.cbestm">
<c-input v-model="model.infcon.cbestm" :placeholder="$t('other.please_enter')+'stream of CBEs'"></c-input>
</c-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/Inftrd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000082 : CBS Column -->
<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">
<c-form-item label="stream of CBBs" prop="infcon.cbbstm">
<c-input v-model="model.infcon.cbbstm" placeholder="请输入stream of CBB"></c-input>
</c-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/Inftrd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000017 : Historic Content of Incoming Tag 72 -->
<!-- S0000018 : Historic Content of Incoming Tag 79 -->
<c-col :span="12">
<c-form-item label="Historic content of TAG 72" prop="mtabut.coninf.contag72his">
<c-input type="textarea" v-model="model.mtabut.coninf.contag72his" maxlength="35" show-word-limit placeholder="Historic content of TAG 72" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Historic content of TAG 79" prop="mtabut.coninf.contag79his">
<c-input type="textarea" v-model="model.mtabut.coninf.contag79his" maxlength="50" show-word-limit placeholder="Historic content of TAG 79" ></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : Current Content of Incoming Tag 72 -->
<!-- S0000016 : Current Content of Incoming Tag 79 -->
<c-col :span="12">
<c-form-item label="Current content of TAG 72" prop="mtabut.coninf.contag72">
<c-input type="textarea" v-model="model.mtabut.coninf.contag72" maxlength="35" show-word-limit placeholder="Current content of TAG 72" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Current content of TAG 79" prop="mtabut.coninf.contag79">
<c-input type="textarea" v-model="model.mtabut.coninf.contag79" maxlength="50" show-word-limit placeholder="Current content of TAG 79" ></c-input>
</c-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/Inftrd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000160 : Fee Pool -->
<!-- SF000145 : Fee Code -->
<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>
<!-- SF000146 : Fee Text -->
<!-- SF000117 : Disposition -->
<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">
<c-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>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.feptxtlbl" data-path=".infcon.feptxtlbl" > </span>
</c-col>
<!-- SF000159 : Foreign Charges Pool -->
<!-- SF000158 : Disposition -->
<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">
<c-form-item label="stream of foreign charges" prop="infcon.fcpstm">
<c-input v-model="model.infcon.fcpstm" placeholder="请输入stream of foreign charges"></c-input>
</c-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/Inftrd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000178 : Booking date from -->
<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>
<!-- SF000179 : to -->
<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>
<!-- SF000180 : Transaction INR -->
<c-col :span="12">
<c-form-item label="Transaction INR" prop="infcon.seatrninr">
<c-input v-model="model.infcon.seatrninr" maxlength="8" placeholder="请输入Transaction INR"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Stream of GLEs" prop="infcon.glestm">
<c-input v-model="model.infcon.glestm" placeholder="请输入Stream of GLEs"></c-input>
</c-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/Inftrd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000148 : Engagement Information -->
<c-col :span="12">
<c-form-item label="Stream for all engagements to selected contract" prop="infcon.liastm">
<c-input v-model="model.infcon.liastm" :placeholder="$t('other.please_enter')+'Stream for all engagements to selected contract'"></c-input>
</c-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/Inftrd/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-form-item label="Stream for Orders for Contract" prop="infcon.ordstm">
<c-input v-model="model.infcon.ordstm" :placeholder="$t('other.please_enter')+'Stream for Orders for Contract'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfconButshword">
{{$t('infcon.CF000200')}}
</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/Inftrd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000134 : Pending Items -->
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptinc">{{$t('infcon.CF000135')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptreg">{{$t('infcon.CF000136')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptpen">{{$t('infcon.CF000137')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptcor">{{$t('infcon.CF000138')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sptdel">{{$t('infcon.CF000140')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="stream for SPT to selected contract" prop="infcon.sptstm">
<c-input v-model="model.infcon.sptstm" :placeholder="$t('other.please_enter')+'stream for SPT to selected contract'"></c-input>
</c-form-item>
</c-col>
<!-- SF000141 : Diaries -->
<!-- SF000142 : Date from -->
<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="$t('other.please_enter')+'Date from'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000143 : to -->
<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="$t('other.please_enter')+'date till'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000144 : Status -->
<c-col :span="12">
<el-form-item label="Status" prop="infcon.diasta">
<c-select v-model="model.infcon.diasta" style="width:100%" :placeholder="$t('other.please_enter')+'Status'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="stream for diaries to selected contract" prop="infcon.diastm">
<c-input v-model="model.infcon.diastm" :placeholder="$t('other.please_enter')+'stream for diaries to selected contract'"></c-input>
</c-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/Inftrd/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-form-item label="XMLPanel prtpan的内置block" prop="prtpanblk">
<c-input type="textarea" v-model="model.prtpanblk" maxlength="200" show-word-limit :placeholder="$t('other.please_enter')+'XMLPanel prtpan的内置block'" ></c-input>
</c-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/Inftrd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000163 : Temporary Settlement -->
<c-col :span="12">
<c-checkbox v-model="model.infcon.setflg">{{$t('infcon.CF000164')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sepdelflg">{{$t('infcon.CF000187')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="stream of SEPs" prop="infcon.sepstm">
<c-input v-model="model.infcon.sepstm" :placeholder="$t('other.please_enter')+'stream of SEPs'"></c-input>
</c-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/Inftrd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000127 : Type of Document -->
<c-col :span="12">
<el-form-item :label="$t('infcon.SF000127')" prop="infcon.smhcortyp">
<c-select v-model="model.infcon.smhcortyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('infcon.SF000127')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.chktrn">{{$t('infcon.CF000196')}}</c-checkbox>
</c-col>
<!-- SF000125 : Created between -->
<c-col :span="12">
<el-form-item :label="$t('infcon.SF000125')" prop="infcon.smhdatfrom">
<c-date-picker type="date" v-model="model.infcon.smhdatfrom" style="width:100%" :placeholder="$t('other.please_enter')+$t('infcon.SF000125')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000126 : and -->
<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="$t('other.please_enter')+'created till'"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000128 : Direction -->
<c-col :span="12">
<el-form-item :label="$t('infcon.SF000128')" prop="infcon.smhdir">
<c-select v-model="model.infcon.smhdir" style="width:100%" :placeholder="$t('other.please_enter')+$t('infcon.SF000128')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="stream of documents to selected contract" prop="infcon.smhstm">
<c-input v-model="model.infcon.smhstm" :placeholder="$t('other.please_enter')+'stream of documents to selected contract'"></c-input>
</c-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/Inftrd/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">{{$t('infcon.CF000198')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.chktrnsta">{{$t('infcon.CF000197')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="stream for TRN to selected contract" prop="infcon.trnstm">
<c-input v-model="model.infcon.trnstm" :placeholder="$t('other.please_enter')+'stream for TRN to selected contract'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfconButshw">
{{$t('infcon.CF000199')}}
</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/Inftrd/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">
<!--PD000024 -->
<el-tab-pane label="进口押汇查询" name="infsea">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--inftrd PD000024 Selection -->
<el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<!--inftrd PD000018 Loan -->
<el-tab-pane label="Loan" name="infconp">
<m-infconp :model="model" :codes="codes"/>
</el-tab-pane>
<!--coninf PD000010 Incoming Tag 72/79 -->
<el-tab-pane label="Incoming Tag" name="coninftag">
<m-coninftag :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000013 Transactions -->
<el-tab-pane label="Transactions" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000019 CBS Info -->
<el-tab-pane label="CBS Info" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000028 CBE Info -->
<el-tab-pane label="CBE Info" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000111 FEP/FCP Info -->
<el-tab-pane label="FEP/FCP Info" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000162 SEP Info -->
<el-tab-pane label="SEP Inf" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000177 GLE Bookings -->
<el-tab-pane label="GLE Bookings" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000119 SMH Info -->
<el-tab-pane label="SMH Info" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000130 SPT/DIA Info -->
<el-tab-pane label="SPT/DIA Info" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000147 Engagement -->
<el-tab-pane label="Engagement" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--inftrd PD000023 Print -->
<el-tab-pane label="Print" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--infcon PD000185 Order -->
<el-tab-pane label="Order" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -20,22 +71,50 @@ import Check from "~/model/Inftrd/Check"
import Default from "~/model/Inftrd/Default"
import Pattern from "~/model/Inftrd/Pattern"
import Infsea from "./Infsea"
import Infconp from "./Infconp"
import Coninftag from "./Coninftag"
import Trnpan from "./Trnpan"
import Cbsinfp from "./Cbsinfp"
import Cbeinfp from "./Cbeinfp"
import Fepinfp from "./Fepinfp"
import Sepinfp from "./Sepinfp"
import Gleinfp from "./Gleinfp"
import Smhinfp from "./Smhinfp"
import Peninfp from "./Peninfp"
import Liainfp from "./Liainfp"
import Prtpan from "./Prtpan"
import Ordpan from "./Ordpan"
export default {
name: "Inftrd",
components:{
"m-infsea" : Infsea,
"m-infconp" : Infconp,
"m-coninftag" : Coninftag,
"m-trnpan" : Trnpan,
"m-cbsinfp" : Cbsinfp,
"m-cbeinfp" : Cbeinfp,
"m-fepinfp" : Fepinfp,
"m-sepinfp" : Sepinfp,
"m-gleinfp" : Gleinfp,
"m-smhinfp" : Smhinfp,
"m-peninfp" : Peninfp,
"m-liainfp" : Liainfp,
"m-prtpan" : Prtpan,
"m-ordpan" : Ordpan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "inftrd",
trnType: "",
model: new Inftrd().data,
checkRules: Check,
defaultRules: Default,
......@@ -46,7 +125,11 @@ export default {
}
},
methods:{
tabClick(){
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
......@@ -54,6 +137,7 @@ export default {
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
......
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