Commit 544dbefb by fukai

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 ee49135e 28acb514
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/atp/queryByPage", data)
}
export function queryById(inr) {
return Api.post(`/test/atp/queryById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/atp/add", data)
}
export function edit(data) {
return Api.post("/test/atp/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/atp/deleteById?inr=${inr}`)
}
\ No newline at end of file
......@@ -20,25 +20,25 @@ export function deleteById(inr) {
return Api.post(`/test/usr/deleteById?inr=${inr}`)
}
export function addUbrData(inr, data) {
return Api.post(`/test/usr/addUbrData?inr=${inr}`, data)
export function addUbrData(data) {
return Api.post(`/test/usr/addUbrData`, data)
}
export function updateUbrData(inr, data) {
return Api.post(`/test/usr/updateUbrData?inr=${inr}`, data)
export function updateUbrData(data) {
return Api.post(`/test/usr/updateUbrData`, data)
}
export function deleteUbrData(data) {
return Api.post(`/test/usr/deleteUbrData`, data)
export function deleteUbrData(inr) {
return Api.post(`/test/usr/deleteUbrData?inr=${inr}`, inr)
}
export function addUclData(inr, data) {
return Api.post(`/test/usr/addUclData?inr=${inr}`, data)
export function addUclData(data) {
return Api.post(`/test/usr/addUclData`, data)
}
export function updateUclData(inr, data) {
return Api.post(`/test/usr/updateUclData?inr=${inr}`, data)
export function updateUclData(data) {
return Api.post(`/test/usr/updateUclData`, data)
}
export function deleteUclData(data) {
return Api.post(`/test/usr/deleteUclData`, data)
export function deleteUclData(usr, branchinr) {
return Api.post(`/test/usr/deleteUclData?usr=${usr}&&branchinr=${branchinr}`, usr, branchinr)
}
\ No newline at end of file
<template>
<m-atp ref="atp" title="dbaatp" type="add"></m-atp>
</template>
<script>
import Dbiatp from "~/views/Statics/Dbiatp";
export default {
name: "StaticsDbaatp",
components: {
"m-atp": Dbiatp
},
data() {
return {};
},
mounted() {
this.$refs.fec.rules['fecList'] = [
{ type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
]
}
};
</script>
<style>
</style>
\ No newline at end of file
......@@ -14,9 +14,9 @@ export default {
return {};
},
mounted() {
this.$refs.bch.rules['ptaList'] = [
{ type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
]
// this.$refs.bch.rules['ptaList'] = [
// { type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
// ]
}
};
</script>
......
......@@ -14,9 +14,7 @@ export default {
return {};
},
mounted() {
this.$refs.fec.rules['fecList'] = [
{ type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
]
}
};
</script>
......
<template>
<m-pty title="dbdatp" type="delete"></m-pty>
</template>
<script>
import Dbiatp from "~/views/Statics/Dbiatp";
export default {
name: "StaticsDbdatp",
components: {
"m-pty": Dbiatp
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-pty title="dbeatp" type="edit"></m-pty>
</template>
<script>
import Dbiatp from "~/views/Statics/Dbiatp";
export default {
name: "StaticsDbeatp",
components: {
"m-pty": Dbiatp
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
export default class Pty {
constructor() {
this.data = {
inr: "",
cod: "",
rouflg: "",
bus: "",
concreflg: "",
dtaflg: "",
sepflg: "",
jobflg: "",
subflg: "",
lnkobj: "",
ccstyp: "",
ver: "",
bustrnflg: "",
relamt: "",
reltyp: "",
negflg: "",
dealtim: "",
}
}
}
export const Pattern = {
"inr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"cod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"rouflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"bus": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"concreflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"dtaflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"sepflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"jobflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"subflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"lnkobj": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"ccstyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"ver": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"bustrnflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"relamt": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"reltyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"negflg": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"dealtim": [
],
}
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="编号" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="代码" prop="cod">
<c-input
v-model="model.cod"
placeholder="请输入代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="控制标志" prop="rouflg">
<c-input
v-model="model.rouflg"
placeholder="请输入rouflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务品种" prop="bus">
<c-input
v-model="model.bus"
placeholder="请输入bus"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="创建新进程标志" prop="concreflg">
<c-input
v-model="model.concreflg"
placeholder="请输入concreflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="处理数据标志" prop="dtaflg">
<c-input
v-model="model.dtaflg"
placeholder="请输入dtaflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="处理临时结算标志" prop="sepflg">
<c-input
v-model="model.sepflg"
placeholder="请输入sepflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="后台进程标志" prop="jobflg">
<c-input
v-model="model.jobflg"
placeholder="请输入jobflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="创建子合同进程" prop="subflg">
<c-input
v-model="model.subflg"
placeholder="请输入subflg"
>
</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="lnkobj">
<c-input
v-model="model.lnkobj"
placeholder="请输入lnkobj"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="比较类型" prop="ccstyp">
<c-input
v-model="model.ccstyp"
placeholder="请输入ccstyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="版本号" prop="ver">
<c-input
v-model="model.ver"
placeholder="请输入ver"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易处理标志" prop="bustrnflg">
<c-input
v-model="model.bustrnflg"
placeholder="请输入bustrnflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="用于release的金额" prop="relamt">
<c-input
v-model="model.relamt"
placeholder="请输入relamt"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="release规则类型" prop="reltyp">
<c-input
v-model="model.reltyp"
placeholder="请输入reltyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="押汇中心处理标志" prop="negflg">
<c-input
v-model="model.negflg"
placeholder="请输入negflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交易处理时间" prop="dealtim">
<c-input
v-model="model.dealtim"
placeholder="请输入dealtim"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
export default {
name: "",
props: ["model"],
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="title">
<el-form
ref="modelForm"
label-width="120px"
size="small"
label-position="right"
:model="model"
:rules="rules"
:validate-on-rule-change="false"
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="交易配置信息" name="atp">
<c-content>
<m-atp-info :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button
type="primary"
style="margin-right: 10px"
@click="commitAdd"
v-if="type === 'add'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitEdit"
v-if="type === 'edit'"
>提 交</c-button
>
<c-button
type="primary"
style="margin-right: 10px"
@click="commitDelete"
v-if="type === 'delete'"
>提 交</c-button
>
<c-button type="primary" @click="goBack">返 回</c-button>
</div>
</c-page>
</div>
</template>
<script>
import Utils from "~/utils";
import Atp, { Pattern } from "./Atp.js";
import AtpInfo from "./AtpInfo.vue";
import { queryById, add, edit, deleteById } from "~/service/test/atp.js";
export default {
name: "StaticsDbiatp",
components: {
"m-atp-info": AtpInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbiatp"
}
},
data() {
return {
model: new Atp().data,
tabVal: "atp",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
queryById(inr).then((res) => {
if (res.inr) {
this.model = res;
} else {
this.$message.error("该信息不存在")
}
});
}
},
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)
}
});
},
commitEdit() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success("修改成功!");
this.goBack()
})
.catch((err) => {
this.$message.error("修改失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteById(this.model.inr)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
/**
* update 是否更新infatp的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfatp", params: { update } });
},
},
};
</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">
<!-- <c-col :span="24">
<el-form-item label="inr" prop="inr">
<c-input
v-model="model.inr"
......@@ -9,9 +9,9 @@
>
</c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="etyexkey" prop="etyexkey">
<el-form-item label="实体" prop="etyexkey">
<c-input
v-model="model.etyexkey"
placeholder="请输入etyexkey"
......@@ -20,7 +20,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="branch" prop="branch">
<el-form-item label="机构编码" prop="branch">
<c-input
v-model="model.branch"
placeholder="请输入branch"
......@@ -29,7 +29,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bchkey" prop="bchkey">
<el-form-item label="经办机构编码" prop="bchkey">
<c-input
v-model="model.bchkey"
placeholder="请输入bchkey"
......@@ -38,7 +38,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bchname" prop="bchname">
<el-form-item label="机构名称" prop="bchname">
<c-input
v-model="model.bchname"
placeholder="请输入bchname"
......@@ -47,7 +47,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="lev" prop="lev">
<el-form-item label="机构层次" prop="lev">
<c-input
v-model="model.lev"
placeholder="请输入lev"
......@@ -56,7 +56,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="upbranch" prop="upbranch">
<el-form-item label="上级机构编码" prop="upbranch">
<c-input
v-model="model.upbranch"
placeholder="请输入upbranch"
......@@ -64,17 +64,26 @@
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bchtyp" prop="bchtyp">
<c-col :span="24">
<el-form-item label="机构类型" prop="bchtyp">
<c-input
v-model="model.bchtyp"
placeholder="请输入bchtyp"
>
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="机构类型" prop="bchtyp">
<c-select
v-model="model.bchtyp"
placeholder="请输入bchtyp"
>
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="bchflg" prop="bchflg">
<el-form-item label="机构参考号标志" prop="bchflg">
<c-input
v-model="model.bchflg"
placeholder="请输入bchflg"
......@@ -83,7 +92,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="decnum" prop="decnum">
<el-form-item label="金融机构编码" prop="decnum">
<c-input
v-model="model.decnum"
placeholder="请输入decnum"
......@@ -92,7 +101,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="tel" prop="tel">
<el-form-item label="电话" prop="tel">
<c-input
v-model="model.tel"
placeholder="请输入tel"
......@@ -101,7 +110,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="fax" prop="fax">
<el-form-item label="传真" prop="fax">
<c-input
v-model="model.fax"
placeholder="请输入fax"
......@@ -110,7 +119,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="adr" prop="adr">
<el-form-item label="地址" prop="adr">
<c-input
v-model="model.adr"
placeholder="请输入adr"
......@@ -119,7 +128,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="swfcod" prop="swfcod">
<el-form-item label="BIC码" prop="swfcod">
<c-input
v-model="model.swfcod"
placeholder="请输入swfcod"
......@@ -128,7 +137,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="adr2" prop="adr2">
<el-form-item label="地址2" prop="adr2">
<c-input
v-model="model.adr2"
placeholder="请输入adr2"
......@@ -137,7 +146,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ver" prop="ver">
<el-form-item label="版本号" prop="ver">
<c-input
v-model="model.ver"
placeholder="请输入ver"
......@@ -146,7 +155,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="namen" prop="namen">
<el-form-item label="英文名称" prop="namen">
<c-input
v-model="model.namen"
placeholder="请输入namen"
......@@ -155,7 +164,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="adren" prop="adren">
<el-form-item label="英文地址" prop="adren">
<c-input
v-model="model.adren"
placeholder="请输入adren"
......@@ -166,7 +175,7 @@
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="adren2" prop="adren2">
<el-form-item label="英文地址2" prop="adren2">
<c-input
v-model="model.adren2"
placeholder="请输入adren2"
......@@ -175,7 +184,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ydjcod" prop="ydjcod">
<el-form-item label="外汇管理局印单局代码" prop="ydjcod">
<c-input
v-model="model.ydjcod"
placeholder="请输入ydjcod"
......@@ -184,7 +193,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="tid" prop="tid">
<el-form-item label="收单行系统机构代号" prop="tid">
<c-input
v-model="model.tid"
placeholder="请输入tid"
......@@ -193,7 +202,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="upbchkey" prop="upbchkey">
<el-form-item label="所辖押汇中心" prop="upbchkey">
<c-input
v-model="model.upbchkey"
placeholder="请输入upbchkey"
......@@ -202,7 +211,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="accbch" prop="accbch">
<el-form-item label="核心机构号" prop="accbch">
<c-input
v-model="model.accbch"
placeholder="请输入accbch"
......@@ -211,7 +220,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bchref" prop="bchref">
<el-form-item label="机构参考号" prop="bchref">
<c-input
v-model="model.bchref"
placeholder="请输入bchref"
......@@ -220,7 +229,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bchusr" prop="bchusr">
<el-form-item label="核心柜员" prop="bchusr">
<c-input
v-model="model.bchusr"
placeholder="请输入bchusr"
......@@ -229,7 +238,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="sta" prop="sta">
<el-form-item label="状态" prop="sta">
<c-input
v-model="model.sta"
placeholder="请输入sta"
......@@ -238,7 +247,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="lhanum" prop="lhanum">
<el-form-item label="联行行号" prop="lhanum">
<c-input
v-model="model.lhanum"
placeholder="请输入lhanum"
......@@ -247,7 +256,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="lhanam" prop="lhanam">
<el-form-item label="联行名称" prop="lhanam">
<c-input
v-model="model.lhanam"
placeholder="请输入lhanam"
......@@ -265,7 +274,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="zmqflg" prop="zmqflg">
<el-form-item label="自贸区标志" prop="zmqflg">
<c-input
v-model="model.zmqflg"
placeholder="请输入zmqflg"
......@@ -274,7 +283,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bchlst" prop="bchlst">
<el-form-item label="包含的分支机构INR" prop="bchlst">
<c-input
type="textarea"
v-model="model.bchlst"
......@@ -284,7 +293,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bchusr2" prop="bchusr2">
<el-form-item label="核心柜员2" prop="bchusr2">
<c-input
v-model="model.bchusr2"
placeholder="请输入bchusr2"
......@@ -293,7 +302,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dzlhhh" prop="dzlhhh">
<el-form-item label="电证联行行号" prop="dzlhhh">
<c-input
v-model="model.dzlhhh"
placeholder="请输入dzlhhh"
......@@ -302,7 +311,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dzlhmc" prop="dzlhmc">
<el-form-item label="电证联行名称" prop="dzlhmc">
<c-input
v-model="model.dzlhmc"
placeholder="请输入dzlhmc"
......@@ -311,7 +320,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bchfzr" prop="bchfzr">
<el-form-item label="机构负责人" prop="bchfzr">
<c-input
v-model="model.bchfzr"
placeholder="请输入bchfzr"
......
<template>
<div class="eibs-tab">
<c-content>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="机构编码" prop="branch">
......@@ -349,7 +348,6 @@
</el-form-item>
</c-col>
</c-col>
</c-content>
</div>
</template>
<script>
......
......@@ -13,16 +13,22 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="BCH" name="bchp0">
<el-tab-pane label="BCH" name="bch">
<c-content>
<m-bchp0 :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Related clients" name="bchp1">
<c-content>
<m-bchp1 :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Authorization" name="bchp2">
<c-content>
<m-bchp2 :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
......@@ -58,7 +64,8 @@
import Utils from "~/utils";
import Bch, { Pattern } from "./Bch.js";
import Bchp0 from "./Bchp0.vue";
// import Bchp0 from "./Bchp0.vue";
import BchInfo from "./BchInfo.vue";
import Bchp1 from "./Bchp1.vue";
import Bchp2 from "./Bchp2.vue";
......@@ -66,7 +73,7 @@ import { queryDetailById, add, edit, deleteById } from "~/service/test/bch.js";
export default {
name: "StaticsDbibch",
components: {
"m-bchp0": Bchp0,
"m-bchp0": BchInfo,
"m-bchp1": Bchp1,
"m-bchp2": Bchp2,
},
......
......@@ -2,343 +2,343 @@
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="inr" prop="inr">
<el-form-item label="费用代码唯一索引ID" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
placeholder="请输入费用代码唯一索引ID"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="feeinr" prop="feeinr">
<el-form-item label="相关费用的唯一索引ID" prop="feeinr">
<c-input
v-model="model.feeinr"
placeholder="请输入feeinr"
placeholder="请输入相关费用的唯一索引ID"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="feepri" prop="feepri">
<el-form-item label="收费条件类型" prop="feepri">
<c-input
v-model="model.feepri"
placeholder="请输入feepri"
placeholder="请输入收费条件类型"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objtyp" prop="objtyp">
<el-form-item label="对象类型" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入objtyp"
placeholder="请输入对象类型"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objinr" prop="objinr">
<el-form-item label="对象的INR" prop="objinr">
<c-input
v-model="model.objinr"
placeholder="请输入objinr"
placeholder="请输入对象的INR"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="begdat" prop="begdat">
<el-form-item label="起始日期" prop="begdat">
<c-date-picker
v-model="model.begdat"
placeholder="请输入begdat"
placeholder="请输入起始日期"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="enddat" prop="enddat">
<el-form-item label="终止日期" prop="enddat">
<c-date-picker
v-model="model.enddat"
placeholder="请输入enddat"
placeholder="请输入终止日期"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="calcbs" prop="calcbs">
<el-form-item label="费用计算基准金额" prop="calcbs">
<c-input
v-model="model.calcbs"
placeholder="请输入calcbs"
placeholder="请输入费用计算基准金额"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="calfcc" prop="calfcc">
<el-form-item label="计算条件" prop="calfcc">
<c-input
v-model="model.calfcc"
placeholder="请输入calfcc"
placeholder="请输入计算条件"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="lowamt" prop="lowamt">
<el-form-item label="费用最小金额" prop="lowamt">
<c-input-currency
v-model="model.lowamt"
placeholder="请输入lowamt"
placeholder="请输入费用最小金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="higamt" prop="higamt">
<el-form-item label="费用最大金额" prop="higamt">
<c-input-currency
v-model="model.higamt"
placeholder="请输入higamt"
placeholder="请输入费用最大金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="maxcur" prop="maxcur">
<el-form-item label="最大金额的币种" prop="maxcur">
<c-input
v-model="model.maxcur"
placeholder="请输入maxcur"
placeholder="请输入最大金额的币种"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="maxamt" prop="maxamt">
<el-form-item label="最大金额" prop="maxamt">
<c-input-currency
v-model="model.maxamt"
placeholder="请输入maxamt"
placeholder="请输入最大金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="maxfcc" prop="maxfcc">
<el-form-item label="最大金额代码" prop="maxfcc">
<c-input
v-model="model.maxfcc"
placeholder="请输入maxfcc"
placeholder="请输入最大金额代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="mincur" prop="mincur">
<el-form-item label="最小金额的币种" prop="mincur">
<c-input
v-model="model.mincur"
placeholder="请输入mincur"
placeholder="请输入最小金额的币种"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="minamt" prop="minamt">
<el-form-item label="最小金额" prop="minamt">
<c-input-currency
v-model="model.minamt"
placeholder="请输入minamt"
placeholder="请输入最小金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="minamttot" prop="minamttot">
<el-form-item label="最小有效值" prop="minamttot">
<c-input-currency
v-model="model.minamttot"
placeholder="请输入minamttot"
placeholder="请输入最小有效值"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtsetall" prop="amtsetall">
<el-form-item label="预先结算金额" prop="amtsetall">
<c-input-currency
v-model="model.amtsetall"
placeholder="请输入amtsetall"
placeholder="请输入预先结算金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="minfcc" prop="minfcc">
<el-form-item label="最小金额代码" prop="minfcc">
<c-input
v-model="model.minfcc"
placeholder="请输入minfcc"
placeholder="请输入最小金额代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="untamt" prop="untamt">
<el-form-item label="每份的费用金额" prop="untamt">
<c-input-currency
v-model="model.untamt"
placeholder="请输入untamt"
placeholder="请输入每份的费用金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ratcal" prop="ratcal">
<el-form-item label="计算费率" prop="ratcal">
<c-input
v-model="model.ratcal"
placeholder="请输入ratcal"
placeholder="请输入计算费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ratcur" prop="ratcur">
<el-form-item label="费率币种" prop="ratcur">
<c-input
v-model="model.ratcur"
placeholder="请输入ratcur"
placeholder="请输入费率币种"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ratfcc" prop="ratfcc">
<el-form-item label="费率条件" prop="ratfcc">
<c-input
v-model="model.ratfcc"
placeholder="请输入ratfcc"
placeholder="请输入费率条件"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ratirs" prop="ratirs">
<el-form-item label="参考费率" prop="ratirs">
<c-input
v-model="model.ratirs"
placeholder="请输入ratirs"
placeholder="请输入参考费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ratirsinc" prop="ratirsinc">
<el-form-item label="增额/减额使用的费率" prop="ratirsinc">
<c-input
v-model="model.ratirsinc"
placeholder="请输入ratirsinc"
placeholder="请输入增额/减额使用的费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setmod" prop="setmod">
<el-form-item label="结算方式" prop="setmod">
<c-input
v-model="model.setmod"
placeholder="请输入setmod"
placeholder="请输入结算方式"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setbeg" prop="setbeg">
<el-form-item label="结算起算时间" prop="setbeg">
<c-input
v-model="model.setbeg"
placeholder="请输入setbeg"
placeholder="请输入结算起算时间"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setend" prop="setend">
<el-form-item label="结算终止时间" prop="setend">
<c-input
v-model="model.setend"
placeholder="请输入setend"
placeholder="请输入结算终止时间"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="pertyp" prop="pertyp">
<el-form-item label="周期类型" prop="pertyp">
<c-input
v-model="model.pertyp"
placeholder="请输入pertyp"
placeholder="请输入周期类型"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="tirtyp" prop="tirtyp">
<el-form-item label="分级计算的基础单元" prop="tirtyp">
<c-input
v-model="model.tirtyp"
placeholder="请输入tirtyp"
placeholder="请输入分级计算的基础单元"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permin" prop="permin">
<el-form-item label="最小周期" prop="permin">
<c-input
v-model="model.permin"
placeholder="请输入permin"
placeholder="请输入最小周期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr2" prop="perbegtr2">
<el-form-item label="第二级起始周期" prop="perbegtr2">
<c-input
v-model="model.perbegtr2"
placeholder="请输入perbegtr2"
placeholder="请输入第二级起始周期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perrattr2" prop="perrattr2">
<el-form-item label="第二级费率" prop="perrattr2">
<c-input
v-model="model.perrattr2"
placeholder="请输入perrattr2"
placeholder="请输入第二级费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr2" prop="permintr2">
<el-form-item label="第二级最小费用" prop="permintr2">
<c-input-currency
v-model="model.permintr2"
placeholder="请输入permintr2"
placeholder="请输入第二级最小费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr3" prop="perbegtr3">
<el-form-item label="第三级起始周期" prop="perbegtr3">
<c-input
v-model="model.perbegtr3"
placeholder="请输入perbegtr3"
placeholder="请输入第三级起始周期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perrattr3" prop="perrattr3">
<el-form-item label="第三级费率" prop="perrattr3">
<c-input
v-model="model.perrattr3"
placeholder="请输入perrattr3"
placeholder="请输入第三级费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr3" prop="permintr3">
<el-form-item label="第三级最小费用" prop="permintr3">
<c-input-currency
v-model="model.permintr3"
placeholder="请输入permintr3"
placeholder="请输入第三级最小费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr4" prop="perbegtr4">
<el-form-item label="第四级起始周期" prop="perbegtr4">
<c-input
v-model="model.perbegtr4"
placeholder="请输入perbegtr4"
placeholder="请输入第四级起始周期"
>
</c-input>
</el-form-item>
......@@ -346,343 +346,343 @@
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="perrattr4" prop="perrattr4">
<el-form-item label="第四级费率" prop="perrattr4">
<c-input
v-model="model.perrattr4"
placeholder="请输入perrattr4"
placeholder="请输入第四级费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr4" prop="permintr4">
<el-form-item label="第四级最小费用" prop="permintr4">
<c-input-currency
v-model="model.permintr4"
placeholder="请输入permintr4"
placeholder="请输入第四级最小费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr5" prop="perbegtr5">
<el-form-item label="第五级起始周期" prop="perbegtr5">
<c-input
v-model="model.perbegtr5"
placeholder="请输入perbegtr5"
placeholder="请输入第五级起始周期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perrattr5" prop="perrattr5">
<el-form-item label="第五级费率" prop="perrattr5">
<c-input
v-model="model.perrattr5"
placeholder="请输入perrattr5"
placeholder="请输入第五级费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr5" prop="permintr5">
<el-form-item label="第五级最小费用" prop="permintr5">
<c-input-currency
v-model="model.permintr5"
placeholder="请输入permintr5"
placeholder="请输入第五级最小费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr6" prop="perbegtr6">
<el-form-item label="第六级起始周期" prop="perbegtr6">
<c-input
v-model="model.perbegtr6"
placeholder="请输入perbegtr6"
placeholder="请输入第六级起始周期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perrattr6" prop="perrattr6">
<el-form-item label="第六级费率" prop="perrattr6">
<c-input
v-model="model.perrattr6"
placeholder="请输入perrattr6"
placeholder="请输入第六级费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr6" prop="permintr6">
<el-form-item label="第六级最小费用" prop="permintr6">
<c-input-currency
v-model="model.permintr6"
placeholder="请输入permintr6"
placeholder="请输入第六级最小费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perbegtr7" prop="perbegtr7">
<el-form-item label="第七级起始周期" prop="perbegtr7">
<c-input
v-model="model.perbegtr7"
placeholder="请输入perbegtr7"
placeholder="请输入第七级起始周期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="perrattr7" prop="perrattr7">
<el-form-item label="第七级费率" prop="perrattr7">
<c-input
v-model="model.perrattr7"
placeholder="请输入perrattr7"
placeholder="请输入第七级费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permintr7" prop="permintr7">
<el-form-item label="第七级最小费用" prop="permintr7">
<c-input-currency
v-model="model.permintr7"
placeholder="请输入permintr7"
placeholder="请输入第七级最小费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtbegtr2" prop="amtbegtr2">
<el-form-item label="第二级起始金额" prop="amtbegtr2">
<c-input-currency
v-model="model.amtbegtr2"
placeholder="请输入amtbegtr2"
placeholder="请输入第二级起始金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtrattr2" prop="amtrattr2">
<el-form-item label="第二级金额使用的费率" prop="amtrattr2">
<c-input
v-model="model.amtrattr2"
placeholder="请输入amtrattr2"
placeholder="请输入第二级金额使用的费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtbegtr3" prop="amtbegtr3">
<el-form-item label="第三级起始金额" prop="amtbegtr3">
<c-input-currency
v-model="model.amtbegtr3"
placeholder="请输入amtbegtr3"
placeholder="请输入第三级起始金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtrattr3" prop="amtrattr3">
<el-form-item label="第三级金额使用的费率" prop="amtrattr3">
<c-input
v-model="model.amtrattr3"
placeholder="请输入amtrattr3"
placeholder="请输入第三级金额使用的费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtbegtr4" prop="amtbegtr4">
<el-form-item label="第四级起始金额" prop="amtbegtr4">
<c-input-currency
v-model="model.amtbegtr4"
placeholder="请输入amtbegtr4"
placeholder="请输入第四级起始金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtrattr4" prop="amtrattr4">
<el-form-item label="第四级金额使用的费率" prop="amtrattr4">
<c-input
v-model="model.amtrattr4"
placeholder="请输入amtrattr4"
placeholder="请输入第四级金额使用的费率"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="ver" prop="ver">
<el-form-item label="版本号" prop="ver">
<c-input
v-model="model.ver"
placeholder="请输入ver"
placeholder="请输入版本号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="colltr" prop="colltr">
<el-form-item label="默认处理方式" prop="colltr">
<c-input
v-model="model.colltr"
placeholder="请输入colltr"
placeholder="请输入默认处理方式"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="settyp" prop="settyp">
<el-form-item label="结算方式" prop="settyp">
<c-input
v-model="model.settyp"
placeholder="请输入settyp"
placeholder="请输入结算方式"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setflg" prop="setflg">
<el-form-item label="自动结算标志" prop="setflg">
<c-input
v-model="model.setflg"
placeholder="请输入setflg"
placeholder="请输入自动结算标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setperflg" prop="setperflg">
<el-form-item label="结算周期标志" prop="setperflg">
<c-input
v-model="model.setperflg"
placeholder="请输入setperflg"
placeholder="请输入结算周期标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="setchgflg" prop="setchgflg">
<el-form-item label="允许变动标志" prop="setchgflg">
<c-input
v-model="model.setchgflg"
placeholder="请输入setchgflg"
placeholder="请输入允许变动标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="pertypprv" prop="pertypprv">
<el-form-item label="周期类型(前一周期)" prop="pertypprv">
<c-input
v-model="model.pertypprv"
placeholder="请输入pertypprv"
placeholder="请输入周期类型(前一周期)"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="minpercnt" prop="minpercnt">
<el-form-item label="最小周期数" prop="minpercnt">
<c-input
v-model="model.minpercnt"
placeholder="请输入minpercnt"
placeholder="请输入最小周期数"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="maxpercnt" prop="maxpercnt">
<el-form-item label="最大周期数" prop="maxpercnt">
<c-input
v-model="model.maxpercnt"
placeholder="请输入maxpercnt"
placeholder="请输入最大周期数"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="maxpercov" prop="maxpercov">
<el-form-item label="满足条件的最大周期数" prop="maxpercov">
<c-input
v-model="model.maxpercov"
placeholder="请输入maxpercov"
placeholder="请输入满足条件的最大周期数"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="basamt" prop="basamt">
<el-form-item label="基准金额" prop="basamt">
<c-input-currency
v-model="model.basamt"
placeholder="请输入basamt"
placeholder="请输入基准金额"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr2" prop="permaxtr2">
<el-form-item label="第二级最大费用" prop="permaxtr2">
<c-input-currency
v-model="model.permaxtr2"
placeholder="请输入permaxtr2"
placeholder="请输入第二级最大费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr3" prop="permaxtr3">
<el-form-item label="第三级最大费用" prop="permaxtr3">
<c-input-currency
v-model="model.permaxtr3"
placeholder="请输入permaxtr3"
placeholder="请输入第三级最大费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr4" prop="permaxtr4">
<el-form-item label="第四级最大费用" prop="permaxtr4">
<c-input-currency
v-model="model.permaxtr4"
placeholder="请输入permaxtr4"
placeholder="请输入第四级最大费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr5" prop="permaxtr5">
<el-form-item label="第五级最大费用" prop="permaxtr5">
<c-input-currency
v-model="model.permaxtr5"
placeholder="请输入permaxtr5"
placeholder="请输入第五级最大费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr6" prop="permaxtr6">
<el-form-item label="第六级最大费用" prop="permaxtr6">
<c-input-currency
v-model="model.permaxtr6"
placeholder="请输入permaxtr6"
placeholder="请输入第六级最大费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="permaxtr7" prop="permaxtr7">
<el-form-item label="第七级最大费用" prop="permaxtr7">
<c-input-currency
v-model="model.permaxtr7"
placeholder="请输入permaxtr7"
placeholder="请输入第七级最大费用"
>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="clcdifflg" prop="clcdifflg">
<el-form-item label="重算标志" prop="clcdifflg">
<c-input
v-model="model.clcdifflg"
placeholder="请输入clcdifflg"
placeholder="请输入重算标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="etgextkey" prop="etgextkey">
<el-form-item label="实体组代码" prop="etgextkey">
<c-input
v-model="model.etgextkey"
placeholder="请输入etgextkey"
placeholder="请输入实体组代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="calrul" prop="calrul">
<el-form-item label="计算规则" prop="calrul">
<c-input
v-model="model.calrul"
placeholder="请输入calrul"
placeholder="请输入计算规则"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="amtflg" prop="amtflg">
<el-form-item label="保证金附加金额" prop="amtflg">
<c-input
v-model="model.amtflg"
placeholder="请输入amtflg"
placeholder="请输入保证金附加金额"
>
</c-input>
</el-form-item>
......
......@@ -2,100 +2,100 @@
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="inrFee" prop="inrFee">
<el-form-item label="唯一索引ID" prop="inrFee">
<c-input
v-model="model.inrFee"
placeholder="请输入inrFee"
placeholder="请输入唯一索引ID"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="codFee" prop="codFee">
<el-form-item label="费用代码" prop="codFee">
<c-input
v-model="model.codFee"
placeholder="请输入codFee"
placeholder="请输入费用代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="sftcodFee" prop="sftcodFee">
<el-form-item label="在SWIFT报文中的费用代码" prop="sftcodFee">
<c-input
v-model="model.sftcodFee"
placeholder="请输入sftcodFee"
placeholder="请输入在SWIFT报文中的费用代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="rolFee" prop="rolFee">
<el-form-item label="付费角色" prop="rolFee">
<c-input
v-model="model.rolFee"
placeholder="请输入rolFee"
placeholder="请输入付费角色"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="incflgFee" prop="incflgFee">
<el-form-item label="是否收入" prop="incflgFee">
<c-input
v-model="model.incflgFee"
placeholder="请输入incflgFee"
placeholder="请输入是否收入"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="staflgFee" prop="staflgFee">
<el-form-item label="统计标志" prop="staflgFee">
<c-input
v-model="model.staflgFee"
placeholder="请输入staflgFee"
placeholder="请输入统计标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="vatflgFee" prop="vatflgFee">
<el-form-item label="增值税标志" prop="vatflgFee">
<c-input
v-model="model.vatflgFee"
placeholder="请输入vatflgFee"
placeholder="请输入增值税标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="accFee" prop="accFee">
<el-form-item label="账号" prop="accFee">
<c-input
v-model="model.accFee"
placeholder="请输入accFee"
placeholder="请输入账号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="accacrFee" prop="accacrFee">
<el-form-item label="循环收费账号" prop="accacrFee">
<c-input
v-model="model.accacrFee"
placeholder="请输入accacrFee"
placeholder="请输入循环收费账号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="enoFee" prop="enoFee">
<el-form-item label="结算时的排序优先级" prop="enoFee">
<c-input
v-model="model.enoFee"
placeholder="请输入enoFee"
placeholder="请输入结算时的排序优先级"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="reltirFee" prop="reltirFee">
<el-form-item label="计算费用相关的金额类型" prop="reltirFee">
<c-input
v-model="model.reltirFee"
placeholder="请输入reltirFee"
placeholder="请输入计算费用相关的金额类型"
>
</c-input>
</el-form-item>
......@@ -103,82 +103,82 @@
</c-col>
<c-col :span="8" class="col-left col-right">
<c-col :span="24">
<el-form-item label="grpcodFee" prop="grpcodFee">
<el-form-item label="费用组代码" prop="grpcodFee">
<c-input
v-model="model.grpcodFee"
placeholder="请输入grpcodFee"
placeholder="请输入费用组代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="verFee" prop="verFee">
<el-form-item label="版本号" prop="verFee">
<c-input
v-model="model.verFee"
placeholder="请输入verFee"
placeholder="请输入版本号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dscmodflgFee" prop="dscmodflgFee">
<el-form-item label="费用描述是否允许修改" prop="dscmodflgFee">
<c-input
v-model="model.dscmodflgFee"
placeholder="请输入dscmodflgFee"
placeholder="请输入费用描述是否允许修改"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="reltrnFee" prop="reltrnFee">
<el-form-item label="相关的交易名称或者业务品种" prop="reltrnFee">
<c-input
v-model="model.reltrnFee"
placeholder="请输入reltrnFee"
placeholder="请输入相关的交易名称或者业务品种"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="begdatFee" prop="begdatFee">
<el-form-item label="有效期起始日" prop="begdatFee">
<c-date-picker
v-model="model.begdatFee"
placeholder="请输入begdatFee"
placeholder="请输入有效期起始日"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="enddatFee" prop="enddatFee">
<el-form-item label="有效期终止日" prop="enddatFee">
<c-date-picker
v-model="model.enddatFee"
placeholder="请输入enddatFee"
placeholder="请输入有效期终止日"
>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dtacodFee" prop="dtacodFee">
<el-form-item label="DTA报文中的费用代码" prop="dtacodFee">
<c-input
v-model="model.dtacodFee"
placeholder="请输入dtacodFee"
placeholder="请输入DTA报文中的费用代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="etgextkeyFee" prop="etgextkeyFee">
<el-form-item label="实体组代码" prop="etgextkeyFee">
<c-input
v-model="model.etgextkeyFee"
placeholder="请输入etgextkeyFee"
placeholder="请输入实体组代码"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="taxaccFee" prop="taxaccFee">
<el-form-item label="业务代号名称" prop="taxaccFee">
<c-input
v-model="model.taxaccFee"
placeholder="请输入taxaccFee"
placeholder="请输入业务代号名称"
>
</c-input>
</el-form-item>
......
......@@ -12,12 +12,12 @@
:disabled="isDisabled"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="changePosition">
<el-tab-pane label="费率信息" name="fec">
<el-tab-pane label="费用代码" name="fec">
<c-content>
<m-fec-info :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用代码信息" name="fee">
<el-tab-pane label="费信息" name="fee">
<c-content>
<m-fee-info :model="model" />
</c-content>
......@@ -102,7 +102,7 @@ export default {
if (res.inr) {
this.model = res;
} else {
this.$message.error("费不存在")
this.$message.error("费用代码不存在")
}
});
}
......@@ -130,19 +130,19 @@ export default {
if(this.tabPosition===`tab-fec`){
edit(this.model)
.then((res) => {
this.$message.success("费修改保存成功!");
this.$message.success("费用代码修改保存成功!");
this.goBack()
})
.catch((err) => {
this.$message.error("费修改保存失败!");
this.$message.error("费用代码修改保存失败!");
});}else{
editFeeData(this.model.inr,this.model)
.then((res) => {
this.$message.success("费用代码修改保存成功!");
this.$message.success("费修改保存成功!");
this.goBack()
})
.catch((err) => {
this.$message.error("费用代码修改保存失败!");
this.$message.error("费修改保存失败!");
});
}
} else {
......@@ -160,19 +160,19 @@ export default {
if(this.tabPosition===`tab-fec`){
deleteById(this.model.inr)
.then((res) => {
this.$message.success("费信息删除成功!");
this.$message.success("费用代码信息删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("费信息删除失败!");
this.$message.error("费用代码信息删除失败!");
})}else{
deleteFeeData(this.model)
.then((res) => {
this.$message.success("费用代码删除成功!");
this.$message.success("费率信息删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("费用代码删除失败!");
this.$message.error("费率信息删除失败!");
})
};
})
......
export default class Pty {
export default class Gtx {
constructor() {
this.data = {
inr: "",
......
......@@ -20,10 +20,10 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="nam" prop="nam">
<el-form-item label="名字" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
placeholder="请输入名字"
>
</c-input>
</el-form-item>
......@@ -38,37 +38,37 @@
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="gidtxt" prop="gidtxt">
<el-form-item label="保函文本" prop="gidtxt">
<c-input
v-model="model.gidtxt"
placeholder="请输入gidtxt"
placeholder="请输入保函文本"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="gartyp" prop="gartyp">
<el-form-item label="保函类型" prop="gartyp">
<c-input
v-model="model.gartyp"
placeholder="请输入gartyp"
placeholder="请输入保函类型"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="hndtyp" prop="hndtyp">
<el-form-item label="处理类型" prop="hndtyp">
<c-input
v-model="model.hndtyp"
placeholder="请输入hndtyp"
placeholder="请输入处理类型"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objtyp" prop="objtyp">
<el-form-item label="对象类型" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入objtyp"
placeholder="请输入对象类型"
>
</c-input>
</el-form-item>
......@@ -85,64 +85,64 @@
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="gtxpri" prop="gtxpri">
<el-form-item label="优先级" prop="gtxpri">
<c-input
v-model="model.gtxpri"
placeholder="请输入gtxpri"
placeholder="请输入优先级"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="expflg" prop="expflg">
<el-form-item label="无责任担保标志" prop="expflg">
<c-input
v-model="model.expflg"
placeholder="请输入expflg"
placeholder="请输入无责任担保标志"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="uil" prop="uil">
<el-form-item label="语言" prop="uil">
<c-input
v-model="model.uil"
placeholder="请输入uil"
placeholder="请输入语言"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="laborcdat" prop="laborcdat">
<el-form-item label="保函文本中的交易日期" prop="laborcdat">
<c-input
v-model="model.laborcdat"
placeholder="请输入laborcdat"
placeholder="请输入日期"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="labaddinf" prop="labaddinf">
<el-form-item label="保函文本中的附加信息" prop="labaddinf">
<c-input
v-model="model.labaddinf"
placeholder="请输入labaddinf"
placeholder="请输入附加信息"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="legfrm" prop="legfrm">
<el-form-item label="格式" prop="legfrm">
<c-input
v-model="model.legfrm"
placeholder="请输入legfrm"
placeholder="请输入格式"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="covgodsrvdft" prop="covgodsrvdft">
<el-form-item label="默认交易对象" prop="covgodsrvdft">
<c-input
v-model="model.covgodsrvdft"
placeholder="请输入covgodsrvdft"
placeholder="请输入默认交易对象"
>
</c-input>
</el-form-item>
......
......@@ -52,21 +52,14 @@ import Utils from "~/utils";
import Gtx, { Pattern } from "./Gtx.js";
import GtxInfo from "./GtxInfo.vue";
// import AdrList from "./AdrList.vue";
// import ActInfo from "./ActInfo.vue";
// import PtcInfo from "./PtcInfo.vue";
// import RatInfo from "./RatInfo.vue";
import { queryDetailById, add, edit, deleteById } from "~/service/test/pty.js";
import { queryDetailById, add, edit, deleteById } from "~/service/test/gtx.js";
export default {
name: "StaticsDbigtx",
components: {
"m-gtx-info": GtxInfo,
// "m-adr-list": AdrList,
// "m-act-info": ActInfo,
// "m-ptc-info": PtcInfo,
// "m-rat-info": RatInfo,
},
provide() {
return {
......
......@@ -104,7 +104,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="autamt" prop="autamt">
<el-form-item label="一次性释放授权" prop="autamt">
<c-input
v-model="ubr.autamt"
placeholder="请输入一次性释放授权"
......@@ -130,3 +130,6 @@ export default {
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<div style="text-align: right">
<c-button size="small" type="primary" @click="ubrAdd()"> 新增 </c-button>
<c-button size="small" type="primary" @click="ubrAdd()" :disabled="false"> 新增 </c-button>
</div>
<el-form-item label="" label-width="0" prop="ubrList">
<c-table :columnsConfig="columns" :list="model.ubrList">
......@@ -149,7 +149,7 @@ export default {
cancelButtonText: "取消",
type: "warning",
}).then((res) => {
deleteUbrData(row).then((res) => {
deleteUbrData(row.inr).then((res) => {
if (res) {
this.model.ubrList.splice(index, 1);
this.$message.success("删除成功!");
......@@ -165,11 +165,11 @@ export default {
editUbr() {
this.$refs.ubr.$refs.modelForm.validate((validated) => {
if (validated) {
updateUbrData(this.model.inr, this.ubr)
updateUbrData(this.ubr)
.then((res) => {
if (res.ubr) {
if (res) {
this.$message.success("修改柜员权限信息成功!");
this.model.ubrList = res.ubrList;
// this.model.ubrList = res.ubrList;
this.handleClose();
}
})
......@@ -195,16 +195,17 @@ export default {
} else {
this.$refs.ubr.$refs.modelForm.validate((validated) => {
if (validated) {
addUbrData(this.model.inr, this.ubr)
// this.ubr.inr = this.model.inr
addUbrData(this.ubr)
.then((res) => {
if (res && res.inr) {
this.$message.success("保存地址信息成功!");
if (res) {
this.$message.success("保存柜员权限信息成功!");
this.model.ubrList = res.ubrList;
this.handleClose();
}
})
.catch((error) => {
this.$message.error("保存地址信息失败!");
this.$message.error("保存柜员权限信息失败!");
});
}
});
......
......@@ -85,4 +85,7 @@ export default {
};
}
}
</script>
\ No newline at end of file
</script>
<style>
</style>
\ No newline at end of file
......@@ -83,7 +83,6 @@ import {
updateUclData,
deleteUclData,
} from "@/service/test/usr";
import {addAdrData, deleteAdrData, updateAdrData} from "@/service/test/pty";
export default {
name: "UclList",
......@@ -124,7 +123,6 @@ export default {
uclAdd() {
this.ucl = new Ucl().data;
this.operate = "add";
this.operateIdx = index;
this.uclDialog = true;
},
/**
......@@ -145,7 +143,8 @@ export default {
cancelButtonText: "取消",
type: "warning",
}).then((res) => {
deleteUclData(row).then((res) => {
console.log(row.branchinr)
deleteUclData(row.usr, row.branchinr).then((res) => {
if (res) {
this.model.uclList.splice(index, 1);
this.$message.success("删除成功!");
......@@ -161,11 +160,10 @@ export default {
editUcl() {
this.$refs.ucl.$refs.modelForm.validate((validated) => {
if (validated) {
updateAdrData(this.model.inr, this.ucl)
updateUclData(this.ucl)
.then((res) => {
if (res.inr) {
if (res.usr) {
this.$message.success("修改柜员组信息成功!");
this.model.uclList = res.uclList;
this.handleClose();
}
})
......@@ -191,16 +189,15 @@ export default {
} else {
this.$refs.ucl.$refs.modelForm.validate((validated) => {
if (validated) {
addUclData(this.model.inr, this.ucl)
addUclData(this.ucl)
.then((res) => {
if (res && res.inr) {
this.$message.success("保存地址信息成功!");
this.model.uclList = res.uclList;
if (res) {
this.$message.success("保存柜员组信息成功!");
this.handleClose();
}
})
.catch((error) => {
this.$message.error("保存地址信息失败!");
this.$message.error("保存柜员组信息失败!");
});
}
});
......
......@@ -55,15 +55,15 @@
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">-->
<!-- <el-form-item label="ver" prop="ver">-->
<!-- <c-input-->
<!-- v-model="model.ver"-->
<!-- placeholder="请输入ver"-->
<!-- >-->
<!-- </c-input>-->
<!-- </el-form-item>-->
<!-- </c-col>-->
<c-col :span="24">
<el-form-item label="ver" prop="ver">
<c-input
v-model="model.ver"
placeholder="请输入ver"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="实体标志" prop="pri">
<c-input
......
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="交易配置信息代码" prop="cod">
<c-input v-model="model.cod" placeholder="请输入交易配置信息代码" style="width: 100%">
</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="cod">
<c-input v-model="model.cod" placeholder="请输入代码描述" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="atpAdd">新增</el-button>
</c-col>
<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="onInfatpSearch()"
>查询
</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-paging-table
:data="atpData"
:columns="atpColumns"
: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="atpInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="atpEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="atpDelete(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 } from "~/service/test/atp.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
atpData: [],
atpColumns: [
{ label: '交易配置信息代码', prop: 'cod', width: '240' },
{ label: '描述', prop: 'cod', width: '600' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfatpSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onInfatpSearch() {
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
this.atpData = 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.onInfatpSearch()
},
atptypeChange(val) {
this.model.fectyp = val;
},
atpCodesByKey(key) {
return codes[key] ?? [];
},
atpAdd() {
this.$router.push(`/statics/dbaatp`)
},
atpInfo(index, row) {
this.$router.push(`/statics/dbiatp/${row.inr}`)
},
atpEdit(index, row) {
this.$router.push(`/statics/dbeatp/${row.inr}`)
},
atpDelete(index, row) {
this.$router.push(`/statics/dbdatp/${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>
<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>
<!-- <el-tab-pane label="交易配置信息" name="curpo">
<c-content>
<m-curpo :model="model" ref="curpo" />
</c-content>
</el-tab-pane> -->
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "StaticsInfatp",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
cod: "",
pageSize:5,
pageNum:1,
total:0
},
};
},
};
</script>
<style>
</style>
......@@ -76,7 +76,7 @@ export default {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
async handleReset() {
async handleReset() {
this.model.cod = ""
this.model.seanam = ""
},
......
......@@ -18,11 +18,11 @@
<c-col :span="24" class="col-left">
<c-col :span="12">
<el-form-item label="condition" prop="feepri">
<el-form-item label="收费条件类型" prop="feepri">
<c-select
v-model="model.feepri"
style="width: 100%"
placeholder="feepri"
placeholder="请选择收费类型"
:code="getCodesByKey('feepri')"
></c-select>
</el-form-item>
......@@ -196,6 +196,7 @@ export default {
fecData: [],
fecColumns: [
{ label: '费用代码', prop: 'codFee', width: '120' },
{ label: 'Description', prop: '', width: '120' },
{ label: '收费条件类型', prop: 'feepri', width: '120' },
{ label: '最小金额币种', prop: 'maxcur', width: '120' },
{ label: '费用最小金额', prop: 'lowamt', width: '120' },
......
......@@ -23,10 +23,10 @@
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="nam" prop="nam">
<el-form-item label="名字" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
placeholder="请输入名字"
>
</c-input>
</el-form-item>
......@@ -163,39 +163,6 @@
<!-- </c-col> -->
<c-col :span="24">
<!-- PTY.PTYTYP -->
<el-form-item label="Type" prop="ptytyp">
<c-col :span="2">
<c-checkbox v-model="seatyph" @change="ptytypeChange('H')"
>海关</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypo" @change="ptytypeChange('O')"
>Other</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypa" @change="ptytypeChange('A')"
>Own Address</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox
v-model="seatypb"
:checked="model.ptytyp === 'B'"
@change="ptytypeChange('B')"
>Bank</c-checkbox
>
</c-col>
<c-col :span="4">
<c-checkbox v-model="seatypc" @change="ptytypeChange('C')"
>Client</c-checkbox
>
</c-col>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="gtxAdd">新增</el-button>
</c-col>
......@@ -280,11 +247,11 @@ export default {
gtxColumns: [
// { label: 'inr', prop: 'inr', width: 'auto' },
// { label: 'extkey', prop: 'extkey', width: 'auto' },
{ label: 'nam', prop: 'nam', width: 'auto' },
{ label: '名字', prop: 'nam', width: 'auto' },
// { label: 'ver', prop: 'ver', width: 'auto' },
// { label: 'gidtxt', prop: 'gidtxt', width: 'auto' },
{ label: 'gartyp', prop: 'gartyp', width: 'auto' },
{ label: 'hndtyp', prop: 'hndtyp', width: 'auto' },
{ label: '保函类型', prop: 'gartyp', width: 'auto' },
{ label: '处理类型', prop: 'hndtyp', width: 'auto' },
// { label: 'objtyp', prop: 'objtyp', width: 'auto' },
// { label: 'objinr', prop: 'objinr', width: 'auto' },
// { label: 'gtxpri', prop: 'gtxpri', width: 'auto' },
......@@ -299,46 +266,6 @@ export default {
};
},
computed: {
seatypb: {
get: function () {
return this.model.ptytyp === "B";
},
set: function (val) {
this.model.ptytyp = val ? "B" : "";
},
},
seatypc: {
get: function () {
return this.model.ptytyp === "C";
},
set: function (val) {
this.model.ptytyp = val ? "C" : "";
},
},
seatypa: {
get: function () {
return this.model.ptytyp === "A";
},
set: function (val) {
this.model.ptytyp = val ? "A" : "";
},
},
seatypo: {
get: function () {
return this.model.ptytyp === "O";
},
set: function (val) {
this.model.ptytyp = val ? "O" : "";
},
},
seatyph: {
get: function () {
return this.model.ptytyp === "H";
},
set: function (val) {
this.model.ptytyp = val ? "H" : "";
},
},
},
activated() {
const { update } = this.$route.params
......
......@@ -38,14 +38,6 @@ export default {
return {
tabVal: "infsea",
model: {
// pty
nam: "",
extkey: "",
idtype: "",
trnman: "",
idcode: "",
ptytyp: "C",
// paging
pageNum: 1,
pageSize: 5,
total: 0
......
......@@ -44,6 +44,12 @@ import Dbabch from "./Dbabch";
import Dbebch from "./Dbebch";
import Dbdbch from "./Dbdbch";
import Infatp from "./Infatp";
import Dbiatp from "./Dbiatp";
import Dbaatp from "./Dbaatp";
import Dbeatp from "./Dbeatp";
import Dbdatp from "./Dbdatp";
const StaticsRouter = [
{ path: 'infpty', component: Infpty, name: 'StaticsInfpty', meta: { title: '客户查询' } },
{ path: 'dbapty', component: Dbapty, name: 'StaticsDbapty', meta: { title: '客户新增' } },
......@@ -91,6 +97,13 @@ const StaticsRouter = [
{ path: 'dbibch/:inr', component: Dbibch, name: 'StaticsDbibch', meta: { title: (tag) => { return '客户详情: ' + tag.params.inr } } },
{ path: 'dbebch/:inr', component: Dbebch, name: 'StaticsDbebch', meta: { title: (tag) => { return '客户修改: ' + tag.params.inr } } },
{ path: 'dbdbch/:inr', component: Dbdbch, name: 'StaticsDbdbch', meta: { title: (tag) => { return '客户删除: ' + tag.params.inr } } },
{ path: 'infatp', component: Infatp, name: 'StaticsInfatp', meta: { title: '交易配置信息查询' } },
{ path: 'dbaatp', component: Dbaatp, name: 'StaticsDbaatp', meta: { title: '交易配置信息新增' } },
{ path: 'dbeatp/:inr', component: Dbeatp, name: 'StaticsDbeatp', meta: { title: (tag) => { return '客户修改: ' + tag.params.inr } } },
{ path: 'dbdatp/:inr', component: Dbdatp, name: 'StaticsDbdatp', meta: { title: (tag) => { return '客户删除: ' + tag.params.inr } } },
{ path: 'dbiatp/:inr', component: Dbiatp, name: 'StaticsDbiatp', meta: { title: (tag) => { return '交易配置信息详情: ' + tag.params.inr } } },
]
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