Commit d4c156ae by “yanyuxin”

trtopn交易修改

parent c67d93f1
......@@ -94,15 +94,15 @@ export default {
],
"trdgrp.fip.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 200,message:"长度不能超过200"}
],
"trdgrp.fip.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 200,message:"长度不能超过200"}
],
"trdgrp.fip.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 200,message:"长度不能超过200"}
],
......
import Utils from "~/utils"
/**
* Trtset Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"setamt" :null,
"liaall.limmod.ecifno" :null,
"trdgrp.fip.pts.nam" :null,
"trtmod.finmod.act3" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"setmod.docamt" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Trtset Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"trtmod.finmod.cbs.cbe.intamt1" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbe.intamt2" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbe.intamty2" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbe.intamty1" :Utils.defaultFunction,
"trtmod.finmod.intprd" :Utils.defaultFunction,
"trdgrp.rec.ovdflg" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbe.intamt" :Utils.defaultFunction,
"trtmod.finmod.reptyp" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbe.amt" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"trtmod.finmod.acttyp" :Utils.defaultFunction,
"trtmod.finmod.act3" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trdgrp.cbs.max.amt" :Utils.defaultFunction,
"trdgrp.rec.stttendat" :Utils.defaultFunction,
"trdgrp.rec.matdat" :Utils.defaultFunction,
"trdgrp.rec.actrat" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"trdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"trtmod.finmod.cbs.cbb.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onFinmodCal(){
let rtnmsg = await this.executeRule("finmod.cal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Trtset{
constructor () {
this.data = {
trdgrp:{
rec:{
pntref:"", // 父交易参考号 .trdgrp.rec.pntref
pntnam:"", // Name .trdgrp.rec.pntnam
ownref:"", // 参考号 .trdgrp.rec.ownref
nam:"", // Name .trdgrp.rec.nam
pctfin:"", // 融资比例 .trdgrp.rec.pctfin
stttendat:"", // 起息日期 .trdgrp.rec.stttendat
matdat:"", // Maturity Date .trdgrp.rec.matdat
fintyp:"", // 融资品种 .trdgrp.rec.fintyp
finact:"", // 融资账号 .trdgrp.rec.finact
ovdflg:"", // Overdue Flag .trdgrp.rec.ovdflg
actrat:"", // 执行利率 .trdgrp.rec.actrat
},
cbs:{
max:{
cur:"", // 融资金额 .trdgrp.cbs.max.cur
amt:"", // 融资金额 .trdgrp.cbs.max.amt
},
opn1:{
cur:"", // 余额 .trdgrp.cbs.opn1.cur
amt:"", // Balance .trdgrp.cbs.opn1.amt
},
},
fip:{
pts:new Pts().data,
},
},
trtp0:{
bcdget:{
sdamod:{
seainf:"", // .trtp0.bcdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.bcdget.sdamod.dadsnd
},
},
ledget:{
sdamod:{
seainf:"", // .trtp0.ledget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.ledget.sdamod.dadsnd
},
},
brdget:{
sdamod:{
seainf:"", // .trtp0.brdget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.brdget.sdamod.dadsnd
},
},
bedget:{
sdamod:{
seainf:"", // .trtp0.bedget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.bedget.sdamod.dadsnd
},
},
recget:{
sdamod:{
seainf:"", // .trtp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .trtp0.recget.sdamod.dadsnd
},
},
},
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trtmod:{
finmod:{
setlab:"", // Settlement Label .trtmod.finmod.setlab
fincod:"", // 借据号 .trtmod.finmod.fincod
reptyp:"", // 还款方式 .trtmod.finmod.reptyp
cbs:{
cbb:{
intamt1:"", // 表外欠息利息 .trtmod.finmod.cbs.cbb.intamt1
intamty1:"", // 表外本年欠息 .trtmod.finmod.cbs.cbb.intamty1
intamt2:"", // 表内欠息利息 .trtmod.finmod.cbs.cbb.intamt2
intamty2:"", // 表内本年欠息 .trtmod.finmod.cbs.cbb.intamty2
intamt:"", // 利息 .trtmod.finmod.cbs.cbb.intamt
amt:"", // 本金 .trtmod.finmod.cbs.cbb.amt
},
cbe:{
intamt1:"", // 偿还表外欠息利息 .trtmod.finmod.cbs.cbe.intamt1
intamty1:"", // 偿还表外欠息 .trtmod.finmod.cbs.cbe.intamty1
intamt2:"", // 偿还表内欠息利息 .trtmod.finmod.cbs.cbe.intamt2
intamty2:"", // 偿还表内欠息 .trtmod.finmod.cbs.cbe.intamty2
intamt:"", // 偿还本金利息 .trtmod.finmod.cbs.cbe.intamt
amt:"", // 偿还本金 .trtmod.finmod.cbs.cbe.amt
},
totint:"", // 偿还利息总额 .trtmod.finmod.cbs.totint
},
acttyp:"", // 第三方还款方式 .trtmod.finmod.acttyp
act3:"", // 第三方还款账号 .trtmod.finmod.act3
intprd:"", // 计息周期 .trtmod.finmod.intprd
},
},
setmod:{
doccur:"", // document currency .setmod.doccur
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
setamt:"", // Settlement Amount .setamt
setact:"", // Settlement Account .setact
clsflg:"", // 抹�'� .clsflg
setact1:"", // 我行借记�'�户 .setact1
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpfp:{
clmcbe:[], // .liaall.limmod.limpfp.clmcbe
clmcbb:[], // .liaall.limmod.limpfp.clmcbb
clmpty:[], // .liaall.limmod.limpfp.clmpty
},
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -307,7 +307,7 @@ const BusRouter = [
{ path: 'litdav', component: Litdav, name: 'Litdav', meta: { title: '进口信用证通知到单 ' } },
{ path: 'litdck', component: Litdck, name: 'Litdck', meta: { title: '进口信用证到单' } },
{ path: 'inflid', component: Inflid, name: 'Inflid', meta: { title: '进口信用证交易查询' } },
{ path: 'inftrd', component: Inftrd, name: 'Inftrd', meta: { title: '进口押汇查询' } },
{ path: 'inftrd', component: Inftrd, name: 'Inftrd', meta: { title: '进口融资查询' } },
{ path: 'trtopn', component: Trtopn, name: 'Trtopn', meta: { title: '进口融资开立' } },
{ path: 'trtame', component: Trtame, name: 'Trtame', meta: { title: '进口融资修改' } },
{ path: 'trtsel', component: Trtsel, name: 'Trtsel', meta: { title: '进口融资入口交易' } },
......
......@@ -142,7 +142,7 @@
</c-col>
<c-col :span="18">
<el-form-item label="基准利率" prop="trdgrp.rec.intrat">
<c-input v-model="model.trdgrp.rec.intrat" placeholder="请输入基准利率"></c-input>
<c-input v-model="model.trdgrp.rec.intrat" placeholder="请输入基准利率" :disabled="true"></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
......@@ -171,7 +171,8 @@
</c-col>
<c-col :span="24">
<el-form-item label="第一还款账号" prop="trtmod.finmod.act1">
<c-select v-model="model.trtmod.finmod.act1" style="width:100%" placeholder="请选择第一还款账号">
<c-select filterable allow-create v-model="model.trtmod.finmod.act1" style="width:100%" placeholder="请选择第一还款账号">
<el-option v-for="item in codes.act1" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -187,7 +188,11 @@
</c-col>
<c-col :span="24">
<el-form-item label="预扣息方式" prop="trtmod.finmod.inttyp">
<c-select v-model="model.trtmod.finmod.inttyp" style="width:100%" placeholder="请选择预扣息方式">
<c-select
v-model="model.trtmod.finmod.inttyp"
style="width:100%"
placeholder="请选择预扣息方式"
:disabled="model.trtmod.finmod.intprd !='7'">
<el-option v-for="item in codes.fininttyp" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......@@ -218,7 +223,11 @@
</c-col>
<c-col :span="24">
<el-form-item label="审批流程发起标识" prop="trtmod.finmod.dinmod.rmbsbs">
<c-select v-model="model.trtmod.finmod.dinmod.rmbsbs" style="width:100%" placeholder="请选择审批流程发起标识">
<c-select
v-model="model.trtmod.finmod.dinmod.rmbsbs"
style="width:100%"
placeholder="请选择审批流程发起标识"
:disabled="true">
<el-option v-for="item in codes.jzllgz" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......@@ -272,7 +281,7 @@
</c-col> -->
<c-col :span="24">
<el-form-item label="Address Block" prop="trdgrp.fip.pts.adrblk">
<c-input type="textarea" :autosize="{ minRows: 1, maxRows: 4}" :rows="3" v-model="model.trdgrp.fip.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block"></c-input>
<c-input type="textarea" :autosize="{ minRows: 1, maxRows: 5}" :rows="3" v-model="model.trdgrp.fip.pts.adrblk" maxlength="200" show-word-limit placeholder="请输入Address Block"></c-input>
</el-form-item>
</c-col>
<!--
......@@ -284,12 +293,21 @@
<c-col :span="24">
<el-form-item label="借据号" prop="trtmod.finmod.fincod">
<c-input v-model="model.trtmod.finmod.fincod" maxlength="17" placeholder="请输入借据号"></c-input>
<c-input v-model="model.trtmod.finmod.fincod"
maxlength="17"
placeholder="请输入借据号"
:disabled="true"></c-input>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="计息日期" prop="trtmod.finmod.intdat">
<c-input v-model="model.trtmod.finmod.intdat" maxlength="2" placeholder="请输入计息日期"></c-input>
<c-input
v-model="model.trtmod.finmod.intdat"
maxlength="2"
placeholder="请输入计息日期"
:disabled="model.trtmod.finmod.intprd == '6'
|| model.trtmod.finmod.intprd=='7'
|| model.trtmod.finmod.intprd=='B'"></c-input>
</el-form-item>
</c-col>
<c-col :span="9" :offset="1">
......@@ -297,7 +315,13 @@
</c-col>
<c-col :span="24">
<el-form-item label="利率调整周期" prop="trtmod.finmod.ratchgprd">
<c-select v-model="model.trtmod.finmod.ratchgprd" style="width:100%" placeholder="请选择利率调整周期">
<c-select
v-model="model.trtmod.finmod.ratchgprd"
style="width:100%"
placeholder="请选择利率调整周期"
:disabled="model.trtmod.finmod.ratchgtyp !='7'
&& model.trtmod.finmod.ratchgtyp!='8'
&& model.trtmod.finmod.ratchgtyp!='9'">
<el-option v-for="item in codes.ratchgprd" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......@@ -305,7 +329,11 @@
<c-col :span="24">
<el-form-item label="利率调整月日数" prop="trtmod.finmod.ratchgdat">
<c-input v-model="model.trtmod.finmod.ratchgdat" maxlength="4" placeholder="请输入利率调整月日数"></c-input>
<c-input
v-model="model.trtmod.finmod.ratchgdat"
maxlength="4"
placeholder="请输入利率调整月日数"
:disabled="model.trtmod.finmod.ratchgtyp != '4' && model.trtmod.finmod.ratchgtyp != '5'"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -329,7 +357,7 @@
<c-col :span="24">
<el-form-item label="浮动值" prop="trtmod.finmod.fltval">
<c-input v-model="model.trtmod.finmod.fltval" placeholder="请输入浮动值"></c-input>
<c-input v-model="model.trtmod.finmod.fltval" placeholder="请输入浮动值" :disabled="model.trtmod.finmod.flttyp =='0'"></c-input>
</el-form-item>
</c-col>
......@@ -343,7 +371,10 @@
<c-col :span="20">
<el-form-item label="罚息比率" prop="trtmod.finmod.ovdintrat">
<c-input v-model="model.trtmod.finmod.ovdintrat" placeholder="请输入罚息比率"></c-input>
<c-input
v-model="model.trtmod.finmod.ovdintrat"
placeholder="请输入罚息比率"
:disabled="model.trtmod.finmod.ovdinttyp == '0'"></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
......@@ -353,7 +384,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="第三方还款方式" prop="trtmod.finmod.acttyp1">
<c-select v-model="model.trtmod.finmod.acttyp1" style="width:100%" placeholder="请选择第三方还款方式">
<c-select v-model="model.trtmod.finmod.acttyp1" style="width:100%" placeholder="请选择第三方还款方式" >
<el-option v-for="item in codes.acttyp1" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
......@@ -366,9 +397,15 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="第三方还款账号" prop="trtmod.finmod.act3">
<c-select v-model="model.trtmod.finmod.act3" style="width:100%" placeholder="请选择第三方还款账号">
</c-select>
<el-form-item label="第三方还款账号" prop="trtmod.finmod.act3" >
<c-select
filterable
allow-create
v-model="model.trtmod.finmod.act3"
style="width:100%"
:disabled="model.trtmod.finmod.acttyp1 = null"
placeholder="请选择第三方还款账号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -387,7 +424,7 @@
<c-col :span="24">
<el-form-item label="利息付款账号" prop="trtmod.finmod.intact">
<c-input v-model="model.trtmod.finmod.intact" style="width:100%" placeholder="请选择利息付款账号">
<c-input v-model="model.trtmod.finmod.intact" style="width:100%" placeholder="请选择利息付款账号" :disabled="true">
</c-input>
</el-form-item>
</c-col>
......@@ -420,6 +457,7 @@
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Utils from "~/utils";
import Event from "~/model/Trtopn/Event"
export default {
onSeainf() {
......
......@@ -13,7 +13,7 @@
</c-function-btn>
<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="myTabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--Ovwp PD000026 Financing Details -->
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbe"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="Limit Type"
sortable
width="150">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="80">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="90">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptynam"
label="客户名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbe.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbb"
style="width: 100%"
>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbb.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmpty"
style="width: 100%"
>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dghfxh"
label="恢复序号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmpty.total">
</el-pagination>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtset/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--trtset PD000015 Settle -->
<el-tab-pane label="Settle" name="ovwp">
<m-Ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtset from "~/model/Trtset"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Trtset/Check"
import Default from "~/model/Trtset/Default"
import Pattern from "~/model/Trtset/Pattern"
import Ovwp from "./Ovwp"
import Engp from "./Engp"
import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Shisuan from "./Shisuan"
import Limitbody from "./Limitbody"
export default {
name: "Trtset",
components:{
"m-ovwp" : Ovwp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-shisuan" : Shisuan,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "Ovwp",
trnName: "trtset",
trnType: "",
model: new Trtset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入trtset交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment