Commit 092d68fe by wangren

Infpty交易模块更新

parent bb42a82c
......@@ -123,6 +123,9 @@ export default {
if( name === "detp1"){
rulePath = "setmod.setpan"
}
if(name === "actinf"){
rulePath = "recpan.actinf"
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) {
......
......@@ -7,6 +7,7 @@ let checkObj = {
"seatypo" :null,
"recgrp.rec.hbkaccflg" :null,
"recgrp.hbk.extkey" :null,
"recgrp.rec.idcode" :null,
"seatypc" :null,
"seatypb" :null,
"recgrp.ptamaa.issbchinf" :null,
......@@ -14,9 +15,12 @@ let checkObj = {
"seatyph" :null,
"recgrp.rec.heqaccflg" :null,
"recgrp.heq.extkey" :null,
"recgrp.rec.trnman" :null,
"recgrp.rec.extkey" :null,
"recpan.bchkey" :null,
"recgrp.rec.juscod" :null,
"recgrp.rec.bngcod" :null,
"recgrp.rec.idtype" :null,
}
for (const key in checkObj) {
......
......@@ -6,8 +6,10 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recpan.ratstm" :Utils.defaultFunction,
"recgrp.hbk.extkey" :Utils.defaultFunction,
"recgrp.rec.extkey" :Utils.defaultFunction,
"recgrp.ptyrat.buytyp" :Utils.defaultFunction,
"recgrp.typh" :Utils.defaultFunction,
"recgrp.typo" :Utils.defaultFunction,
"recgrp.typc" :Utils.defaultFunction,
......@@ -15,17 +17,24 @@ export default {
"recgrp.typb" :Utils.defaultFunction,
"recpan.bchkey" :Utils.defaultFunction,
"recgrp.adrmaa.tid" :Utils.defaultFunction,
"recgrp.ptyrat.cur" :Utils.defaultFunction,
"recpan.ptyinf.oit.inftxt" :Utils.defaultFunction,
"recpan.ptyinf.oit.inflev" :Utils.defaultFunction,
"recgrp.adrmaa.adr2" :Utils.defaultFunction,
"recgrp.adrmaa.adr1" :Utils.defaultFunction,
"recgrp.adrmaa.adr3" :Utils.defaultFunction,
"recgrp.heq.extkey" :Utils.defaultFunction,
"recgrp.adrmaa.loctxt" :Utils.defaultFunction,
"recgrp.adrmaa.nam1" :Utils.defaultFunction,
"recgrp.rec.idtype" :Utils.defaultFunction,
"infbut.dspstm" :Utils.defaultFunction,
"recgrp.rec.juscod" :Utils.defaultFunction,
"recgrp.rec.nam" :Utils.defaultFunction,
"recpan.ptystp.oit.inftxt" :Utils.defaultFunction,
"recpan.ptystp.oit.inflev" :Utils.defaultFunction,
"recgrp.rec.nam1" :Utils.defaultFunction,
"recgrp.adrmaa.pobtxt" :Utils.defaultFunction,
"recgrp.ptyrat.seltyp" :Utils.defaultFunction,
"recgrp.ptamaa.issbchinf" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -6,20 +6,27 @@ export default {
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
async onInfbutDsp(idx, row){
const selIds= [idx + 1];
const selDst= "dspstm";//dspstm是数据流
let params = {selIds,selDst};
this.model.infbut.selrow = idx + 1;
let rtnmsg = await this.executeRule("infbut.dsp", params)
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
console.log(this);
this.root.tabVal="ptyp0";
}
else
{
......@@ -122,5 +129,95 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanUpd(){
let rtnmsg = await this.executeRule("recpan.upd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanUpdall(){
let rtnmsg = await this.executeRule("recpan.updall")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanEcif(){
let rtnmsg = await this.executeRule("recpan.ecif")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanDspadr(){
let rtnmsg = await this.executeRule("recpan.dspadr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanLnkdbmpty(){
let rtnmsg = await this.executeRule("recpan.lnkdbmpty")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanLnkinfptm(){
let rtnmsg = await this.executeRule("recpan.lnkinfptm")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
/**
* Tabs切换事件
* @param {VM} tab
*/
// async tabClick(tab){
// const name=this.tab.name
// let rulePath;
// if(name=== "actinf" ){
// rulePath="recpan.actinf"
// let rtnmsg = await this.executeRule(rulePath)
// }
// if(rtnmsg.respCode == SUCCESS)
// {
// //TODO 处理数据逻辑
// console.log(事件触发了)
// }
// },
}
\ No newline at end of file
......@@ -230,4 +230,113 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"recgrp.rec.rsktxt":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adrmaa.dtacid":[
{type: "string", required: false, message: "必输项"},
{max: 23,message:"长度不能超过23"}
],
"recgrp.adrmaa.dtecid":[
{type: "string", required: false, message: "必输项"},
{max: 23,message:"长度不能超过23"}
],
"recgrp.ptyrat.buyrat":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"recgrp.adrmaa.dtgcid":[
{type: "string", required: false, message: "必输项"},
{max: 23,message:"长度不能超过23"}
],
"recgrp.ptyrat.selrat":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"recpan.ratstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.adrmaa.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.adrmaa.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recgrp.rec.bilvvv":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.rec.akkcom":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recgrp.rec.bngcod":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"recgrp.rec.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.adrmaa.discod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.rec.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 24,message:"长度不能超过24"}
],
"recgrp.rec.khbsdt":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.rec.ecifnam1":[
{type: "string", required: false, message: "必输项"},
{max: 100,message:"长度不能超过100"}
],
"recgrp.rec.ecifjuscod":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"recpan.ptyinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recpan.ptystp.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recpan.actnum":[
{type: "number", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
}
\ No newline at end of file
......@@ -20,6 +20,7 @@ export default class Infpty{
seatypo:"", // Other .seatypo
infbut:{
dspstm:"", // display stream .infbut.dspstm
selrow: 0 // Number of selected row
},
seatyph:"", // 海关 .seatyph
persontype:"", // 客户类别 .persontype
......@@ -36,7 +37,25 @@ export default class Infpty{
accusr:"", // User ID of Account Officer .recgrp.rec.accusr
nam1:"", // Chinese name .recgrp.rec.nam1
juscod:"", // 组织机构'码 .recgrp.rec.juscod
dshflg:"", // 是否电商 .recgrp.rec.dshflg
dshflg:"",
rskcls:"", // Credit Class .recgrp.rec.rskcls
rskcty:"", // Risk Country .recgrp.rec.rskcty
rsktxt:"", // Risk Description .recgrp.rec.rsktxt
sla:"", // Service Level .recgrp.rec.sla
akkcom:"", // 金融机构类型 .recgrp.rec.akkcom
cunqii:"", // 流动资金贷款利率档次 .recgrp.rec.cunqii
bilvvv:"", // 上浮比率 .recgrp.rec.bilvvv
idtype:"", // 客户类型 .recgrp.rec.idtype
idcode:"", // 身份证号码 .recgrp.rec.idcode
trnman:"", // 交易主体 .recgrp.rec.trnman
speeco:"", // 特殊经济区域 .recgrp.rec.speeco
bngcod:"", // 企业海关十位制编码 .recgrp.rec.bngcod
ecifno:"", // ECIFNO .recgrp.rec.ecifno
crmtyp:"", // 贸金客户类别 .recgrp.rec.crmtyp
ecifnam1:"", // ECIFNO中文名称 .recgrp.rec.ecifnam1
ecifjuscod:"", // 组织机构代码 .recgrp.rec.ecifjuscod
qygmgb:"", // 企业规模(国标) .recgrp.rec.qygmgb
khbsdt:"", // 是否电商 .recgrp.rec.dshflg
},
typb:"", // Bank .recgrp.typb
typc:"", // Client .recgrp.typc
......@@ -72,6 +91,12 @@ export default class Infpty{
adr1:"", // Chinese Address .recgrp.adrmaa.adr1
adr2:"", // .recgrp.adrmaa.adr2
adr3:"", // .recgrp.adrmaa.adr3
dtacid:"", // DTA Import L/C ID .recgrp.adrmaa.dtacid
dtecid:"", // DTA Export L/C ID .recgrp.adrmaa.dtecid
dtgcid:"", // DTA Guarantees ID .recgrp.adrmaa.dtgcid
discod:"", // 国内地区码 .recgrp.adrmaa.discod
adrelc:"", // 地址 .recgrp.adrmaa.adrelc
namelc:"", // .recgrp.adrmaa.adr3
},
hbk:{
extkey:"", // Address Number .recgrp.hbk.extkey
......@@ -85,6 +110,13 @@ export default class Infpty{
ptamaa:{
issbchinf:"", // Info of bank .recgrp.ptamaa.issbchinf
},
ptyrat:{
cur:"", // Currency .recgrp.ptyrat.cur
buytyp:"", // Customer Specific Buying Rate Type .recgrp.ptyrat.buytyp
seltyp:"", // Customer Specific Selling Rate Type .recgrp.ptyrat.seltyp
buyrat:"", // Buy rate discount .recgrp.ptyrat.buyrat
selrat:"", // Sell rate discount .recgrp.ptyrat.selrat
},
},
recpan:{
recget:{
......@@ -105,7 +137,32 @@ export default class Infpty{
dadsnd:"", // Drag Drop Sender .recpan.heqget.sdamod.dadsnd
},
},
bchkey:"", // Branch Key .recpan.bchkey
bchkey:"",// Branch Key .recpan.bchkey
idnam:"", // 名称 .recpan.idnam
selpct:"", // Percent .recpan.selpct
buypct:"", // Percent .recpan.buypct
ratstm:"", // Rate Stream .recpan.ratstm
ptyinf:{
labinftxt:"", // Label for INFTXT .recpan.ptyinf.labinftxt
oit:{
inftxt:"", // Infotext .recpan.ptyinf.oit.inftxt
inflev:"", // Infotext Level .recpan.ptyinf.oit.inflev
},
},
ptystp:{
labinftxt:"", // Label for INFTXT .recpan.ptystp.labinftxt
oit:{
inftxt:"", // Infotext .recpan.ptystp.oit.inftxt
inflev:"", // Infotext Level .recpan.ptystp.oit.inflev
},
},
actnum:0, // Total Number of Accounts .recpan.actnum
act:"", //后加进来的LIst 后端IDEA
ptssub:{
oited2:{
labinftxt:"", // Label for INFTXT .recpan.ptssub.oited2.labinftxt
},
},
},
pageId: "" // ctx的key
}
......
<template>
<div class="eibs-tab">
<c-col :span="8" style="height: 24px" >
<el-form-item label="Accounts Defined" class="messageLabel">
</el-form-item>
</c-col>
<!-- <el-form-item label="Total Number of Accounts" prop="recpan.actnum">
<c-col :span="6">
<c-input
v-model="model.recpan.actnum"
placeholder="Total Number of Accounts"
></c-input>
</c-col>
</el-form-item> -->
<c-table
:border="true"
:list="data"
ref="table"
style="width:80%,text-aligen:center"
height="500"
:paginationShow="false"
>
<el-table-column label="Type"
width="auto"
prop="typ"
sortable
></el-table-column>
<el-table-column
label="Cur."
width="auto"
prop="cur"
sortable
></el-table-column>
<el-table-column
label="Account No."
width="auto"
prop="extkey"
sortable
></el-table-column>
<el-table-column
label="科目代码"
width="auto"
prop="trmtyp"
sortable
></el-table-column>
<el-table-column
label=" "
width="auto"
prop="nam"
sortable
></el-table-column>
</c-table>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infpty/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
data: [],
};
},
methods: { ...Event
},
created: function () {},
watch: {
"model.recpan.act": function () {
this.data = this.model.recpan.act;
this.$nextTick(() => {
for (let i = 0; i < this.data.length; i++) {
if (this.data[i].exeflg == "Y") {
this.$refs.table.$refs.table.toggleRowSelection(
this.data[i],
true
);
}
}
});
},
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24" style="height: 24px" text-align=justify>
<el-form-item label="Additional Addresses" class="messageLabel">
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-divider></el-divider>
</c-col> -->
<c-table :border="true" :list="data" ref="table"
style="width:80%,text-aligen:center" height="500"
:paginationShow="false">
<el-table-column
label="Key"
width="auto"
prop="extkey"></el-table-column>
<el-table-column
label="Address"
width="auto"
prop="nam"
sortable
></el-table-column>
<el-table-column
label="BIC"
width="auto"
prop="bic"
sortable
></el-table-column>
<el-table-column
label="Location"
width="auto"
prop="loctxt"
sortable
></el-table-column>
</c-table>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infpty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
data:[]
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
// <c-col :span="12">
// <c-button size="small" type="primary" @click="onRecpanDspadr">
// Display
// </c-button>
// </c-col>
// <c-col :span="12">
// <c-button size="small" type="primary" @click="onRecpanLnkdbmpty">
// &Make Main
// </c-button>
// </c-col>
\ No newline at end of file
<template>
<div class="eibs-tab">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-col :span="24" style="margin-top: 10px">
<!-- ----------左 ---------->
<c-col :span="11">
<c-col :span="24">
......@@ -64,7 +55,7 @@
</c-col>
</c-col>
<!------------- 右 ---------->
<c-col :span="11" :offset="1">
<c-col :span="12" :offset="1">
<c-col :span="24">
<el-form-item label="Party No." prop="ptysea.extkey">
<c-input
......@@ -117,18 +108,18 @@
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Type">
<el-radio-group v-model="radio">
<el-radio :label="0" v-model="model.seatypb">Bank</el-radio>
<el-radio :label="1" v-model="model.seatypc">Client</el-radio>
<el-radio :label="2" v-model="model.seatypa">Own Address</el-radio>
<el-radio :label="3" v-model="model.seatypo">Other</el-radio>
<el-radio :label="4" v-model="model.seatyph">海关</el-radio>
</el-radio-group>
</el-form-item>
</c-col>
<el-form-item label="Type">
<el-radio-group v-model="radio">
<el-radio :label="0" v-model="model.seatypb">Bank</el-radio>
<el-radio :label="1" v-model="model.seatypc">Client</el-radio>
<el-radio :label="2" v-model="model.seatypa">Own Address</el-radio>
<el-radio :label="3" v-model="model.seatypo">Other</el-radio>
<el-radio :label="4" v-model="model.seatyph">海关</el-radio>
</el-radio-group>
</el-form-item>
<c-col :span="24" style="text-align: right; height: 36.8px">
<!--原生重置按钮 <c-col :span="12">
<c-button size="small" type="primary" @click="onInfbutClr">
......@@ -165,14 +156,17 @@
</c-button>
</c-col>
<c-col :span="24" >
<c-istream-table :list="stmData.data" :columns="stmData.columns"
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true">
<el-table-column fix="right" prop="op" label="操作" width="165px">
<c-table-column fixed="right" prop="op" label="操作" width="165px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.$index, scope.row)"
@click="onInfbutDsp(scope.$index, scope.row)"
>
详情
</c-button>
......@@ -205,7 +199,7 @@
></a>
</el-popover>
</template>
</el-table-column>
</c-table-column>
</c-istream-table>
</c-col>
......@@ -256,7 +250,7 @@
<!-- <c-col :span="8">
<c-checkbox v-model="model.seatypc">Client</c-checkbox>
</c-col> -->
</el-form>
</div>
</template>
<script>
......@@ -293,21 +287,7 @@ export default {
},
};
},
methods: {
...Event,
async onInfbutSearow() {
let rule = "infbut.searow";
let rtnmsg = await this.executeRule(rule);
if (rtnmsg.respCode == SUCCESS) {
//处理响应
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
// this.executeRule("infbut_dspstm").then(res => {
// console.log(res);
// })
// this.$refs.infsea.stmData.data = rtnmsg.codeSet['infbut.dspstm']
},
},
methods: {...Event},
created: function () {},
};
</script>
......
<template>
<div class="eibs-tab">
<c-col :span="12" style="height: 24px" >
<el-form-item label="Available Info of Party " class="messageLabel">
</el-form-item>
</c-col>
<c-table :border="true" :list="data" ref="table"
style="width:80%,text-aligen:center" height="500"
:paginationShow="false">
<el-table-column
label="Type"
width="auto"
prop="subtyp"
>
</el-table-column>
<el-table-column
label="Business Sector"
width="auto"
prop="subbus"
sortable></el-table-column>
<el-table-column
label="Display Level"
width="auto"
prop="inflev"
sortable
></el-table-column>
<el-table-column
label="Text"
width="auto"
prop="shttxt"
sortable
></el-table-column>
<c-table-column fixed="right" prop="op" label="操作" width="65px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="onInfbutDsp(scope.$index, scope.row)"
>
Details
</c-button>
</template>
</c-table-column>
</c-table>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infpty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
data:[]
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<!-- <c-col :span="12">
<span v-text="model.recpan.ptssub.oited2.labinftxt" data-path=".recpan.ptssub.oited2.labinftxt" > </span>
</c-col> -->
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="8" style="height: 24px" :pull="1">
<el-form-item label="Contact Persons" class="messageLabel">
</el-form-item>
</c-col>
<c-table :border="true" :list="data" ref="table"
style="width:80%,text-aligen:center" height="500"
:paginatonShow="false">
<el-table-column
label="Gender"
width="auto"
prop="gen"
></el-table-column>
<el-table-column
label="Name"
width="auto"
prop="nam"
sortable
></el-table-column>
<el-table-column
label="Department"
width="auto"
prop="dep"
sortable
></el-table-column>
<el-table-column
label="Office Phone"
width="auto"
prop="teloff"
sortable
></el-table-column>
<el-table-column
label="E-mail"
width="auto"
prop="eml"
sortable
></el-table-column>
<el-table-column
label="Telefax"
width="auto"
prop="telfax"
sortable
></el-table-column>
</c-table>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infpty/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="8" style="height: 24px" >
<el-form-item label="Authentication of Address" class="messageLabel">
</el-form-item>
</c-col>
<c-table :border="true" :list="data" ref="table"
style="width:80%,text-aligen:center" height="500"
:paginationShow="false"
>
<el-table-column
label="Corr.Type"
width="auto"
prop="cortyp"
></el-table-column>
<el-table-column
label="Address of Message "
width="auto"
prop="coradr"
sortable
></el-table-column>
<el-table-column
label="Authenticator "
width="auto"
prop="autflg"
sortable
></el-table-column>
<el-table-column
label="Public key"
width="auto"
prop="autdet"
sortable
></el-table-column>
</c-table>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infpty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
data:[]
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
// <c-col :span="12">
// <c-button size="small" type="primary" @click="onRecpanLnkinfptm">
// Info
// </c-button>
// </c-col>
\ No newline at end of file
<template>
<div class="eibs-tab">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content :height="300">
<m-ovwp :model="model" :codes="codes" />
<c-col :span="24" style="margin-top: 10px">
<!-- ----------左 ---------->
<c-col :span="11">
<!-- <c-col :span="12">
<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>
<c-content :height="300">
<!-- ----------左 ---------->
<c-col :span="11">
<el-form-item
label="Party No."
prop="ptysea.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ptysea.extkey"
placeholder="请输入"
></c-input>
<template slot="footer">
<c-button
style="margin: 0px 10px 0 10; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onRecpanGetpty">
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> -->
<el-form-item
label="Party No."
prop="ptysea.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ptysea.extkey"
placeholder="请输入"
></c-input>
<template slot="footer">
<c-button
style="margin: 0px 10px 0 10; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold"
>i</span
>
</c-button>
<c-button size="small" type="primary" @click="onRecpanGetpty">
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
<el-form-item label="组织机构码" prop="recgrp.rec.juscod">
<c-fullbox>
<c-input
v-model="model.recgrp.rec.juscod"
maxlength="10"
placeholder="请输入组织机构码"
></c-input>
<template slot="footer">
<c-checkbox v-model="model.recgrp.rec.dshflg"
>是否电商</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
<el-form-item label="组织机构码" prop="recgrp.rec.juscod">
<c-fullbox>
<c-input
v-model="model.recgrp.rec.juscod"
maxlength="10"
placeholder="请输入组织机构码"
></c-input>
<template slot="footer">
<c-checkbox v-model="model.recgrp.rec.dshflg"
>是否电商</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
<el-form-item label="Type">
<c-checkbox v-model="model.recgrp.typb">Bank</c-checkbox>
<el-form-item label="Type">
<el-radio-group v-model="radio">
<el-radio :label="0" v-model="model.seatypb">Bank</el-radio>
<el-radio :label="1" v-model="model.seatypc">Client</el-radio>
<el-radio :label="2" v-model="model.seatypa">Own Address</el-radio>
<el-radio :label="3" v-model="model.seatypo">Other</el-radio>
<el-radio :label="4" v-model="model.seatyph">海关</el-radio>
</el-radio-group>
</el-form-item>
<c-checkbox v-model="model.recgrp.typc">Client</c-checkbox>
<el-form-item label="Name 1" prop="recgrp.adrmaa.nam1">
<c-input
v-model="model.recgrp.adrmaa.nam1"
maxlength="35"
placeholder="请输入Name 1/SWIFT Line 1"
></c-input>
</el-form-item>
<c-checkbox v-model="model.recgrp.typa">Own Address</c-checkbox>
<el-form-item label="Name 2" prop="recgrp.adrmaa.nam2">
<c-input
v-model="model.recgrp.adrmaa.nam2"
maxlength="35"
placeholder="请输入Name 2/SWIFT Line 2"
></c-input>
</el-form-item>
<c-checkbox v-model="model.recgrp.typo">Other</c-checkbox>
<el-form-item label="Name 3" prop="recgrp.adrmaa.nam3">
<c-input
v-model="model.recgrp.adrmaa.nam3"
maxlength="35"
placeholder="请输入Name 3"
></c-input>
</el-form-item>
<c-checkbox v-model="model.recgrp.typh">海关</c-checkbox>
<el-form-item label="Street" prop="recgrp.adrmaa.str1">
<c-input
v-model="model.recgrp.adrmaa.str1"
maxlength="35"
placeholder="请输入Street/SWIFT Line 3"
></c-input>
</el-form-item>
<el-form-item label="Optional Second Street" prop="recgrp.adrmaa.str2">
<c-input
v-model="model.recgrp.adrmaa.str2"
maxlength="35"
placeholder="请输入Optional Second Line of Street"
></c-input>
</el-form-item>
<c-col :sapn="24">
<c-col :span="12">
<el-form-item label="Post Code" prop="recgrp.adrmaa.loczip">
<c-input
v-model="model.recgrp.adrmaa.loczip"
maxlength="10"
placeholder="请输入ZIP Code/First Part of SWIFT Line 4"
></c-input>
</el-form-item>
<c-col :span="12">
<el-form-item
label="Name 1/SWIFT Line 1"
prop="recgrp.adrmaa.nam1"
>
<c-input
v-model="model.recgrp.adrmaa.nam1"
maxlength="35"
placeholder="请输入Name 1/SWIFT Line 1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Telephone 1" prop="recgrp.adrmaa.tel1">
<c-input
v-model="model.recgrp.adrmaa.tel1"
maxlength="20"
placeholder="请输入Telephone 1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Telephone 2" prop="recgrp.adrmaa.tel2">
<c-input
v-model="model.recgrp.adrmaa.tel2"
maxlength="20"
placeholder="请输入Telephone 2"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Name 2/SWIFT Line 2"
prop="recgrp.adrmaa.nam2"
>
<c-input
v-model="model.recgrp.adrmaa.nam2"
maxlength="35"
placeholder="请输入Name 2/SWIFT Line 2"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Telefax 1" prop="recgrp.adrmaa.fax1">
<c-input
v-model="model.recgrp.adrmaa.fax1"
maxlength="20"
placeholder="请输入Telefax 1"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Telefax 2" prop="recgrp.adrmaa.fax2">
<c-input
v-model="model.recgrp.adrmaa.fax2"
maxlength="20"
placeholder="请输入Telefax 2"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name 3" prop="recgrp.adrmaa.nam3">
<c-input
v-model="model.recgrp.adrmaa.nam3"
maxlength="35"
placeholder="请输入Name 3"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Telex Number" prop="recgrp.adrmaa.tlx">
<c-input
v-model="model.recgrp.adrmaa.tlx"
maxlength="20"
placeholder="请输入Telex Number"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Street/SWIFT Line 3"
prop="recgrp.adrmaa.str1"
>
<c-input
v-model="model.recgrp.adrmaa.str1"
maxlength="35"
placeholder="请输入Street/SWIFT Line 3"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="BIC of Address Optional"
prop="recgrp.adrmaa.bic"
>
<c-input
v-model="model.recgrp.adrmaa.bic"
maxlength="11"
placeholder="请输入BIC of Address Optional"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Bankleitzahl German Clearing Code"
prop="recgrp.adrmaa.blz"
>
<c-input
v-model="model.recgrp.adrmaa.blz"
maxlength="8"
placeholder="请输入Bankleitzahl German Clearing Code"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Optional Second Line of Street"
prop="recgrp.adrmaa.str2"
>
<c-input
v-model="model.recgrp.adrmaa.str2"
maxlength="35"
placeholder="请输入Optional Second Line of Street"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Branch Identification Used in Option B of SWIFT Fieldtags"
prop="recgrp.adrmaa.bid"
>
<c-input
v-model="model.recgrp.adrmaa.bid"
maxlength="35"
placeholder="请输入Branch Identification Used in Option B of SWIFT Fieldtags"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!------------- 右 右边的span直接24---------->
<c-col :span="11" :offset="1">
<!-- <c-col :span="12">
<el-form-item label="Address Number" prop="recgrp.rec.extkey">
<c-input
v-model="model.recgrp.rec.extkey"
maxlength="24"
placeholder="请输入Address Number"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="Party Name" prop="recgrp.rec.nam">
<c-input
v-model="model.recgrp.rec.nam"
maxlength="40"
placeholder="请输入Party Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Chinese name" prop="recgrp.rec.nam1">
<c-fullbox>
<c-input
type="textarea"
v-model="model.recgrp.rec.nam1"
maxlength="50"
show-word-limit
placeholder="请输入Chinese name"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onRecpanAltnam">
ECIF名称
</c-button>
</template>
</c-fullbox>
</el-form-item>
<c-col :span="12">
<el-form-item label=" City" prop="recgrp.adrmaa.loctxt">
<c-input
v-model="model.recgrp.adrmaa.loctxt"
maxlength="25"
placeholder="请输入Textpart of City/Second Part of SWIFT Line 4"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Optional Second City" prop="recgrp.adrmaa.loc2">
<c-input
v-model="model.recgrp.adrmaa.loc2"
maxlength="35"
placeholder="请输入Optional Second Line of City"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label=" PostBox" prop="recgrp.adrmaa.pobtxt">
<c-input
v-model="model.recgrp.adrmaa.pobtxt"
maxlength="25"
placeholder="请输入Textpart of City Used when Addressing Postbox"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Country or region" prop="recgrp.adrmaa.loccty">
<c-select
v-model="model.recgrp.adrmaa.loccty"
style="width: 100%"
placeholder="请选择Country"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="E-mail" prop="recgrp.adrmaa.eml">
<c-input
v-model="model.recgrp.adrmaa.eml"
maxlength="80"
placeholder="请输入eMail/Internet"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Status" prop="recgrp.rec.adrsta">
<c-select
v-model="model.recgrp.rec.adrsta"
style="width: 100%"
placeholder="请选择Address Status"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="ZIP Code/First Part of SWIFT Line 4"
prop="recgrp.adrmaa.loczip"
>
<c-input
v-model="model.recgrp.adrmaa.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="Textpart of City/Second Part of SWIFT Line 4"
prop="recgrp.adrmaa.loctxt"
>
<c-input
v-model="model.recgrp.adrmaa.loctxt"
maxlength="25"
placeholder="请输入Textpart of City/Second Part of SWIFT Line 4"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="TradeConnect ID" prop="recgrp.adrmaa.tid">
<c-input
v-model="model.recgrp.adrmaa.tid"
maxlength="23"
placeholder="请输入TradeConnect ID"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanGet">
Get
</c-button>
</c-col>
<c-col :span="24">
<el-form-item label=" Name" prop="recgrp.hbk.nam">
<c-input
v-model="model.recgrp.hbk.nam"
maxlength="40"
placeholder="请输入External Visible Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recgrp.rec.hbkaccflg"
>Use Accounting of HouseBank</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label=" Account M." prop="recgrp.rec.accusr">
<c-input
v-model="model.recgrp.rec.accusr"
maxlength="8"
placeholder="请输入User ID of Account Officer"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Optional Second Line of City"
prop="recgrp.adrmaa.loc2"
>
<c-input
v-model="model.recgrp.adrmaa.loc2"
maxlength="35"
placeholder="请输入Optional Second Line of City"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Clearing Code for Banks"
prop="recgrp.adrmaa.clc"
>
<c-input
v-model="model.recgrp.adrmaa.clc"
maxlength="35"
placeholder="请输入Clearing Code for Banks"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Line with Postbox" prop="recgrp.adrmaa.pob">
<c-input
v-model="model.recgrp.adrmaa.pob"
maxlength="35"
placeholder="请输入Line with Postbox"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Default Language Code"
prop="recgrp.adrmaa.uil"
>
<c-select
v-model="model.recgrp.adrmaa.uil"
style="width: 100%"
placeholder="请选择Default Language Code"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Primary Output Chanel of Messages SWT, LET, TLX, TCO"
prop="recgrp.adrmaa.cortyp"
>
<c-select
v-model="model.recgrp.adrmaa.cortyp"
style="width: 100%"
placeholder="请选择Primary Output Chanel of Messages SWT, LET, TLX, TCO"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Textpart of City Used when Addressing Postbox"
prop="recgrp.adrmaa.pobtxt"
>
<c-input
v-model="model.recgrp.adrmaa.pobtxt"
maxlength="25"
placeholder="请输入Textpart of City Used when Addressing Postbox"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Department" prop="recgrp.adrmaa.dpt">
<c-input
v-model="model.recgrp.adrmaa.dpt"
maxlength="35"
placeholder="请输入Department"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Country" prop="recgrp.adrmaa.loccty">
<c-select
v-model="model.recgrp.adrmaa.loccty"
style="width: 100%"
placeholder="请选择Country"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Info of bank" prop="recgrp.ptamaa.issbchinf">
<c-input
v-model="model.recgrp.ptamaa.issbchinf"
maxlength="40"
placeholder="请输入Info of bank"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="eMail/Internet" prop="recgrp.adrmaa.eml">
<c-input
v-model="model.recgrp.adrmaa.eml"
maxlength="80"
placeholder="请输入eMail/Internet"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="recpan.hbkget.sdamod.dadsnd"
>
<c-input
v-model="model.recpan.hbkget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Number" prop="recgrp.hbk.extkey">
<c-input
v-model="model.recgrp.hbk.extkey"
maxlength="24"
placeholder="请输入Address Number"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="支行" prop="recpan.bchkey">
<c-select
v-model="model.recpan.bchkey"
style="width: 100%"
placeholder="请选择Branch Key"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中文地址" prop="recgrp.adrmaa.adr1">
<c-input
v-model="model.recgrp.adrmaa.adr1"
maxlength="40"
placeholder="请输入Chinese Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recpan.hbkget.sdamod.seainf">
<c-input
v-model="model.recpan.hbkget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Visible Name" prop="recgrp.hbk.nam">
<c-input
v-model="model.recgrp.hbk.nam"
maxlength="40"
placeholder="请输入External Visible Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recgrp.rec.hbkaccflg"
>Use Accounting of House Bank</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="recgrp.adrmaa.adr2">
<c-input
v-model="model.recgrp.adrmaa.adr2"
maxlength="40"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Number" prop="recgrp.heq.extkey">
<c-input
v-model="model.recgrp.heq.extkey"
maxlength="24"
placeholder="请输入Address Number"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="recgrp.adrmaa.adr3">
<c-input
v-model="model.recgrp.adrmaa.adr3"
maxlength="40"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="中文邮编" prop="recgrp.adrmaa.pobzip">
<c-input
v-model="model.recgrp.adrmaa.pobzip"
maxlength="10"
placeholder="请输入ZIP Code Used when Addressing Postbox"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!------------- 右 ------------->
<c-col :span="11" :offset="1">
<el-form-item label="Party Name" prop="recgrp.rec.nam">
<c-input
v-model="model.recgrp.rec.nam"
maxlength="40"
placeholder="请输入Party Name"
></c-input>
</el-form-item>
<el-form-item label="Chinese name" prop="recgrp.rec.nam1">
<c-fullbox>
<c-input
type="textarea"
v-model="model.recgrp.rec.nam1"
maxlength="50"
show-word-limit
placeholder="请输入Chinese name"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onRecpanAltnam">
ECIF名称
</c-button>
</template>
</c-fullbox>
</el-form-item>
<c-col :span="12">
<el-form-item label="" prop="recpan.heqget.sdamod.seainf">
<c-input
v-model="model.recpan.heqget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="recpan.heqget.sdamod.dadsnd"
>
<c-input
v-model="model.recpan.heqget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Visible Name" prop="recgrp.heq.nam">
<c-input
v-model="model.recgrp.heq.nam"
maxlength="40"
placeholder="请输入External Visible Name"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="User ID of Account Officer"
prop="recgrp.rec.accusr"
<el-form-item label="Address Status" prop="recgrp.rec.adrsta">
<c-select
v-model="model.recgrp.rec.adrsta"
style="width: 100%"
placeholder="请选择Address Status"
>
</c-select>
</el-form-item>
<el-form-item label="Telephone 1" prop="recgrp.adrmaa.tel1">
<c-input
v-model="model.recgrp.adrmaa.tel1"
maxlength="20"
placeholder="请输入Telephone 1"
></c-input>
</el-form-item>
<el-form-item label="Telephone 2" prop="recgrp.adrmaa.tel2">
<c-input
v-model="model.recgrp.adrmaa.tel2"
maxlength="20"
placeholder="请输入Telephone 2"
></c-input>
</el-form-item>
<el-form-item label="Telefax 1" prop="recgrp.adrmaa.fax1">
<c-input
v-model="model.recgrp.adrmaa.fax1"
maxlength="20"
placeholder="请输入Telefax 1"
></c-input>
</el-form-item>
<el-form-item label="Telefax 2" prop="recgrp.adrmaa.fax2">
<c-input
v-model="model.recgrp.adrmaa.fax2"
maxlength="20"
placeholder="请输入Telefax 2"
></c-input>
</el-form-item>
<el-form-item label="Telex " prop="recgrp.adrmaa.tlx">
<c-input
v-model="model.recgrp.adrmaa.tlx"
maxlength="20"
placeholder="请输入Telex Number"
></c-input>
</el-form-item>
<el-form-item label="BIC " prop="recgrp.adrmaa.bic">
<c-input
v-model="model.recgrp.adrmaa.bic"
maxlength="11"
placeholder="请输入BIC of Address Optional"
></c-input>
</el-form-item>
<el-form-item label=" Bank Code " prop="recgrp.adrmaa.clc">
<c-input
v-model="model.recgrp.adrmaa.clc"
maxlength="35"
placeholder="请输入Clearing Code for Banks"
></c-input>
</el-form-item>
<el-form-item label="Branch ID" prop="recgrp.adrmaa.bid">
<c-input
v-model="model.recgrp.adrmaa.bid"
maxlength="35"
placeholder="请输入Branch Identification Used in Option B of SWIFT Fieldtags"
></c-input>
</el-form-item>
<el-form-item label="TradeConnect ID" prop="recgrp.adrmaa.tid">
<c-input
v-model="model.recgrp.adrmaa.tid"
maxlength="23"
placeholder="请输入TradeConnect ID"
></c-input>
</el-form-item>
<el-form-item label=" Clearing " prop="recgrp.adrmaa.blz">
<c-input
v-model="model.recgrp.adrmaa.blz"
maxlength="8"
placeholder="请输入Bankleitzahl German Clearing Code"
></c-input>
</el-form-item>
<el-form-item label="Line with Postbox" prop="recgrp.adrmaa.pob">
<c-input
v-model="model.recgrp.adrmaa.pob"
maxlength="35"
placeholder="请输入Line with Postbox"
></c-input>
</el-form-item>
<el-form-item label="Language " prop="recgrp.adrmaa.uil">
<c-col :span="12">
<c-select
v-model="model.recgrp.adrmaa.uil"
style="width: 100%"
placeholder="请选择 Language "
>
<c-input
v-model="model.recgrp.rec.accusr"
maxlength="8"
placeholder="请输入User ID of Account Officer"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Branch Key" prop="recpan.bchkey">
<c-select
v-model="model.recpan.bchkey"
style="width: 100%"
placeholder="请选择Branch Key"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recgrp.rec.heqaccflg"
>Use Accounting of Headquarters</c-checkbox
</c-select>
</c-col>
</el-form-item>
<el-form-item label=" Messages" prop="recgrp.adrmaa.cortyp">
<c-col :span="12">
<c-select
v-model="model.recgrp.adrmaa.cortyp"
style="width: 100%"
placeholder="Messages SWT, LET, TLX, TCO"
>
</c-col>
</c-select>
</c-col>
</el-form-item>
<el-form-item label="Department" prop="recgrp.adrmaa.dpt">
<c-input
v-model="model.recgrp.adrmaa.dpt"
maxlength="35"
placeholder="请输入Department"
></c-input>
</el-form-item>
<c-col :span="12">
<el-form-item label="Chinese Address" prop="recgrp.adrmaa.adr1">
<c-input
v-model="model.recgrp.adrmaa.adr1"
maxlength="40"
placeholder="请输入Chinese Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recgrp.adrmaa.adr2">
<c-input
v-model="model.recgrp.adrmaa.adr2"
maxlength="40"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="recgrp.adrmaa.adr3">
<c-input
v-model="model.recgrp.adrmaa.adr3"
maxlength="40"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="ZIP Code Used when Addressing Postbox"
prop="recgrp.adrmaa.pobzip"
>
<c-input
v-model="model.recgrp.adrmaa.pobzip"
maxlength="10"
placeholder="请输入ZIP Code Used when Addressing Postbox"
></c-input>
</el-form-item>
</c-col>
<el-form-item label=" 开户行信息" prop="recgrp.ptamaa.issbchinf">
<c-input
v-model="model.recgrp.ptamaa.issbchinf"
maxlength="40"
placeholder="请输入Info of bank"
></c-input>
</el-form-item>
<el-form-item label=" Name" prop="recgrp.heq.nam">
<c-input
v-model="model.recgrp.heq.nam"
maxlength="40"
placeholder="请输入External Visible Name"
></c-input>
</el-form-item>
<el-form-item>
<c-col :span="24">
<c-checkbox v-model="model.recgrp.rec.heqaccflg"
>Use Accounting of Headquarters</c-checkbox
>
</c-col>
</c-col>
</c-content>
</el-form>
</el-form-item>
</c-col>
</c-content>
</div>
</template>
<script>
......@@ -619,11 +431,107 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
radio: 1,
};
},
methods: { ...Event },
methods: { ...Event, onSeainf() {} },
created: function () {},
};
</script>
<style>
</style>
<!-- <c-col :span="12">
<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> -->
<!-- <el-form-item label="Type">
<c-checkbox v-model="model.recgrp.typb">Bank</c-checkbox>
<c-checkbox v-model="model.recgrp.typc">Client</c-checkbox>
<c-checkbox v-model="model.recgrp.typa">Own Address</c-checkbox>
<c-checkbox v-model="model.recgrp.typo">Other</c-checkbox>
<c-checkbox v-model="model.recgrp.typh">海关</c-checkbox>
</el-form-item> -->
<!-- <c-col :span="12">
<el-form-item label="Address Number" prop="recgrp.rec.extkey">
<c-input
v-model="model.recgrp.rec.extkey"
maxlength="24"
placeholder="请输入Address Number"
></c-input>-->
<!-- <c-col :span="24">
<c-button size="small" type="primary" @click="onRecpanGet">
Get
</c-button>
</c-col> -->
<!-- <c-col :span="24">
<el-form-item
label="Drag Drop Sender"
prop="recpan.hbkget.sdamod.dadsnd"
>
<c-input
v-model="model.recpan.hbkget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Number" prop="recgrp.hbk.extkey">
<c-input
v-model="model.recgrp.hbk.extkey"
maxlength="24"
placeholder="请输入Address Number"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="recpan.hbkget.sdamod.seainf">
<c-input
v-model="model.recpan.hbkget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Number" prop="recgrp.heq.extkey">
<c-input
v-model="model.recgrp.heq.extkey"
maxlength="24"
placeholder="请输入Address Number"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="recpan.heqget.sdamod.seainf">
<c-input
v-model="model.recpan.heqget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Drag Drop Sender"
prop="recpan.heqget.sdamod.dadsnd"
>
<c-input
v-model="model.recpan.heqget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col> -->
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- -----------顶部------------ -->
<c-content :height="300">
<c-col :span="24" style="margin-top: 10px">
<!-- ----------左 ---------->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Credit Class" prop="recgrp.rec.rskcls">
<c-input
v-model="model.recgrp.rec.rskcls"
style="width: 100%"
placeholder="请输入Credit Class"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Risk Country" prop="recgrp.rec.rskcty">
<c-input
v-model="model.recgrp.rec.rskcty"
style="width: 100%"
placeholder="请输入Risk Country"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Risk Description" prop="recgrp.rec.rsktxt">
<c-input
v-model="model.recgrp.rec.rsktxt"
maxlength="35"
placeholder="请输入Risk Description"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="DTA Import L/C ID" prop="recgrp.adrmaa.dtacid">
<c-input
v-model="model.recgrp.adrmaa.dtacid"
maxlength="23"
placeholder="请输入DTA Import L/C ID"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="DTA Export L/C ID" prop="recgrp.adrmaa.dtecid">
<c-input
v-model="model.recgrp.adrmaa.dtecid"
maxlength="23"
placeholder="请输入DTA Export L/C ID"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="DTA Guarantees ID" prop="recgrp.adrmaa.dtgcid">
<c-input
v-model="model.recgrp.adrmaa.dtgcid"
maxlength="23"
placeholder="请输入DTA Guarantees ID"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Service Level" prop="recgrp.rec.sla">
<c-input
v-model="model.recgrp.rec.sla"
style="width: 100%"
placeholder="请输入Service Level"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="流动资金贷款利率档次" prop="recgrp.rec.cunqii">
<c-select
v-model="model.recgrp.rec.cunqii"
style="width: 100%"
placeholder="请选择流动资金贷款利率档次"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="上浮比率" prop="recgrp.rec.bilvvv">
<c-input
v-model="model.recgrp.rec.bilvvv"
placeholder="请输入上浮比率"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="企业海关十位制编码" prop="recgrp.rec.bngcod">
<c-input
v-model="model.recgrp.rec.bngcod"
maxlength="10"
placeholder="请输入企业海关十位制编码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="国内地区码" prop="recgrp.adrmaa.discod">
<c-input
v-model="model.recgrp.adrmaa.discod"
maxlength="6"
placeholder="请输入国内地区码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ECIFNO" prop="recgrp.rec.ecifno">
<c-input
v-model="model.recgrp.rec.ecifno"
maxlength="24"
placeholder="请输入ECIFNO"
></c-input>
</el-form-item>
<c-col :span="24">
<el-form-item label="代理行名称" prop="recgrp.rec.ecifnam1">
<c-input
v-model="model.recgrp.rec.ecifnam1"
maxlength="100"
placeholder="请输入ECIFNO中文名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="recgrp.rec.ecifjuscod">
<c-input
v-model="model.recgrp.rec.ecifjuscod"
maxlength="50"
placeholder="请输入组织机构代码"
></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="币种" prop="recgrp.ptyrat.cur">
<c-input
v-model="model.recgrp.ptyrat.cur"
style="width: 100%"
placeholder="请输入Currency"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="电政名称" prop="recgrp.adrmaa.namelc">
<c-input
type="textarea"
v-model="model.recgrp.adrmaa.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="电政地址" prop="recgrp.adrmaa.adrelc">
<c-input
type="textarea"
v-model="model.recgrp.adrmaa.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="买家优惠" prop="recgrp.ptyrat.buytyp">
<c-select
v-model="model.recgrp.ptyrat.buytyp"
style="width: 100%"
placeholder="请选择Customer Specific Buying Rate Type"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Buy rate discount"
prop="recgrp.ptyrat.buyrat"
>
<c-input
v-model="model.recgrp.ptyrat.buyrat"
placeholder="请输入Buy rate discount"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="卖家优惠" prop="recgrp.ptyrat.seltyp">
<c-select
v-model="model.recgrp.ptyrat.seltyp"
style="width: 100%"
placeholder="请选择Customer Specific Selling Rate Type"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="Sell rate discount"
prop="recgrp.ptyrat.selrat"
>
<c-input
v-model="model.recgrp.ptyrat.selrat"
placeholder="请输入Sell rate discount"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="客户类型" prop="recgrp.rec.idtype">
<c-select
v-model="model.recgrp.rec.idtype"
style="width: 100%"
placeholder="请选择客户类型"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="金融机构类型" prop="recgrp.rec.akkcom">
<c-input
v-model="model.recgrp.rec.akkcom"
maxlength="8"
placeholder="请输入金融机构类型"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="身份证号码" prop="recgrp.rec.idcode">
<c-input
v-model="model.recgrp.rec.idcode"
maxlength="32"
placeholder="请输入身份证号码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易主体" prop="recgrp.rec.trnman">
<c-select
v-model="model.recgrp.rec.trnman"
style="width: 100%"
placeholder="请选择交易主体"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="5" :offset="6">
<c-checkbox v-model="model.recgrp.rec.speeco"
>特殊经济区域</c-checkbox
>
</c-col>
<c-col :span="13">
<el-form-item label="ocrm日期" prop="recgrp.rec.khbsdt">
<c-date-picker
type="date"
v-model="model.recgrp.rec.khbsdt"
style="width: 100%"
placeholder="请选择ocrm日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="企业规模(国标)" prop="recgrp.rec.qygmgb">
<c-select
v-model="model.recgrp.rec.qygmgb"
style="width: 100%"
placeholder="请选择企业规模(国标)"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="贸金客户类别" prop="recgrp.rec.crmtyp">
<c-select
v-model="model.recgrp.rec.crmtyp"
style="width: 100%"
placeholder="请选择贸金客户类别"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
</c-istream-table>
</c-col>
</c-col>
</c-content>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infpty/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
stmData: {
columns: [
"0 1 \"Cur\" 200",
"2 2 \"Buy Type\" 250 1 0 1 PTYRAT:BUYTYP",
"3 3 \"Discount\" 250 2 0 1 0",
"4 4 \"Sell Type\" 250 1 0 1 PTYRAT:SELTYP",
"5 5 \"Discount\" 250 2 0 1 0"
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<!-- <c-button size="small" type="primary" @click="onRecpanUpdall"
style="float:right;margin-right:10px;">
Update All
</c-button>
<c-button size="small" type="primary" @click="onRecpanUpd"
style="float:right;margin-right:10px;">
Update one
</c-button> -->
<!-- <c-col :span="24">
<span v-text="model.recpan.idnam" data-path=".recpan.idnam" > </span>
</c-col> -->
<!-- <c-col :span="24">
<span v-text="model.recpan.selpct" data-path=".recpan.selpct" > </span>
</c-col>
<c-col :span="24">
<span v-text="model.recpan.buypct" data-path=".recpan.buypct" > </span>
</c-col> -->
<!-- <c-col :span="24">
<c-button size="small" type="primary" @click="onRecpanEcif">
ECIF
</c-button>
</c-col> -->
<!-- <c-col :span="24">
<el-form-item label="Rate Stream" prop="recpan.ratstm">
<c-input
v-model="model.recpan.ratstm"
placeholder="请输入Rate Stream"
></c-input>
</el-form-item>
</c-col> -->
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="General" prop="recpan.ptyinf.oit.inftxt">
<c-input type="textarea" v-model="model.recpan.ptyinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Display Type" prop="recpan.ptyinf.oit.inflev">
<c-select v-model="model.recpan.ptyinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Stop" prop="recpan.ptystp.oit.inftxt">
<c-input type="textarea" v-model="model.recpan.ptystp.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Display Type" prop="recpan.ptystp.oit.inflev">
<c-select v-model="model.recpan.ptystp.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infpty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<!-- <c-col :span="12">
<span v-text="model.recpan.ptyinf.labinftxt" data-path=".recpan.ptyinf.labinftxt" > </span>
</c-col> -->
<!-- <c-col :span="12">
<span v-text="model.recpan.ptystp.labinftxt" data-path=".recpan.ptystp.labinftxt" > </span>
</c-col> -->
\ No newline at end of file
......@@ -9,7 +9,7 @@
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="tabClick">
<!--PD000039 -->
<el-tab-pane label="Search Panel" name="infsea">
<m-infsea :model="model" :codes="codes" ref="infsea" />
......@@ -18,6 +18,27 @@
<el-tab-pane label="Party" name="ptyp0">
<m-ptyp0 :model="model" :codes="codes" ref="ptyp0" />
</el-tab-pane>
<el-tab-pane label="Details" name="ptyp1">
<m-ptyp1 :model="model" :codes="codes" ref="ptyp1" />
</el-tab-pane>
<el-tab-pane label="Additional Addresses" name="addadrp">
<m-addadrp :model="model" :codes="codes" ref="addadrp" />
</el-tab-pane>
<el-tab-pane label="Info and Stoptext" name="ptytxt">
<m-ptytxt :model="model" :codes="codes" ref="ptytxt" />
</el-tab-pane>
<el-tab-pane label="Accounts" name="actinf">
<m-actinf :model="model" :codes="codes" ref="actinf" />
</el-tab-pane>
<el-tab-pane label="Contacts" name="ptcinf">
<m-ptcinf :model="model" :codes="codes" ref="ptcinf" />
</el-tab-pane>
<el-tab-pane label="Authentication of Address" name="ptmpan">
<m-ptmpan :model="model" :codes="codes" ref="ptmpan" />
</el-tab-pane>
<el-tab-pane label="Further Info and Stoptext" name="oitp">
<m-oitp :model="model" :codes="codes" ref="oitp" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -32,11 +53,26 @@ import Default from "~/model/Infpty/Default";
import Pattern from "~/model/Infpty/Pattern";
import Infsea from "./Infsea";
import Ptyp0 from "./Ptyp0";
import Ptyp1 from "./Ptyp1";
import Addadrp from "./Addadrp";
import Ptytxt from "./Ptytxt";
import Actinf from "./Actinf";
import Ptcinf from "./Ptcinf";
import Ptmpan from "./Ptmpan";
import Oitp from "./Oitp";
export default {
name: "Infpty",
components: {
"m-infsea": Infsea,
"m-ptyp0": Ptyp0,
"m-infsea":Infsea,
"m-ptyp0":Ptyp0,
"m-ptyp1":Ptyp1,
"m-addadrp":Addadrp,
"m-ptytxt":Ptytxt,
"m-actinf":Actinf,
"m-ptcinf":Ptcinf,
"m-ptmpan":Ptmpan,
"m-oitp":Oitp,
},
provide() {
return {
......@@ -57,21 +93,15 @@ export default {
};
},
methods: {
myTabClick() {
this.tabClick(tab);
/**
* do it yourself
**/
},
//修改原事件MytabClick的V-on
},
created: async function () {
console.log("进入infpty交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//处理istream的数据
// this.$refs.infsea.stmData.columns = rtnmsg.codeSet['infbut.dspstm']
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);//刷新前端数据
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
......
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