Commit 5b504bc4 by liuxin

brtacp交易完成

parent 208286d7
...@@ -6497,6 +6497,15 @@ const CodeTable = { ...@@ -6497,6 +6497,15 @@ const CodeTable = {
invtyp: [ invtyp: [
{ label: "type1", value: "1" } { label: "type1", value: "1" }
],
furide: [
{ label: "Accept", value: "ACC" },
{ label: "Debit", value: "DEB" },
{ label: "Negotiate", value: "NEG" },
{ label: "Reimburse", value: "REI" },
{ label: "Remitted", value: "REM" },
{ label: "See72", value: "SEE" },
] ]
} }
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, 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位" }
], ],
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
], ],
"brdgrp.cbs.max.amt":[ "brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, 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":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, 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位" }
], ],
...@@ -84,10 +84,10 @@ export default { ...@@ -84,10 +84,10 @@ export default {
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"brdgrp.rec.tenmaxday":[ // "brdgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"}, // {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} // {max: 3,message:"长度不能超过3"}
], // ],
"brdgrp.prb.pts.ref":[ "brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"brdgrp.rec.disdat":[ "brdgrp.rec.disdat":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: true, message: "输入正确的日期"}
], ],
"brdgrp.prb.pts.extkey":[ "brdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
], ],
"brdgrp.prb.namelc":[ "brdgrp.prb.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.rec.totcur":[ "brdgrp.rec.totcur":[
...@@ -124,45 +124,40 @@ export default { ...@@ -124,45 +124,40 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.rec.totamt":[ "brdgrp.rec.totamt":[
{type: "number", required: false, 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位" }
], ],
"brdgrp.prb.pts.adrblk":[ "brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.prb.dbfadrblkcn":[ "brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.prb.adrelc":[ "brdgrp.prb.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.cbs.max2.amt":[ "brdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, 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位" }
], ],
"brdgrp.blk.chaded":[ "brdgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.blk.chaadd":[ "brdgrp.blk.chaadd":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.rec.totcur":[ "brdgrp.rec.totcur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.rec.totamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brtp.acbp.ptsget.sdamod.dadsnd":[ "brtp.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -177,23 +172,23 @@ export default { ...@@ -177,23 +172,23 @@ export default {
], ],
"brdgrp.acb.namelc":[ "brdgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.acb.pts.adrblk":[ "brdgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.acb.dbfadrblkcn":[ "brdgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.acb.adrelc":[ "brdgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"brdgrp.blk.docdis":[ "brdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
...@@ -204,7 +199,7 @@ export default { ...@@ -204,7 +199,7 @@ export default {
"setmod.docamt":[ "setmod.docamt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, 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位" }
], ],
...@@ -220,13 +215,13 @@ export default { ...@@ -220,13 +215,13 @@ export default {
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, 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: false, message: "必输项"},
{max: 60,message:"长度不能超过60"} {max: 60,message:"长度不能超过60"}
], ],
...@@ -243,7 +238,7 @@ export default { ...@@ -243,7 +238,7 @@ export default {
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
"trnmod.trndoc.amdapl":[ "trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 50,message:"长度不能超过50"}
], ],
...@@ -260,14 +255,6 @@ export default { ...@@ -260,14 +255,6 @@ export default {
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
], ],
"trnmod.trndoc.condocstm":[ "trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
...@@ -276,4 +263,8 @@ export default { ...@@ -276,4 +263,8 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brtp.furide":[
{type: "string", required: true, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Brtacp{ export default class Brtacp{
constructor () { constructor () {
...@@ -107,60 +108,10 @@ export default class Brtacp{ ...@@ -107,60 +108,10 @@ export default class Brtacp{
}, },
}, },
}, },
setmod:{ setmod: new Pub().data.Setmod,
docamttyplab:"", // settled amount description as label .setmod.docamttyplab mtabut: new Pub().data.Mtabut,
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg trnmod: new Pub().data.Trnmod,
ref:"", // our reference .setmod.ref brtprbl1blk: "",
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
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
},
},
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24">
<c-col :span="12"> <!-- ---------------Left--------------- -->
<el-form-item label="Drag Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
<c-input v-model="model.brtp.lidget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref"> <el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号"></c-input> <c-fullbox>
</el-form-item> <c-input
</c-col> v-model="model.lidgrp.rec.ownref"
maxlength="16"
<c-col :span="12"> placeholder="请输入信用证编号"
<el-form-item label="" prop="brtp.lidget.sdamod.seainf"> disabled
<c-input v-model="model.brtp.lidget.sdamod.seainf" placeholder="请输入"></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col> <c-button
style="
<c-col :span="12"> margin: 0 10px 0 10px;
<el-form-item label="Date of Expiry" prop="lidgrp.rec.expdat"> padding: 0 12px;
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择Date of Expiry"></c-date-picker> "
</el-form-item> size="small"
</c-col> type="primary"
>
<c-col :span="12"> <span
<el-form-item label="Currency" prop="lidgrp.cbs.opn1.cur"> style="
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Currency"></c-input> font-family: '宋体';
</el-form-item> font-weight: bold;
</c-col> "
>i</span
<c-col :span="12"> >
<el-form-item label="Balance" prop="lidgrp.cbs.opn1.amt"> </c-button>
<c-input v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input> <c-button
</el-form-item> style="margin: 0 0"
</c-col> size="small"
type="primary"
<c-col :span="12"> :disabled="this.flag"
<el-form-item label="Drag Drop Sender" prop="brtp.recget.sdamod.dadsnd"> >
<c-input v-model="model.brtp.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> 获取
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="单据参考号" prop="brdgrp.rec.ownref"> <el-form-item label="单据参考号" prop="brdgrp.rec.ownref">
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入单据参考号"></c-input> <c-fullbox>
</el-form-item> <c-input
</c-col> v-model="model.brdgrp.rec.ownref"
maxlength="16"
<c-col :span="12"> placeholder="请输入单据参考号"
<el-form-item label="" prop="brtp.recget.sdamod.seainf"> disabled
<c-input v-model="model.brtp.recget.sdamod.seainf" placeholder="请输入"></c-input> ></c-input>
</el-form-item> <template slot="footer">
</c-col> <c-button
style="
<c-col :span="12"> margin: 0 10px 0 10px;
<el-form-item label="Name of Bill Contract" prop="brdgrp.rec.nam"> padding: 0 12px;
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input> "
</el-form-item> size="small"
</c-col> type="primary"
>
<c-col :span="12"> <span
<el-form-item label="单据金额" prop="brdgrp.cbs.max.cur"> style="
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请选择单据金额"> font-family: '宋体';
</c-select> font-weight: bold;
</el-form-item> "
</c-col> >i</span
>
<c-col :span="12"> </c-button>
<el-form-item label="Balance" prop="brdgrp.cbs.max.amt"> <c-button
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入Balance"></c-input> style="margin: 0 0"
</el-form-item> size="small"
</c-col> type="primary"
:disabled="this.flag"
<c-col :span="12"> >
<el-form-item label="申请人" prop="brdgrp.apl.pts.ref"> 获取
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input> </c-button>
</el-form-item> </template>
</c-col> </c-fullbox>
<c-col :span="12">
<el-form-item label="单据余额" prop="brdgrp.cbs.opn1.cur">
<c-input v-model="model.brdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入单据余额"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Balance" prop="brdgrp.cbs.opn1.amt"> <el-form-item label="Expiry" prop="lidgrp.rec.expdat">
<c-input v-model="model.brdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input> <c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date of Expiry"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col> </c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="到单日期" prop="brdgrp.rec.rcvdat"> <c-col :span="24">
<c-date-picker type="date" v-model="model.brdgrp.rec.rcvdat" style="width:100%" placeholder="请选择到单日期"></c-date-picker> <c-curAmt
</el-form-item> :model="model"
:argadr="{
title: 'Opening Amount',
trans: 'lidgrp',
}"
>
</c-curAmt>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Date of Advice of Payment" prop="brdgrp.rec.advdat"> <el-form-item
<c-date-picker type="date" v-model="model.brdgrp.rec.advdat" style="width:100%" placeholder="请选择Date of Advice of Payment"></c-date-picker> label="Drag Drop Sender"
prop="brtp.lidget.sdamod.dadsnd"
>
<c-input
v-model="model.brtp.lidget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="受益人" prop="brdgrp.ben.pts.ref"> <el-form-item label="Order Date" prop="brdgrp.rec.orddat">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人"></c-input> <c-date-picker
type="date"
v-model="model.brdgrp.rec.orddat"
style="width: 100%"
placeholder="请选择Order Date"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<span v-text="model.brtp.matp.mattxtlab" data-path=".brtp.matp.mattxtlab" > </span>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="brdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="远期单据到期日" prop="brdgrp.rec.stadat"> <c-litTemp
<c-date-picker type="date" v-model="model.brdgrp.rec.stadat" style="width:100%" placeholder="请选择远期单据到期日"></c-date-picker> :model="model"
</el-form-item> :argadr="{
</c-col> title: 'Opening Amount',
trans: 'brdgrp',
<c-col :span="12"> }"
<el-form-item label="Name of Party" prop="brdgrp.ben.pts.nam"> :rol="[
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> {
</el-form-item> title: '交单行',
</c-col> trans: 'prb',
},
<c-col :span="12"> {
<el-form-item label="单据类型" prop="brdgrp.rec.docflg"> title: '开证行',
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请选择单据类型"> trans: 'ben',
},
{
title: '申请人',
trans: 'apl',
},
]"
:isAdvdat="true"
:isMattxtlab="true"
:isTenmaxday="true"
>
</c-litTemp>
</c-col>
<c-col :span="24">
<!-- ---------------Left--------------- -->
<c-col :span="12">
<c-col :span="24">
<el-form-item
label="Further Identification"
prop="brtp.furide"
>
<c-select
v-model="model.brtp.furide"
style="width: 100%"
placeholder="请选择Further Identification"
>
<el-option
v-for="item in codes.furide"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Tenor day" prop="brdgrp.rec.tenmaxday"> <el-form-item
<c-input v-model="model.brdgrp.rec.tenmaxday" placeholder="请输入Tenor day"></c-input> label="Discrep. advised on"
prop="brdgrp.rec.disdat"
>
<c-date-picker
type="date"
v-model="model.brdgrp.rec.disdat"
style="width: 100%"
placeholder="请选择Discrep. advised on"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="交单行" prop="brdgrp.prb.pts.ref"> <c-col :span="13">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行"></c-input> <el-form-item
label="Amount to be Paid"
prop="brdgrp.rec.totcur"
>
<c-input
v-model="model.brdgrp.rec.totcur"
maxlength="3"
placeholder="请输入Amount to be Paid"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11">
<c-col :span="12"> <el-form-item
<el-form-item label="Name of Party" prop="brdgrp.prb.pts.nam"> label=""
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input> prop="brdgrp.rec.totamt"
label-width="5px"
>
<c-input
v-model="model.brdgrp.rec.totamt"
placeholder="请输入Total Amount to be Paid"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="单据状态" prop="brdgrp.rec.docsta">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请选择单据状态">
</c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Further Identification" prop="brtp.furide">
<c-select v-model="model.brtp.furide" style="width:100%" placeholder="请选择Further Identification">
</c-select>
</el-form-item>
</c-col> </c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Presented by" prop="brdgrp.rec.docprbrol"> <c-col :span="24">
<c-select v-model="model.brdgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by"> <el-form-item
label="Presented by"
prop="brdgrp.rec.docprbrol"
>
<c-select
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择Presented by"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <c-ptap1
<el-form-item label="Drag Drop Sender" prop="brtp.prbp.ptsget.sdamod.dadsnd"> :model="model"
<c-input v-model="model.brtp.prbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input> :argadr="{
</el-form-item> title: 'Presented by',
</c-col> grp: 'brdgrp',
rol: 'prb',
<c-col :span="12"> }"
<el-form-item label="Discrep. advised on" prop="brdgrp.rec.disdat"> :disabled="true"
<c-date-picker type="date" v-model="model.brdgrp.rec.disdat" style="width:100%" placeholder="请选择Discrep. advised on"></c-date-picker> :isAdrblk="false"
</el-form-item> >
</c-col> </c-ptap1>
<c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.prb.pts.extkey">
<c-input v-model="model.brdgrp.prb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="brtp.prbp.ptsget.sdamod.seainf">
<c-input v-model="model.brtp.prbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPrbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="brdgrp.prb.namelc">
<c-input type="textarea" v-model="model.brdgrp.prb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount to be Paid" prop="brdgrp.rec.totcur">
<c-input v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入Amount to be Paid"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total Amount to be Paid" prop="brdgrp.rec.totamt">
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.prb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.prb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.prb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="brdgrp.prb.adrelc">
<c-input type="textarea" v-model="model.brdgrp.prb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; 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 CurAmt from "~/views/Public/CurAmt";
import LitTemp from "~/views/Public/LitTemp";
import Ptap1 from "~/views/Public/Ptap1";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ components: {
"c-curAmt": CurAmt,
"c-litTemp": LitTemp,
"c-ptap1": Ptap1,
},
data() {
return { return {
flag: true,
} };
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- ---------------Left--------------- -->
<c-col :span="12">
<c-col :span="24">
<c-col :span="13">
<el-form-item
label="Document Amount"
prop="brdgrp.cbs.opn2.cur"
>
<c-select
v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择附加金额"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label=""
label-width="5px"
prop="brdgrp.cbs.max.amt"
>
<c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入附加金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12"> <c-col :span="24">
<c-col :span="13">
<el-form-item label="附加金额" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额"> <c-select
v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请选择附加金额"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11">
<el-form-item
label=""
label-width="5px"
prop="brdgrp.cbs.max2.amt"
>
<c-input
v-model="model.brdgrp.cbs.max2.amt"
placeholder="请输入附加金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="附加金额" prop="brdgrp.cbs.max2.amt"> <c-col :span="13">
<c-input v-model="model.brdgrp.cbs.max2.amt" placeholder="请输入附加金额"></c-input> <el-form-item
label="Amount to be Paid"
prop="brdgrp.rec.totcur"
>
<c-input
v-model="model.brdgrp.rec.totcur"
maxlength="3"
placeholder="请输入Amount to be Paid"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11">
<el-form-item
label=""
label-width="5px"
prop="brdgrp.rec.totamt"
>
<c-input
v-model="model.brdgrp.rec.totamt"
placeholder="请输入Total Amount to be Paid"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-ptap1
:model="model"
:argadr="{
title: 'Account with Bank',
grp: 'brdgrp',
rol: 'acb',
}"
:disabled="true"
:isAdrblk="false"
>
</c-ptap1>
</c-col>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24">
<el-form-item label="Charges Deducted" prop="brdgrp.blk.chaded"> <el-form-item label="Charges Deducted" prop="brdgrp.blk.chaded">
<c-input type="textarea" v-model="model.brdgrp.blk.chaded" maxlength="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input> <c-input
type="textarea"
v-model="model.brdgrp.blk.chaded"
maxlength="35"
show-word-limit
placeholder="请输入Charges Deducted"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Charges Added" prop="brdgrp.blk.chaadd"> <el-form-item label="Charges Added" prop="brdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges Added" ></c-input> <c-input
type="textarea"
v-model="model.brdgrp.blk.chaadd"
maxlength="35"
show-word-limit
placeholder="请输入Charges Added"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Amount to be Paid" prop="brdgrp.rec.totcur"> <el-form-item label="不符点" prop="brdgrp.blk.docdis">
<c-input v-model="model.brdgrp.rec.totcur" maxlength="3" placeholder="请输入Amount to be Paid"></c-input> <c-input
type="textarea"
v-model="model.brdgrp.blk.docdis"
maxlength="50"
show-word-limit
placeholder="请输入不符点"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Total Amount to be Paid" prop="brdgrp.rec.totamt"> <el-form-item label="" prop="brdgrp.blk.docdisflg">
<c-input v-model="model.brdgrp.rec.totamt" placeholder="请输入Total Amount to be Paid"></c-input> <c-checkbox v-model="model.brdgrp.blk.docdisflg" disabled
>discrepancies modified</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.acbp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.acbp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <!-- <c-col :span="12">
<el-form-item label="External Key of Address" prop="brdgrp.acb.pts.extkey"> <el-form-item
<c-input v-model="model.brdgrp.acb.pts.extkey" maxlength="16" placeholder="请输入External Key of Address"></c-input> label="Drag Drop Sender"
prop="brtp.acbp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.brtp.acbp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" prop="brtp.acbp.ptsget.sdamod.seainf"> <el-form-item label="" prop="brtp.acbp.ptsget.sdamod.seainf">
<c-input v-model="model.brtp.acbp.ptsget.sdamod.seainf" placeholder="请输入"></c-input> <c-input
v-model="model.brtp.acbp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -63,61 +183,62 @@ ...@@ -63,61 +183,62 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="名称" prop="brdgrp.acb.namelc">
<c-input type="textarea" v-model="model.brdgrp.acb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="brdgrp.acb.pts.adrblk"> <el-form-item label="Address Block" prop="brdgrp.acb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.acb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input> <c-input
type="textarea"
v-model="model.brdgrp.acb.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.acb.dbfadrblkcn"> <el-form-item label="Chinese address" prop="brdgrp.acb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.acb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input> <c-input
type="textarea"
v-model="model.brdgrp.acb.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="地址" prop="brdgrp.acb.adrelc"> <el-form-item label="地址" prop="brdgrp.acb.adrelc">
<c-input type="textarea" v-model="model.brdgrp.acb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input> <c-input
</el-form-item> type="textarea"
</c-col> v-model="model.brdgrp.acb.adrelc"
maxlength="35"
<c-col :span="12"> show-word-limit
<el-form-item label="不符点" prop="brdgrp.blk.docdis"> placeholder="请输入地址"
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" ></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; 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 Ptap1 from "~/views/Public/Ptap1";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ components: {
return { "c-ptap1": Ptap1,
}
}, },
methods:{...Event}, data() {
created:function(){ return {};
},
} methods: { ...Event },
} created: function () {},
};
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
: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>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" 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">
<!--PD000048 --> <!--PD000048 -->
<el-tab-pane label="PD000048" name="acpp"> <el-tab-pane label="Accept Disrepancies" name="acpp">
<m-acpp :model="model" :codes="codes"/> <m-acpp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000139 --> <!--PD000139 -->
<el-tab-pane label="PD000139" name="mt750p"> <el-tab-pane label="Advice of Discrepancy" name="mt750p">
<m-mt750p :model="model" :codes="codes"/> <m-mt750p :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="PD000000" name="setpan"> <el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="PD000000" 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="PD000529" name="docpan"> <el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="PD000546" name="doctre"> <el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
...@@ -41,15 +54,18 @@ import Api from "~/service/Api" ...@@ -41,15 +54,18 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Brtacp from "~/model/Brtacp" import Brtacp from "~/model/Brtacp"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Brtacp/Check" import Check from "~/model/Brtacp/Check"
import Default from "~/model/Brtacp/Default" import Default from "~/model/Brtacp/Default"
import Pattern from "~/model/Brtacp/Pattern" import Pattern from "~/model/Brtacp/Pattern"
import Acpp from "./Acpp" import Acpp from "./Acpp"
import Mt750p from "./Mt750p" import Mt750p from "./Mt750p"
import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan" import Setpan from "~/views/Public/Setpan";
import Doctre from "./Doctre" import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre"
export default { export default {
...@@ -67,10 +83,10 @@ export default { ...@@ -67,10 +83,10 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "acpp",
trnName: "brtacp", trnName: "brtacp",
model: new Brtacp().data, model: new Brtacp().data,
checkRules: Check, checkRules: Check,
...@@ -78,6 +94,7 @@ export default { ...@@ -78,6 +94,7 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {
...CodeTable
}, },
} }
}, },
......
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