Commit b2faf2ac by jianglong

LIT交易UI改造

parent 13d820ce
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
position: relative; position: relative;
margin: -20px 0 0 0; margin: -20px 0 0 0;
padding: 20px 0px 10px 0px; padding: 20px 0px 10px 0px;
border-bottom: 10px solid rgb(232, 232, 232); /*border-bottom: 10px solid rgb(232, 232, 232);*/
} }
.m-table-search-operation { .m-table-search-operation {
text-align: right; text-align: right;
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<c-col :span="24"> <c-col :span="24">
<!-- ---------------Left--------------- --> <!-- ---------------Left--------------- -->
<c-col :span="12"> <c-col :span="12">
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<!-- ---------------Left--------------- --> <!-- ---------------Left--------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
......
...@@ -22,8 +22,8 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -22,8 +22,8 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtacp/Event"; import Event from "~/model/Brtacp/Event";
import Acpp from "./Acpp.vue"; import Acpp from "./Acpp";
import Mt750p from "./Mt750p.vue"; import Mt750p from "./Mt750p";
export default { export default {
inject: ["root"], inject: ["root"],
......
<template> <template>
<c-page>
<div class="eContainer"> <div class="eContainer">
<!--div <c-page>
> <div class="fast-button">
<el-button size="small">备忘录</el-button> <el-button size="small">备忘录</el-button>
<el-button size="small" @click="setDraggableContent('cms', '影像信息')">影像信息</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> -->
<el-button size="small">智能提示</el-button> <el-button size="small">智能提示</el-button>
</div--> </div>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :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">
...@@ -34,7 +38,22 @@ ...@@ -34,7 +38,22 @@
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan"> <el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content> <c-content>
<m-engp :model="model" :codes="codes"/> <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> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -68,8 +87,9 @@ ...@@ -68,8 +87,9 @@
> >
</c-function-btn> </c-function-btn>
</div>
</c-page> </c-page>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
...@@ -122,6 +142,7 @@ export default { ...@@ -122,6 +142,7 @@ export default {
codes: { codes: {
...CodeTable ...CodeTable
}, },
activeNames: ["engp"],
} }
}, },
methods:{ methods:{
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :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/Brtcan/Event";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<c-col> <c-col>
<el-row> <el-row>
<c-col :span="8"> <c-col :span="8">
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="取消信息" name="canp">
<m-canp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Brtcan/Event";
import Utils from "~/utils";
import Canp from "./Canp";
export default {
components: {
"m-canp": Canp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["canp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-page>
:handleSubmit="handleSubmit"
:handleCheck="handleCheck" <div class="fast-button">
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button> <el-button size="small">备忘录</el-button>
<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> <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> </div>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="left" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000016 --> <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>
<!--PD000016
<el-tab-pane label="取消内容" name="canp"> <el-tab-pane label="取消内容" name="canp">
<c-content> <c-content>
<m-canp :model="model" :codes="codes"/> <m-canp :model="model" :codes="codes"/>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>-->
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="表外记账" name="engp"> <el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content> <c-content>
<m-engp :model="model" :codes="codes"/> <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> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000
<el-tab-pane label="结算" name="setpan"> <el-tab-pane label="结算" name="setpan">
<c-content> <c-content>
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
...@@ -39,31 +67,43 @@ ...@@ -39,31 +67,43 @@
<el-tab-pane label="会计分录" name="glepan"> <el-tab-pane label="会计分录" name="glepan">
<m-glepan :model="model" :codes="codes"/> <m-glepan :model="model" :codes="codes"/>
</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>
<!--PD000000 --> <!--PD000000
<el-tab-pane label="提示信息" name="coninfp"> <el-tab-pane label="提示信息" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>-->
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文和面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<m-docpan :model="model" :codes="codes"/> <c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="附件" name="doctre"> <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> </el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn>
</c-page>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
...@@ -74,6 +114,8 @@ import Check from "~/model/Brtcan/Check" ...@@ -74,6 +114,8 @@ import Check from "~/model/Brtcan/Check"
import Default from "~/model/Brtcan/Default" import Default from "~/model/Brtcan/Default"
import Pattern from "~/model/Brtcan/Pattern" import Pattern from "~/model/Brtcan/Pattern"
import Canp from "./Canp" import Canp from "./Canp"
import Ovwp from "./Ovwp"
import Addbcb from "./Addbcb"
import Engp from "../../Public/Engp" import Engp from "../../Public/Engp"
import Setpan from "../../Public/Setpan" import Setpan from "../../Public/Setpan"
...@@ -85,15 +127,17 @@ import Limitbody from "../../Public/Limitbody" ...@@ -85,15 +127,17 @@ import Limitbody from "../../Public/Limitbody"
export default { export default {
name: 'Brtcan', name: 'Brtcan',
components:{ components: {
"m-canp" : Canp, "m-canp": Canp,
"m-engp" : Engp, "m-engp": Engp,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-glepan" : Glepan, "m-glepan": Glepan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
"m-addbcb": Addbcb,
"m-ovwp": Ovwp,
}, },
provide() { provide() {
...@@ -102,9 +146,9 @@ export default { ...@@ -102,9 +146,9 @@ export default {
} }
}, },
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "canp", tabVal: "ovwp",
trnName: "brtcan", trnName: "brtcan",
model: new Brtcan().data, model: new Brtcan().data,
checkRules: Check, checkRules: Check,
...@@ -114,9 +158,10 @@ export default { ...@@ -114,9 +158,10 @@ export default {
codes: { codes: {
...CodeTable, ...CodeTable,
}, },
activeNames:["engp"],
} }
}, },
methods:{ methods: {
async handleSave() { async handleSave() {
let result = await this.save(); let result = await this.save();
if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) { if (result.respCode == SUCCESS && Object.keys(result.fieldErrors).length == 0) {
...@@ -127,7 +172,7 @@ export default { ...@@ -127,7 +172,7 @@ export default {
}); });
this.$store.dispatch("TagsView/delView", this.$route) this.$store.dispatch("TagsView/delView", this.$route)
this.$router.go(-1) this.$router.go(-1)
} else if(result.fieldErrors && Object.keys(result.fieldErrors).length > 0 ){ } else if (result.fieldErrors && Object.keys(result.fieldErrors).length > 0) {
const tab = this.showBackendErrors(result.fieldErrors) const tab = this.showBackendErrors(result.fieldErrors)
if (tab) { if (tab) {
// tab切换之后,需出发tab-click的事件 // tab切换之后,需出发tab-click的事件
...@@ -138,7 +183,7 @@ export default { ...@@ -138,7 +183,7 @@ export default {
message: "检核失败!", message: "检核失败!",
type: "error", type: "error",
}); });
} else{ } else {
this.$notify({ this.$notify({
title: "失败", title: "失败",
message: "保存失败", message: "保存失败",
...@@ -148,8 +193,7 @@ export default { ...@@ -148,8 +193,7 @@ export default {
} }
}, },
created: async function () {
created:async function(){
console.log("进入brtcan交易"); console.log("进入brtcan交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
...@@ -158,12 +202,16 @@ export default { ...@@ -158,12 +202,16 @@ export default {
this.restoreDisplay(); this.restoreDisplay();
} }
} else { } else {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
} }
}, },
} }
</script> </script>
<style> <style>
</style> </style>
...@@ -46,7 +46,22 @@ ...@@ -46,7 +46,22 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan"> <el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content> <c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" /> <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> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -164,6 +179,7 @@ export default { ...@@ -164,6 +179,7 @@ export default {
codes: { codes: {
...CodeTable ...CodeTable
}, },
activeNames:["engp"],
} }
}, },
methods: { methods: {
......
...@@ -84,7 +84,22 @@ ...@@ -84,7 +84,22 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan"> <el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content> <c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" /> <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> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -200,6 +215,7 @@ export default { ...@@ -200,6 +215,7 @@ export default {
codes: { codes: {
...CodeTable //...即返回到views同级,关联码表 ...CodeTable //...即返回到views同级,关联码表
}, },
activeNames:["engp"],
} }
}, },
methods: { methods: {
......
...@@ -61,7 +61,22 @@ ...@@ -61,7 +61,22 @@
<!--PD000027 --> <!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan"> <el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content> <c-content>
<m-engp :model="model" :codes="codes"/> <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> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -230,6 +245,7 @@ export default { ...@@ -230,6 +245,7 @@ export default {
codes: { codes: {
...CodeTable ...CodeTable
}, },
activeNames:["engp"],
} }
}, },
methods:{ methods:{
......
...@@ -663,9 +663,9 @@ export default { ...@@ -663,9 +663,9 @@ export default {
'13 10 "通知银行BIC编码" 165', '13 10 "通知银行BIC编码" 165',
'14 8 "第二当事人编号" 165', '14 8 "第二当事人编号" 165',
'15 9 "受益人名称" 165', '15 9 "受益人名称" 165',
'16 14 "名义币种" 80', '16 14 "名义币种" 100',
'17 15 "名义金额" 130 2 8 1 16', '17 15 "名义金额" 130 2 8 1 16',
'18 16 "余额币种" 80', '18 16 "余额币种" 100',
'19 17 "余额" 130 2 8 1 18', '19 17 "余额" 130 2 8 1 18',
// '1 1 "Reference" 130 200', // '1 1 "Reference" 130 200',
// "2 2 \"经办柜员\" 90 80", // "2 2 \"经办柜员\" 90 80",
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :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 Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="业务信息" name="canp">
<m-canp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Litcan/Event";
import Utils from "~/utils";
import Canp from "./Canp";
export default {
components: {
"m-canp": Canp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["canp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-page title="进口信用证开立">
:handleSubmit="handleSubmit"
:handleCheck="handleCheck" <div class="fast-button">
: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>
</div>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000003 --> <el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000003
<el-tab-pane label="取消内容" name="canp"> <el-tab-pane label="取消内容" name="canp">
<m-canp :model="model" :codes="codes"/> <m-canp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
-->
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="表外记账" name="engp"> <!--
<m-engp :model="model" :codes="codes"/> <el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
-->
<el-tab-pane label="保证金" name="ccvpan"> <el-tab-pane label="统一授信" name="limitbody,shisuan">
<m-ccvpan :model="model" :codes="codes"/> <c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames1">
<el-collapse-item title="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</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 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="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="结算" name="setpan"> <el-tab-pane label="结算" name="setpan">
...@@ -30,32 +89,43 @@ ...@@ -30,32 +89,43 @@
<el-tab-pane label="会计分录" name="glepan"> <el-tab-pane 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="coninfp"> <el-tab-pane label="备查/附言" name="addbcb">
<m-coninfp :model="model" :codes="codes"/> <c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="报文及面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<m-docpan :model="model" :codes="codes"/> <c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="附件" name="doctre"> <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> </el-tab-pane>
<!--PD001139 --> <!--PD001139
<el-tab-pane label="试算结果" name="shisuan"> <el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <m-shisuan :model="model" :codes="codes" />
</c-content>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
-->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn>
</c-page>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index"; import Utils from "~/utils/index";
...@@ -68,7 +138,9 @@ import Check from "~/model/Litcan/Check" ...@@ -68,7 +138,9 @@ import Check from "~/model/Litcan/Check"
import Default from "~/model/Litcan/Default" import Default from "~/model/Litcan/Default"
import Pattern from "~/model/Litcan/Pattern" import Pattern from "~/model/Litcan/Pattern"
import Canp from "./Canp" import Canp from "./Canp"
import Shisuan from "./Shisuan" import Shisuan from "~/views/Public/Shisuan"
import Ovwp from "./Ovwp"
import Addbcb from "./Addbcb"
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan"; import Ccvpan from "~/views/Public/Ccvpan";
...@@ -80,39 +152,44 @@ import Glepan from "~/views/Public/Glepan"; ...@@ -80,39 +152,44 @@ import Glepan from "~/views/Public/Glepan";
import Limitbody from "~/views/Public/Limitbody"; import Limitbody from "~/views/Public/Limitbody";
export default { export default {
name: "Litcan", name: "Litcan",
components:{ components: {
"m-canp" : Canp, "m-canp": Canp,
"m-shisuan" : Shisuan, "m-shisuan": Shisuan,
"m-engp" : Engp, "m-engp": Engp,
"m-ccvpan" : Ccvpan, "m-ccvpan": Ccvpan,
"m-setpan" : Setpan, "m-setpan": Setpan,
"m-coninfp" : Coninfp, "m-coninfp": Coninfp,
"m-docpan" : Docpan, "m-docpan": Docpan,
"m-doctre" : Doctre, "m-doctre": Doctre,
"m-limitbody" : Limitbody, "m-limitbody": Limitbody,
"m-glepan" : Glepan, "m-glepan": Glepan,
"m-ovwp": Ovwp,
"m-addbcb": Addbcb,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {}, computed: {},
data(){ data() {
return { return {
tabVal: "canp", tabVal: "ovwp",
trnName: "litcan", trnName: "litcan",
model: new Litcan().data, model: new Litcan().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable codes: {
...CodeTable
}, },
activeNames: ["engp"],
activeNames1: ["limitbody"],
} }
}, },
methods:{ methods: {
// tabClick(tab){ // tabClick(tab){
// this.tabClick(tab) // this.tabClick(tab)
// /** // /**
...@@ -120,7 +197,7 @@ export default { ...@@ -120,7 +197,7 @@ export default {
// **/ // **/
// } // }
}, },
created:async function(){ created: async function () {
console.log("进入litcan交易"); console.log("进入litcan交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
...@@ -129,10 +206,14 @@ export default { ...@@ -129,10 +206,14 @@ export default {
this.restoreDisplay(); this.restoreDisplay();
} }
} else { } else {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({
title: '错误',
message: '服务请求失败!'
});
} }
}, },
}; };
</script> </script>
<style> <style>
</style> </style>
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
return { return {
zmqflg: null, zmqflg: null,
flag: true, flag: true,
activeNames: ["ovwp"], activeNames: ["ovwp1"],
}; };
}, },
methods: { methods: {
......
...@@ -241,6 +241,7 @@ export default { ...@@ -241,6 +241,7 @@ export default {
width: 100%; width: 100%;
background: #f5f4f9; background: #f5f4f9;
border-bottom: 1px solid #d8dce5; border-bottom: 1px solid #d8dce5;
background-image: linear-gradient(#dbebfc,#ededed );
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 3px 0 rgba(0, 0, 0, 0.04); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 0 3px 0 rgba(0, 0, 0, 0.04);
/* box-sizing: inherit; */ /* box-sizing: inherit; */
padding-top: 5px; padding-top: 5px;
...@@ -254,6 +255,7 @@ export default { ...@@ -254,6 +255,7 @@ export default {
height: 26px; height: 26px;
line-height: 26px; line-height: 26px;
border: 1px solid #d8dce5; border: 1px solid #d8dce5;
color: #495060; color: #495060;
background: #fff; background: #fff;
padding: 0 8px; padding: 0 8px;
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmcbe || []"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="Limit Type"
sortable
width="120">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="120">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="120">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="180">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptynam"
label="客户名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="150">
</el-table-column>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
</c-table>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmcbb || []"
style="width: 100%"
>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="150">
</el-table-column>
</c-table>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmpty || []"
style="width: 100%"
>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dghfxh"
label="恢复序号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="120">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="120">
</el-table-column>
</c-table>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<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