Commit 76335d23 by huangxin

trtopn的UI改造

parent 2c4dfc3c
<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>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="资本项目" name="cfactlp">
<m-cfactlp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtopn/Event";
import Cfactlp from "./Cfactlp";
export default {
inject: ["root"],
components: {
"m-cfactlp": Cfactlp,
},
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["cfactlp"],
};
},
methods: {
...Event,
handleChange() {}
},
created: function () {},
};
</script>
<style>
</style>
<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">影像信息</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
:model="model"
......@@ -25,35 +12,103 @@
: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="融资详情" name="ovwp">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :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>
<!--PD000027 -->
<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 title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<!-- <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000002 -->
<el-tab-pane label="申报信息" name="cnyp">
<c-content>
<m-cnyp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Ovwp PD000026 Financing Details -->
<!-- <el-tab-pane label="融资详情" name="ovwp1">
<c-content>
<m-ovwp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane> -->
<!--dftcre PD000001 同业代付 -->
<el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag">
<!-- <el-tab-pane label="同业代付" name="dftcrep" v-if="model.trtp.dfflag">
<c-content>
<m-dftcrep :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="表外记账" name="engp">
<!-- <el-tab-pane label="表外记账" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="结算" name="setpan">
<!-- <el-tab-pane label="结算" name="setpan">
<c-content> <m-setpan :model="model" :codes="codes" />. </c-content>
</el-tab-pane>
<el-tab-pane label="会计分录" name="glepan">
<c-content> <m-glepan :model="model" :codes="codes" />. </c-content>
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="提示信息" name="coninfp">
<!-- <el-tab-pane label="提示信息" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
......@@ -69,41 +124,47 @@
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--financ PD000004 融资款项 -->
<el-tab-pane label="融资款项" name="rzkx">
<!-- <el-tab-pane label="融资款项" name="rzkx">
<c-content>
<m-rzkx :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--trtopn PD000304 资本项目 -->
<el-tab-pane label="资本项目" name="cfactlp">
<!-- <el-tab-pane label="资本项目" name="cfactlp">
<c-content>
<m-cfactlp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="定价系统" name="dinpan" v-if="model.trtmod.finmod.dinjdm != ''">
<!-- <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> -->
<el-tab-pane label="统一授信" name="limitbody">
<!-- <el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
<c-grid-ety-prompt-dialog
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</div>
</c-page>
</template>
......@@ -120,10 +181,12 @@ import Pattern from "~/model/Trtopn/Pattern";
import Event from "~/model/Trtopn/Event";
import Ovwp from "./Ovwp";
import Addbcb from "./Addbcb";
import Dftcrep from "./Dftcrep";
import Rzkx from "./Rzkx";
import Cfactlp from "./Cfactlp";
import Dinpan from "./Dinpan";
import Cnyp from "./Cnyp";
import Limitbody from "~/views/Public/Limitbody";
import Doctre from "~/views/Public/Doctre";
......@@ -136,7 +199,9 @@ import Glepan from "~/views/Public/Glepan";
export default {
name: "Trtopn",
components: {
"m-cnyp":Cnyp,
"m-ovwp": Ovwp,
"m-addbcb": Addbcb,
"m-dftcrep": Dftcrep,
"m-rzkx": Rzkx,
"m-cfactlp": Cfactlp,
......@@ -165,6 +230,7 @@ export default {
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
activeNames: ["engp"],
};
},
methods: {
......
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