Commit ab679bd8 by javaHeight

Trtcan UI 改造

parent 369a54fc
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<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 Event from "~/model/Bptcan/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>
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-row>
<!--=================顶部================= -->
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px">
<c-form-item label="父交易参考号" prop="trdgrp.rec.pntref">
<c-input
v-model="model.trdgrp.rec.pntref"
......@@ -13,7 +12,7 @@
</c-form-item>
</c-col>
<c-col :span="11">
<c-col :span="12" style="padding-left: 20px">
<c-form-item label="简略信息" prop="trdgrp.rec.pntnam">
<c-input
v-model="model.trdgrp.rec.pntnam"
......@@ -24,7 +23,7 @@
</c-form-item>
</c-col>
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px">
<c-form-item label="参考号" prop="trdgrp.rec.ownref">
<c-input
v-model="model.trdgrp.rec.ownref"
......@@ -35,7 +34,7 @@
</c-form-item>
</c-col>
<c-col :span="11">
<c-col :span="12" style="padding-left: 20px">
<c-form-item label="简略信息" prop="trdgrp.rec.nam">
<c-input
v-model="model.trdgrp.rec.nam"
......@@ -46,20 +45,27 @@
</c-form-item>
</c-col>
<c-col :span="11">
<!-- 中左 -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-col :span="22">
<c-form-item label="融资比例" prop="trdgrp.rec.pctfin">
<c-input
v-model="model.trdgrp.rec.pctfin"
:disabled="true"
style="width: 95%"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('trtp0.SF000050')"
></c-input
>%
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-col :span="2" style="padding:5px; font-size: 10px;text-align: center;">
<span>%</span>
</c-col>
</c-col>
<!-- <c-col :span="12" style="padding-right: 20px">
<el-form-item label="融资金额" prop="trdgrp.cbs.max.cur">
<c-fullbox>
<c-select
......@@ -75,9 +81,28 @@
></c-input>
</c-fullbox>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="融资金额" prop="trdgrp.cbs.max.cur">
<c-col :span="12">
<c-select
v-model="model.trdgrp.cbs.max.cur"
:disabled="true"
>
</c-select>
</c-col>
<c-col :span="12">
<c-input
v-model="model.trdgrp.cbs.max.amt"
style="text-align: left; margin-left: 2px"
:disabled="true"
></c-input>
</c-col>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-form-item label="余额" prop="trdgrp.cbs.opn1.cur">
<c-fullbox>
<c-input
......@@ -93,6 +118,28 @@
></c-input>
</c-fullbox>
</c-form-item>
</c-col> -->
<c-col :span="24">
<c-col :span="12">
<c-form-item label="余额" prop="trdgrp.cbs.opn1.cur">
<c-input
v-model="model.trdgrp.cbs.opn1.cur"
maxlength="3"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12" >
<el-form-item
style="text-align: left; margin-left: 5px"
label-width="0px">
<c-input
v-model="model.trdgrp.cbs.opn1.amt"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
......@@ -120,19 +167,12 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="叙述内容" prop="strinf">
<c-input
type="textarea"
v-model="model.strinf"
maxlength="50"
show-word-limit
:placeholder="$t('other.please_enter') + $t('叙述内容')"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="11">
<!-- 中右 -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-form-item label="融资客户" prop="trdgrp.fip.pts.ref">
<c-input
......@@ -176,12 +216,24 @@
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="20">
<c-form-item label="叙述内容" prop="strinf">
<c-input
type="textarea"
v-model="model.strinf"
maxlength="50"
show-word-limit
:placeholder="$t('other.please_enter') + $t('叙述内容')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.sndmsg">{{ $t("发送消息") }}</c-checkbox>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
......
<!-- <el-tab-pane label="统一授信" name="shisuan,limitbody">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="试算结果" name="shisuan">
试算结果
<m-shisuan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="统一授信" name="limitbody">
统一授信
<m-limitbody :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane> -->
<template>
<div class="eibs-tab">
<c-content>
<el-collapse v-model="activeNames" @change="handleChange">
<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>
</c-content>
</div>
</template>
<script>
import Limitbody from '~/views/Public/Limitbody';
import Shisuan from "./Shisuan";
export default {
components: {
"m-limitbody" : Limitbody,
"m-shisuan" : Shisuan,
},
inject: ["root"],
props: ["model", "codes"],
data() {
return {
activeNames: ["limitbody"],
};
},
};
</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 CodeTable from "~/config/CodeTable";
import Event from "~/model/Trtrcl/Event";
import Canp from "./Canp";
export default {
components: {
"m-canp": Canp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["canp"],
};
},
methods: {
...Event,
},
created: function () {},
computed: {
},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
......@@ -11,43 +11,43 @@
prop="limtyp"
label="限制类型"
sortable
width="150">
width="100">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="80">
width="100">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="90">
width="120">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="100">
width="130">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="100">
width="120">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="100">
width="130">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="100">
width="120">
</el-table-column>
<el-table-column
prop="credat"
......@@ -77,7 +77,7 @@
prop="ccvbl"
label="合同保证金比例"
sortable
width="100">
width="130">
</el-table-column>
<el-table-column
prop="limvar"
......@@ -115,49 +115,49 @@
prop="tzhamt"
label="调整后业务余额"
sortable
width="100">
width="130">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="100">
width="140">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="100">
width="140">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="100">
width="140">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="100">
width="130">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="100">
width="140">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="100">
width="140">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="100">
width="140">
</el-table-column>
</el-table>
<el-pagination
......@@ -243,13 +243,13 @@
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="100">
width="130">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="100">
width="120">
</el-table-column>
</el-table>
<el-pagination
......
<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>
<c-page title="进口融资注销">
<el-form
:model="model"
:rules="rules"
......@@ -29,50 +17,86 @@
type="card"
@tab-click="myTabClick"
>
<el-tab-pane label="销户" name="canp">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-canp :model="model" :codes="codes" />
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文和面函" name="docpan">
<el-tab-pane label="统一授信" name="limitbody2">
<c-content>
<m-docpan :model="model" :codes="codes" />
<m-limitbody2 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件" name="doctre">
<el-tab-pane label="费用/账务" name="setpan,glepan">
<c-content>
<m-doctre :model="model" :codes="codes" />
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<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="shisuan">
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-shisuan :model="model" :codes="codes" />
<m-addbcb :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="setpan">
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-setpan :model="model" :codes="codes" />
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="会计分录" name="glepan">
<!-- <el-tab-pane label="试算结果" name="shisuan">
<c-content>
<m-shisuan :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> -->
<!-- <el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="提示信息" name="coninfp">
</el-tab-pane> -->
<!-- <el-tab-pane label="提示信息" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
<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>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
......@@ -84,27 +108,31 @@ import Check from "~/model/Trtcan/Check";
import Default from "~/model/Trtcan/Default";
import Pattern from "~/model/Trtcan/Pattern";
import Canp from "./Canp";
// import Canp from "./Canp";
import Ovwp from "./Ovwp";
import Shisuan from "./Shisuan";
import Addbcb from "./Addbcb";
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 Limitbody2 from "./Limitbody2";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Trtcan",
components: {
"m-canp": Canp,
"m-ovwp": Ovwp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-shisuan": Shisuan,
"m-limitbody": Limitbody,
"m-limitbody2": Limitbody2,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-glepan": Glepan,
"m-addbcb": Addbcb,
},
provide() {
return {
......@@ -114,7 +142,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "canp",
tabVal: "ovwp",
trnName: "trtcan",
trnType: "",
model: new Trtcan().data,
......@@ -123,6 +151,7 @@ export default {
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
activeNames: ["setpan"],
};
},
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