Commit 5e64f414 by wanggang_yf

修改bptopn bptset bptcan bptame等交易

parent 5fd6e38c
......@@ -34,7 +34,6 @@ export default {
"bcdgrp.dre.pts.adrblk" :Utils.defaultFunction,
"bcdgrp.drr.pts.nam" :Utils.defaultFunction,
"bcdgrp.drr.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bcdgrp.co2.adrelc" :Utils.defaultFunction,
"bcdgrp.co2.namelc" :Utils.defaultFunction,
......@@ -43,19 +42,12 @@ export default {
"bcdgrp.rmi.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bcdgrp.cbs.max.amt" :Utils.defaultFunction,
"bcdgrp.dre.pts.nam" :Utils.defaultFunction,
"bcdgrp.cbs.max.cur" :Utils.defaultFunction,
"bcdgrp.rec.ownref" :Utils.defaultFunction,
"bcdgrp.co2.pts.adrblk" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bcdgrp.drr.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"bcdgrp.drr.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -60,9 +60,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.stadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
......
......@@ -129,25 +129,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bpdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bpdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bpdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bpdgrp.rec.pctfin":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"bpdgrp.rec.fincod":[
{type: "string", required: false, message: "必输项"},
{max: 17,message:"长度不能超过17"}
......@@ -177,10 +158,6 @@ export default {
"matdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bpdgrp.rec.intday":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"bptmod.finmod.graday":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
......@@ -206,25 +183,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"bpdgrp.rec.tolrat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"bptmod.finmod.intamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bpdgrp.bu2.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -373,23 +336,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"bpdgrp.inv.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bpdgrp.rec.intday":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"bpdgrp.rec.intrat":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"bpdgrp.rec.marrat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
......
......@@ -194,5 +194,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onSeainf() {},
onDetpButgetref() {},
onBenpDet() {},
onAplpDet() {},
}
\ No newline at end of file
......@@ -755,4 +755,8 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
}
\ No newline at end of file
......@@ -158,10 +158,10 @@ export default {
{max: 10,message:"长度不能超过10"}
],
"bpdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bpdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bptmod.finmod.fltval":[
......
......@@ -242,32 +242,7 @@ export default class Bptopn{
trntyp:"", // 交易性�'� .trntyp
fftlxx:"", // 福�'�廷转卖类型 .fftlxx
setmod: new Pub().data.Setmod,
mtabut:{
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
},
},
clsflg: "",
syswrn:{
dsp:"",
},
},
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
lendoc:{
actflg:"", // Input Account .lendoc.actflg
......@@ -367,7 +342,7 @@ export default class Bptopn{
rec:{
dflg:"",
}
},
}
}
}
......
......@@ -99,7 +99,7 @@ export default {
],
"bpdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bpdgrp.fia.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
......@@ -110,7 +110,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"bpdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bpdgrp.fia.adrelc":[
......@@ -1246,10 +1246,10 @@ export default {
],
"cfabpt.recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"cfabpt.recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"cfabpt.recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bptset{
constructor () {
this.data = {
......@@ -143,36 +143,7 @@ export default class Bptset{
},
},
},
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
syswrn:{
dsp:"", // Display .mtabut.syswrn.dsp
},
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
},
contag72his:"", // Historic content of TAG 72 .mtabut.coninf.contag72his
contag72:"", // Current content of TAG 72 .mtabut.coninf.contag72
contag79his:"", // Historic content of TAG 79 .mtabut.coninf.contag79his
contag79:"", // Current content of TAG 79 .mtabut.coninf.contag79
},
},
mtabut: new Pub().data.Mtabut,
bptmod:{
finmod:{
setlab:"", // Settlement Label .bptmod.finmod.setlab
......
......@@ -103,9 +103,6 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
],
......
......@@ -62,16 +62,6 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfconButshword() {
let rtnmsg = await this.executeRule("infcon.butshword")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onFiapDet() {
let rtnmsg = await this.executeRule("fiap.det")
if (rtnmsg.respCode == SUCCESS) {
......
......@@ -26,6 +26,7 @@
<c-row>
<!-- 融资参考号 -->
<!-- bpdgrp_rec_ownref-->
<c-col :span="20">
<el-form-item label="Reference" prop="bpdgrp.rec.ownref">
<c-input
......@@ -55,7 +56,7 @@
v-model="model.bpdgrp.rec.pntnam"
maxlength="40"
style="width:90%"
placeholder="请输入摘要"
placeholder="摘要"
></c-input>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="24" style="">
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="Limit Type">
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].cortyp
"
style="width: 100%"
disabled
placeholder="请选择"
>
<el-option
v-for="item in codes.doceotCortyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
</c-istream-table-docpan>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
......@@ -52,72 +29,72 @@
prop="reqtyp1"
label="Req.Typel"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="ptynam"
label="客户名称"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
width="auto">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbe.total">
:total="1">
</el-pagination>
</div>
</c-col>
......@@ -132,60 +109,60 @@
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="100">
width="auto">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbb.total">
:total="1">
</el-pagination>
</div>
</c-col>
......@@ -200,84 +177,84 @@
prop="limvar"
label="额度类型"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dghfxh"
label="恢复序号"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="100">
width="auto">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="100">
width="auto">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmpty.total">
:total="1">
</el-pagination>
</div>
</c-col>
......@@ -287,7 +264,7 @@
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bptcan/Event"
import Event from "~/model/Bdtset/Event"
export default {
inject: ['root'],
......
......@@ -2,11 +2,7 @@
<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" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
......@@ -33,26 +29,31 @@
</c-content>
</el-tab-pane>
<!--PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan">
<!--PD000000 Settlement 账务 公共模块-->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp">
<!-- Bookings-->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<!--PD000000 Completion 附言-->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000010 -->
<el-tab-pane label="Incoming Tag 72/79" name="coninftag">
<c-content>
<m-coninftag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="Incoming Tag 72/79" name="coninftag">-->
<!-- <c-content>-->
<!-- <m-coninftag :model="model" :codes="codes"/>-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--PD000529 Messages -->
<el-tab-pane label="报文及面函" name="docpan">
......@@ -61,47 +62,47 @@
</c-content>
</el-tab-pane>
<!--PD000546 Attachments-->
<el-tab-pane label="附件" name="doctre">
<!--PD000546 Attachments 附件-->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="DTA Fields" name="dtetag">
<c-content>
<m-dtetag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="DTA Fields" name="dtetag">-->
<!-- <c-content>-->
<!-- <m-dtetag :model="model" :codes="codes"/>-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--PD001139 -->
<!-- <el-tab-pane label="试算结果" name="shisuan">
<el-tab-pane label="试算结果" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> -->
</el-tab-pane>
<!--PD000204 -->
<el-tab-pane label="CIPS" name="cips">
<c-content>
<m-cips :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="CIPS" name="cips">-->
<!-- <c-content>-->
<!-- <m-cips :model="model" :codes="codes"/>-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--PD000449 -->
<el-tab-pane label="CIPS2.0" name="cips2">
<c-content>
<m-cips2 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="CIPS2.0" name="cips2">-->
<!-- <c-content>-->
<!-- <m-cips2 :model="model" :codes="codes"/>-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--PD000450 CIPS2.0 -->
<el-tab-pane label="CIPS3.0" name="cips3">
<c-content>
<m-cips3 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="CIPS3.0" name="cips3">-->
<!-- <c-content>-->
<!-- <m-cips3 :model="model" :codes="codes"/>-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!-- PD000001
<el-tab-pane label="PD000001" name="dtetag">
......@@ -109,11 +110,11 @@
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="Fee Conditions" name="fecp">
<c-content>
<m-fecp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="Fee Conditions" name="fecp">-->
<!-- <c-content>-->
<!-- <m-fecp :model="model" :codes="codes"/>-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
......@@ -134,6 +135,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bptcan from "~/model/Bptcan"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Bptcan/Check"
import Default from "~/model/Bptcan/Default"
import Pattern from "~/model/Bptcan/Pattern"
......@@ -152,6 +154,9 @@ import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"
import Glepan from "~/views/Public/Glepan";
import Utils from "~/utils";
export default {
name: "Bptcan",
......@@ -169,13 +174,14 @@ export default {
"m-cips3" : Cips3,
"m-fecp" : Fecp,
"m-limitbody" : Limitbody,
"m-glepan" : Glepan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "canp",
......@@ -196,15 +202,20 @@ export default {
created:async function() {
console.log("进入bptcan交易");
let rtnmsg = await this.init(this.$route.query)
//debugger
if (rtnmsg.respCode == SUCCESS) {
//debugger
//更新数据
this.updateModel(rtnmsg.data);
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
} else {
this.$notify.error({title: '错误', message: '服务请求失败!'});
}
}
else {
this.$notify.error({title: '错误', message: '服务请求失败!'});
}
}
}
</script>
......
<template>
<c-page title="出口融资注销">
<div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<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">
<!--PD000016 -->
<el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 Settlement -->
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 Completion -->
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000010 -->
<el-tab-pane label="Incoming Tag 72/79" name="coninftag">
<c-content>
<m-coninftag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000529 Messages -->
<el-tab-pane label="报文及面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000546 Attachments-->
<el-tab-pane label="附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="DTA Fields" name="dtetag">
<c-content>
<m-dtetag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD001139 -->
<!-- <el-tab-pane label="试算结果" name="shisuan">
<c-content>
<m-shisuan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> -->
<!--PD000204 -->
<el-tab-pane label="CIPS" name="cips">
<c-content>
<m-cips :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000449 -->
<el-tab-pane label="CIPS2.0" name="cips2">
<c-content>
<m-cips2 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000450 CIPS2.0 -->
<el-tab-pane label="CIPS3.0" name="cips3">
<c-content>
<m-cips3 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- PD000001
<el-tab-pane label="PD000001" name="dtetag">
<m-dtetag :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="Fee Conditions" name="fecp">
<c-content>
<m-fecp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"/>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bptcan from "~/model/Bptcan"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Bptcan/Check"
import Default from "~/model/Bptcan/Default"
import Pattern from "~/model/Bptcan/Pattern"
import Canp from "./Canp"
import Coninftag from "./Coninftag"
import Doctre from "./Doctre"
import Dtetag from "./Dtetag"
import Shisuan from "./Shisuan"
import Cips from "./Cips"
import Cips2 from "./Cips2"
import Cips3 from "./Cips3"
import Fecp from "./Fecp"
// import Limitbody from "./Limitbody"
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"
export default {
name: "Bptcan",
components:{
"m-canp" : Canp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-coninftag" : Coninftag,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-dtetag" : Dtetag,
"m-shisuan" : Shisuan,
"m-cips" : Cips,
"m-cips2" : Cips2,
"m-cips3" : Cips3,
"m-fecp" : Fecp,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "canp",
trnName: "bptcan",
model: new Bptcan().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入bptcan交易");
let rtnmsg = await this.init(this.$route.query)
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -645,6 +645,7 @@
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
......@@ -663,7 +664,10 @@ export default {
return {};
},
methods: {
...Event
...Event,
onSeainf(data) {
this.$emit("onSeainf", data);
},
},
created: function () {},
};
......
......@@ -17,15 +17,7 @@
<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">
<!--PD000020 -->
......@@ -92,11 +84,11 @@
</el-tab-pane>
<!--PD000010 -->
<el-tab-pane label="Incoming Tag 72/79" name="coninftag">
<c-content>
<m-coninftag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!-- <el-tab-pane label="Incoming Tag 72/79" name="coninftag">-->
<!-- <c-content>-->
<!-- <m-coninftag :model="model" :codes="codes"/>-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--PD000529 -->
<el-tab-pane label="面函" name="docpan">
......@@ -170,14 +162,13 @@ import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Bptopn from "~/model/Bptopn";
import BptopnModel from "~/model/Bptopn";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bptopn/Check";
import Default from "~/model/Bptopn/Default";
import Pattern from "~/model/Bptopn/Pattern";
import Bptopnp from "./Bptopn";
import Bptopnp from "./Bptopnp";
import Urpp from "./Urpp";
import Ovwp from "./Ovwp";
import Engp from "~/views/Public/Engp";
......@@ -212,7 +203,6 @@ export default {
"m-coninftag" : Coninftag,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-docpan" : Docpan,
"m-rzkx" : Rzkx,
"m-wg" : Wg,
"m-cfap" : Cfap,
......@@ -229,9 +219,10 @@ export default {
computed: {},
data(){
return {
model: new BptopnModel().data,
tabVal: "bptopn",
trnName: "bptopn",
model: new Bptopn().data,
trnType: "",
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
......@@ -243,7 +234,7 @@ export default {
},
methods:{
myTabClick(tab){
this.tabClick(tab)
this.tabClick(tab);
/**
* do it yourself
**/
......
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