Commit 482aef16 by huangxin

getopn的UI改造

parent 20bde8f3
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<!--el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils";
import Event from "~/model/Litcan/Event";
//import Addbcb1 from "~/views/Public/Addbcb1";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
//"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-page title="出口保函通知">
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<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> -->
<!-- <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>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -25,34 +11,86 @@ ...@@ -25,34 +11,86 @@
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item v-if="this.flag" title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<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" />
</c-content>
</el-tab-pane>
<!--gitp PD001291 开立方式 --> <!--gitp PD001291 开立方式 -->
<el-tab-pane label="开立方式" name="opnp"> <!-- <el-tab-pane label="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes" /> <m-opnp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<!--gitp PD000002 Overview --> <!--gitp PD000002 Overview -->
<el-tab-pane label="概要" name="ovwp"> <!-- <el-tab-pane label="概要" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--gitp PD000043 Parties --> <!--gitp PD000043 Parties -->
<el-tab-pane label="当事人描述" name="ptyp"> <!-- <el-tab-pane label="当事人描述" name="ptyp">
<c-content> <c-content>
<m-ptyp :model="model" :codes="codes" /> <m-ptyp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--gitp PD000389 Details --> <!--gitp PD000389 Details -->
<el-tab-pane label="详细信息" name="detp"> <!-- <el-tab-pane label="详细信息" name="detp">
<c-content> <c-content>
<m-detp :model="model" :codes="codes" /> <m-detp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--gitp PD000210 Undertaking Text --> <!--gitp PD000210 Undertaking Text -->
<el-tab-pane label="保函文本" name="gidtxtp"> <!-- <el-tab-pane label="保函文本" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes" /> <m-gidtxtp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane <!-- <el-tab-pane
v-if=" v-if="
model.gitp.swiftflg == 'Y' && model.gitp.swiftflg == 'Y' &&
(model.gidgrp.rec.legfrm == 'STBY' || (model.gidgrp.rec.legfrm == 'STBY' ||
...@@ -62,37 +100,37 @@ ...@@ -62,37 +100,37 @@
name="confp" name="confp"
> >
<m-confp :model="model" :codes="codes" /> <m-confp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="表外" name="liability"> <!-- <el-tab-pane label="表外" name="engp">
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="费用及账务" name="setpan"> <!-- <el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane v-if="this.flag" label="分录" name="glepan"> <!-- <el-tab-pane v-if="this.flag" label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" /> <m-glepan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="附言" name="Completion"> <!-- <el-tab-pane label="附言" name="Completion">
<m-coninfp :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="面函" name="Messages"> <!-- <el-tab-pane label="面函" name="Messages">
<m-docpan :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="交易附件" name="Attachments"> <!-- <el-tab-pane label="交易附件" name="Attachments">
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="统一授信" name="limitbody"> <!-- <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane <!-- <el-tab-pane
v-if=" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
...@@ -103,9 +141,9 @@ ...@@ -103,9 +141,9 @@
<c-content> <c-content>
<m-ovwpc :model="model" :codes="codes" /> <m-ovwpc :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane <!-- <el-tab-pane
v-if=" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
...@@ -116,9 +154,9 @@ ...@@ -116,9 +154,9 @@
<c-content> <c-content>
<m-ptypc :model="model" :codes="codes" /> <m-ptypc :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane <!-- <el-tab-pane
v-if=" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
...@@ -129,9 +167,9 @@ ...@@ -129,9 +167,9 @@
<c-content> <c-content>
<m-preperpc :model="model" :codes="codes" /> <m-preperpc :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane <!-- <el-tab-pane
v-if=" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
...@@ -142,8 +180,8 @@ ...@@ -142,8 +180,8 @@
<c-content> <c-content>
<m-detpc :model="model" :codes="codes" /> <m-detpc :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane <!-- <el-tab-pane
v-if=" v-if="
model.gidgrp.rec.purpos == 'ISCO' || model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO' model.gidgrp.rec.purpos == 'ICCO'
...@@ -154,9 +192,9 @@ ...@@ -154,9 +192,9 @@
<c-content> <c-content>
<m-gidtxtpc :model="model" :codes="codes" /> <m-gidtxtpc :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane <!-- <el-tab-pane
v-if="model.gitp.aacp.aacmod.addamtflg == 'X'" v-if="model.gitp.aacp.aacmod.addamtflg == 'X'"
label="Seq C : 附加金额" label="Seq C : 附加金额"
name="aacp" name="aacp"
...@@ -164,7 +202,7 @@ ...@@ -164,7 +202,7 @@
<c-content> <c-content>
<m-aacp :model="model" :codes="codes" /> <m-aacp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
...@@ -174,6 +212,13 @@ ...@@ -174,6 +212,13 @@
v-on:select-ety="selectEty" v-on:select-ety="selectEty"
> >
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div> </div>
</template> </template>
<script> <script>
...@@ -191,6 +236,7 @@ import Ptyp from "./Ptyp"; ...@@ -191,6 +236,7 @@ import Ptyp from "./Ptyp";
import Detp from "./Detp"; import Detp from "./Detp";
import Gidtxtp from "./Gidtxtp"; import Gidtxtp from "./Gidtxtp";
import Confp from "./Confp"; import Confp from "./Confp";
import Addbcb from "./Addbcb";
import Ovwpc from "./Ovwpc"; import Ovwpc from "./Ovwpc";
import Ptypc from "./Ptypc"; import Ptypc from "./Ptypc";
...@@ -211,6 +257,7 @@ import Limitbody from "~/views/Public/Limitbody"; ...@@ -211,6 +257,7 @@ import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Getopn", name: "Getopn",
components: { components: {
"m-addbcb": Addbcb,
"m-opnp": Opnp, "m-opnp": Opnp,
"m-ovwp": Ovwp, "m-ovwp": Ovwp,
"m-ptyp": Ptyp, "m-ptyp": Ptyp,
...@@ -242,7 +289,7 @@ export default { ...@@ -242,7 +289,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "opnp", tabVal: "ovwp",
trnName: "getopn", trnName: "getopn",
trnType: "", trnType: "",
model: new Getopn().data, model: new Getopn().data,
...@@ -253,6 +300,7 @@ export default { ...@@ -253,6 +300,7 @@ export default {
codes: { codes: {
...CodeTable, ...CodeTable,
}, },
activeNames: ["engp"],
flag: false, flag: false,
}; };
}, },
......
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