Commit 1d493746 by huangxin

brtcan页面布局和事件关联

parent 728a4d45
...@@ -12,16 +12,16 @@ export default { ...@@ -12,16 +12,16 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.rec.expdat":[ "lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"lidgrp.cbs.opn1.cur":[ "lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } //{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"brtp0.recget.sdamod.dadsnd":[ "brtp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
], ],
"brdgrp.cbs.max.amt":[ "brdgrp.cbs.max.amt":[
{required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -54,7 +54,7 @@ export default { ...@@ -54,7 +54,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.cbs.opn1.amt":[ "brdgrp.cbs.opn1.amt":[
{required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -63,10 +63,10 @@ export default { ...@@ -63,10 +63,10 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"brdgrp.rec.rcvdat":[ "brdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"brdgrp.rec.advdat":[ "brdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"brdgrp.ben.pts.ref":[ "brdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -91,8 +91,8 @@ export default { ...@@ -91,8 +91,8 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"strinf":[ "strinf":[
{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 1750,message:"长度不能超过1750"}
], ],
...@@ -119,18 +119,18 @@ export default { ...@@ -119,18 +119,18 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"} //{max: 60,message:"长度不能超过60"}
], ],
"mtabut.coninf.oitset.oit.inftxt":[ "mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"} //{max: 60,message:"长度不能超过60"}
], ],
"mtabut.coninf.conexedat":[ "mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"} //{type: "date", required: false, message: "输入正确的日期"}
], ],
"mtabut.coninf.usr.extkey":[ "mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
import Setmod from "../Public/Setmod" import Setmod from "../Public/Setmod"
...@@ -69,86 +70,11 @@ export default class Brtcan{ ...@@ -69,86 +70,11 @@ export default class Brtcan{
sndmsg:"", // Send Message .sndmsg sndmsg:"", // Send Message .sndmsg
rebkpflg:"", // Booking Procedure .rebkpflg rebkpflg:"", // Booking Procedure .rebkpflg
setmod:new Setmod().data, setmod:new Setmod().data,
mtabut:{ liaall: new Pub().data.Liaall,
coninf:{ setmod: new Pub().data.Setmod,
oitinf:{ mtabut: new Pub().data.Mtabut,
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt trnmod: new Pub().data.Trnmod,
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
liaall:{
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col>
<el-row> <el-row>
<c-col :span="8"> <c-col :span="8">
<c-fullbox> <c-fullbox>
<el-form-item label="Import L/C" prop="lidgrp.rec.ownref"> <el-form-item label="Import L/C" prop="lidgrp.rec.ownref">
<c-input <c-input
disabled
v-model="model.lidgrp.rec.ownref" v-model="model.lidgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入参考号" placeholder="请输入参考号"
...@@ -15,7 +17,6 @@ ...@@ -15,7 +17,6 @@
style="margin: 0 10px 0 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
> >
<span style="font-family: '宋体'; font-weight: bold">i</span> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button> </c-button>
...@@ -34,13 +35,14 @@ ...@@ -34,13 +35,14 @@
v-model="model.lidgrp.rec.expdat" v-model="model.lidgrp.rec.expdat"
style="width: 100%" style="width: 100%"
placeholder="请选择Date of Expiry" placeholder="请选择Date of Expiry"
disabled="disabled" disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6"> <c-col :span="6">
<el-form-item label="Open Amt. L/C" prop="lidgrp.cbs.opn1.cur"> <el-form-item label="Open Amt. L/C" prop="lidgrp.cbs.opn1.cur">
<c-select <c-select
disabled
v-model="model.lidgrp.cbs.opn1.cur" v-model="model.lidgrp.cbs.opn1.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
...@@ -51,6 +53,7 @@ ...@@ -51,6 +53,7 @@
<c-col :span="6"> <c-col :span="6">
<el-form-item prop="lidgrp.cbs.opn1.amt" label-width="20px"> <el-form-item prop="lidgrp.cbs.opn1.amt" label-width="20px">
<c-input <c-input
disabled
v-model="model.lidgrp.cbs.opn1.amt" v-model="model.lidgrp.cbs.opn1.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
></c-input> ></c-input>
...@@ -65,7 +68,7 @@ ...@@ -65,7 +68,7 @@
v-model="model.brdgrp.rec.ownref" v-model="model.brdgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入单据参考号" placeholder="请输入单据参考号"
disabled="disabled" disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
<template slot="footer"> <template slot="footer">
...@@ -73,7 +76,6 @@ ...@@ -73,7 +76,6 @@
style="margin: 0 0 0 10px; padding: 0 12px" style="margin: 0 0 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
> >
<span style="font-family: '宋体'; font-weight: bold">i</span> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button> </c-button>
...@@ -83,6 +85,7 @@ ...@@ -83,6 +85,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item prop="brdgrp.rec.nam"> <el-form-item prop="brdgrp.rec.nam">
<c-input <c-input
disabled
v-model="model.brdgrp.rec.nam" v-model="model.brdgrp.rec.nam"
maxlength="40" maxlength="40"
placeholder="请输入Name of Bill Contract" placeholder="请输入Name of Bill Contract"
...@@ -90,7 +93,42 @@ ...@@ -90,7 +93,42 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> </el-row>
<el-row> </c-col>
<!-- ----------------------------------------------------------------- -->
<c-col :span="24">
<c-litTemp
:model="model"
:argadr="{
title: '',
trans: 'brdgrp',
trans1:'brtp0',
}"
:rol="[
{
title: 'Applicant',
trans: 'apl',
},
{
title: 'Beneficiary',
trans: 'ben',
},
{
title: 'Presenting Bank',
trans: 'prb',
},
]"
:isAdvdat="true"
:isMattxtlab="false"
:isTenmaxday="false"
>
</c-litTemp>
</c-col>
<!-- <el-row>
<c-col :span="5"> <c-col :span="5">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur"> <el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-select <c-select
...@@ -248,14 +286,15 @@ ...@@ -248,14 +286,15 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-row> </el-row> -->
<el-row> <el-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Narrative" prop="strinf"> <el-form-item label="Narrative" prop="strinf">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.strinf" v-model="model.strinf"
maxlength="50" maxlength="1750"
:rows="10"
show-word-limit show-word-limit
placeholder="请输入Narrative" placeholder="请输入Narrative"
></c-input> ></c-input>
...@@ -275,6 +314,7 @@ ...@@ -275,6 +314,7 @@
v-model="model.rebkpflg" v-model="model.rebkpflg"
style="width: 100%" style="width: 100%"
placeholder="请选择Booking Procedure" placeholder="请选择Booking Procedure"
:code="rebkpflg"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -287,13 +327,22 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -287,13 +327,22 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtcan/Event"; import Event from "~/model/Brtcan/Event";
import Brtcan from "~/model/Brtcan"; import Brtcan from "~/model/Brtcan";
import LitTemp from "~/views/Public/LitTemp";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: {
"c-litTemp": LitTemp,
},
data() { data() {
return {}; return {
rebkpflg: [
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
]
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<div class="bus-button"> <c-function-btn
<c-button type="primary" v-on:click="handleSave">{{ $t("buttons.save") }}</c-button> :handleSubmit="handleSubmit"
<c-button type="primary" v-on:click="handleCheck">{{ $t("buttons.check") }}</c-button> :handleCheck="handleCheck"
</div> :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" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" 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 --> <!--PD000016 -->
<el-tab-pane label="Cancelation" name="canp"> <el-tab-pane label="Cancelation" name="canp">
<c-content>
<m-canp :model="model" :codes="codes"/> <m-canp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 -->
<!-- <el-tab-pane label="Liability" name="engp"> <el-tab-pane label="Liability" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes"/>
</el-tab-pane> --> </c-content>
</el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
...@@ -55,9 +74,10 @@ import Check from "~/model/Brtcan/Check" ...@@ -55,9 +74,10 @@ 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 Engp from "./Engp"
import Engp from "../../Public/Engp"
import Setpan from "../../Public/Setpan" import Setpan from "../../Public/Setpan"
import Glepan from "../../Public/Glepan"
import Coninfp from "../../Public/Coninfp" import Coninfp from "../../Public/Coninfp"
import Docpan from "../../Public/Docpan" import Docpan from "../../Public/Docpan"
import Doctre from "../../Public/Doctre" import Doctre from "../../Public/Doctre"
...@@ -67,8 +87,9 @@ export default { ...@@ -67,8 +87,9 @@ 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-coninfp" : Coninfp, "m-coninfp" : Coninfp,
"m-docpan" : Docpan, "m-docpan" : Docpan,
"m-doctre" : Doctre, "m-doctre" : Doctre,
......
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