Commit f7038188 by “yanyuxin”

Booking页面添加,trtopn定价系统页面添加

parent 165d8b82
......@@ -30,6 +30,7 @@ let checkObj = {
"trtmod.finmod.ovdintrat" :null,
"trtmod.finmod.intdat" :null,
"trtmod.finmod.ratchgdat" :null,
"trtfipl1blk" :null,
}
for (const key in checkObj) {
......
......@@ -31,6 +31,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"trtmod.finmod.ratchgtyp" :Utils.defaultFunction,
"trdgrp.cbs.max.cur" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trtmod.finmod.intdat" :Utils.defaultFunction,
"trtmod.finmod.flttyp" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
......@@ -45,5 +46,6 @@ export default {
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trtmod.finmod.dinmod.jzllgz" :Utils.defaultFunction,
"trtfipl1blk" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -330,4 +330,8 @@ export default {
{max: 14,message:"长度不能超过14"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
......@@ -96,7 +96,8 @@ export default class Trtame{
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod,
pageId: "" // ctx的key
pageId: "", // ctx的key
trtfipl1blk:"",
}
}
}
\ No newline at end of file
......@@ -23,6 +23,7 @@ export default {
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
......
......@@ -252,4 +252,8 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
......@@ -71,7 +71,8 @@ export default class Trtcan{
mtabut: new Pub().data.Mtabut,
setmod: new Pub().data.Setmod,
pageId: "" // ctx的key
pageId: "", // ctx的key
trtfipl1blk:"",
}
}
}
\ No newline at end of file
......@@ -8,6 +8,7 @@ let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null,
"trtmod.finmod.flttyp" :null,
"dftcre.dfdgrp.rec.matdat" :null,
"trtmod.finmod.dinmod.chapdm" :null,
"liaall.limmod.ownref" :null,
"dftcre.dfdgrp.rec.dfuflg" :null,
"dftcre.dfdgrp.rec.resamt" :null,
......@@ -15,12 +16,14 @@ let checkObj = {
"dftcre.dfdgrp.apl.namelc" :null,
"trdgrp.rec.stttendat" :null,
"liaall.limmod.ecifno" :null,
"trtmod.finmod.dinmod.shpjgh" :null,
"dftcre.dfdgrp.rec.bankcn" :null,
"dftcre.dfdgrp.cbs.max.cur" :null,
"dftcre.dfdgrp.cbs.max.amt" :null,
"trdgrp.rec.actrat" :null,
"cfatrt.cfaflg" :null,
"trdgrp.rec.invtyp" :null,
"cfatrt.cfaflg" :null,
"dftcre.dfdgrp.rec.trntyp" :null,
"trtp.usr.extkey" :null,
"cfadft.cfaflg" :null,
......@@ -38,6 +41,7 @@ let checkObj = {
"trtmod.finmod.dinmod.rmbsbs" :null,
"trtmod.finmod.dinjdm" :null,
"trtmod.finmod.ratchgtyp" :null,
"trdgrp.rec.oppacc" :null,
"dftcre.dfdgrp.dff.pts.adrblk" :null,
"trdgrp.rec.oppacc" :null,
"trdgrp.rec.stagod" :null,
......@@ -51,6 +55,7 @@ let checkObj = {
"trdgrp.cbs.max.amt" :null,
"trdgrp.rec.lprtyp" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"trtmod.finmod.dinmod.ockhdm" :null,
"dftcre.dfdgrp.apl.pts.adrblk" :null,
"trdgrp.fip.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
......@@ -64,12 +69,15 @@ let checkObj = {
"trtmod.finmod.ovdinttyp" :null,
"dftcre.dfdgrp.rec.stttendat" :null,
"mtabut.coninf.conexedat" :null,
"trtmod.finmod.dinmod.hxkhdm" :null,
"trtmod.finmod.fltval" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"trdgrp.cbs.max.cur" :null,
"trdgrp.rec.mycontno" :null,
"trdgrp.cbs.max.cur" :null,
"trdgrp.fip.pts.extkey" :null,
"cfadft.ownextkey" :null,
"trtmod.finmod.dinmod.shpijg" :null,
"trdgrp.fip.namelc" :null,
"cfatrt.cda.cfeogudcurr" :null,
"setmod.docamt" :null,
......@@ -79,13 +87,13 @@ let checkObj = {
"trtp.act" :null,
"trdgrp.rec.issdat" :null,
"trtmod.finmod.intdat" :null,
"trdgrp.rec.issdat" :null,
"dftcre.dfdgrp.dff.adrelc" :null,
"trdgrp.rec.tenday" :null,
"trtmod.finmod.ratchgdat" :null,
"dftcre.dfdgrp.rec.fintyp" :null,
"trdgrp.rec.flowflag" :null,
"trdgrp.rec.fintyp1" :null,
// "trdgrp.rec.sndto" :null,
}
for (const key in checkObj) {
......
......@@ -58,6 +58,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"cfadft.basflg" :Utils.defaultFunction,
"trtmod.finmod.ratchgtyp" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"cfatrt.cfaflg" :Utils.defaultFunction,
"trdgrp.fip.pts.adrblk" :Utils.defaultFunction,
"trtmod.finmod.accbch" :Utils.defaultFunction,
......
......@@ -25,7 +25,7 @@ export default class Trtopn{
trntyp:"", // 交易性质 .trdgrp.rec.trntyp
oppacc:"", // 对方账号 .trdgrp.rec.oppacc
flowflag:"", // 是否定向收付 .trdgrp.rec.flowflag
invtyp:"", // 发票类型 .trdgrp.rec.invtyp
invtyp:"", // 审批流程发起标识 .trdgrp.rec.invtyp
lprtyp:"", // 市场LPR期限品种 .trdgrp.rec.lprtyp
mycontno:"", // 交易合同号 .trdgrp.rec.mycontno
branchinr:"",
......@@ -136,6 +136,34 @@ export default class Trtopn{
dinmod:{
jzllgz:"", // 基准利率规则 .trtmod.finmod.dinmod.jzllgz
rmbsbs:"", // 审批流程发起标识 .trtmod.finmod.dinmod.rmbsbs
dinjdm:"", // 定价审批代码 .trtmod.finmod.dinmod.dinjdm
dinjls:"", // 定价流水号 .trtmod.finmod.dinmod.dinjls
ockhdm:"", // OC客户代码 .trtmod.finmod.dinmod.ockhdm
hxkhdm:"", // 核心客户代码 .trtmod.finmod.dinmod.hxkhdm
sxpfdm:"", // 授信批复代码 .trtmod.finmod.dinmod.sxpfdm
djhtno:"", // 合同号 .trtmod.finmod.dinmod.djhtno
sxlexi:"", // 授信类型 .trtmod.finmod.dinmod.sxlexi
spzhta:"", // 审批状态 .trtmod.finmod.dinmod.spzhta
chapdm:"", // 产品代码 .trtmod.finmod.dinmod.chapdm
shpijg:"", // 审批价格(不含税) .trtmod.finmod.dinmod.shpijg
dakaje:"", // 贷款金额 .trtmod.finmod.dinmod.dakaje
bizhog:"", // 币种 .trtmod.finmod.dinmod.bizhog
dakaqx:"", // 贷款期限 .trtmod.finmod.dinmod.dakaqx
qixndw:"", // 期限单位 .trtmod.finmod.dinmod.qixndw
maxqix:"", // 最大贷款期限 .trtmod.finmod.dinmod.maxqix
minqix:"", // 最小贷款期限 .trtmod.finmod.dinmod.minqix
maxdje:"", // 最大贷款金额 .trtmod.finmod.dinmod.maxdje
mindje:"", // 最小贷款金额 .trtmod.finmod.dinmod.mindje
chapmc:"", // 产品名称 .trtmod.finmod.dinmod.chapmc
spjgdc:"", // 审批价格点差(不含税) .trtmod.finmod.dinmod.spjgdc
sheplb:"", // 审批LIBOR .trtmod.finmod.dinmod.sheplb
libor:"", // 最新LIBOR .trtmod.finmod.dinmod.libor
dinjlb:"", // 定价LIBOR .trtmod.finmod.dinmod.dinjlb
ndjgbs:"", // 拟定价格标识 .trtmod.finmod.dinmod.ndjgbs
shpdch:"", // 审批价格点差(含税) .trtmod.finmod.dinmod.shpdch
shpjgh:"", // 审批价格(含税) .trtmod.finmod.dinmod.shpjgh
shuilv:"", // 增值税税率 .trtmod.finmod.dinmod.shuilv
lprtyp:"", // 市场LPR期限品种 .trtmod.finmod.dinmod.lprtyp
},
},
},
......@@ -250,6 +278,7 @@ export default class Trtopn{
setmod: new Pub().data.Setmod,
pageId: "", // ctx的key
roldsc: "",
trtfipl1blk:"",
}
}
}
\ No newline at end of file
......@@ -37,6 +37,8 @@ let checkObj = {
"trdgrp.rmb.adrelc" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
"trtissl1blk" :null,
"trtrmbl1blk" :null,
}
for (const key in checkObj) {
......
......@@ -49,6 +49,7 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"trdgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
......@@ -62,5 +63,7 @@ export default {
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trdgrp.rec.pntnam" :Utils.defaultFunction,
"trtissl1blk" :Utils.defaultFunction,
"trtrmbl1blk" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -97,7 +97,7 @@ export default {
{max: 21,message:"长度不能超过21"}
],
"trnmod.trndoc.nar754":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"liaall.tenstm":[
......@@ -443,4 +443,8 @@ export default {
{max: 14,message:"长度不能超过14"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
......@@ -144,7 +144,9 @@ export default class Trtrcl{
rmbrol:"", // 偿付行 .rmbclm.rmbrol
valdat:"", // value date .rmbclm.valdat
},
pageId: "" // ctx的key
pageId: "", // ctx的key
trtissl1blk:"",
trtrmbl1blk:"",
}
}
}
\ No newline at end of file
......@@ -22,6 +22,7 @@ let checkObj = {
"pager.liaall_limmod_limpfp_clmcbe.total" :null,
"pager.liaall_limmod_limpfp_clmpty.total" :null,
"pager.liaall_limmod_limpfp_clmcbb.total" :null,
"trtfipl1blk" :null,
}
for (const key in checkObj) {
......
......@@ -35,6 +35,7 @@ export default {
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
......@@ -49,5 +50,6 @@ export default {
"trtmod.finmod.cbs.cbb.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trtfipl1blk" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -245,6 +245,10 @@ export default {
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
......
......@@ -105,7 +105,7 @@ export default class Trtset{
liaall:new Pub().data.Liaall,
trnmod:new Pub().data.Trnmod,
pageId: "", // ctx的key
trtfipl1blk:"",
// pager:{
// liaall_limmod_limpfp_clmcbe:{
// total:"",
......
<template>
<c-page title="融资开立">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
......@@ -10,35 +14,67 @@
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<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">
<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-ovwp :model="model" :codes="codes"/>
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -46,42 +82,43 @@
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtame from "~/model/Trtame"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Trtame from "~/model/Trtame";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtame/Check"
import Default from "~/model/Trtame/Default"
import Pattern from "~/model/Trtame/Pattern"
import Check from "~/model/Trtame/Check";
import Default from "~/model/Trtame/Default";
import Pattern from "~/model/Trtame/Pattern";
import Ovwp from "./Ovwp"
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";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Trtame",
components:{
"m-ovwp" : Ovwp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
components: {
"m-ovwp": Ovwp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-glepan": Glepan,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "ovwp",
trnName: "trtame",
......@@ -91,37 +128,30 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
codes: { ...CodeTable },
};
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}
},
created:async function(){
},
created: async function () {
console.log("进入trtame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if(this.isInDisplay){
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
}
},
};
</script>
<style>
</style>
<style></style>
<template>
<c-page title="融资业务注销">
<c-page title="融资业务注销">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
......@@ -14,72 +14,104 @@
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<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">
<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"
>
<el-tab-pane label="Cancelation" name="canp">
<m-canp :model="model" :codes="codes"/>
<c-content>
<m-canp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
<c-content>
<m-shisuan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtcan from "~/model/Trtcan"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Trtcan from "~/model/Trtcan";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtcan/Check"
import Default from "~/model/Trtcan/Default"
import Pattern from "~/model/Trtcan/Pattern"
import Canp from "./Canp"
import Shisuan from "./Shisuan"
import Check from "~/model/Trtcan/Check";
import Default from "~/model/Trtcan/Default";
import Pattern from "~/model/Trtcan/Pattern";
import Canp from "./Canp";
import Shisuan from "./Shisuan";
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";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Trtcan",
components:{
"m-canp" : Canp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-shisuan" : Shisuan,
"m-limitbody" : Limitbody,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
components: {
"m-canp": Canp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-shisuan": Shisuan,
"m-limitbody": Limitbody,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-glepan": Glepan,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "canp",
trnName: "trtcan",
......@@ -89,37 +121,30 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
},
}
codes: { ...CodeTable },
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}
},
created:async function(){
},
created: async function () {
console.log("进入trtcan交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if(this.isInDisplay){
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
}
},
};
</script>
<style>
</style>
<style></style>
<template>
<c-page title="融资开立">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
......@@ -12,10 +15,16 @@
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<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">
<!--Ovwp PD000026 Financing Details -->
<el-tab-pane label="Financing Details" name="ovwp">
<c-content>
......@@ -23,7 +32,6 @@
</c-content>
</el-tab-pane>
<!-- v-if="model.gitp.swiftflg == 'Y'" -->
<!-- <el-tab-pane
......@@ -38,111 +46,126 @@
<!--dftcre PD000001 同业代付 -->
<el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag">
<c-content>
<m-dftcrep :model="model" :codes="codes"/>
<m-dftcrep :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="Engp">
<el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用及账务" name="setpan">
<c-content> <m-setpan :model="model" :codes="codes" />. </c-content>
</el-tab-pane>
<!--financ PD000004 融资款项 -->
<el-tab-pane label="融资款项" name="rzkx">
<c-content>
<m-rzkx :model="model" :codes="codes"/>
</c-content>
<el-tab-pane label="Booking" name="glepan">
<c-content> <m-glepan :model="model" :codes="codes" />. </c-content>
</el-tab-pane>
<!--trtopn PD000304 资本项目 -->
<el-tab-pane label="资本项目" name="cfactlp">
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-cfactlp :model="model" :codes="codes"/>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<el-tab-pane label="面函" name="docpan">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="面函" name="docpan">
<!--financ PD000004 融资款项 -->
<el-tab-pane label="融资款项" name="rzkx">
<c-content>
<m-docpan :model="model" :codes="codes"/>
<m-rzkx :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<!--trtopn PD000304 资本项目 -->
<el-tab-pane label="资本项目" name="cfactlp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
<m-cfactlp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用及账务" name="Setpan">
<el-tab-pane label="定价系统" name="dinpan" v-if="model.trtmod.finmod.dinjdm != ''">
<c-content :height="300">
<m-dinpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-setpan :model="model" :codes="codes" />.
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"
import Trtopn from "~/model/Trtopn"
import commonProcess from "~/mixin/commonProcess"
import CodeTable from "~/config/CodeTable";
import Trtopn from "~/model/Trtopn";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtopn/Check"
import Default from "~/model/Trtopn/Default"
import Pattern from "~/model/Trtopn/Pattern"
import Check from "~/model/Trtopn/Check";
import Default from "~/model/Trtopn/Default";
import Pattern from "~/model/Trtopn/Pattern";
import Event from "~/model/Trtopn/Event";
import Ovwp from "./Ovwp"
import Dftcrep from "./Dftcrep"
import Rzkx from "./Rzkx"
import Cfactlp from "./Cfactlp"
import Limitbody from "~/views/Public/Limitbody"
import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Coninfp from "~/views/Public/Coninfp"
import Setpan from "~/views/Public/Setpan"
import Ovwp from "./Ovwp";
import Dftcrep from "./Dftcrep";
import Rzkx from "./Rzkx";
import Cfactlp from "./Cfactlp";
import Dinpan from "./Dinpan";
import Limitbody from "~/views/Public/Limitbody";
import Doctre from "~/views/Public/Doctre";
import Docpan from "~/views/Public/Docpan";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Trtopn",
components:{
"m-ovwp" : Ovwp,
"m-dftcrep" : Dftcrep,
"m-rzkx" : Rzkx,
"m-cfactlp" : Cfactlp,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
"m-setpan" : Setpan,
"m-engp" : Engp,
components: {
"m-ovwp": Ovwp,
"m-dftcrep": Dftcrep,
"m-rzkx": Rzkx,
"m-cfactlp": Cfactlp,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-docpan": Docpan,
"m-coninfp": Coninfp,
"m-setpan": Setpan,
"m-engp": Engp,
"m-glepan": Glepan,
"m-dinpan": Dinpan,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "ovwp",
trnName: "trtopn",
......@@ -151,28 +174,28 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
}
codes: { ...CodeTable },
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
buildSndto(data){
buildSndto(data) {
var result = [];
for(let i = 0; i < data.length; i++){
var temp = data[i].split('\t');
for (let i = 0; i < data.length; i++) {
var temp = data[i].split("\t");
let newList = {
value: temp[0],
label: temp[1],
}
};
result.push(newList);
}
this.sndto = result;
console.log(this.sndto)
console.log(this.sndto);
},
},
// initPanel(val) {
......@@ -190,26 +213,21 @@ export default {
// goBack() {
// this.showPanel = false;
// },
created:async function(){
created: async function () {
console.log("进入trtopn交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
console.log(rtnmsg.codeSet['trdgrp.rec.sndto'])
this.buildSndto(rtnmsg.codeSet['trdgrp.rec.sndto'] || []);
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
console.log(rtnmsg.codeSet["trdgrp.rec.sndto"]);
this.buildSndto(rtnmsg.codeSet["trdgrp.rec.sndto"] || []);
//TODO 处理数据逻辑
if(this.isInDisplay){
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
},
};
</script>
<style>
</style>
<style></style>
<template>
<c-page title="融资索汇">
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
......@@ -10,86 +14,116 @@
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<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">
<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"
>
<el-tab-pane label="Claim Reimb" name="rclp">
<c-content :height="300">
<m-rclp :model="model" :codes="codes"/>
<m-rclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content> <m-glepan :model="model" :codes="codes" />. </c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Reimbursement Details" name="remp">
<c-content :height="300">
<m-remp :model="model" :codes="codes"/>
<m-remp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty">
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Trtrcl from "~/model/Trtrcl"
import commonProcess from "~/mixin/commonProcess"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Trtrcl from "~/model/Trtrcl";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtrcl/Check"
import Default from "~/model/Trtrcl/Default"
import Pattern from "~/model/Trtrcl/Pattern"
import Check from "~/model/Trtrcl/Check";
import Default from "~/model/Trtrcl/Default";
import Pattern from "~/model/Trtrcl/Pattern";
import Rclp from "./Rclp"
import Remp from "./Remp"
import Rclp from "./Rclp";
import Remp from "./Remp";
import Limitbody from "~/views/Public/Limitbody"
import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Coninfp from "~/views/Public/Coninfp"
import Setpan from "~/views/Public/Setpan"
import Limitbody from "~/views/Public/Limitbody";
import Doctre from "~/views/Public/Doctre";
import Docpan from "~/views/Public/Docpan";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Trtrcl",
components:{
"m-rclp" : Rclp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-remp" : Remp,
"m-limitbody" : Limitbody,
components: {
"m-rclp": Rclp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-remp": Remp,
"m-limitbody": Limitbody,
"m-glepan": Glepan,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "rclp",
trnName: "trtrcl",
......@@ -99,36 +133,30 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
}
codes: { ...CodeTable },
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}
},
created:async function(){
},
created: async function () {
console.log("进入trtrcl交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if(this.isInDisplay){
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<style></style>
<template>
<div class="eContainer">
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
......@@ -10,55 +13,84 @@
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<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"/>
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--liaall PD000027 Liability -->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes"/>
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="&Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/>
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD001139 试算结果 -->
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
<c-content>
<m-shisuan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--limmod PD000001 统一授信 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</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 Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Trtset from "~/model/Trtset";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Trtset/Check"
import Default from "~/model/Trtset/Default"
import Pattern from "~/model/Trtset/Pattern"
import Check from "~/model/Trtset/Check";
import Default from "~/model/Trtset/Default";
import Pattern from "~/model/Trtset/Pattern";
import Ovwp from "./Ovwp"
import Ovwp from "./Ovwp";
import Shisuan from "./Shisuan";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
......@@ -66,28 +98,28 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
import Glepan from "~/views/Public/Glepan";
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,
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,
"m-glepan": Glepan,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "ovwp",
trnName: "trtset",
......@@ -96,36 +128,30 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
}
codes: { ...CodeTable },
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
}
},
created:async function(){
},
created: async function () {
console.log("进入trtset交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if(this.isInDisplay){
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
}
},
};
</script>
<style>
</style>
<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