Commit df69cb12 by 潘际乾
parents 428f4ab8 2ea79d27
import Utils from "~/utils"
/**
* Infpta Check规则
*/
let checkObj = {
"recgrp.adr.eml" :null,
"seatypo" :null,
"recpan.branchkey" :null,
"recgrp.adr.tid" :null,
"recgrp.rec.usg" :null,
"recgrp.rec.issbchinf" :null,
"seatypc" :null,
"seatypb" :null,
"recgrp.adr.loctxt" :null,
"seatypa" :null,
"recgrp.adr.bic" :null,
"seatyph" :null,
"recgrp.adr.discod" :null,
"recgrp.adr.cortyp" :null,
"recpan.bchkey" :null,
"recpan.pty.extkey" :null,
"recgrp.adr.loccty" :null,
"recgrp.adr.nam1" :null,
"recgrp.rec.objkey" :null,
"recgrp.adr.uil" :null,
"recpan.recget.sdamod.dadsnd" :null,
"recpan.ptyget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Infpta Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recpan.pty.extkey" :Utils.defaultFunction,
"recgrp.rec.objkey" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"recpan.ptainf.oit.inftxt" :Utils.defaultFunction,
"recpan.ptainf.oit.inflev" :Utils.defaultFunction,
"recgrp.adr.loctxt" :Utils.defaultFunction,
"recgrp.adr.nam1" :Utils.defaultFunction,
"recgrp.adr.pobtxt" :Utils.defaultFunction,
"recgrp.adr.bic" :Utils.defaultFunction,
"recpan.branchkey" :Utils.defaultFunction,
"recgrp.rec.issbchinf" :Utils.defaultFunction,
"recgrp.rec.nam" :Utils.defaultFunction,
"recpan.bchkey" :Utils.defaultFunction,
"recgrp.adr.tid" :Utils.defaultFunction,
"recgrp.rec.usg" :Utils.defaultFunction,
"recgrp.adr.cortyp" :Utils.defaultFunction,
"recgrp.adr.tlx" :Utils.defaultFunction,
"recgrp.adr.adr1" :Utils.defaultFunction,
"recgrp.adr.adr3" :Utils.defaultFunction,
"recgrp.adr.adr2" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
export default {
onInfbutSearow(){
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("infpta/infbut_searow",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onInfbutDsp(){
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("infpta/infbut_dsp",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onInfbutUserow(){
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("infpta/infbut_userow",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onInfbutClr(){
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("infpta/infbut_clr",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onInfbutButprt(){
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("infpta/infbut_butprt",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onInfbutExi(){
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("infpta/infbut_exi",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
onRecpanLnkinfptm(){
this.root.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("infpta/recpan_lnkinfptm",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
})
},
}
\ No newline at end of file
export default {
"seaobjkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"seanam":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"seaptyextkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"seabic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"seazip":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"seatxt":[
{type: "string", required: false, message: "必输项"},
{max: 25,message:"长度不能超过25"}
],
"seastr":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"infbut.dspstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.ptyget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recpan.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"recpan.ptyget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recpan.pty.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recpan.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.rec.objkey":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"recpan.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.adr.nam1":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adr.tel1":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.adr.tel2":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.adr.nam2":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adr.fax1":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.adr.fax2":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.adr.nam3":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adr.tlx":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.adr.bic":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"recgrp.adr.str1":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adr.bid":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adr.str2":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adr.tid":[
{type: "string", required: false, message: "必输项"},
{max: 23,message:"长度不能超过23"}
],
"recgrp.adr.loczip":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"recgrp.adr.loctxt":[
{type: "string", required: false, message: "必输项"},
{max: 25,message:"长度不能超过25"}
],
"recgrp.adr.blz":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.adr.loc2":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adr.clc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adr.pob":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adr.pobtxt":[
{type: "string", required: false, message: "必输项"},
{max: 25,message:"长度不能超过25"}
],
"recgrp.adr.dpt":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.rec.issbchinf":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.adr.eml":[
{type: "string", required: false, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"recgrp.adr.adr1":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.adr.adr2":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.adr.adr3":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"recgrp.adr.pobzip":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"recgrp.adr.discod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.adr.dtacid":[
{type: "string", required: false, message: "必输项"},
{max: 23,message:"长度不能超过23"}
],
"recgrp.adr.dtecid":[
{type: "string", required: false, message: "必输项"},
{max: 23,message:"长度不能超过23"}
],
"recgrp.adr.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adr.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recpan.ptainf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Infpta{
constructor () {
this.data = {
seaobjkey:"", // PTA .seaobjkey
seanam:"", // External Visible Name of Address .seanam
seaptyextkey:"", // External Key Used to Uniquely Identify a party .seaptyextkey
seabic:"", // BIC of Address Optional .seabic
seazip:"", // ZIP Code/First Part of S.W.I.F.T. Line 4 .seazip
seatxt:"", // Textpart of City .seatxt
seastr:"", // Street .seastr
seatypb:"", // Bank .seatypb
seatypc:"", // Client .seatypc
seatypa:"", // Own Address .seatypa
seatypo:"", // Other .seatypo
infbut:{
dspstm:"", // display stream .infbut.dspstm
},
seatyph:"", // 海关 .seatyph
recpan:{
pty:{
extkey:"", // Address Number .recpan.pty.extkey
nam:"", // Party Name .recpan.pty.nam
},
ptyget:{
sdamod:{
seainf:"", // .recpan.ptyget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.ptyget.sdamod.dadsnd
},
},
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
seainf:"", // .recpan.recget.sdamod.seainf
},
},
bchkey:"", // Bchkey .recpan.bchkey
branchkey:"", // Branch key .recpan.branchkey
ptainf:{
labinftxt:"", // Label for INFTXT .recpan.ptainf.labinftxt
oit:{
inftxt:"", // Infotext .recpan.ptainf.oit.inftxt
inflev:"", // Infotext Level .recpan.ptainf.oit.inflev
},
},
},
recgrp:{
rec:{
objkey:"", // Alternate Technical Key of Associated Address .recgrp.rec.objkey
nam:"", // Address Name .recgrp.rec.nam
adrsta:"", // Address Status .recgrp.rec.adrsta
usg:"", // Coded Usage of Address [xxxxxx] .recgrp.rec.usg
issbchinf:"", // Info of bank .recgrp.rec.issbchinf
},
typb:"", // Bank .recgrp.typb
typc:"", // Client .recgrp.typc
typa:"", // Own Address .recgrp.typa
typo:"", // Other .recgrp.typo
adr:{
nam1:"", // Name 1/SWIFT Line 1 .recgrp.adr.nam1
nam2:"", // Name 2/SWIFT Line 2 .recgrp.adr.nam2
nam3:"", // Name 3 .recgrp.adr.nam3
str1:"", // Street/SWIFT Line 3 .recgrp.adr.str1
str2:"", // Optional Second Line of Street .recgrp.adr.str2
loczip:"", // ZIP Code/First Part of SWIFT Line 4 .recgrp.adr.loczip
loctxt:"", // Textpart of City/Second Part of SWIFT Line 4 .recgrp.adr.loctxt
loc2:"", // Optional Second Line of City .recgrp.adr.loc2
pob:"", // Line with Postbox .recgrp.adr.pob
pobzip:"", // ZIP Code Used when Addressing Postbox .recgrp.adr.pobzip
pobtxt:"", // Textpart of City Used when Addressing Postbox .recgrp.adr.pobtxt
loccty:"", // Country or region .recgrp.adr.loccty
eml:"", // eMail/Internet .recgrp.adr.eml
tel1:"", // Telephone 1 .recgrp.adr.tel1
tel2:"", // Telephone 2 .recgrp.adr.tel2
fax1:"", // Telefax 1 .recgrp.adr.fax1
fax2:"", // Telefax 2 .recgrp.adr.fax2
tlx:"", // Telex Number .recgrp.adr.tlx
bic:"", // BIC of Address Optional .recgrp.adr.bic
bid:"", // Branch Identification Used in Option B of SWIFT Fieldtags .recgrp.adr.bid
tid:"", // TradeConnect ID .recgrp.adr.tid
blz:"", // & City .recgrp.adr.blz
clc:"", // Clearing Code for Banks .recgrp.adr.clc
uil:"", // Default Language Code .recgrp.adr.uil
cortyp:"", // Primary Output Chanel of Messages SWT, LET, TLX, TCO .recgrp.adr.cortyp
dpt:"", // Department .recgrp.adr.dpt
adr1:"", // Chinese Address .recgrp.adr.adr1
adr2:"", // .recgrp.adr.adr2
adr3:"", // .recgrp.adr.adr3
discod:"", // 国内地区码 .recgrp.adr.discod
dtacid:"", // DTA Import L/C ID .recgrp.adr.dtacid
dtecid:"", // DTA Export L/C ID .recgrp.adr.dtecid
namelc:"", // 电证名称 .recgrp.adr.namelc
adrelc:"", // 电证地址 .recgrp.adr.adrelc
},
},
}
}
}
\ No newline at end of file
......@@ -520,7 +520,9 @@ export default {
return {
};
},
methods: { ...Event },
methods: { ...Event ,
onSeainf(){}
},
created: function () {},
};
</script>
......
......@@ -7,7 +7,7 @@
<c-input
v-model="model.cptp.recget.sdamod.dadsnd"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -27,7 +27,7 @@
v-model="model.cpdgrp.rec.nam"
maxlength="16"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -113,7 +113,7 @@
v-model="model.cpdgrp.rec.othbch"
maxlength="8"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -165,6 +165,7 @@
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder=""
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -322,12 +323,7 @@
style="width: 100%"
placeholder=""
v-model="model.cpdgrp.rec.swftyp"
:disabled="
model.cpdgrp.cbs.nom1.amt === '0.000' ||
model.cptp.liqtyp==='B' ||
model.cptp.liqtyp==='O' ||
model.cpdgrp.cbs.nom1.amt === ''
"
:disabled="model.cptp.liqtyp!='C' && model.cptp.liqtyp!='S'"
>
<el-option
v-for="item in codes.swftyp"
......@@ -372,10 +368,7 @@
style="width: 100%"
placeholder="请选择清算模式"
:disabled="
model.cpdgrp.cbs.nom1.amt === '0.000' ||
model.cpdgrp.cbs.nom1.amt === '0' ||
model.cpdgrp.cbs.nom1.amt === ''
"
model.cpdgrp.cbs.nom1.amt === '0.000' "
>
<el-option
v-for="item in liqtypOptions"
......@@ -414,7 +407,7 @@
style="width: 90%"
maxlength="16"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -422,12 +415,12 @@
<c-col :span="24">
<c-col :span="17">
<el-form-item label="">
<c-input placeholder="" readonly></c-input>
<c-input placeholder="" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
<c-button size="small" type="primary" @click="onCptpGetInfpta">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
......@@ -442,7 +435,7 @@
<c-input
type="textarea"
placeholder=""
readonly
disabled
rows="9"
style="width: 90%"
></c-input>
......@@ -456,7 +449,7 @@
style="width: 90%"
maxlength="16"
placeholder=""
readonly
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -468,7 +461,6 @@
style="width: 90%"
maxlength="35"
placeholder=""
readonly
></c-input>
</el-form-item>
</c-col>
......@@ -476,12 +468,12 @@
<c-col :span="24">
<c-col :span="17">
<el-form-item label="">
<c-input placeholder="" readonly></c-input>
<c-input placeholder="" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
<c-button size="small" type="primary" @click="onCptpGetInfpta">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
......@@ -496,7 +488,7 @@
<c-input
type="textarea"
placeholder=""
readonly
disabled
rows="9"
style="width: 90%"
></c-input>
......@@ -509,12 +501,12 @@
<c-col :span="24">
<c-col :span="17">
<el-form-item label="发报行">
<c-input placeholder="" readonly></c-input>
<c-input placeholder="" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
<c-button size="small" type="primary" @click="onCptpGetInfpta">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
......@@ -525,7 +517,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="">
<c-input placeholder="" readonly style="width: 90%"></c-input>
<c-input placeholder="" disabled style="width: 90%"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -636,7 +628,7 @@
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
<c-button size="small" type="primary" @click="onCptpGetInfpta">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
......@@ -734,7 +726,7 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary">i</c-button>
<c-button size="small" type="primary" @click="onCptpGetInfpta">i</c-button>
<c-button size="small" type="primary" disabled>Details</c-button>
</el-form-item>
</c-col>
......@@ -868,7 +860,7 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary">i</c-button>
<c-button size="small" type="primary" @click="onCptpGetInfpta">i</c-button>
<c-button size="small" type="primary">Details</c-button>
</el-form-item>
</c-col>
......@@ -962,7 +954,7 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary">i</c-button>
<c-button size="small" type="primary" @click="onCptpGetInfpta">i</c-button>
<c-button size="small" type="primary" disabled>Details</c-button>
</el-form-item>
</c-col>
......@@ -1063,7 +1055,7 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary">i</c-button>
<c-button size="small" type="primary" @click="onCptpGetInfpta">i</c-button>
<c-button size="small" type="primary">Details</c-button>
</el-form-item>
</c-col>
......@@ -1113,7 +1105,7 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
<c-button size="small" type="primary" @click="onCptpGetInfpta">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet">
......@@ -1165,7 +1157,7 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
<c-button size="small" type="primary" @click="onCptpGetInfpta">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
......@@ -1198,7 +1190,7 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
<c-button size="small" type="primary" @click="onCptpGetInfpta">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
......@@ -1258,7 +1250,7 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
<c-button size="small" type="primary" @click="onCptpGetInfpta">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
......@@ -1310,7 +1302,7 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
<c-button size="small" type="primary" @click="onCptpGetInfpta">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet">
......@@ -1362,7 +1354,7 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
<c-button size="small" type="primary" @click="onCptpGetInfpta">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
......@@ -1525,7 +1517,7 @@
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary" @click="onCptpGetref">
<c-button size="small" type="primary" @click="onCptpGetInfpta">
i
</c-button>
<c-button size="small" type="primary" @click="onSndpDet" disabled>
......@@ -2300,6 +2292,16 @@
</el-form-item>
</c-col> -->
<el-dialog
:fullscreen="true"
:visible.sync="infptaVisible"
top="10vh"
width="80%"
custom-class="infptaDialog"
:before-close="handleClose">
<Infpta></Infpta>
</el-dialog>
</div>
</template>
<script>
......@@ -2308,14 +2310,15 @@ import CodeTable from "~/config/CodeTable";
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Cptopn/Event";
import Utils from "~/utils";
import Infpta from "~/views/Business/Infpta"
export default {
inject: ["root"],
props: ["model", "codes"],
components: { Infpta },
mixins: [CommonProcess],
data() {
return {
model3: "",
trntyp: [
{ value: "0", label: "贸易" },
{ value: "1", label: "非贸易" },
......@@ -2327,15 +2330,30 @@ export default {
{ value: "C", label: "代理行模式" },
{ value: "O", label: "Other" },
{ value: "S", label: "CIPS系统" },
]
],
infptaVisible: false
};
},
methods: {
onCptpGetmod() {},
...Event,
onCptpGetInfpta(){
this.infptaVisible=true
},
onCptpGetref() {
},
onCptpGetmod() {
},
handleClose(done) {
done();
}
},
created: function () {},
};
</script>
<style>
/* .infptaDialog {
height: 80%;
} */
</style>
......@@ -19,7 +19,7 @@
</c-col>
<c-col :span="7" :offset="1">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
<c-checkbox v-model="model.bopmod.basflg" :disabled="model.bopmod.szflg==='3'||model.bopmod.szflg===''">基础数据</c-checkbox>
</c-col>
<c-col :span="16">
......@@ -28,6 +28,7 @@
v-model="model.bopmod.acttyp"
style="width: 100%"
placeholder="请选择"
:disabled="model.bopmod.szflg==='2'"
>
<el-option
v-for="item in codes.acttyp"
......
<template>
<div class="eibs-tab">
<!-- ==========顶部-左========= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Address No." prop="seaobjkey">
<c-input v-model="model.seaobjkey" maxlength="24" placeholder="请输入PTA"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Party No." prop="seaptyextkey">
<c-input v-model="model.seaptyextkey" maxlength="24" placeholder="请输入External Key Used to Uniquely Identify a party"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="ZIP/Location" prop="seazip">
<c-input v-model="model.seazip" maxlength="10" placeholder="请输入ZIP Code/First Part of S.W.I.F.T. Line 4"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="seatxt" label-width="15px">
<c-input v-model="model.seatxt" maxlength="25" placeholder="请输入Textpart of City"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ==========顶部-右========= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="seanam">
<c-input v-model="model.seanam" maxlength="35" placeholder="请输入External Visible Name of Address"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="BIC" prop="seabic">
<c-input v-model="model.seabic" maxlength="11" placeholder="请输入BIC of Address Optional"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Street" prop="seastr">
<c-input v-model="model.seastr" maxlength="35" placeholder="请输入Street"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ==========单选框=========== -->
<c-col :span="24">
<c-col :span="3">
<el-form-item label="Type">
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="Bank" prop="seatypb">
<c-checkbox v-model="model.seatypb"></c-checkbox>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="Client" prop="seatypc">
<c-checkbox v-model="model.seatypc"></c-checkbox>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="Own Address" prop="seatypa">
<c-checkbox v-model="model.seatypa"></c-checkbox>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="Other" prop="seatypo">
<c-checkbox v-model="model.seatypo"></c-checkbox>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="海关" prop="seatyph">
<c-checkbox v-model="model.seatyph"></c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- =========表格========== -->
<c-col :span="22" :offset="1">
<c-table
:border="true"
:list="data"
style="width:80%,text-align:center"
>
<el-table-column label="Address No" width="auto"></el-table-column>
<el-table-column label="Adress Name" width="auto"></el-table-column>
<el-table-column label="BIC" width="auto"></el-table-column>
<el-table-column label="ZIP" width="auto"></el-table-column>
<el-table-column label="Location" width="auto"></el-table-column>
<el-table-column label="Street" width="auto"></el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutSearow">
&Search
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutDsp">
D&isplay
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutUserow">
&Use
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutClr">
&Clear
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutButprt">
导Excel
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="display stream" prop="infbut.dspstm">
<c-input v-model="model.infbut.dspstm" placeholder="请输入display stream"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutExi">
E&xit
</c-button>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infpta/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
data:[]
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- <c-col :span="12">
<span v-text="model.recpan.ptainf.labinftxt" data-path=".recpan.ptainf.labinftxt" > </span>
</c-col> -->
<c-col :span="11">
<el-form-item label="General">
<c-input
type="textarea"
v-model="model.recpan.ptainf.oit.inftxt"
disabled
maxlength="60"
rows="3"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Display Type" prop="recpan.ptainf.oit.inflev">
<c-select
v-model="model.recpan.ptainf.oit.inflev"
style="width: 100%"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infpta/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ========顶部======== -->
<c-col :span="24">
<c-col :span="11">
<c-col :span="20">
<el-form-item label="Party No." prop="recpan.pty.extkey">
<c-input
v-model="model.recpan.pty.extkey"
maxlength="24"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<el-form-item label="" label-width="15px">
<c-button type="primary" disabled>i</c-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item
label="Party Name"
prop="recpan.pty.nam"
label-width="120px"
>
<c-input
v-model="model.recpan.pty.nam"
maxlength="40"
placeholder="请输入Party Name"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="20">
<el-form-item label="Address No." prop="recgrp.rec.objkey">
<c-input
v-model="model.recgrp.rec.objkey"
maxlength="24"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<el-form-item label="" label-width="15px">
<c-button type="primary" disabled>i</c-button>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item
label="Address Name"
prop="recgrp.rec.nam"
label-width="120px"
>
<c-input
v-model="model.recgrp.rec.nam"
maxlength="40"
placeholder="请输入Address Name"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========单选框========= -->
<c-col :span="24">
<c-col :span="16">
<c-col :span="4">
<el-form-item label="Type"> </el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="Bank" prop="typb">
<c-checkbox v-model="model.recgrp.typb"></c-checkbox>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="Client" prop="typc">
<c-checkbox v-model="model.recgrp.typc"></c-checkbox>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="Own Address" prop="typa">
<c-checkbox v-model="model.recgrp.typa"></c-checkbox>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="Other" prop="typo">
<c-checkbox v-model="model.recgrp.typo"></c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="11">
<c-checkbox v-model="model.recgrp.typb">Bank</c-checkbox>
</c-col>
<c-col :span="11">
<c-checkbox v-model="model.recgrp.typc">Client</c-checkbox>
</c-col>
<c-col :span="11">
<c-checkbox v-model="model.recgrp.typa">Own Address</c-checkbox>
</c-col>
<c-col :span="11">
<c-checkbox v-model="model.recgrp.typo">Other</c-checkbox>
</c-col> -->
<c-col :span="7">
<el-form-item label="Address Status" prop="recgrp.rec.adrsta" label-width="120px">
<c-select
v-model="model.recgrp.rec.adrsta"
style="width: 100%"
placeholder="请选择Address Status"
>
<el-option
v-for="item in codes.adrsta"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ============中部-左============= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Name" prop="recgrp.adr.nam1">
<c-input
v-model="model.recgrp.adr.nam1"
maxlength="35"
placeholder="请输入Name 1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="recgrp.adr.nam2">
<c-input
v-model="model.recgrp.adr.nam2"
maxlength="35"
placeholder="请输入Name 2"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="recgrp.adr.nam3">
<c-input
v-model="model.recgrp.adr.nam3"
maxlength="35"
placeholder="请输入Name 3"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Street" prop="recgrp.adr.str1">
<c-input
v-model="model.recgrp.adr.str1"
maxlength="35"
placeholder="请输入Street1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label=""
prop="recgrp.adr.str2"
>
<c-input
v-model="model.recgrp.adr.str2"
maxlength="35"
placeholder="请输入Street2"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="Post Code & City"
prop="recgrp.adr.loczip"
>
<c-input
v-model="model.recgrp.adr.loczip"
maxlength="10"
placeholder="请输入ZIP Code/First Part of SWIFT Line 4"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label=""
prop="recgrp.adr.loctxt"
label-width="15px"
>
<c-input
v-model="model.recgrp.adr.loctxt"
maxlength="25"
placeholder="请输入Textpart of City/Second Part of SWIFT Line 4"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="recgrp.adr.loc2">
<c-input
v-model="model.recgrp.adr.loc2"
maxlength="35"
placeholder="请输入Optional Second Line of City"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="P O Box" prop="recgrp.adr.pob">
<c-input
v-model="model.recgrp.adr.pob"
maxlength="35"
placeholder="请输入Line with Postbox"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item
label="Textpart of City Used when Addressing Postbox"
prop="recgrp.adr.pobtxt"
>
<c-input
v-model="model.recgrp.adr.pobtxt"
maxlength="25"
placeholder="请输入Textpart of City Used when Addressing Postbox"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24" style="margin-top:60px">
<el-form-item label="Country or region" prop="recgrp.adr.loccty">
<c-select
v-model="model.recgrp.adr.loccty"
style="width: 100%"
placeholder="请选择Country or region"
>
<el-option
v-for="item in codes.loccty"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- ============中部-右============= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Telephone 1/2" prop="recgrp.adr.tel1">
<c-input
v-model="model.recgrp.adr.tel1"
maxlength="20"
placeholder="请输入Telephone 1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="" prop="recgrp.adr.tel2" label-width="15px">
<c-input
v-model="model.recgrp.adr.tel2"
maxlength="20"
placeholder="请输入Telephone 2"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Telefax 1/2" prop="recgrp.adr.fax1">
<c-input
v-model="model.recgrp.adr.fax1"
maxlength="20"
placeholder="请输入Telefax 1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="" prop="recgrp.adr.fax2" label-width="15px">
<c-input
v-model="model.recgrp.adr.fax2"
maxlength="20"
placeholder="请输入Telefax 2"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Telex" prop="recgrp.adr.tlx">
<c-input
v-model="model.recgrp.adr.tlx"
maxlength="20"
style="width:50%"
placeholder="请输入Telex Number"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="BIC" prop="recgrp.adr.bic">
<c-input
v-model="model.recgrp.adr.bic"
maxlength="11"
style="width:35%"
placeholder="请输入BIC"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Branch ID"
prop="recgrp.adr.bid"
>
<c-input
v-model="model.recgrp.adr.bid"
maxlength="35"
placeholder="请输入Branch Identification Used in Option B of SWIFT Fieldtags"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TradeCon." prop="recgrp.adr.tid">
<c-input
v-model="model.recgrp.adr.tid"
maxlength="23"
placeholder="请输入TradeConnect ID"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Bank Code" prop="recgrp.adr.blz">
<c-input
v-model="model.recgrp.adr.blz"
maxlength="8"
placeholder=""
style="width:30%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Clearing" prop="recgrp.adr.clc">
<c-input
v-model="model.recgrp.adr.clc"
maxlength="35"
placeholder="请输入Clearing"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Language" prop="recgrp.adr.uil">
<c-select
v-model="model.recgrp.adr.uil"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.uil"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Messages"
prop="recgrp.adr.cortyp"
>
<c-select
v-model="model.recgrp.adr.cortyp"
style="width: 100%"
placeholder="请选择"
>
<el-option
v-for="item in codes.cortyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Department" prop="recgrp.adr.dpt">
<c-input
v-model="model.recgrp.adr.dpt"
maxlength="35"
placeholder="请输入Department"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开户行信息" prop="recgrp.rec.issbchinf">
<c-input
v-model="model.recgrp.rec.issbchinf"
maxlength="40"
placeholder="请输入Info of bank"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="E-mail" prop="recgrp.adr.eml">
<c-input
v-model="model.recgrp.adr.eml"
maxlength="80"
style="width:60%"
placeholder="请输入E-mail"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item
label="Usage"
prop="recgrp.rec.usg"
>
<c-select
v-model="model.recgrp.rec.usg"
style="width: 100%"
placeholder="请选择Usage"
>
<el-option
v-for="item in codes.usg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="5" :offset="1">
<el-form-item label="支行" prop="recpan.branchkey">
<c-select
v-model="model.recpan.branchkey"
style="width: 100%"
placeholder="请选择支行"
>
<el-option
v-for="item in codes.branchkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="分行" prop="recpan.bchkey">
<c-select
v-model="model.recpan.bchkey"
style="width: 100%"
placeholder="请选择分行"
>
<el-option
v-for="item in codes.bchkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11">
<el-form-item label="中文地址 1" prop="recgrp.adr.adr1">
<c-input
v-model="model.recgrp.adr.adr1"
maxlength="40"
placeholder="请输入adr1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="2" prop="recgrp.adr.adr2">
<c-input
v-model="model.recgrp.adr.adr2"
maxlength="40"
placeholder="请输入adr2"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="3" prop="recgrp.adr.adr3">
<c-input
v-model="model.recgrp.adr.adr3"
maxlength="40"
placeholder="请输入adr3"
></c-input>
</el-form-item>
</c-col>
<c-col :span="5" :offset="1">
<el-form-item
label="中文邮编"
prop="recgrp.adr.pobzip"
>
<c-input
v-model="model.recgrp.adr.pobzip"
maxlength="10"
placeholder="请输入中文邮编"
></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="国内地区码" prop="recgrp.adr.discod">
<c-input
v-model="model.recgrp.adr.discod"
maxlength="6"
placeholder="请输入国内地区码"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="11">
<el-form-item
label="Drag Drop Sender"
prop="recpan.ptyget.sdamod.dadsnd"
>
<c-input
v-model="model.recpan.ptyget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recpan.ptyget.sdamod.seainf">
<c-input
v-model="model.recpan.ptyget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item
label="Drag Drop Sender"
prop="recpan.recget.sdamod.dadsnd"
>
<c-input
v-model="model.recpan.recget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recpan.recget.sdamod.seainf">
<c-input
v-model="model.recpan.recget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infpta/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item label="DTA Import L/C ID" prop="recgrp.adr.dtacid">
<c-input
v-model="model.recgrp.adr.dtacid"
maxlength="23"
placeholder="请输入DTA Import L/C ID"
style="width:40%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="DTA Export L/C ID" prop="recgrp.adr.dtecid">
<c-input
v-model="model.recgrp.adr.dtecid"
maxlength="23"
placeholder="请输入DTA Export L/C ID"
style="width:40%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="电证名称">
<c-input
type="textarea"
v-model="model.recgrp.adr.namelc"
maxlength="35"
show-word-limit
placeholder="请输入电证名称"
style="width:50%"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="电证地址">
<c-input
type="textarea"
v-model="model.recgrp.adr.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入电证地址"
style="width:50%"
disabled
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infpta/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- <el-col :span="12">
<c-button size="small" type="primary" @click="onRecpanLnkinfptm">
&Info
</c-button>
</el-col> -->
<c-col :span="24">
<el-form-item label="Authentication of Address" label-width="180px">
<c-table
:border="true"
:list="data"
style="width:80%,text-align:center"
>
<el-table-column label="Corr.Type" width="auto"></el-table-column>
<el-table-column label="Addressing" width="auto"></el-table-column>
<el-table-column label="Authentication" width="auto"></el-table-column>
<el-table-column label="Public Key" width="auto"></el-table-column>
</c-table>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infpta/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
data: [],
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000002 -->
<el-tab-pane label="Search Panel" name="infsea">
<m-infsea :model="model" :codes="codes"/>
</el-tab-pane>
<!-- </c-tabs> -->
<!--PD000029 -->
<el-tab-pane label="Address Association" name="ptap0">
<m-ptap0 :model="model" :codes="codes"/>
</el-tab-pane>
<!-- </c-tabs> -->
<!--PD000685 -->
<el-tab-pane label="Details" name="ptap1">
<m-ptap1 :model="model" :codes="codes"/>
</el-tab-pane>
<!-- </c-tabs> -->
<!--PD000650 -->
<el-tab-pane label="Authentication of Address" name="ptmpan">
<m-ptmpan :model="model" :codes="codes"/>
</el-tab-pane>
<!-- </c-tabs> -->
<!--PD000700 -->
<el-tab-pane label="Infotext" name="oitpan">
<m-oitpan :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Infpta from "~/model/Infpta"
import CommonProcess from "~/mixin/CommonProcess";
import Pattern from "~/model/Infpta/Pattern"
import Infsea from "./Infsea"
import Ptap0 from "./Ptap0"
import Ptap1 from "./Ptap1"
import Ptmpan from "./Ptmpan"
import Oitpan from "./Oitpan"
export default {
components:{
"m-infsea" : Infsea,
"m-ptap0" : Ptap0,
"m-ptap1" : Ptap1,
"m-ptmpan" : Ptmpan,
"m-oitpan" : Oitpan,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal:'infsea',
model:new Infpta().data,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
rules:Pattern,
codes:{
},
// init:{
// "uri":"/infpta/init","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
// },
// checkAll:{
// "uri":"/infpta/checkAll","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
// },
saveData:{
"uri":"/infpta/saveData","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
},
pending:{
"uri":"/infpta/pending","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
},
getElcsRef:{
"uri":"/infpta/getElcsRef","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
},
registerDocument:{
"uri":"/infpta/registerDocument","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
},
imgecm:{
"uri":"/infpta/imgecm","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
},
recpanSearch:{
"uri":"/infpta/recpanSearch","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
},
recpanShow:{
"uri":"/infpta/recpanShow","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
},
recpanResend:{
"uri":"/infpta/recpanResend","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
},
showMessage:{
"uri":"/infpta/showMessage","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
},
imgmodRefresh:{
"uri":"/infpta/imgmodRefresh","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
},
imgmodDelete:{
"uri":"/infpta/imgmodDelete","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0"
},
default_recpan_ptainf_labinftxt:{
"uri":"/infpta/default/recpan.ptainf.labinftxt","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recgrp_rec_issbchinf:{
"uri":"/infpta/default/recgrp.rec.issbchinf","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recgrp_rec_usg:{
"uri":"/infpta/default/recgrp.rec.usg","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recgrp_adr_adrelc:{
"uri":"/infpta/default/recgrp.adr.adrelc","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recpan_lnkinfptm:{
"uri":"/infpta/default/recpan.lnkinfptm","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recgrp_adr_cortyp:{
"uri":"/infpta/default/recgrp.adr.cortyp","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recpan_bchkey:{
"uri":"/infpta/default/recpan.bchkey","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recgrp_adr_namelc:{
"uri":"/infpta/default/recgrp.adr.namelc","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recpan_pty_extkey:{
"uri":"/infpta/default/recpan.pty.extkey","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recgrp_rec_objkey:{
"uri":"/infpta/default/recgrp.rec.objkey","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_infbut_userow:{
"uri":"/infpta/default/infbut.userow","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recpan_branchkey:{
"uri":"/infpta/default/recpan.branchkey","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recgrp_adr_bic:{
"uri":"/infpta/default/recgrp.adr.bic","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_infbut_dsp:{
"uri":"/infpta/default/infbut.dsp","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recpan_recget_sdamod_seainf:{
"uri":"/infpta/default/recpan.recget.sdamod.seainf","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recpan_ptainf_oit_inflev:{
"uri":"/infpta/default/recpan.ptainf.oit.inflev","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recpan_recget_sdamod_dadsnd:{
"uri":"/infpta/default/recpan.recget.sdamod.dadsnd","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
default_recgrp_rec_nam:{
"uri":"/infpta/default/recgrp.rec.nam","fileName":"infpta.json","method":"post","basePath":"{{basePath}}","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0",
},
}
},
methods:{
tabClick(){}
},
created:async function(){
console.log("进入infpta交易");
let rtnmsg = await Api.post("infpta/init",{params:{}})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
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