Commit d78e70ba by wangren

Dbipty交易实现 Infpty交易部分修改

parent 6c26839d
......@@ -284,10 +284,10 @@ export default {
{max: 60,message:"长度不能超过60"}
],
"recpan.actnum":[
{type: "number", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
// "recpan.actnum":[
// {type: "number", required: false, message: "必输项"},
// {max: 6,message:"长度不能超过6"}
// ],
......
......@@ -133,7 +133,8 @@ export default class Dbipty{
inflev:"", // Infotext Level .recpan.ptystp.oit.inflev
},
},
actnum:"", // Total Number of Accounts .recpan.actnum
actnum:"", // Total Number of Accounts .recpan.actnum
act:"", // IDEA后台添加 前端也要添加该数据
ptssub:{
oited2:{
labinftxt:"", // Label for INFTXT .recpan.ptssub.oited2.labinftxt
......
......@@ -157,7 +157,7 @@ export default class Infpty{
},
},
actnum:0, // Total Number of Accounts .recpan.actnum
act:"", //后加进来的LIst 后端IDEA
act:"", //后加进来的LIst 后端IDEA 前端也需要手动添加
ptssub:{
oited2:{
labinftxt:"", // Label for INFTXT .recpan.ptssub.oited2.labinftxt
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Total Number of Accounts" prop="recpan.actnum">
<c-input v-model="model.recpan.actnum" placeholder="请输入Total Number of Accounts"></c-input>
</el-form-item>
</c-col>
<c-col :span="8" style="height: 24px" >
<el-form-item label="Accounts Defined" 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="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>
......@@ -20,15 +58,34 @@ export default {
mixins: [commonProcess],
data(){
return {
}
data:[],
};
},
methods:{...Event},
created:function(){
}
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>
<!-- <c-col :span="12">
<el-form-item label="Total Number of Accounts" prop="recpan.actnum">
<c-input v-model="model.recpan.actnum" placeholder="请输入Total Number of Accounts"></c-input>
</el-form-item>
</c-col> -->
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<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"
sortable></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>
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanDspadr">
Display
</c-button>
......@@ -11,7 +45,7 @@
<c-button size="small" type="primary" @click="onRecpanLnkdbmpty">
&Make Main
</c-button>
</c-col>
</c-col> -->
</div>
</template>
<script>
......@@ -26,7 +60,7 @@ export default {
mixins: [commonProcess],
data(){
return {
data:[]
}
},
methods:{...Event},
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<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"
sortable
>
</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>
<!-- <c-col :span="12">
<span v-text="model.recpan.ptssub.oited2.labinftxt" data-path=".recpan.ptssub.oited2.labinftxt" > </span>
</c-col>
</c-col> -->
</div>
</template>
<script>
......@@ -18,7 +61,7 @@ export default {
mixins: [commonProcess],
data(){
return {
data:[]
}
},
methods:{...Event},
......
<template>
<div class="eibs-tab">
</div>
<c-col :span="8" style="height: 24px" >
<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 Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbipty/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Dbipty/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
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">
<c-button size="small" type="primary" @click="onRecpanLnkinfptm">
Info
</c-button>
</c-col>
<c-col :span="8" style="height: 24px" >
<el-form-item label="Authentication of Address" class="messageLabel" label-width="200px">
</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"
sortable
></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>
......@@ -20,7 +49,7 @@ export default {
mixins: [commonProcess],
data(){
return {
data:[]
}
},
methods:{...Event},
......@@ -32,3 +61,9 @@ export default {
<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">
<c-col :span="12">
<!-- 左 -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="客户号" prop="recpan.epty.extkey">
<c-input v-model="model.recpan.epty.extkey" maxlength="24" placeholder="请输入客户号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onEptyPtyget">
查询
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="组织机构'码" prop="recpan.epty.juscod">
<c-input v-model="model.recpan.epty.juscod" maxlength="10" placeholder="请输入组织机构'码"></c-input>
<c-input
v-model="model.recpan.epty.extkey"
maxlength="24"
placeholder="请输入客户号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="外汇许可证号" prop="recpan.epty.whzno">
<c-input v-model="model.recpan.epty.whzno" maxlength="50" placeholder="请输入外汇许可证号"></c-input>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="recpan.epty.juscod">
<c-input
v-model="model.recpan.epty.juscod"
maxlength="10"
placeholder="请输入组织机构'码"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="客户名称" prop="recpan.epty.ptynam">
<c-input v-model="model.recpan.epty.ptynam" maxlength="100" placeholder="请输入客户名称"></c-input>
<c-input
v-model="model.recpan.epty.ptynam"
maxlength="100"
placeholder="请输入客户名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="ECIF pty info" prop="recpan.epty.eptystream">
<c-input v-model="model.recpan.epty.eptystream" placeholder="请输入ECIF pty info"></c-input>
</c-col>
<c-col :span="24">
<el-form-item label="外汇许可证号" prop="recpan.epty.whzno">
<c-input
v-model="model.recpan.epty.whzno"
maxlength="50"
placeholder="请输入外汇许可证号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onEptyPtyext">
&Exit
</c-col>
<c-col :span="24">
<c-button
size="small"
type="primary"
@click="onEptyPtyget"
style="float: right"
>
查询
</c-button>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-istream-table :list="trnData.data" :columns="trnData.columns">
</c-istream-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbipty/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Dbipty/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
trnData: {
columns: [
'0 1 "客户号" 80 1 20:2 1',
'1 2 "客户类别" 80 1 20:2 1 TransKhTyp',
'2 3 "客户名称" 130 1 20:0 1',
'3 4 "英文名称" 100 1 20:0 1',
'4 5 "所属国家地区代码" 100 1 20:2 1',
'5 6 "组织机构代码" 80 1 20:2 1',
'6 7 "组织机构代码有效日期" 80 1 20:2 1',
'7 8 "营业执照号" 80 1 20:2 1',
'8 9 "外汇许可证号" 80 1 20:2 1 TransIf',
'9 10 "企业外管代码" 100 1 20:2 1 TransIf',
'10 11 "进出口经营权许可证书" 100 1 20:2 1',
'11 12 "是否自贸区客户" 80 1 20:2 1 TransIf',
'12 13 "是否正式客户" 80 1 20:2 1 TransIf',
'13 14 "所属地区代码" 80 1 20:2 1',
'14 15 "角色的ECIF客户号" 80 1 20:2 1',
'15 16 "是否为光大集团股东客户" 80 1 20:2 1 TransIf',
'16 17 "是否为光大集团关联单位" 80 1 20:2 1 TransIf',
'17 18 "客户状态" 80 1 20:2 1 TransKhSta',
'18 19 "是否为NRA账户" 80 1 20:2 1 TransIf',
'19 20 "Swift编号" 80 1 20:2 1 TransIf',
'20 21 "统一社会信用代码" 130 1 20:2 1 TransIf',
'21 22 "金融机构类型" 180 1 20:2 1 TransFinOrg',
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<!-- <c-col :span="12">
<el-form-item label="ECIF pty info" prop="recpan.epty.eptystream">
<c-input v-model="model.recpan.epty.eptystream" placeholder="请输入ECIF pty info"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onEptyPtyext">
&Exit
</c-button>
</c-col> -->
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.recpan.ptyinf.labinftxt" data-path=".recpan.ptyinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" 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="12">
<el-form-item label="Infotext Level" prop="recpan.ptyinf.oit.inflev">
<c-select v-model="model.recpan.ptyinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
<c-col :span="11">
<c-col :span="24">
<el-form-item label="LABINFTXT" prop="recpan.ptyinf.oit.inftxt">
<c-input
type="textarea"
v-model="model.recpan.ptyinf.oit.inftxt"
maxlength="60"
show-word-limit
placeholder="请输入Infotext"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recpan.ptystp.labinftxt" data-path=".recpan.ptystp.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" 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>
</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"
:code="codes.inflev"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="recpan.ptystp.oit.inflev">
<c-select v-model="model.recpan.ptystp.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="LABINFTXT" prop="recpan.ptystp.oit.inftxt">
<c-input
type="textarea"
v-model="model.recpan.ptystp.oit.inftxt"
maxlength="60"
show-word-limit
placeholder="请输入Infotext"
disabled
></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"
:code="codes.inflev"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <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> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbipty/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Dbipty/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -54,6 +54,9 @@
<el-tab-pane label="ECIF客户信息" name="ptyp2">
<m-ptyp2 :model="model" :codes="codes" />
</el-tab-pane>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</c-tabs>
</el-form>
</div>
......@@ -108,12 +111,10 @@ export default {
};
},
methods: {
tabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
// tabClick(tab) {
// this.tabClick();
// }
},
created: async function () {
console.log("进入dbipty交易");
......
......@@ -13,7 +13,9 @@
<el-table-column
label="Key"
width="auto"
prop="extkey"></el-table-column>
prop="extkey"
sortable
></el-table-column>
<el-table-column
label="Address"
width="auto"
......
......@@ -150,7 +150,7 @@
size="small"
type="primary"
@click="onExcel"
style="float: right; margin-right: 10px"
style="float: right"
>
导出Excel
</c-button>
......
<template>
<div class="eibs-tab">
<c-col :span="8" style="height: 24px" :pull="1">
<c-col :span="8" style="height: 24px" >
<el-form-item label="Contact Persons" class="messageLabel">
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="8" style="height: 24px" >
<el-form-item label="Authentication of Address" class="messageLabel">
<el-form-item label="Authentication of Address" class="messageLabel" label-width="200px">
</el-form-item>
</c-col>
<c-table :border="true" :list="data" ref="table"
......
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