Commit 5f12cbe0 by 潘际乾

brtset ui

parent 7fd00f50
...@@ -9,29 +9,29 @@ ...@@ -9,29 +9,29 @@
<m-cnyp1 :model="model" :codes="codes" /> <m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="对外付款/承兑通知书-基础信息" name="basp" v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '1'"> <!-- <el-collapse-item title="对外付款/承兑通知书-基础信息" name="basp" v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '1'">
<m-basp :model="model" :codes="codes" /> <m-basp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="境内付款/承兑通知书-基础信息" name="basp1" v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '2'"> <el-collapse-item title="境内付款/承兑通知书-基础信息" name="basp1" v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '2'">
<m-basp1 :model="model" :codes="codes" /> <m-basp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item> -->
<el-collapse-item title="资本项目" name="cfactlp"> <el-collapse-item title="资本项目" name="cfactlp">
<m-cfactlp :model="model" :codes="codes" /> <m-cfactlp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg == '1'"> <!-- <el-collapse-item title="2111跨境支出信息" name="outp" >
<m-outp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item> -->
<el-collapse-item title="CIPS" name="cips2" v-if="model.trnmod.cmtflg == 'P'"> <!-- <el-collapse-item title="CIPS" name="cips2" v-if="model.trnmod.cmtflg == 'P'">
<m-cips2 :model="model" :codes="codes" /> <m-cips2 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item> -->
<el-collapse-item title="CIPS要素" name="cips" v-if="model.trnmod.cmtflg == 'P'"> <!-- <el-collapse-item title="CIPS要素" name="cips" v-if="model.trnmod.cmtflg == 'P'">
<m-cips :model="model" :codes="codes" /> <m-cips :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item> -->
</el-collapse> </el-collapse>
</div> </div>
...@@ -44,24 +44,15 @@ import CodeTable from "~/config/CodeTable"; ...@@ -44,24 +44,15 @@ import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtset/Event"; import Event from "~/model/Brtset/Event";
import Wg from "./Wg"; import Wg from "./Wg";
import Cnyp1 from "./Cnyp1"; import Cnyp1 from "./Cnyp1";
import Basp from "./Basp";
import Basp1 from "./Basp1";
import Cfactlp from "./Cfactlp"; import Cfactlp from "./Cfactlp";
import Outp from "./Outp";
import Cips from "./Cips";
import Cips2 from "./Cips2";
export default { export default {
inject: ["root"], inject: ["root"],
components: { components: {
"m-wg": Wg, "m-wg": Wg,
"m-cnyp1": Cnyp1, "m-cnyp1": Cnyp1,
"m-basp": Basp,
"m-basp1": Basp1,
"m-cfactlp": Cfactlp, "m-cfactlp": Cfactlp,
"m-outp": Outp,
"m-cips": Cips,
"m-cips2": Cips2,
}, },
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
...@@ -90,7 +90,9 @@ ...@@ -90,7 +90,9 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- 2111跨境支出信息 -->
</c-col> </c-col>
<m-outp v-show="model.cnybop.outflg == '1'" :model="model" :codes="codes" />
</div> </div>
</template> </template>
<script> <script>
...@@ -99,9 +101,14 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -99,9 +101,14 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtset/Event"; import Event from "~/model/Brtset/Event";
import Outp from "./Outp";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
components: {
"m-outp": Outp,
},
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
......
<template> <template>
<div class="eibs"> <div class="eibs">
<c-col :span="11"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label=" MT756详情:" label-width="200px"> </el-form-item> <el-form-item label=" MT756详情:" label-width="200px"> </el-form-item>
</c-col> </c-col>
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<el-form-item <el-form-item
label="发送报文至:" label="发送报文至:"
prop="setmod.setglg.setgll01.setgrp.snd756.pts.extkey" prop="setmod.setglg.setgll01.setgrp.snd756.pts.extkey"
label-width="165px"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
...@@ -43,6 +44,7 @@ ...@@ -43,6 +44,7 @@
<el-form-item <el-form-item
label="" label=""
prop="setmod.setglg.setgll01.setgrp.snd756.pts.adrblk" prop="setmod.setglg.setgll01.setgrp.snd756.pts.adrblk"
label-width="165px"
> >
<c-input <c-input
type="textarea" type="textarea"
...@@ -58,6 +60,7 @@ ...@@ -58,6 +60,7 @@
<el-form-item <el-form-item
label="发送方联系人(Tag 53a)" label="发送方联系人(Tag 53a)"
prop="setmod.setglg.setgll01.setgrp.actser.pts.extkey" prop="setmod.setglg.setgll01.setgrp.actser.pts.extkey"
label-width="165px"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
...@@ -94,6 +97,7 @@ ...@@ -94,6 +97,7 @@
<el-form-item <el-form-item
label="" label=""
prop="setmod.setglg.setgll01.setgrp.actser.pts.adrblk" prop="setmod.setglg.setgll01.setgrp.actser.pts.adrblk"
label-width="165px"
> >
<c-input <c-input
type="textarea" type="textarea"
...@@ -109,6 +113,7 @@ ...@@ -109,6 +113,7 @@
<el-form-item <el-form-item
label="接收方联系人(Tag 54a)" label="接收方联系人(Tag 54a)"
prop="setmod.setglg.setgll01.setgrp.rcvcor2.pts.extkey" prop="setmod.setglg.setgll01.setgrp.rcvcor2.pts.extkey"
label-width="165px"
> >
<c-fullbox> <c-fullbox>
<c-input <c-input
...@@ -145,6 +150,7 @@ ...@@ -145,6 +150,7 @@
<el-form-item <el-form-item
label="" label=""
prop="setmod.setglg.setgll01.setgrp.rcvcor2.pts.adrblk" prop="setmod.setglg.setgll01.setgrp.rcvcor2.pts.adrblk"
label-width="165px"
> >
<c-input <c-input
type="textarea" type="textarea"
...@@ -160,6 +166,7 @@ ...@@ -160,6 +166,7 @@
<el-form-item <el-form-item
label="接收方账户" label="接收方账户"
prop="setmod.setglg.setgll01.sespay.rcvcor2acc" prop="setmod.setglg.setgll01.sespay.rcvcor2acc"
label-width="165px"
> >
<c-input <c-input
v-model="model.setmod.setglg.setgll01.sespay.rcvcor2acc" v-model="model.setmod.setglg.setgll01.sespay.rcvcor2acc"
...@@ -172,6 +179,7 @@ ...@@ -172,6 +179,7 @@
<el-form-item <el-form-item
label="发送给接收方信息(Tag 72)" label="发送给接收方信息(Tag 72)"
prop="setmod.setglg.setgll01.sespay.strinf" prop="setmod.setglg.setgll01.sespay.strinf"
label-width="165px"
> >
<c-input <c-input
type="textarea" type="textarea"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<el-collapse-item title="通知付款(MT756)" name="det756" v-if="model.mtabut.clsflg != ''"> <el-collapse-item title="通知付款(MT756)" name="det756" v-if="model.mtabut.clsflg != ''">
<m-det756 :model="model" :codes="codes" /> <m-det756 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="17"> <c-col :span="24">
<el-form-item label="融资品种" prop="trtcre.trdgrp.rec.fintyp"> <el-form-item label="融资品种" prop="trtcre.trdgrp.rec.fintyp">
<c-select v-model="model.trtcre.trdgrp.rec.fintyp" style="width: 100%" placeholder="请选择融资品种" :disable="true"> <c-select v-model="model.trtcre.trdgrp.rec.fintyp" style="width: 100%" placeholder="请选择融资品种" :disable="true">
<el-option v-for="item in codes.fintyp1" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in codes.fintyp1" :key="item.value" :label="item.label" :value="item.value">
...@@ -115,8 +115,13 @@ ...@@ -115,8 +115,13 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="5"> <c-col :span="5">
<el-form-item prop="trtcre.trdgrp.rec.pctfin" label-width="20px"> <el-form-item prop="trtcre.trdgrp.rec.pctfin" label-width="20px" style="text-align: right;">
<c-input v-model="model.trtcre.trdgrp.rec.pctfin" style="width: 80%"></c-input>% <c-fullbox>
<c-input v-model="model.trtcre.trdgrp.rec.pctfin"></c-input>
<template slot="footer">
<div style="padding-left: 10px;text-align: right;">%</div>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -131,18 +136,22 @@ ...@@ -131,18 +136,22 @@
<!-- S0000167 : 融资金额 --> <!-- S0000167 : 融资金额 -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="13">
<el-form-item label="融资金额" prop="trtcre.trdgrp.cbs.max.cur"> <el-form-item label="融资金额" prop="trtcre.trdgrp.cbs.max.cur">
<c-fullbox> <c-select v-model="model.trtcre.trdgrp.cbs.max.cur">
<c-select v-model="model.trtcre.trdgrp.cbs.max.cur" style="width: 30%">
<el-option v-for="item in codes.curtxt2" :key="item.value" :label="item.label" :value="item.value"> <el-option v-for="item in codes.curtxt2" :key="item.value" :label="item.label" :value="item.value">
</el-option> </el-option>
</c-select> </c-select>
<c-input v-model="model.trtcre.trdgrp.cbs.max.amt" style="width: 70%" :disabled="true"></c-input> </el-form-item>
</c-fullbox> </c-col>
<c-col :span="11">
<el-form-item label="" prop="trtcre.trdgrp.cbs.max.amt" label-width="5px">
<c-input v-model="model.trtcre.trdgrp.cbs.max.amt" :disabled="true"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
<c-form-item <c-form-item
prop="trtcre.trdgrp.cbs.max.amt" prop="trtcre.trdgrp.cbs.max.amt"
...@@ -168,13 +177,13 @@ ...@@ -168,13 +177,13 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="13"> <c-col :span="12">
<el-form-item label="开户日期" prop="trtcre.trdgrp.rec.stttendat"> <el-form-item label="开户日期" prop="trtcre.trdgrp.rec.stttendat">
<c-date-picker type="date" v-model="model.trtcre.trdgrp.rec.stttendat" style="width: 100%" placeholder="请选择开户日期" value-format="yyyy-MM-dd"></c-date-picker> <c-date-picker type="date" v-model="model.trtcre.trdgrp.rec.stttendat" style="width: 100%" placeholder="请选择开户日期" value-format="yyyy-MM-dd"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12">
<el-form-item label="到期日(非节假日)" prop="trtcre.trdgrp.rec.matdat" label-width="110px"> <el-form-item label="到期日(非节假日)" prop="trtcre.trdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.trtcre.trdgrp.rec.matdat" style="width: 100%" placeholder="非节假日" :picker-options="pickerOptions" value-format="yyyy-MM-dd"></c-date-picker> <c-date-picker type="date" v-model="model.trtcre.trdgrp.rec.matdat" style="width: 100%" placeholder="非节假日" :picker-options="pickerOptions" value-format="yyyy-MM-dd"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -415,7 +424,12 @@ ...@@ -415,7 +424,12 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="罚息比率" prop="trtcre.trtmod.finmod.ovdintrat"> <el-form-item label="罚息比率" prop="trtcre.trtmod.finmod.ovdintrat">
<c-input v-model="model.trtcre.trtmod.finmod.ovdintrat" placeholder="请输入罚息比率" style="width: 85%" :disabled="model.trtcre.trtmod.finmod.ovdinttyp == '0'"></c-input>% <c-fullbox>
<c-input v-model="model.trtcre.trtmod.finmod.ovdintrat" placeholder="请输入罚息比率" :disabled="model.trtcre.trtmod.finmod.ovdinttyp == '0'"></c-input>
<template slot="footer">
<div style="padding-left: 10px;text-align: right;">%</div>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="1"> <!-- <c-col :span="1">
......
...@@ -719,6 +719,13 @@ ...@@ -719,6 +719,13 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- CIPS -->
<m-cips2 :model="model" :codes="codes" v-if="model.trnmod.cmtflg == 'P'"/>
<!-- CIPS要素 -->
<m-cips :model="model" :codes="codes" v-if="model.trnmod.cmtflg == 'P'"/>
</c-row> </c-row>
</div> </div>
</template> </template>
...@@ -728,9 +735,16 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -728,9 +735,16 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtset/Event"; import Event from "~/model/Brtset/Event";
import Cips from "./Cips";
import Cips2 from "./Cips2";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
components: {
"m-cips": Cips,
"m-cips2": Cips2,
},
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="eibs"> <div class="eibs">
<c-col :span="24" style="margin-top: 20px;"> <c-col :span="24" style="margin-top: 20px;">
<c-col :span="12"> <c-col :span="12" class="col-left">
<el-form-item label="申报类型" label-width="120px" prop="bopmod.szflg"> <el-form-item label="申报类型" label-width="120px" prop="bopmod.szflg">
<c-select <c-select
v-model="model.bopmod.szflg" v-model="model.bopmod.szflg"
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款项去向" prop="bopmod.acttyp" label-width="120px"> <el-form-item label="款项去向" prop="bopmod.acttyp" label-width="120px">
<c-select <c-select
...@@ -62,6 +62,10 @@ ...@@ -62,6 +62,10 @@
</c-col> </c-col>
</c-col> </c-col>
<!-- 对外付款/承兑通知书-基础信息 -->
<m-basp v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '1'" :model="model" :codes="codes" />
<!-- 境内付款/承兑通知书-基础信息 -->
<m-basp1 v-if="model.bopmod.basflg != '' && model.bopmod.szflg == '2'" :model="model" :codes="codes" />
</div> </div>
</template> </template>
...@@ -71,10 +75,17 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -71,10 +75,17 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtset/Event" import Event from "~/model/Brtset/Event"
import Basp from "./Basp";
import Basp1 from "./Basp1";
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: {
"m-basp": Basp,
"m-basp1": Basp1,
},
data(){ data(){
return { return {
temp:'不申报', temp:'不申报',
......
...@@ -105,6 +105,7 @@ export default { ...@@ -105,6 +105,7 @@ export default {
padding: 40px; padding: 40px;
} }
*/ */
#business_container .eibs::before, #business_container .eibs-tab::before,
#business_container .eibs::after, #business_container .eibs-tab::after { #business_container .eibs::after, #business_container .eibs-tab::after {
content: ""; content: "";
display: block; display: block;
......
...@@ -121,14 +121,14 @@ export default { ...@@ -121,14 +121,14 @@ export default {
}, },
calcCellContentHeight() { calcCellContentHeight() {
// this.cellContentHeight = this.$el.clientHeight * this.getRowHeightPercent() - 52 - 10 // this.cellContentHeight = this.$el.clientHeight * this.getRowHeightPercent() - 52 - 10
this.cellContentHeight = (this.$el.clientHeight - (this.cellRows + 1) * 25 - (52 + 10) * this.cellRows) / this.cellRows this.cellContentHeight = Math.floor((this.$el.clientHeight - (this.cellRows + 1) * 25 - (52 + 10) * this.cellRows) / this.cellRows)
}, },
getRowHeightPercent() { getRowHeightPercent() {
// 每行预留 0.4% 的间距 // 每行预留 0.4% 的间距
return 1 / this.cellRows - 0.004 * this.cellRows; return 1 / this.cellRows - 0.004 * this.cellRows;
}, },
calcCellContentWidth() { calcCellContentWidth() {
this.cellWidth = (this.$el.clientWidth - (this.cellCols + 1) * 25) / this.cellCols this.cellWidth = Math.floor((this.$el.clientWidth - (this.cellCols + 1) * 25) / this.cellCols)
}, },
calcAgain() { calcAgain() {
this.calcCellContentHeight() this.calcCellContentHeight()
......
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