Commit b9eec44e by “yanyuxin”

trtame交易修改

parent 6f663ad4
......@@ -9,52 +9,26 @@ let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null,
"trtmod.finmod.flttyp" :null,
"liaall.limmod.ownref" :null,
"cfatrt.recgrp.bas.currence" :null,
"liaall.limmod.ecifno" :null,
"cfatrt.recgrp.bas.debtorname" :null,
"trdgrp.fip.pts.nam" :null,
"cfatrt.recgrp.bas.dofoexlotype" :null,
"cfatrt.cfaflg" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"trtmod.finmod.act1" :null,
"trtmod.finmod.act3" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"trtp0.brdget.sdamod.dadsnd" :null,
"cfatrt.ownextkey" :null,
"trtmod.finmod.ratchgtyp" :null,
"cfatrt.recgrp.bas.maturity" :null,
"cfatrt.recgrp.bas.actiondesc" :null,
"trtp0.bedget.sdamod.dadsnd" :null,
"trtmod.finmod.ratchgprd" :null,
"trtp0.ledget.sdamod.dadsnd" :null,
"cfatrt.cda.useofunds" :null,
"trdgrp.rec.lprtyp" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"trtmod.finmod.dinmod.jzllgz" :null,
"cfatrt.recgrp.bas.dofoexlocode" :null,
"cfatrt.recgrp.bas.valuedate" :null,
"cfatrt.recgrp.bas.lenagree" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"cfatrt.recgrp.bas.actiontype" :null,
"cfatrt.recgrp.bas.contractamount" :null,
"cfatrt.cda.cfeogudamount" :null,
"trtmod.finmod.ovdinttyp" :null,
"mtabut.coninf.conexedat" :null,
"trtmod.finmod.fltval" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"trtp0.recget.sdamod.dadsnd" :null,
"ametyp" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"cfatrt.recgrp.bas.debtorcode" :null,
"cfatrt.recgrp.bas.lenproname" :null,
"cfatrt.cda.cfeogudcurr" :null,
"cfatrt.recgrp.bas.creditorcode" :null,
"setmod.docamt" :null,
"cfatrt.recgrp.bas.anninrate" :null,
"trtmod.finmod.ovdintrat" :null,
"trtmod.finmod.intdat" :null,
"trtp0.bcdget.sdamod.dadsnd" :null,
"trtmod.finmod.ratchgdat" :null,
}
......
......@@ -20,35 +20,30 @@ export default {
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"cfatrt.cdaflg" :Utils.defaultFunction,
"trtmod.finmod.ovdinttyp" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"trtmod.finmod.wjdkfl" :Utils.defaultFunction,
"trdgrp.rec.fintyp" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"cfatrt.recgrp.bas.actiontype" :Utils.defaultFunction,
"cfatrt.recp.pubp.acp" :Utils.defaultFunction,
"cfatrt.basflg" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"newmatdat" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"cfatrt.cfaflg" :Utils.defaultFunction,
"trtmod.finmod.ratchgtyp" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"trtmod.finmod.ratchgtyp" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"trtmod.finmod.intdat" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trtmod.finmod.flttyp" :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,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"newmatdat" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -170,53 +170,5 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -330,74 +330,4 @@ export default {
{max: 14,message:"长度不能超过14"}
],
"cfatrt.cda.cfeogudamount":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"cfatrt.cda.cfeogudad":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cfatrt.recgrp.bas.dofoexlocode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"cfatrt.recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"cfatrt.recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"cfatrt.recgrp.bas.contractamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"cfatrt.recgrp.bas.anninrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"cfatrt.recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cfatrt.recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cfatrt.recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"cfatrt.recgrp.bas.debtorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfatrt.recgrp.bas.lenproname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfatrt.recgrp.bas.lenagree":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"cfatrt.recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
}
\ No newline at end of file
......@@ -191,43 +191,6 @@ export default class Trtame{
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
cfatrt:{
cfaflg:"", // 数据采集标志 .cfatrt.cfaflg
basflg:"", // 签约信息 .cfatrt.basflg
ownextkey:"", // 地区机构号 .cfatrt.ownextkey
dclflg:"", // 变动信息 .cfatrt.dclflg
cda:{
cfeogudad:"", // 中资企业境外担保项下贷款业务批准文件号 .cfatrt.cda.cfeogudad
cfeogudamount:"", // 中资企业境外担保项下境内贷款额度金额 .cfatrt.cda.cfeogudamount
useofunds:"", // 资金用途 .cfatrt.cda.useofunds
cfeogudcurr:"", // 中资企业境外担保项下境内贷款额度币种 .cfatrt.cda.cfeogudcurr
},
cdaflg:"", // 是否外保内贷 .cfatrt.cdaflg
recgrp:{
bas:{
actiontype:"", // 操作类型 .cfatrt.recgrp.bas.actiontype
actiondesc:"", // 删除原因 .cfatrt.recgrp.bas.actiondesc
dofoexlocode:"", // 国内外汇贷款编号 .cfatrt.recgrp.bas.dofoexlocode
creditorcode:"", // 债权人代码 .cfatrt.recgrp.bas.creditorcode
debtorname:"", // 债务人中文名称 .cfatrt.recgrp.bas.debtorname
dofoexlotype:"", // 国内外汇贷款类型 .cfatrt.recgrp.bas.dofoexlotype
lenproname:"", // 转贷项目名称 .cfatrt.recgrp.bas.lenproname
lenagree:"", // 转贷协议号 .cfatrt.recgrp.bas.lenagree
valuedate:"", // 起息日 .cfatrt.recgrp.bas.valuedate
maturity:"", // 到期日 .cfatrt.recgrp.bas.maturity
currence:"", // 贷款币种 .cfatrt.recgrp.bas.currence
anninrate:"", // 年化利率值 .cfatrt.recgrp.bas.anninrate
remark:"", // 备注 .cfatrt.recgrp.bas.remark
contractamount:"", // 签约金额 .cfatrt.recgrp.bas.contractamount
debtorcode:"", // 债务人代码 .cfatrt.recgrp.bas.debtorcode
},
},
recp:{
pubp:{
acp:"", // 确认 .cfatrt.recp.pubp.acp
},
},
},
pageId: "" // ctx的key
}
}
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="数据采集标志" prop="cfatrt.cfaflg">
<c-select v-model="model.cfatrt.cfaflg" style="width:100%" placeholder="请选择数据采集标志">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfatrt.basflg">签约信息</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfatrt.dclflg">变动信息</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="地区机构号" prop="cfatrt.ownextkey">
<c-select v-model="model.cfatrt.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="是否外保内贷" prop="cfatrt.cdaflg">
<c-select v-model="model.cfatrt.cdaflg" style="width:100%" placeholder="请选择是否外保内贷">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="资金用途" prop="cfatrt.cda.useofunds">
<c-select v-model="model.cfatrt.cda.useofunds" style="width:100%" placeholder="请选择资金用途">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="中资企业境外担保项下境内贷款额度币种" prop="cfatrt.cda.cfeogudcurr">
<c-select v-model="model.cfatrt.cda.cfeogudcurr" style="width:100%" placeholder="请选择中资企业境外担保项下境内贷款额度币种">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="中资企业境外担保项下境内贷款额度金额" prop="cfatrt.cda.cfeogudamount">
<c-input v-model="model.cfatrt.cda.cfeogudamount" placeholder="请输入中资企业境外担保项下境内贷款额度金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="中资企业境外担保项下贷款业务批准文件号" prop="cfatrt.cda.cfeogudad">
<c-input type="textarea" v-model="model.cfatrt.cda.cfeogudad" maxlength="32" show-word-limit placeholder="请输入中资企业境外担保项下贷款业务批准文件号" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="国内外汇贷款编号" prop="cfatrt.recgrp.bas.dofoexlocode">
<c-input v-model="model.cfatrt.recgrp.bas.dofoexlocode" maxlength="28" placeholder="请输入国内外汇贷款编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="删除原因" prop="cfatrt.recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.cfatrt.recgrp.bas.actiondesc" maxlength="32" show-word-limit placeholder="请输入删除原因" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSav">
&Save
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="操作类型" prop="cfatrt.recgrp.bas.actiontype">
<c-select v-model="model.cfatrt.recgrp.bas.actiontype" style="width:100%" placeholder="请选择操作类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
&Check
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="债权人代码" prop="cfatrt.recgrp.bas.creditorcode">
<c-input v-model="model.cfatrt.recgrp.bas.creditorcode" maxlength="12" placeholder="请输入债权人代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国内外汇贷款类型" prop="cfatrt.recgrp.bas.dofoexlotype">
<c-select v-model="model.cfatrt.recgrp.bas.dofoexlotype" style="width:100%" placeholder="请选择国内外汇贷款类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfatrt.recp.pubp.acp">确认</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="贷款币种" prop="cfatrt.recgrp.bas.currence">
<c-select v-model="model.cfatrt.recgrp.bas.currence" style="width:100%" placeholder="请选择贷款币种">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="签约金额" prop="cfatrt.recgrp.bas.contractamount">
<c-input v-model="model.cfatrt.recgrp.bas.contractamount" placeholder="请输入签约金额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="年化利率值" prop="cfatrt.recgrp.bas.anninrate">
<c-input v-model="model.cfatrt.recgrp.bas.anninrate" placeholder="请输入年化利率值"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr">
&Error
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="起息日" prop="cfatrt.recgrp.bas.valuedate">
<c-date-picker type="date" v-model="model.cfatrt.recgrp.bas.valuedate" style="width:100%" placeholder="请选择起息日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="到期日" prop="cfatrt.recgrp.bas.maturity">
<c-date-picker type="date" v-model="model.cfatrt.recgrp.bas.maturity" style="width:100%" placeholder="请选择到期日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="债务人代码" prop="cfatrt.recgrp.bas.debtorcode">
<c-input v-model="model.cfatrt.recgrp.bas.debtorcode" maxlength="18" placeholder="请输入债务人代码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="债务人中文名称" prop="cfatrt.recgrp.bas.debtorname">
<c-input v-model="model.cfatrt.recgrp.bas.debtorname" maxlength="128" placeholder="请输入债务人中文名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="转贷项目名称" prop="cfatrt.recgrp.bas.lenproname">
<c-input v-model="model.cfatrt.recgrp.bas.lenproname" maxlength="128" placeholder="请输入转贷项目名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="转贷协议号" prop="cfatrt.recgrp.bas.lenagree">
<c-input v-model="model.cfatrt.recgrp.bas.lenagree" maxlength="128" placeholder="请输入转贷协议号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="备注" prop="cfatrt.recgrp.bas.remark">
<c-input type="textarea" v-model="model.cfatrt.recgrp.bas.remark" maxlength="31" show-word-limit placeholder="请输入备注" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
E&xit
</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/Trtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" placeholder="请输入File Receiver"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" placeholder="请输入Document tree"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
Sho&w
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
D&etails
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
&Add New
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">Show Incoming Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">Show Outgoing Messages</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" placeholder="请输入Connected Documents"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" placeholder="请输入ECIFNO"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="liaall.limmod.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="liaall.limmod.limpts.oth.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" placeholder="请输入保证金余额"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet1">
查询
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg2">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" placeholder="请选择Flag to Mark Non-revolving Limits">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
查询
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.lsh" data-path=".liaall.limmod.limpts.lsh" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同流�'号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" placeholder="请输入合同流�'号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
试算
</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/Trtame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </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/Trtame/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">
<!--PD000020 -->
<el-tab-pane label="Amendment" name="trtamep">
<m-trtamep :model="model" :codes="codes"/>
<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">
<!--trtame PD000020 Amendment -->
<el-tab-pane label="Amendment" name="ovwp">
<m-trtame :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<!--liaall PD000027 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="国内外汇贷款数据采集" name="cfap">
<m-cfap :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="国内外汇贷款-签约信息" name="conp">
<m-conp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -66,28 +42,26 @@ import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Trtame/Check"
import Default from "~/model/Trtame/Default"
import Pattern from "~/model/Trtame/Pattern"
import Trtamep from "./Trtame"
import Engp from "./Engp"
import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Limitbody from "./Limitbody"
import Cfap from "./Cfap"
import Conp from "./Conp"
import Ovwp from "./Ovwp"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
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: "Trtame",
components:{
"m-trtamep" : Trtamep,
"m-ovwp" : Ovwp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
"m-cfap" : Cfap,
"m-conp" : Conp,
},
provide() {
return {
......@@ -97,18 +71,24 @@ export default {
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "ovwp",
trnName: "trtame",
trnType: "",
model: new Trtame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
codes: {...CodeTable
},
}
},
methods:{
tabClick(){
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
......@@ -116,6 +96,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