Commit 891dfa69 by lianyang

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 90a86439 a74ca321
......@@ -4,8 +4,8 @@
"author": "psbc",
"private": true,
"scripts": {
"start": "vue-cli-service serve",
"build": "vue-cli-service build"
"start": "node --max_old_space_size=4096 node_modules/@vue/cli-service/bin/vue-cli-service.js serve",
"build": "node --max_old_space_size=4096 node_modules/@vue/cli-service/bin/vue-cli-service.js build"
},
"dependencies": {
"async-validator": "^3.5.2",
......
......@@ -52,5 +52,7 @@ export default {
"mtabut.clsflg" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"gcdgrp.rec.docprbrol" :Utils.defaultFunction,
"setmod.glemod.glepan" :Utils.defaultFunction,
"bopmod.dbdp.basp" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -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
}
}
......
......@@ -128,7 +128,7 @@ export default {
],
"brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 200,message:"长度不能超过200"}
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Trtopn{
......
......@@ -73,7 +73,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="bopmod.dbagrp.bas.methods">
<c-select disabled :code="codes.methods" v-model="model.bopmod.dbagrp.bas.methods" style="width:100%" placeholder="请选择结算方式">
<c-select disabled :code="codes.bopmethods" v-model="model.bopmod.dbagrp.bas.methods" style="width:100%" placeholder="请选择结算方式">
</c-select>
</el-form-item>
</c-col>
......@@ -138,7 +138,7 @@
</c-col>
<c-col :span="24">
<c-form-item label="其它账号/银行卡号" prop="bopmod.dbagrp.bas.othacc">
<c-input v-model="model.bopmod.dbagrp.bas.othacc" maxlength="32" placeholder="请输入银行卡号"></c-input>
<c-input disabled v-model="model.bopmod.dbagrp.bas.othacc" maxlength="32" placeholder="请输入银行卡号"></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -164,7 +164,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.dbdgrp.bas.ownextkey">
<c-select disabled :code="codes.ownextkey" v-model="model.bopmod.dbdgrp.bas.ownextkey" style="width:100%" placeholder="请选择地区机构号">
<c-select disabled :code="codes.ownextkey1" v-model="model.bopmod.dbdgrp.bas.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
......@@ -234,7 +234,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="bopmod.dbdgrp.bas.methods">
<c-select disabled :code="codes.methods" v-model="model.bopmod.dbdgrp.bas.methods" style="width:100%" placeholder="请输入结算方式">
<c-select disabled :code="codes.bopmethods" v-model="model.bopmod.dbdgrp.bas.methods" style="width:100%" placeholder="请输入结算方式">
</c-select>
</el-form-item>
</c-col>
......
......@@ -3,40 +3,40 @@
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000042')" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000042')">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select disabled :code="codes.cnyflg" v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择">
</c-select>
</el-form-item>
</c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000045')" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000045')">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select disabled :code="codes.traflg" v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择">
</c-select>
</el-form-item>
</c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000077')">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select disabled :code="codes.outflg" v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择">
</c-select>
</el-form-item>
</c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000113')" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000113')">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select disabled :code="codes.libflg" v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择">
</c-select>
</el-form-item>
</c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000142')" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000142')">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select disabled :code="codes.vouflg" v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择">
</c-select>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<c-row>
<c-rol :span="24">
<c-col :span="24">
<!-- ------页面左侧----------- -->
<c-col :span="12">
<c-col :span="24">
......@@ -28,7 +28,7 @@
</c-col>
</c-col>
</c-col>
</c-rol>
</c-col>
</c-row>
<!-- <c-col :span="12">
......
......@@ -14,7 +14,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
......@@ -39,7 +38,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
......@@ -53,10 +51,9 @@
<c-button
style="margin: 0 0"
:disabled="this.flag"
disabled
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
......@@ -251,7 +248,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
......@@ -260,7 +256,6 @@
type="primary"
v-model="model.gctp.prbp.det"
style="margin: 0 0"
@click="onPrbpDet"
>
Temp.
</c-button>
......@@ -288,7 +283,6 @@
v-model="model.gcdgrp.rec.payrol"
placeholder="请选择Payer"
style="width: 100%"
@change="commonExecuteRule('gcdgrp.rec.payrol')"
>
<el-option
v-for="item in codes.payrol"
......@@ -319,7 +313,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
......@@ -328,7 +321,6 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
>
Details
</c-button>
......@@ -681,9 +673,10 @@ export default {
mixins: [commonProcess],
data(){
return {
}
},
computed: {
},
methods:{...Event},
created:function(){
......
......@@ -94,7 +94,7 @@
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbe.total">
:total="1">
</el-pagination>
</div>
</c-col>
......@@ -162,7 +162,7 @@
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbb.total">
:total="1">
</el-pagination>
</div>
</c-col>
......@@ -254,7 +254,7 @@
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmpty.total">
:total="1">
</el-pagination>
</div>
</c-col>
......
......@@ -7,7 +7,7 @@
<c-col :span="24">
<c-col :span="21">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select :code="codes.szflg" v-model="model.bopmod.szflg" style="width:95%" placeholder="请选择申报类型">
<c-select :code="codes.szflg" v-model="model.bopmod.szflg" style="width:95%" placeholder="请选择申报类型" @change="slChange">
</c-select>
</el-form-item>
</c-col>
......@@ -102,6 +102,7 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Getset/Event"
import Utils from "~/utils";
export default {
inject: ['root'],
......@@ -112,7 +113,16 @@ export default {
}
},
methods:{...Event},
methods:{
...Event,
async slChange(){
// this.executeRule("bopmod.szflg").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.updateModel(this.model, res.data);
// }
// });
}
},
created:function(){
}
......
......@@ -23,9 +23,43 @@
<m-gitsetp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="liability">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="this.flag" label="Bookings" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="Completion">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Messages" name="Messages">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="Attachments">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--lendoc PD000001 收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<m-docpan :model="model" :codes="codes"/>
<el-tab-pane label="收账通知" name="docpan1">
<m-docpan1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--bopgat PD000006 外管信息 -->
<el-tab-pane label="外管信息" name="wg">
......@@ -43,13 +77,16 @@
</c-content>
</el-tab-pane>
<!--cnybop PD000002 跨境人民币申报 -->
<el-tab-pane label="$t('cnybop.PD000002')" name="cnyp">
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane label="$t('limmod.PD001139')" name="shisuan">
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
......@@ -66,22 +103,38 @@ import Check from "~/model/Getset/Check"
import Default from "~/model/Getset/Default"
import Pattern from "~/model/Getset/Pattern"
import Gitsetp1 from "./Gitsetp1"
import Docpan from "./Docpan"
import Docpan1 from "./Docpan"
import Wg from "./Wg"
import Basp from "./Basp"
import Cnyp from "./Cnyp"
import Shisuan from "./Shisuan"
import Shisuan from "./Shisuan";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Getset",
components:{
"m-gitsetp1" : Gitsetp1,
"m-docpan" : Docpan,
"m-docpan1" : Docpan1,
"m-wg" : Wg,
"m-basp" : Basp,
"m-cnyp" : Cnyp,
"m-shisuan" : Shisuan,
"m-engp" :Engp,
"m-setpan" : Setpan,
"m-glepan" :Glepan,
"m-coninfp" :Coninfp,
"m-docpan" :Docpan,
"m-doctre" :Doctre,
"m-limitbody" : Limitbody,
},
provide() {
return {
......@@ -102,6 +155,7 @@ export default {
codes: {
...CodeTable,
},
flag:false,
}
},
methods:{
......@@ -109,11 +163,15 @@ export default {
this.tabClick(tab)
/**
* do it yourself
**/const name = tab.name
**/
const name = tab.name
let rulePath;
if (name === "basp") {
rulePath = "bopmod.dbdp.basp";
}
if(name==="setpan"){
this.flag=true;
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) {
......
......@@ -85,7 +85,9 @@
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-input disabled v-model="model.gidgrp.rec.orcamt" placeholder="请输入Contract Amount "></c-input>
<el-form-item label-width="5px" prop="gidgrp.rec.orcamt">
<c-input disabled v-model="model.gidgrp.rec.orcamt" placeholder="请输入Contract Amount "></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -116,7 +118,9 @@
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<c-input v-if="model.gitp.swiftflg=='Y'" disabled v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input>
<el-form-item v-if="model.gitp.swiftflg=='Y'" label-width="5px" prop="gidgrp.rec.jurlaw">
<c-input disabled v-model="model.gidgrp.rec.jurlaw" maxlength="35" placeholder="请输入Law of Jurisdiction"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
......
......@@ -518,12 +518,17 @@
</c-select>
<template slot="footer">
<c-input
:disabled="model.gidgrp.blk.apprul=='URDG'||model.gidgrp.blk.apprul=='NONE'||model.gidgrp.blk.apprul=='UCPR'"
v-model="model.gidgrp.blk.apprultxt"
maxlength="35"
placeholder="请输入Applicable Rules"
></c-input>
<el-form-item
label-width="5px"
prop="gidgrp.blk.apprultxt"
>
<c-input
:disabled="model.gidgrp.blk.apprul=='URDG'||model.gidgrp.blk.apprul=='NONE'||model.gidgrp.blk.apprul=='UCPR'"
v-model="model.gidgrp.blk.apprultxt"
maxlength="35"
placeholder="请输入Applicable Rules"
></c-input>
</el-form-item>
</template>
</c-fullbox>
</el-form-item>
......@@ -1226,9 +1231,12 @@
<c-col :span="24">
<c-col :span="20">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Expiry Condition/ Evt." prop="gidgrp.blk.exptxt">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gitp.exptxtmodflg==''" label="Expiry Condition/ Evt." prop="gidgrp.blk.exptxt">
<c-input type="textarea" rows="4" :disabled="model.gitp.exptxtmodflg==''" v-model="model.gidgrp.blk.exptxt" maxlength="780" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input>
</el-form-item>
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gitp.exptxtmodflg=='X'" label="Expiry Condition/ Evt." prop="gidgrp.blk.atxexptxt">
<c-input type="textarea" rows="4" :disabled="model.gitp.exptxtmodflg==''" v-model="model.gidgrp.blk.atxexptxt" maxlength="780" show-word-limit placeholder="请输入Expiry Condition/ Evt." ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitp.exptxtmodflg" :disabled="model.gidgrp.rec.exptyp=='FIXD'||model.gidgrp.rec.exptyp=='OPEN'||model.gidgrp.rec.exptyp==''" style="margin:0 0 0 10px">Modify Text</c-checkbox>
......
......@@ -87,7 +87,7 @@
</c-content>
</el-tab-pane>
<el-tab-pane label="Messages" name="Messages">
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -320,6 +320,8 @@ export default {
}
if(name==='dclpp'){
rulePath = "dclpp";
}if(name='docpan'){
rulePath="trnmod.trndoc.docpan";
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
......
<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,11 +71,38 @@ 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 {
......@@ -36,6 +114,7 @@ export default {
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 处理数据逻辑
}
......
......@@ -49,7 +49,9 @@
<c-col :span="12">
<el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select disabled v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
</c-select>
<el-option v-for="item in codes.avbby" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -89,7 +91,14 @@
<c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
</c-select>
<el-option
v-for="item in codes.lcrtyp1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......
......@@ -4,6 +4,13 @@
<c-col :span="24">
<el-form-item label="Available with" prop="lidgrp.rec.avbwth">
<c-select disabled v-model="model.lidgrp.rec.avbwth" style="width:100%" placeholder="请选择Available with">
<el-option
v-for="item in codes.avbwth"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -53,6 +60,13 @@
<c-col :span="24">
<el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select disabled v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
<el-option
v-for="item in codes.avbby"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -167,6 +181,13 @@
<c-col :span="24">
<el-form-item label="Country or region Code" prop="lidgrp.rec.stacty">
<c-select disabled v-model="model.lidgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country">
<el-option
v-for="item in codes.stacty"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......
......@@ -6,22 +6,22 @@
<c-input disabled type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="52000" :rows="30" show-word-limit placeholder="请输入Description. of Goods" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" @click="">
</c-button>
</c-col>
<c-col :span="18">
<el-form-item label="Goods Code " prop="lidgrp.rec.stagod">
<c-select
disabled
v-model="model.lidgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code ">
</c-select>
</el-form-item>
</c-col>
</div>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search" @click="">
</c-button>
</c-col>
<c-col :span="18">
<el-form-item label="Goods Code " prop="lidgrp.rec.stagod">
<c-select disabled v-model="model.lidgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code ">
<el-option v-for="item in codes.godcod" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
......
......@@ -23,8 +23,15 @@
<c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-input disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
</c-input>
<c-select disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
<el-option
v-for="item in codes.lcrtyp1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -69,6 +76,13 @@
<c-col :span="24">
<el-form-item label="Amount Specification" prop="lidgrp.rec.nomspc">
<c-select disabled v-model="model.lidgrp.rec.nomspc" style="width:100%" placeholder="请选择Amount Specification">
<el-option
v-for="item in codes.nomspc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -167,6 +181,13 @@
<c-col :span="24">
<el-form-item label="Confirm. Instructions" prop="lidgrp.rec.cnfdet">
<c-select disabled v-model="model.lidgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirm. Instructions">
<el-option
v-for="item in codes.cnfdet"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -184,6 +205,13 @@
<c-col :span="24">
<el-form-item label="Mortgage Flag" prop="lidgrp.rec.guaflg">
<c-select disabled v-model="model.lidgrp.rec.guaflg" style="width:100%" placeholder="请选择Mortgage Flag">
<el-option
v-for="item in codes.guaflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......
......@@ -80,6 +80,11 @@
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
......@@ -133,6 +138,7 @@ export default {
"m-setpan" : Setpan,
"m-engp" : Engp,
"m-limitbody" : Limitbody,
"m-glepan" : Glepan,
},
provide() {
return {
......
......@@ -146,6 +146,7 @@
maxlength="6"
style="width: 95%"
placeholder="请输入Transaction Type "
@keyup.enter.native="showGridPromptDialog('atp.cod')"
></c-input>
</c-col>
<!-- <c-input v-model="model.atpget.sdamod.seainf" style="width:10%" placeholder="i"></c-input> -->
......
......@@ -134,6 +134,7 @@
maxlength="6"
style="width: 95%"
placeholder="请输入Transaction Type "
@keyup.enter.native="showGridPromptDialog('atp.cod')"
></c-input>
</c-col>
<!-- <c-input v-model="model.atpget.sdamod.seainf" style="width:10%" placeholder="i"></c-input> -->
......
......@@ -16,6 +16,11 @@
<!-- </c-content> -->
<!-- </el-tab-pane>
</el-tabs> -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</template>
......
......@@ -16,6 +16,12 @@
<!-- </c-content> -->
<!-- </el-tab-pane>
</el-tabs> -->
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</template>
......
......@@ -188,7 +188,10 @@
</c-button>
</c-col>
-->
<c-col :span="11" style="text-align:right">
<c-col :span="7" :offset="1">
<c-checkbox v-model="model.liaall.liaccv.gleflg">过账</c-checkbox>
</c-col>
<c-col :span="3" style="text-align:right">
<!-- <c-row> -->
<!-- <c-col :span="24" style="margin-left:35px;text-align:right"> -->
<c-button size="small" type="primary" @click="onLiaccvAdd">
......
......@@ -260,7 +260,8 @@
</c-col>
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes" />
<c-col :span="23" style="margin-left:9px;height:24px;margin-top:25px">
<el-form-item class="formItemLabel" label="Settlement:" label-width="200px">
<el-form-item class="formItemLabel" label="Settlement:" label-width="100px">
<span style="color:red">{{ this.model.setmod.dspflg == 'C'? "temporary":"" }}</span>
</el-form-item>
</c-col>
<c-col :span="23" style="margin-left: 9px">
......
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