Commit f852e164 by wangna

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents d46be883 5d3f6219
......@@ -4842,8 +4842,12 @@ const CodeTable = {
{ label: "等待响应", value: "" },
],
objtyp: [
{ label: "规则", value: "ORD" },
{ label: "交易", value: "TRN" },
// { label: "规则", value: "ORD" },
// { label: "交易", value: "TRN" },
{ label: "default", value: "" },
{ label: "country", value: "CTY" },
{ label: "party", value: "PTY" },
{ label: "group", value: "HEQ" },
],
obsper: [
{ label: "15分钟", value: "003" },
......@@ -7946,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;
......@@ -40,7 +40,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -53,7 +53,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/bnk/queryByPage", data)
}
export function queryById(inr) {
return Api.post("/manager/bnk/queryById",{inr})
}
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/manager/btb/queryByPage", data)
}
export function queryByPage_Agent(data) {
return Api.post("/manager/btb/queryByPage_Agent",data)
}
export function queryByPageByInr(data) {
return Api.post("/manager/btb/queryByPageByInr",data)
}
export function queryDetailById(data) {
return Api.post(`/manager/btb/queryById`,data)
}
export function add(data) {
return Api.post("/manager/btb/add", data)
}
export function edit(data) {
return Api.post("/manager/btb/edit", data)
}
export function deleteById(data) {
return Api.post(`/manager/btb/deleteById`,data)
}
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)
}
......@@ -5,7 +5,6 @@
<script>
import Dbizmqxrt from "~/views/Statics/Dbizmqxrt";
debugger
export default {
name: "StaticsDbizmqxrt",
components: {
......@@ -20,7 +19,6 @@ export default {
// ]
}
};
debugger
</script>
<style>
......
export default class Bnk {
constructor() {
this.data = {
inr: "",
fqhhao: "",
lianhh: "",
zhuant: "",
jigulb: "",
hanbdm: "",
bhsjcy: "",
zjcyhh: "",
ssrhdm: "",
jieddm: "",
chshdm: "",
jigomc: "",
jigojc: "",
dizhii: "",
youzbm: "",
dihdig: "",
dzyjdz: "",
sxiorq: "",
shixrq: "",
gngxrq: "",
gngxsj: "",
caozbz: "",
gngxqh: "",
remark: "",
shjnch: "",
jiluzt: "",
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"fqhhao": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 12, "message": "最大长度12个字符", "trigger": "blur" }
],
"lianhh": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 11, "message": "最大长度11个字符", "trigger": "blur" }
],
"zhuant": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"jigulb": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"hanbdm": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"bhsjcy": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 130, "message": "最大长度130个字符", "trigger": "blur" }
],
"zjcyhh": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 12, "message": "最大长度12个字符", "trigger": "blur" }
],
"ssrhdm": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 12, "message": "最大长度12个字符", "trigger": "blur" }
],
"jieddm": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 5, "message": "最大长度5个字符", "trigger": "blur" }
],
"chshdm": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"jigomc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 62, "message": "最大长度62个字符", "trigger": "blur" }
],
"jigojc": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 20, "message": "最大长度20个字符", "trigger": "blur" }
],
"dizhii": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 100, "message": "最大长度100个字符", "trigger": "blur" }
],
"youzbm": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"dihdig": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 30, "message": "最大长度30个字符", "trigger": "blur" }
],
"dzyjdz": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 42, "message": "最大长度42个字符", "trigger": "blur" }
],
"sxiorq": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 12, "message": "最大长度12个字符", "trigger": "blur" }
],
"shixrq": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 12, "message": "最大长度12个字符", "trigger": "blur" }
],
"gngxrq": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 12, "message": "最大长度12个字符", "trigger": "blur" }
],
"gngxsj": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,10}$/, "message": "整数不能超过10位", "trigger": "blur" }
],
"caozbz": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"gngxqh": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"remark": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 60, "message": "最大长度60个字符", "trigger": "blur" }
],
"shjnch": [
{ "required": true, "message": "必输项", "trigger": "blur" },
{ "pattern": /^-?\d{0,16}$/, "message": "整数不能超过16位", "trigger": "blur" }
],
"jiluzt": [
],
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- 左 -->
<c-col :span="24">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="支付行号" prop="fqhhao">
<c-input
v-model="model.fqhhao"
placeholder="请输入支付行号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="联行行号" prop="lianhh">
<c-input
v-model="model.lianhh"
placeholder="请输入联行行号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行状态" prop="zhuant">
<c-input
v-model="model.zhuant"
placeholder="请输入银行状态"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行类别" prop="jigulb">
<c-input
v-model="model.jigulb"
placeholder="请输入银行类别"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="别行代码" prop="hanbdm">
<c-input
v-model="model.hanbdm"
placeholder="请输入别行代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="本行上级参与者" prop="bhsjcy">
<c-input
v-model="model.bhsjcy"
placeholder="请输入本行上级参与者"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="直接参与行号" prop="zjcyhh">
<c-input
v-model="model.zjcyhh"
placeholder="请输入直接参与行号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="所属人行代码" prop="ssrhdm">
<c-input
v-model="model.ssrhdm"
placeholder="请输入所属人行代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="节点代码" prop="jieddm">
<c-input
v-model="model.jieddm"
placeholder="请输入节点代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="城市代码" prop="chshdm">
<c-input
v-model="model.chshdm"
placeholder="请输入城市代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行全称" prop="jigomc">
<c-input
v-model="model.jigomc"
placeholder="请输入银行全称"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行简称" prop="jigojc">
<c-input
v-model="model.jigojc"
placeholder="请输入银行简称"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址" prop="dizhii">
<c-input
v-model="model.dizhii"
placeholder="请输入地址"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- 右 -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="邮政编码" prop="youzbm">
<c-input
v-model="model.youzbm"
placeholder="请输入邮政编码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="电话" prop="dihdig">
<c-input
v-model="model.dihdig"
placeholder="请输入电话"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="电子邮箱地址" prop="dzyjdz">
<c-input
v-model="model.dzyjdz"
placeholder="请输入电子邮箱地址"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="生效日期" prop="sxiorq">
<c-input
v-model="model.sxiorq"
placeholder="请输入生效日期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="失效日期" prop="shixrq">
<c-input
v-model="model.shixrq"
placeholder="请输入失效日期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="更新日期" prop="gngxrq">
<c-input
v-model="model.gngxrq"
placeholder="请输入更新日期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="更新时间" prop="gngxsj">
<c-input
v-model="model.gngxsj"
placeholder="请输入更新时间"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="更新操作" prop="caozbz">
<c-input
v-model="model.caozbz"
placeholder="请输入更新操作"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="更新期号" prop="gngxqh">
<c-input
v-model="model.gngxqh"
placeholder="请输入更新期号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="备注" prop="remark">
<c-input
v-model="model.remark"
placeholder="请输入备注"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="时间戳" prop="shjnch">
<c-input
v-model="model.shjnch"
placeholder="请输入时间戳"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="记录状态" prop="jiluzt">
<c-input
v-model="model.jiluzt"
placeholder="请输入记录状态"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
export default {
name: "",
props: ["model"],
data() {
return {};
},
methods:{
}
};
</script>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="160px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
disabled
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="银行行号信息详情" name="bnk">
<c-content>
<m-bnkp0 :model="model"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button type="primary" @click="goBack">返 回</c-button>
</div>
</c-page>
</div>
</template>
<script>
import BnkInfo from "./BnkInfo.vue";
import Bnk, { Pattern } from "./Bnk.js";
import { queryById } from "~/service/test/bnk.js";
export default {
name: "StaticsDbibnk",
components: {
"m-bnkp0": BnkInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info",
},
title: {
type: String,
default: "dbibnk"
}
},
data() {
return {
model: new Bnk().data,
tabVal: "bnk",
rules: Pattern,
};
},
created() {
const inr = this.$route.params.inr;
queryById(inr).then((res) => {
if (res.inr) {
this.model = res;
} else {
this.$message.error("客户不存在")
}
});
},
methods: {
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfbnk", params: { update } });
}
}
}
</script>
\ No newline at end of file
export default class Btb {
constructor() {
this.data = {
inr: "",
corbnk: "",
corbnknam: "",
coract: "",
corptyinr:"",
lnktyp: "",
orcbch: "",
orcbchnam: "",
orcptyinr: "",
pyebch: "",
pyeptyinr: "",
pyebchnam: "",
useflg: "",
chkflg: "",
btbData:[],
pageNum: 1,
pageSize: 20,
total: 0
}
}
}
export const Pattern = {
}
<template>
<div class="eibs">
<el-form
ref="modelForm"
label-width="170px"
size="small"
label-position="right"
:model="btb"
:rules="rules"
:validate-on-rule-change="false"
:disabled="operate === 'details'"
>
<c-col :span="20" class="col-left">
<c-col :span="24">
<el-form-item label="inr" prop="inr" v-if="operate !== 'add'">
<c-input v-model="btb.inr" style="width: 100%" placeholder="请输入inr" disabled> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="代理行BIC" prop="corbnk">
<c-input v-model="btb.corbnk" style="width: 100%" placeholder="请输入代理行BIC" disabled> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="代理行名称" prop="corbnknam">
<c-input v-model="btb.corbnknam" style="width: 100%" placeholder="请输入代理行名称" disabled> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="参加行BIC" prop="pyebch">
<c-input v-model="btb.pyebch" style="width: 100%" placeholder="请输入参加行BIC"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="参加行名称" prop="pyebchnam">
<c-input v-model="btb.pyebchnam" style="width: 100%" placeholder="请输入参加行名称"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="启用标志" prop="useflg">
<c-checkbox v-model="btb.useflg" style="width: 100%;text-align: left;" placeholder="请选择启用标志" true-label="X" false-label=" "> </c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" v-show="false">
<c-col :span="24">
<el-form-item label="coract" prop="coract">
<c-input v-model="btb.coract" style="width: 100%" placeholder="请输入coract" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="corptyinr" prop="corptyinr">
<c-input v-model="btb.corptyinr" style="width: 100%" placeholder="请输入corptyinr" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="lnktyp" prop="lnktyp">
<c-input v-model="btb.lnktyp" style="width: 100%" placeholder="请输入lnktyp" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="orcbch" prop="orcbch">
<c-input v-model="btb.orcbch" style="width: 100%" placeholder="请输入orcbch" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="orcbchnam" prop="orcbchnam">
<c-input v-model="btb.orcbchnam" style="width: 100%" placeholder="请输入orcbchnam" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="orcptyinr" prop="orcptyinr">
<c-input v-model="btb.orcptyinr" style="width: 100%" placeholder="请输入orcptyinr" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="pyeptyinr" prop="pyeptyinr">
<c-input v-model="btb.pyeptyinr" style="width: 100%" placeholder="请输入pyeptyinr" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="chkflg" prop="chkflg">
<c-input v-model="btb.chkflg" style="width: 100%" placeholder="请输入chkflg" > </c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</el-form>
</div>
</template>
<script>
import { Pattern } from "./Btb.js";
import codes from "~/config/CodeTable";
export default {
name: "",
props: ['btb','operate'],
data() {
return {
rules: Pattern,
};
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- ----------左 ---------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label=" 代理行BIC" prop="corbnk">
<c-input
v-model="model.corbnk"
disabled
placeholder="请输入代理行BIC"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!------------- 右 ---------->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="代理行名称" prop="corbnknam">
<c-input
v-model="model.corbnknam"
maxlength="35"
placeholder="请输入代理行名称"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="24" style="text-align: right">
<el-button type="primary" size="small" @click="btbAdd()">新增</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="model.btbData"
:columns="btbColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="btbEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="btbDelete(scope.$index, scope.row)"
>删除</c-button
>
</template>
</c-table-column>
</c-paging-table>
</c-col>
<el-dialog
:title="
'参与行信息:' +
(operate === 'details' ? '详情' : operate === 'edit' ? '修改' : '新增')
"
:visible.sync="btbDialog"
top="10vh"
width="50%"
:destroy-on-close="true"
:before-close="handleClose"
>
<m-btb-info ref="btb" :btb="btb" :operate="operate"></m-btb-info>
<span slot="footer" class="dialog-footer">
<button
class="el-button el-button--default el-button--small"
style="margin-left: 0"
size="small"
:disabled="false"
@click.prevent="cancel"
>
<span>取 消</span>
</button>
<c-button type="primary" @click="" v-if="operate === 'details'"
>确 定</c-button
>
<c-button type="primary" @click="editBtb" v-if="operate === 'edit'"
>保 存</c-button
>
<c-button type="primary" @click="saveBtb" v-if="operate === 'add'"
>保 存</c-button
>
</span>
</el-dialog>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
import { queryByPage,edit,add,deleteById } from "~/service/test/btb.js";
import BtbInfo from "./BtbInfo";
import Btb from "./Btb.js";
export default {
name: "btbList",
components: {
"m-btb-info": BtbInfo,
},
props: ["model"],
data() {
return {
btbDialog: false,
btb: null,
operate: "",
btbColumns: [
{ label: '参加行BIC', prop: 'pyebch', width: '200' },
{ label: '参加行名称', prop: 'pyebchnam' },
{ label: '启用标志', prop: 'useflg', width: '120' },
// { label: '启用标志2', prop: 'chkflg', width: '120'},
],
};
},
created() {
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
queryFunc(pageNumber, pageSize) {
console.log(this.model)
this.model.pageNum = pageNumber
this.model.pageSize = pageSize
this.onInfbtbSearch()
},
onInfbtbSearch() {
this.model.lnktyp="B";
queryByPage(this.model).then(res => {
const list = res.list
this.model.btbData = list
this.model.pageNum = res.pageNumber
this.model.pageSize = res.pageSize
this.model.total = res.total
})
},
/**
* 取消
*/
cancel() {
this.handleClose();
},
/**
* 修改
*/
btbEdit(index, row) {
this.btb = { ...row };
this.operate = "edit";
this.btbDialog = true;
},
editBtb() {
console.log(this.$refs.btb.$refs.modelForm);
console.log(this.$refs.btb.$refs.modelForm.$refs.useflg2);
this.$refs.btb.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.btb)
.then((res) => {
if (res.inr) {
this.$message.success("修改参与行信息成功!");
this.handleClose();
this.onInfbtbSearch();
}
})
}
});
},
btbDelete(index,row){
this.$confirm("是否真的删除?", "提示", {
confirmButtonText: "确认",
cancelButtonText: "取消",
type: "warning",
}).then((res) => {
deleteById(row).then((res) => {
if (res) {
this.model.btbData.splice(index, 1);
this.$message.success("删除成功!");
} else {
this.$message.error("删除失败!");
}
});
});
},
/**
* 新增
*/
btbAdd() {
this.btb = new Btb().data;
this.btb.lnktyp="B";
this.btb.corbnk=this.model.corbnk;
this.btb.corbnknam=this.model.corbnknam;
this.btb.chkflg="X";
//都不能为空,先给空格
this.btb.coract=" ";
this.btb.corptyinr=" ",
this.btb.orcbch= " ",
this.btb.orcbchnam= " ",
this.btb.orcptyinr= " ",
this.btb.pyeptyinr= " ",
this.operate = "add";
this.btbDialog = true;
},
saveBtb(){
this.$refs.btb.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.btb).then((res) => {
this.$message.success("保存参与行信息成功!");
this.handleClose();
this.onInfbtbSearch();
})
}
});
},
handleClose(done) {
this.btbDialog = false;
if (done && typeof done === "function") {
done();
}
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="160px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="基本信息" name="btb">
<c-content>
<m-btbList :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Utils from "~/utils";
import Btb, { Pattern } from "./Btb.js";
import {queryDetailById,queryByPageByInr } from "~/service/test/btb.js";
import BtbList from "./BtbList.vue";
export default {
name: "StaticsDbibtb",
components: {
"m-btbList": BtbList,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbibtb"
}
},
data() {
return {
model: new Btb().data,
tabVal: "btb",
rules: Pattern,
};
},
computed: {
},
created() {
const inr = this.$route.params.inr;
if(inr){
const data = {"inr":inr,"lnktyp":"B",pageNum:this.model.pageNum,pageSize:this.model.pageSize};
//通过inr查代理行信息
queryDetailById(data).then(res => {
this.model.corbnk = res.corbnk;
this.model.corbnknam = res.corbnknam;
})
queryByPageByInr(data).then(res => {
const list = res.list
if(list.length > 0){
this.model.btbData = list
this.model.pageNum = res.pageNumber
this.model.pageSize = res.pageSize
this.model.total = res.total
}else{
}
})
}
},
methods: {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("保存失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
/**
* update 是否更新infpty的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfbtb", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -5,18 +5,31 @@
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="Business Sector" prop="subObjTyp">
<c-select :disabled="true" style="width: 100%" v-model="model.subObjTyp" placeholder="请选择Business Sector" :code="getCodesByKey('dia_bustxt')">
<c-select :disabled="type === 'edit'" style="width: 100%" v-model="model.subObjTyp" placeholder="请选择Business Sector" :code="getCodesByKey('dia_bustxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="参考号" prop="objref">
<c-input :disabled="true" v-model="model.objref" style="width: 100%" placeholder="请输入参考号"> </c-input>
<c-fullbox>
<c-input :disabled="false" v-model="model.objref" placeholder="请输入参考号"> </c-input>
<template slot="footer">
<c-button
:disabled="type === 'edit'"
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="参考号描述" prop="ownrefDesc">
<c-input :disabled="true" v-model="model.ownrefDesc" style="width: 100%" placeholder="请输入参考号描述"> </c-input>
<c-input :disabled="type === 'edit'" v-model="model.ownrefDesc" style="width: 100%" placeholder="请输入参考号描述"> </c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
......@@ -59,7 +72,20 @@
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="经办用户" prop="ownusr">
<c-input :disabled="true" v-model="model.ownusr" placeholder="请输入经办用户" > </c-input>
<c-fullbox>
<c-input :disabled="false" v-model="model.ownusr" placeholder="请输入经办用户" > </c-input>
<template slot="footer">
<c-button
:disabled="type === 'edit'"
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -70,7 +96,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="创建/修改人" prop="usr">
<c-input :disabled="true" v-model="model.usr" placeholder="请输入创建/修改人" >
<c-input :disabled="type === 'edit'" v-model="model.usr" placeholder="请输入创建/修改人" >
</c-input>
</el-form-item>
</c-col>
......@@ -82,7 +108,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="类型" prop="cod">
<c-select :disabled="true" style="width: 100%" v-model="model.cod" placeholder="请选择类型" :code="getCodesByKey('diatxt')">
<c-select :disabled="type === 'edit'" style="width: 100%" v-model="model.cod" placeholder="请选择类型" :code="getCodesByKey('diatxt')">
</c-select>
</el-form-item>
</c-col>
......@@ -118,7 +144,7 @@
import codes from "~/config/CodeTable";
export default {
name: '',
props: ['model'],
props: ['model', 'type'],
data() {
return {
}
......
......@@ -14,7 +14,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="交易备忘录查询" name="dia">
<c-content>
<m-dia-info :model="model" />
<m-dia-info :model="model" :type="type" />
</c-content>
</el-tab-pane>
</c-tabs>
......@@ -105,8 +105,13 @@
if (validated) {
add(this.model)
.then((res) => {
this.$message.success("保存成功!");
this.goBack(true)
console.log('返回结果'+res.messsage);
if (res.messsage !== null && Object.keys(res.messsage).length > 0) {
this.$message.error(res.messsage)
} else {
this.$message.success("保存成功!")
this.goBack(true)
}
})
.catch((err) => {
this.$message.error("保存失败!");
......
......@@ -122,7 +122,7 @@
<c-select style="width: 100%"
v-model="model.expflg"
placeholder="请选择无责任担保标志"
:code="getCodesByKey('expflg')"
:code="getCodesByKey('gtxexpflg')"
>
</c-select>
<!-- <c-input-->
......@@ -166,7 +166,7 @@
<c-select style="width: 100%"
v-model="model.legfrm"
placeholder="请选择格式"
:code="getCodesByKey('legfrm')"
:code="getCodesByKey('legfrm1')"
>
</c-select>
<!-- <c-input-->
......
<template>
<div class="eibs-tab">
<!-- ----------左 ---------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="支付行号" prop="fqhhao">
<c-input
v-model="model.fqhhao"
maxlength="12"
placeholder="请输入支付行号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行状态" prop="zhuant">
<c-input
placeholder="请输入银行状态"
v-model="model.zhuant"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="所属人行代码" prop="ssrhdm">
<c-input
maxlength="12"
placeholder="请输入所属人行代码号"
v-model="model.ssrhdm"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!------------- 右 ---------->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="联行行号" prop="lianhh">
<c-input
placeholder="请输入银行行号"
v-model="model.lianhh"
maxlength="11"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行类别" prop="jigulb">
<c-input
placeholder="请输入银行类别"
v-model="model.jigulb"
maxlength="12"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- 重置与查询 -->
<c-col :span="24" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="onSearch()"
>查询
</el-button>
</c-col>
<!-- 查询详情 -->
<c-col :span="24">
<c-paging-table
:data="bnkData"
:columns="bnkColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="100px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="bnkInfo(scope.$index, scope.row)"
>详情</c-button
>
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import { queryByPage } from "~/service/test/bnk.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
bnkData: [],
bnkColumns: [
{ label: '支付行号', prop: 'fqhhao', width: '120' },
{ label: '联行行号', prop: 'lianhh', width: '150' },
{ label: '银行状态', prop: 'zhuant', width: '200' },
{ label: '银行类别', prop: 'jigulb', width: '100' },
{ label: '所属人行代码', prop: 'ssrhdm', width: '200' },
{ label: '本行上级参与者', prop: 'bhsjcy', width: '200' },
{ label: '直接参与行号', prop: 'zjcyhh', width: '200' },
{ label: '银行简称', prop: 'jigojc', width: '200' },
{ label: '失效日期', prop: 'shixrq', width: '200' },
],
};
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfBnkSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInfBnkSearch();
},
onInfBnkSearch() {
queryByPage(this.model).then(res => {
const list = res.list
this.bnkData = 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.onInfBnkSearch()
},
bnkInfo(index, row) {
this.$router.push(`/statics/dbibnk/${row.inr}`)
}
}
}
</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>
\ No newline at end of file
<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">
<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: "StaticsInfbnk",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
//bnk
fqhhao: "",
lianhh: "",
zhuant: "",
jigulb: "",
ssrhdm: "",
// paging
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></style>
<template>
<div class="eibs-tab">
<!-- ----------左 ---------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label=" 代理行BIC" prop="corbnk">
<c-input
v-model="model.corbnk"
placeholder="请输入代理行BIC"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!------------- 右 ---------->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="代理行名称" prop="corbnknam">
<c-input
v-model="model.corbnknam"
maxlength="35"
placeholder="请输入代理行名称"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<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="btbData"
:columns="btbColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button
style="margin-left: 0"
size="small"
@click="btbInfo(scope.$index, scope.row)"
>详情</c-button
>
<!-- <c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="btbEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="btbDelete(scope.$index, scope.row)"
>删除</c-button
>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0">指派</c-button>
</li>
<li>
<c-button size="small" style="margin-left: 0">删除</c-button>
</li>
</ul>
<a
slot="reference"
href="javascript:void(0)"
style="margin-left: 5px"
>
<i class="el-icon-more"></i>
</a>
</el-popover>-->
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
import { queryByPage_Agent,queryByPage } from "~/service/test/btb.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
btbData: [],
btbColumns: [
{ label: '代理行BIC', prop: 'corbnk', width: '250' },
{ label: '代理行名称', prop: 'corbnknam' },
{ label: '参与行数', prop: 'pyenum', width: '200' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfbtbSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch(){
this.model.pageNum = 1;
this.model.pageSize = 5;
this.onInfbtbSearch();
},
onInfbtbSearch() {
this.model.lnktyp="B";
queryByPage_Agent(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
this.btbData = 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.onInfbtbSearch()
},
getCodesByKey(key) {
return codes[key] ?? [];
},
btbInfo(index, row) {
//通过corbnk , pyebch获取inr
/* this.model.corbnk = row.corbnk;
this.model.lnktyp = 'A';*/
const date = {corbnk:row.corbnk,
lnktyp:'A',
pageNum:this.model.pageNum,
pageSize:this.model.pageSize}
queryByPage(date).then(res => {
const list = res.list
if(list.length == 1){
this.$router.push(`/statics/dbibtb/${list[0].inr}`)
}else{
}
})
},
},
};
</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: "StaticsInfbtb",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
inr:"",
corbnknam: "",
pyebch:"",
corbnk: "",
lnktyp:"",
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></style>
......@@ -16,8 +16,18 @@
</c-col>
<c-col :span="24">
<el-form-item label="经办用户" prop="ownusr">
<c-input v-model="model.ownusr" placeholder="请输入经办用户" style="width: 100%">
</c-input>
<c-fullbox>
<c-input :disabled="true" v-model="model.ownusr" placeholder="请输入经办用户" style="width: 100%"></c-input>
<template slot="footer">
<c-button
:disabled="type === 'edit'"
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-info"/>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -28,8 +38,8 @@
</c-col>
<c-col :span="24">
<el-form-item label="经办用户组" prop="ownusg">
<c-input v-model="model.ownusg" placeholder="请输入经办用户组" style="width: 100%">
</c-input>
<c-select style="width: 100%" v-model="model.ownusg" placeholder="请选择经办用户组" :code="getCodesByKey('usgtxt')">
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -52,9 +62,19 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="柜员名" prop="usr">
<c-input v-model="model.usr" placeholder="请输入柜员名" style="width: 100%">
</c-input>
<el-form-item label="创建/修改人" prop="usr">
<c-fullbox>
<c-input :disabled="true" v-model="model.usr" placeholder="请输入创建/修改人" style="width: 100%"></c-input>
<template slot="footer">
<c-button
:disabled="type === 'edit'"
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
icon="el-icon-info"/>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
......
......@@ -121,18 +121,38 @@
>
</c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="使用该保函文本的对象类型" prop="objtyp">
<el-form-item label="使用该保函文本的对象类型" prop="objtyp">
<c-select
style="width: 100%"
v-model="model.objtyp"
placeholder="请输入使用该保函文本的对象类型"
:code="getCodesByKey('objtyp')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="优先级" prop="gtxpri">
<c-select
style="width: 100%"
v-model="model.objtyp"
placeholder="请输入使用该保函文本的对象类型"
:code="getCodesByKey('objtyp')"
>
</c-input>
</el-form-item>
</c-col> -->
style="width: 100%"
v-model="model.gtxpri"
placeholder="请输入优先级"
:code="getCodesByKey('gtxpri')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函文本中的交易日期" prop="laborcdat">
<c-date-picker style="width: 100%"
v-model="model.laborcdat"
placeholder="请输入日期"
>
</c-date-picker>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="objinr" prop="objinr">
<c-input
......
<template>
<div class="eContainer">
<c-page title="客户信息查询">
<c-page title="保函文本查询">
<el-form
:model="model"
ref="modelForm"
......@@ -10,7 +10,7 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<!--PD000039 -->
<el-tab-pane label="客户查询" name="infsea">
<el-tab-pane label="保函文本查询" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea" />
</c-content>
......
<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" }
],
}
......@@ -83,6 +83,10 @@ import Dbafee from "./Dbafee";
import Dbefee from "./Dbefee";
import Dbdfee from "./Dbdfee";
import InfBtb from "./Infbtb";
import Infpts from "./Infpts";
import DbiBtb from "./Dbibtb";
import Infcup from "./Infcup";
import Dbicup from "./Dbicup";
import Dbacup from "./Dbacup";
......@@ -100,6 +104,9 @@ import Dbezmq from "./Dbezmq";
import Dbdzmq from "./Dbdzmq";
import Dbizmqxrt from "./Dbizmqxrt";
import Infbnk from "~/views/Statics/Infbnk";
import Dbibnk from "~/views/Statics/Dbibnk";
const StaticsRouter = [
{ path: 'dbiptm/:inr', component:Dbiptm, name: 'StaticsDbiptm', meta: { title: (tag) => { return '客户详情: ' + tag.params.inr } } },
......@@ -202,6 +209,14 @@ const StaticsRouter = [
{ path: 'dbizmqxrt/:inr', component: Dbizmqxrt, name: 'StaticsDbizmqxrt', meta: { title: (tag) => { return '自贸区牌价详情: ' + tag.params.inr } } },
{ path: 'dbezmq/:inr', component: Dbezmq, name: 'StaticsDbezmq', meta: { title: (tag) => { return '自贸区牌价编辑: ' + tag.params.inr } } },
{ path: 'dbdzmq/:inr', component: Dbdzmq, name: 'StaticsDbdzmq', meta: { title: (tag) => { return '自贸区牌价删除: ' + tag.params.inr } } },
{ path: 'infbnk', component: Infbnk, name: 'StaticsInfbnk', meta: { title: '银行行号信息查询' } },
{ path: 'dbibnk/:inr', component: Dbibnk, name: 'StaticsDbibnk', meta: { title: (tag) => { return '银行行号信息详情: ' + tag.params.inr } } },
{ path: 'infbtb', component: InfBtb, name: 'StaticsInfbtb', meta: { title: '查询清算代理行' } },
{ path: 'dbibtb/:inr', component: DbiBtb, name: 'StaticsDbibtb', meta: { title: (tag) => { return '清算代理行详情: ' + tag.params.inr } } },
{ path: 'Infpts', component: Infpts, 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