Commit a361b3e7 by 李少勇

修改nxysdb交易

parent 92b654fd
......@@ -10,4 +10,7 @@ export default {
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"nxpp.dtatyp": [
{ required: true, message: "必输项" }
],
}
\ No newline at end of file
......@@ -4,7 +4,7 @@ export default class Nxysdb {
constructor() {
this.data = {
nxpp: {
dtatyp: "", // 文件类型 .nxpp.filtyp
dtatyp: "1", // 文件类型 .nxpp.filtyp
cod: "", // 文件名 .nxpp.filnam
},
cpsfxdgrp: {
......
......@@ -115,6 +115,110 @@ export default {
}],
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: {
pageNum: 1,
pageSize: 10,
......@@ -130,6 +234,18 @@ export default {
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: {},
mounted: function () {
},
......
......@@ -20,6 +20,7 @@
import CodeTable from "~/config/CodeTable";
import Nxysdb from "../model";
import event from "../event"
import Check from "../model/Check.js"
import Mainpanel from "./Mainpanel.vue"
export default {
......@@ -38,7 +39,7 @@
tabVal: "mainpanel",
trnName: "nxysdb",
model: new Nxysdb().data,
rules: null,
rules: Check,
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