Commit a361b3e7 by 李少勇

修改nxysdb交易

parent 92b654fd
...@@ -10,4 +10,7 @@ export default { ...@@ -10,4 +10,7 @@ export default {
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" } { max: 0, message: "长度不能超过0" }
], ],
"nxpp.dtatyp": [
{ required: true, message: "必输项" }
],
} }
\ No newline at end of file
...@@ -4,7 +4,7 @@ export default class Nxysdb { ...@@ -4,7 +4,7 @@ export default class Nxysdb {
constructor() { constructor() {
this.data = { this.data = {
nxpp: { nxpp: {
dtatyp: "", // 文件类型 .nxpp.filtyp dtatyp: "1", // 文件类型 .nxpp.filtyp
cod: "", // 文件名 .nxpp.filnam cod: "", // 文件名 .nxpp.filnam
}, },
cpsfxdgrp: { cpsfxdgrp: {
......
...@@ -115,6 +115,110 @@ export default { ...@@ -115,6 +115,110 @@ export default {
}], }],
data: [], data: [],
}, },
nxypatlstHead:[
{
label: "参与者机构代码",
prop: "cod",
width: "150px"
},
{
label: "参与者机构中文名称",
prop: "chnnam",
width: "180px"
},
{
label: "参与者英文名称",
prop: "engnam",
width: "150px"
},
{
label: "国别",
prop: "cty",
width: "100px"
},
{
label: "境内外标识",
prop: "cbtype",
width: "100px"
},
{
label: "参与者类型",
prop: "paptyp",
width: "120px"
},
{
label: "所属资金托管行",
prop: "ctdbak",
width: "150px"
},
{
label: "法人机构识别编码",
prop: "lei",
width: "150px"
},
{
label: "联系人姓名",
prop: "nam",
width: "100px"
},
{
label: "联系人电话",
prop: "tel",
width: "100px"
},
{
label: "联系人邮件地址",
prop: "mal",
width: "150px"
},
{
label: "联系人地址",
prop: "address",
width: "100px"
},
{
label: "联系人邮编",
prop: "zipcod",
width: "100px"
},
{
label: "登录状态",
prop: "logsta",
width: "100px"
},
{
label: "注资状态",
prop: "capsta",
width: "100px"
},
{
label: "生效状态",
prop: "syssta",
width: "100px"
},
{
label: "业务状态",
prop: "bizsta",
width: "100px"
},
],
nxyrellstHead:[
{
label: "参与者机构",
prop: "cod",
width: ""
},
{
label: "所属直接参与机构号",
prop: "drbankcod",
width: ""
},
{
label: "生效状态",
prop: "effsta",
width: ""
},
],
pagination: { pagination: {
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
...@@ -130,6 +234,18 @@ export default { ...@@ -130,6 +234,18 @@ export default {
return this.multipleSelection.length == 0; return this.multipleSelection.length == 0;
} }
}, },
watch: {
'model.nxpp.dtatyp': {
handler(newVal) {
if (newVal == '2') {
this.stmData.columns = this.nxyrellstHead;
} else {
this.stmData.columns = this.nxypatlstHead;
}
},
immediate: true
}
},
methods: {}, methods: {},
mounted: function () { mounted: function () {
}, },
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Nxysdb from "../model"; import Nxysdb from "../model";
import event from "../event" import event from "../event"
import Check from "../model/Check.js"
import Mainpanel from "./Mainpanel.vue" import Mainpanel from "./Mainpanel.vue"
export default { export default {
...@@ -38,7 +39,7 @@ ...@@ -38,7 +39,7 @@
tabVal: "mainpanel", tabVal: "mainpanel",
trnName: "nxysdb", trnName: "nxysdb",
model: new Nxysdb().data, model: new Nxysdb().data,
rules: null, rules: Check,
codes:{...CodeTable}, codes:{...CodeTable},
}; };
}, },
......
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