Commit 1832b7db by 闫泽浩

indpts静态交易提交

parent 25bdb631
......@@ -7950,6 +7950,81 @@ const CodeTable = {
{ label: '卖方国内证单据', value: 'BF' },
{ label: '期权业务', value: 'WI' },
],
bchlst:[
{label:'08350012中国光大银行北京分行',value:'1'},
{label:'08357112中国光大银行股份有限公司大连分行',value:'2'},
{label:'08357113LM ADD',value:'3'},
{label:'08359112中国光大银行长春分行',value:'4'},
{label:'08361112中国光大银行股份有限公司黑龙江分行',value:'5'},
{label:'08364112中国光大银行股份有限公司沈阳分行营业部',value:'6'},
{label:'08365112中国光大银行股份有限公司上海分行',value:'7'},
{label:'08369312中国光大银行股份有限公司上海自贸试验区分行',value:'8'},
{label:'08370112中国光大银行苏州分行',value:'9'},
{label:'08375112中国光大银行股份有限公司厦门分行',value:'10'},
{label:'08376112中国光大银行股份有限公司福州分行',value:'11'},
{label:'08377011中国光大银行漳州支行',value:'12'},
{label:'08379213中国光大银行淄博分行',value:'13'},
{label:'08379713中国光大银行潍坊分行',value:'14'},
{label:'08380112中国光大银行股份有限公司青岛分行',value:'15'},
{label:'08380212中国光大银行股份有限公司烟台分行',value:'16'},
{label:'08383112中国光大银行股份有限公司武汉分行',value:'17'},
{label:'08386112中国光大银行广州分行',value:'18'},
{label:'08386212中国光大银行股份有限公司珠海分行',value:'19'},
{label:'08387812中国光大银行东莞分行',value:'20'},
{label:'08388412中国光大银行中山分行',value:'21'},
{label:'08390960中国光大银行深圳分行',value:'22'},
{label:'08392112中国光大银行股份有限公司海口分行',value:'23'},
{label:'08394112中国光大银行股份有限公司重庆分行',value:'24'},
{label:'08396112中国光大银行昆明分行',value:'25'},
{label:'08398112中国光大银行股份有限公司成都分行',value:'26'},
{label:'08399212中国光大银行股份有限公司无锡分行',value:'27'},
{label:'08500212中国光大银行股份有限公司南昌分行',value:'28'},
{label:'08501112中国光大银行股份有限公司呼和浩特分行',value:'29'},
{label:'08505213中国光大银行邯郸分行',value:'30'},
{label:'08506712中国光大银行股份有限公司廊坊分行',value:'31'},
{label:'08507112中国光大银行股份有限公司扬州分行',value:'32'},
{label:'08508013中国光大银行南通分行',value:'33'},
{label:'08508212中国光大银行乌鲁木齐分行',value:'34'},
{label:'08516012中国光大银行惠州分行',value:'35'},
{label:'08517212中国光大银行贵阳分行营业部',value:'36'},
{label:'08518212中国光大银行兰州分行',value:'37'},
{label:'08525212中国光大银行股份有限公司包头分行',value:'38'},
{label:'08527712中国光大银行湛江分行',value:'39'},
{label:'08538412中国光大银行股份有限公司徐州分行',value:'40'},
{label:'08538913中国光大银行股份有限公司镇江分行',value:'41'},
{label:'08539213中国光大银行沧州分行',value:'42'},
{label:'08545212中国光大银行银川分行',value:'43'},
{label:'08551613中国光大银行保定分行',value:'44'},
{label:'08555512中国光大银行泰州分行',value:'45'},
{label:'08558212中国光大银行股份有限公司西宁分行',value:'100'},
{label:'08751712中国光大银行股份有限公司石家庄分行',value:'46'},
{label:'08752516中国光大银行股份有限公司太原分行',value:'47'},
{label:'08754560中国光大银行天津分行',value:'48'},
{label:'08765460中国光大银行股份有限公司南京分行',value:'49'},
{label:'08766112中国光大银行股份有限公司常州支行',value:'50'},
{label:'08766912中国光大银行股份有限公司合肥分行',value:'51'},
{label:'08767912中国光大银行杭州分行',value:'52'},
{label:'08768012中国光大银行宁波分行',value:'53'},
{label:'08770112中国光大银行股份有限公司济南分行',value:'54'},
{label:'08771560中国光大银行郑州分行',value:'55'},
{label:'08774112中国光大银行台州支行',value:'56'},
{label:'08774712中国光大银行绍兴支行',value:'57'},
{label:'08774912中国光大银行温州分行',value:'58'},
{label:'08780812中国光大银行股份有限公司珠海分行',value:'59'},
{label:'08781012中国光大银行股份有限公司汕头分行',value:'60'},
{label:'08781312中国光大银行股份有限公司汕头分行',value:'61'},
{label:'08785512中国光大银行股份有限公司西安分行',value:'62'},
{label:'08788060中国光大银行股份有限公司长沙分行',value:'63'},
{label:'08789512中国光大银行股份有限公司南宁分行',value:'65'},
{label:'08793312中国光大银行唐山分行',value:'66'},
{label:'08794212中国光大银行芜湖分行',value:'67'},
{label:'08794512中国光大银行马鞍山分行',value:'68'},
{label:'08795112中国光大银行泉州分行',value:'69'},
{label:'08796412中国光大银行嘉兴分行',value:'70'},
{label:'08789512中国光大银行股份有限公司南宁分行',value:'71'},
],
}
export default CodeTable;
import Api from "~/service/Api"
export function queryById(data) {
return Api.post("/manager/pts/queryById", data)
}
export function queryByPage(data) {
return Api.post("/manager/pts/queryByPage", data)
}
export function insert(data) {
return Api.post("/manager/pts/insert", data)
}
export function update(data) {
return Api.post("/manager/pts/update", data)
}
export function deleteById(data) {
return Api.post("/manager/pts/deleteById", data)
}
<template>
<div class="eibs-tab">
<!-- ----------左 ---------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="客户号" prop="extkey">
<c-input v-model="model.extkey" placeholder="请输入extkey"></c-input>
</el-form-item>
</c-col>
</c-col>
<!------------- 右 ---------->
<c-col :span="12" class="col-right">
<el-form-item label="当前管户机构" prop="bchlst">
<c-select
v-model="model.bchtyp"
style="width: 100%"
placeholder="请输入管户机构"
:code="getCodesByKey('bchlst')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: right">
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="onSearch()"
>查询
</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="ptyData"
:columns="ptyColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
</c-paging-table>
<c-paging-table
:data="ptaData"
:columns="ptaColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
</c-paging-table>
</c-col>
<c-col :span="24" class="col-left">
<c-col :span="12">
<el-form-item label="客户经办机构" prop="bchkeyinr">
<c-input v-model="model.bchkeyinr" placeholder="" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" class="col-left">
<c-col :span="12">
<el-form-item label="客户所属机构" prop="branchinr">
<c-input v-model="model.branchinr" placeholder="" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
import { queryById,queryByPage } from "~/service/test/pts.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
ptyData: [],
ptyColumns: [
{ label: "客户号", prop: "extkey", width: "auto" },
{ label: "客户名称", prop: "nam", width: "auto" },
{ label: "机构", prop: "branch", width: "auto" },
{ label: "机构名称", prop: "bchname", width: "auto" },
],
ptaData: [],
ptaColumns: [
{ label: "客户号", prop: "extkey", width: "auto" },
{ label: "所属机构", prop: "branch", width: "auto" },
{ label: "经办机构", prop: "bchname", width: "auto" },
],
};
},
computed: {},
activated() {
const { update } = this.extkey;
if (update) {
this.onInfptySearch();
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInfptsSearch();
},
onInfptsSearch() {
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total:
* totalPage: 0
*/
const list = res.list
this.ptyData = list
window.console.log(list);
this.model.pageNum = res.pageNumber
this.model.pageSize = res.pageSize
this.model.total = res.total
})
},
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber;
this.model.pageSize = pageSize;
this.onInfptySearch();
},
ptytypeChange(val) {
this.model.ptytyp = val;
},
getCodesByKey(key) {
return codes[key] ?? [];
},
},
};
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}
</style>
<template>
<div class="eContainer">
<c-page title="客户管户机构管理">
<el-form
:model="model"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<!--PD000039 -->
<el-tab-pane label="客户查询" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "StaticsInfpts",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
// pts
inr: "",
objtyp: "",
ptyinr: "",
bchlst:"",
nam:"",
branch:"",
bchname:"",
BCHKEYINR:"",
ROW_ID:"",
// adr
extkey: "",
// pta
ownref: "",
// paging
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></style>
const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"objtyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"objinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"rol": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"ptainr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"ptyinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"extkey": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 16, "message": "最大长度16个字符", "trigger": "blur" }
],
"adrblk": [
{ "type": "string", "trigger": "blur" },
{ "max": 144, "message": "最大长度144个字符", "trigger": "blur" }
],
"ref": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 16, "message": "最大长度16个字符", "trigger": "blur" }
],
"nam": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"ownref": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 20, "message": "最大长度20个字符", "trigger": "blur" }
],
"dftcur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"dftdsp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"dftact": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"dftfeecur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"dftactptainr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"glggrpflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"extact": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 34, "message": "最大长度34个字符", "trigger": "blur" }
],
"ver": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"issbaninf": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"bankno": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 20, "message": "最大长度20个字符", "trigger": "blur" }
],
"jigomc": [
{ "type": "string", "trigger": "blur" },
{ "max": 144, "message": "最大长度144个字符", "trigger": "blur" }
],
"dizhii": [
{ "type": "string", "trigger": "blur" },
{ "max": 144, "message": "最大长度144个字符", "trigger": "blur" }
],
"youzbm": [
{ "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"dihdig": [
{ "type": "string", "trigger": "blur" },
{ "max": 17, "message": "最大长度17个字符", "trigger": "blur" }
],
"dftsetrol": [
{ "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"ptcnam": [
{ "type": "string", "trigger": "blur" },
{ "max": 35, "message": "最大长度35个字符", "trigger": "blur" }
],
}
......@@ -84,6 +84,7 @@ import Dbefee from "./Dbefee";
import Dbdfee from "./Dbdfee";
import InfBtb from "./Infbtb";
import Indpts from "./Indpts";
import DbiBtb from "./Dbibtb";
import Infcup from "./Infcup";
......@@ -214,6 +215,8 @@ const StaticsRouter = [
{ path: 'infbtb', component: InfBtb, name: 'StaticsInfbtb', meta: { title: '查询清算代理行' } },
{ path: 'dbibtb/:inr', component: DbiBtb, name: 'StaticsDbibtb', meta: { title: (tag) => { return '清算代理行详情: ' + tag.params.inr } } },
{ path: 'Indpts', component: Indpts, name: 'StaticsDbaatx', meta: { title: '客户管户机构管理' } },
]
export default StaticsRouter
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