Commit c6a4fbb6 by wangren

BCTACC,BCTDAV,BCTSEL交易转化 check savedata实现

parent b5aceb5d
......@@ -4250,6 +4250,8 @@ const CodeTable = {
],
matpertyp: [
{ label: "Days", value: "D" },
{ label: "Months", value: "M" },
],
maxfcc: [
{ label: "+/- to the old maximum", value: "A" },
......
......@@ -16,30 +16,30 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"bcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "bcdgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"bcdgrp.dre.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"bcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "bcdgrp.cbs.opn1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"bcdgrp.dre.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bcdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -51,10 +51,10 @@ export default {
],
"bcdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.drr.pts.ref":[
......@@ -76,7 +76,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.rec.accdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.blk.colins":[
......@@ -141,7 +141,7 @@ export default {
],
"bcdgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 250,message:""}
],
"bcdgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -149,7 +149,7 @@ export default {
],
"bcdgrp.rmi.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 80,message:""}
],
"bcdgrp.rmi.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -283,7 +283,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bctacc{
constructor () {
this.data = {
bcdgrp:{
rec:{
inr:"",
ownref:"", // Collection Number .bcdgrp.rec.ownref
nam:"", // Name .bcdgrp.rec.nam
rcvdat:"", // Docs Received on .bcdgrp.rec.rcvdat
......@@ -110,93 +111,10 @@ export default class Bctacc{
},
},
},
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
glemod:{
gleshwstm: {}
}
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
liaallg:[],
liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur
totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
addinf:"", // Additional Information .liaall.liaccv.addinf
cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg:[],
},
},
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
doceot:[],
},
},
setmod:new Pub().data.Setmod,
liaall:new Pub().data.Liaall,
mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
......
......@@ -7,7 +7,11 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.$message({
type:'success',
message:'获取成功!'
})
}
else
{
......
......@@ -61,24 +61,24 @@ export default {
],
"bcdgrp.dre.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 350,message:"长度不能超过350"}
],
"bcdgrp.dre.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.dre.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bcdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.pts.ref":[
......@@ -92,7 +92,7 @@ export default {
],
"bcdgrp.rmi.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
{max: 120,message:"长度不能超过120"}
],
"bctp.rmip.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
......@@ -100,7 +100,7 @@ export default {
],
"bcdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.namelc":[
......@@ -109,7 +109,7 @@ export default {
],
"bcdgrp.rmi.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 120,message:"长度不能超过120"}
],
"bcdgrp.rmi.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -268,7 +268,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Bctdav{
constructor () {
this.data = {
cnybop:{
cnyflg:"",
traflg:"",
outflg:"",
libflg:"",
vouflg:"",
},
bcdgrp:{
srm:{
djutyp:"",
},
rec:{
ownref:"", // Reference .bcdgrp.rec.ownref
resflg:"", // Reserved Contract .bcdgrp.rec.resflg
......@@ -115,93 +125,10 @@ export default class Bctdav{
outlen:{
szflg:"", // 申报类型 .outlen.szflg
},
setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
glemod:{
gleshwstm: {}
}
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
liaallg:[],
liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur
totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
addinf:"", // Additional Information .liaall.liaccv.addinf
cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg:[],
},
},
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
doceot:[],
},
},
setmod:new Pub().data.Setmod,
liaall:new Pub().data.Liaall,
mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod,
pageId: "" // ctx的key
}
}
......
......@@ -89,7 +89,7 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"bcdgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"dfdgrp.cbs.opn1.amt":[
......@@ -98,7 +98,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bcdgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rmi.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -124,13 +124,13 @@ export default {
],
"bcdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.predat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"dfdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"dfdgrp.rec.fintyp":[
{type: "string", required: false, message: "必输项"},
......@@ -159,20 +159,20 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"dfdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"dfdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"trdgrp.rec.finact":[
{type: "string", required: false, message: "必输项"},
{max: 21,message:"长度不能超过21"}
],
"trdgrp.rec.stttendat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"trdgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bcdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"},
......
......@@ -4,6 +4,12 @@ import Pts from "../Common/Pts"
export default class Bctsel{
constructor () {
this.data = {
bcdget:{
bcd:{
ownref:"",
}
},
dspopntnr:"", // Open tenors .dspopntnr
selbut:{
dspamenbr:"", // Display No of amendments .selbut.dspamenbr
......@@ -17,6 +23,7 @@ export default class Bctsel{
dsptrdclsdat:"", // Display Closing Date of Finance .dsptrdclsdat
bcdgrp:{
rec:{
inr:"",
ownref:"", // Import Collection No. .bcdgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .bcdgrp.rec.nam
rcvdat:"", // Docs Received on .bcdgrp.rec.rcvdat
......
<template>
<c-row>
<!-- ====================左边======================= -->
<c-col :span="12">
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Delivery of Documents Instructions" prop="bcdgrp.blk.colins">
......@@ -58,7 +58,7 @@
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="24">
<el-form-item label="Charges Condition" prop="bcdgrp.rec.chato">
......@@ -77,7 +77,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" style="text-align: left" prop="model.bcdgrp.rec.focflg">
<el-form-item label="" style="text-align: left" prop="bcdgrp.rec.focflg">
<c-checkbox v-model="model.bcdgrp.rec.focflg">Free of Payment</c-checkbox>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<c-row>
<!-- ====================左边======================= -->
<c-col :span="12">
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Drawee',
grp: 'bcdgrp',
rol: 'dre',
}" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onDrepDet" style="width: 90%">
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '2nd Collecting',
grp: 'bcdgrp',
rol: 'co2',
}" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onCo2pDet" style="width: 90%">
</c-ptap>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="12">
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Remitting Bank',
grp: 'bcdgrp',
rol: 'rmi',
}" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onRmipDet" style="width: 90%">
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: 'Drawer',
grp: 'bcdgrp',
rol: 'drr',
}" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onDrrpDet" style="width: 90%">
</c-ptap>
</c-col>
</c-col>
</c-row>
<c-col :span="11">
<c-col :span="24">
<el-form-item
label="Drawee Ref."
prop="bcdgrp.dre.pts.ref"
>
<c-input
disabled
v-model="model.bcdgrp.dre.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入Application Ref"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.dre.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.bcdgrp.dre.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.dre.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.dre.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="2nd Collecting Bank Ref."
prop="bcdgrp.co2.pts.ref"
>
<c-input
v-model="model.bcdgrp.co2.pts.ref"
maxlength="16"
style="width: 100%"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.co2.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bcdgrp.co2.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.co2.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.co2.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- =====================right================================ -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
label="Remitting Bank Ref."
prop="bcdgrp.rmi.pts.ref"
>
<c-input
v-model="model.bcdgrp.rmi.pts.ref"
maxlength="16"
style="width: 100%"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.rmi.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bcdgrp.rmi.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.rmi.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.rmi.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Drawer Ref."
prop="bcdgrp.drr.pts.ref"
>
<c-input
v-model="model.bcdgrp.drr.pts.ref"
maxlength="16"
style="width: 100%"
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Extkey" prop="bcdgrp.drr.pts.extkey">
<c-fullbox>
<c-input
v-model="model.bcdgrp.drr.pts.extkey"
maxlength="50"
placeholder="请输入External Key of Address"
></c-input>
<template slot="footer">
<c-button
style="margin:0 10px 0 10px;padding: 0 12px;"
size="small"
type="primary"
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button
style="margin:0 0"
size="small"
type="primary"
disabled
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="bcdgrp.drr.pts.adrblk">
<c-input
type="textarea"
:rows="4"
v-model="model.bcdgrp.drr.pts.adrblk"
maxlength="50"
disabled
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......
......@@ -2,13 +2,7 @@
<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>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
......@@ -59,6 +53,9 @@
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -77,13 +74,15 @@
import Bctset from "./Bctset"
import Detp from "./Detp"
import Ptyp from "./Ptyp"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
import Doctre from "~/views/Public/Doctre"
export default {
name: "Bctacc",
components: {
"m-bctset": Bctset,
"m-detp": Detp,
......@@ -93,13 +92,14 @@
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "bctset",
......
<template>
<div class="eibs-tab">
<el-col :span="11">
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg" label-width="200px">
<c-select disabled v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg" label-width="200px">
<c-select disabled v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg" label-width="200px">
<c-select disabled v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg" label-width="200px">
<c-select disabled v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg" label-width="200px">
<c-select disabled v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表">
</c-select>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-row>
<!-- ====================左边======================= -->
<c-col :span="14">
<c-col :span="11">
<c-col :span="24">
<c-col :span="4">
<el-form-item label="Delivery of Documents ">
......@@ -50,13 +50,10 @@
</el-form-item>
</c-col>
<c-col :span="20" >
<c-select v-model="model.bcdgrp.rec.proins" style="width:100%" placeholder="请选择Protest Instructions">
</c-select> <el-option
v-for="item in codes.proins"
:key="item.value"
:label="item.label"
:value="item.value"
> </el-option>
<c-select v-model="model.bcdgrp.rec.proins" style="width:100%" placeholder="请选择Protest Instructions"
:code="codes.proins"
>
</c-select>
</c-col>
<c-col :span="24">
<el-form-item label="Other Instructions">
......@@ -86,22 +83,18 @@
</c-col>
</c-col>
<c-col :span="20" >
<c-select v-model="model.bcdgrp.rec.stagod" style="width:100%" placeholder="请选择Good's Code (for Statistics">
<c-select v-model="model.bcdgrp.rec.stagod" style="width:100%" placeholder="请选择Good's Code (for Statistics"
:code="codes.godcod"
>
</c-select>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="10">
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Charges Condition">
......@@ -109,13 +102,10 @@
</c-col>
<c-col :span="24">
<c-select v-model="model.bcdgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to">
</c-select><el-option
v-for="item in codes.chadet"
:key="item.value"
:label="item.label"
:value="item.value"
<c-select v-model="model.bcdgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to"
:code="codes.chato"
>
</c-select>
</el-option>
</c-col>
......@@ -145,7 +135,9 @@
</c-col>
<c-col :span="24">
<c-select v-model="model.bcdgrp.rec.waicolcod" style="width:100%" placeholder="请选择Waive Collecting Bank Charges">
<c-select v-model="model.bcdgrp.rec.waicolcod" style="width:100%" placeholder="请选择Waive Collecting Bank Charges"
:code="codes.waicolcod"
>
</c-select>
</c-col>
......@@ -162,7 +154,9 @@
</c-col>
<c-col :span="24">
<c-select v-model="model.bcdgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges">
<c-select v-model="model.bcdgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges"
:code="codes.wairmtcod"
>
</c-select>
</c-col>
......@@ -172,7 +166,9 @@
</c-col>
<c-col :span="24">
<c-select v-model="model.bcdgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until">
<c-select v-model="model.bcdgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until"
:code="codes.othins"
>
</c-select>
</c-col>
......
<template>
<div class="eibs-tab">
<el-col :span="11">
<c-col :span="24">
<el-form-item label="单据类型" prop="bcdgrp.srm.djutyp">
<c-select v-model="model.bcdgrp.srm.djutyp" style="width:100%" placeholder="请选择单据类型"
:code="codes.djutyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据出具人" prop="bcdgrp.srm.djuusr">
<c-input
:disabled="!this.model.bcdgrp.srm.djutyp"
v-model="model.bcdgrp.srm.djuusr" maxlength="80" placeholder="请输入单据出具人"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据出具日期" prop="bcdgrp.srm.djudat">
<c-date-picker
:disabled="!this.model.bcdgrp.srm.djutyp"
type="date" v-model="model.bcdgrp.srm.djudat" style="width:100%" placeholder="请选择单据出具日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货权单据编号" prop="bcdgrp.srm.djuref">
<c-input
:disabled="!this.model.bcdgrp.srm.djutyp"
v-model="model.bcdgrp.srm.djuref" maxlength="40" placeholder="请输入货权单据编号"></c-input>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-page title="进口代收">
<div class="eContainer">
<c-function-btn
<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>
<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">
<!--Overview -->
<el-tab-pane label="Overview" name="ove">
<c-content>
<m-ove :model="model" :codes="codes"/>
<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">
<!--Overview -->
<el-tab-pane label="Overview" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Instructions -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Instructions -->
<el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</el-tab-pane>
<!--Liability -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="货权单据" name="srmp">
<m-srmp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Bctdav from "~/model/Bctdav"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Bctdav/Check"
import Default from "~/model/Bctdav/Default"
import Pattern from "~/model/Bctdav/Pattern"
import Ove from "./Ove"
import Detp from "./Detp"
import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Bctdav from "~/model/Bctdav";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Bctdav/Check";
import Default from "~/model/Bctdav/Default";
import Pattern from "~/model/Bctdav/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Srmp from "./Srmp";
import Cnyp from "./Cnyp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default {
name: "Bctdav",
components:{
"m-ove" : Ove,
"m-detp" : Detp,
"m-setpan" : Setpan,
"m-engp" : Engp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-coninfp" : Coninfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ove",
trnName: "bctdav",
model: new Bctdav().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
},
created:async function(){
console.log("进入bctacc交易");
let rtnmsg = await this.init(this.$route.query)
name: "Bctdav",
components: {
"m-ovwp": Ovwp,
"m-detp": Detp,
"m-setpan": Setpan,
"m-engp": Engp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp,
"m-cnyp": Cnyp,
"m-srmp": Srmp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "bctdav",
model: new Bctdav().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
};
},
methods: {},
created: async function () {
console.log("进入bctdav交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
}else
{ //TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
},
};
</script>
<style>
</style>
<style></style>
......@@ -42,13 +42,14 @@ export default {
async onNarBtnClick(url, label) {
let key = 0;
for(let i = 1; i <= 11 ; i++){
let temp_label = this.model.cfgfil['regtxt'+i];
let temp_label = this.model.cfgfil['subtxt'+i];
if(temp_label == label){
key = i;
break;
}
}
let rtnmsg = await this.executeRule("cfgfil.subtxt"+key);
//跳转后得执行请求。
let rtnmsg = await this.executeRule("cfgfil.hotsub"+key);
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
url = url.toLowerCase();
......
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