Commit 19e971b4 by wangren

dbipty交易

parent e3c6ca05
......@@ -6041,7 +6041,10 @@ const CodeTable = {
{label:"对私中国居民" ,value:"D"},
{label:"对私中国非居民" ,value:"F"},
],
adrsta:[
{label:"Downloaded",value:"D"},
{label:"Temporary",value:"T"},
],
}
export default CodeTable;
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbipty Check规则
*/
let checkObj = {
"recgrp.rec.hbkaccflg" :null,
"recgrp.hbk.extkey" :null,
"recgrp.rec.idcode" :null,
"recgrp.ptamaa.issbchinf" :null,
"recgrp.rec.heqaccflg" :null,
"recgrp.heq.extkey" :null,
"recgrp.rec.trnman" :null,
"recgrp.rec.extkey" :null,
"recpan.bchkey" :null,
"recpan.epty.juscod" :null,
"recgrp.rec.juscod" :null,
"recpan.epty.ptynam" :null,
"recgrp.rec.bngcod" :null,
"recgrp.rec.idtype" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbipty Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recpan.ratstm" :Utils.defaultFunction,
"recgrp.hbk.extkey" :Utils.defaultFunction,
"recgrp.rec.extkey" :Utils.defaultFunction,
"recgrp.ptyrat.buytyp" :Utils.defaultFunction,
"recgrp.typh" :Utils.defaultFunction,
"recgrp.typo" :Utils.defaultFunction,
"recgrp.typc" :Utils.defaultFunction,
"recgrp.typa" :Utils.defaultFunction,
"recgrp.typb" :Utils.defaultFunction,
"recpan.bchkey" :Utils.defaultFunction,
"recgrp.adrmaa.tid" :Utils.defaultFunction,
"recgrp.rec.nam" :Utils.defaultFunction,
"recgrp.ptyrat.cur" :Utils.defaultFunction,
"recpan.ptyinf.oit.inftxt" :Utils.defaultFunction,
"recpan.ptyinf.oit.inflev" :Utils.defaultFunction,
"recgrp.adrmaa.adr2" :Utils.defaultFunction,
"recgrp.adrmaa.adr1" :Utils.defaultFunction,
"recgrp.adrmaa.adr3" :Utils.defaultFunction,
"recgrp.heq.extkey" :Utils.defaultFunction,
"recgrp.adrmaa.loctxt" :Utils.defaultFunction,
"recgrp.adrmaa.nam1" :Utils.defaultFunction,
"recgrp.rec.idtype" :Utils.defaultFunction,
"recgrp.rec.juscod" :Utils.defaultFunction,
"recpan.ptystp.oit.inftxt" :Utils.defaultFunction,
"recpan.ptystp.oit.inflev" :Utils.defaultFunction,
"recgrp.rec.nam1" :Utils.defaultFunction,
"recgrp.adrmaa.pobtxt" :Utils.defaultFunction,
"recgrp.ptyrat.seltyp" :Utils.defaultFunction,
"recgrp.ptamaa.issbchinf" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onRecpanGetpty(){
let rtnmsg = await this.executeRule("recpan.getpty")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanAltnam(){
let rtnmsg = await this.executeRule("recpan.altnam")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanGet(){
let rtnmsg = await this.executeRule("recpan.get")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanUpd(){
let rtnmsg = await this.executeRule("recpan.upd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanUpdall(){
let rtnmsg = await this.executeRule("recpan.updall")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanEcif(){
let rtnmsg = await this.executeRule("recpan.ecif")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanDspadr(){
let rtnmsg = await this.executeRule("recpan.dspadr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanLnkdbmpty(){
let rtnmsg = await this.executeRule("recpan.lnkdbmpty")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanLnkinfptm(){
let rtnmsg = await this.executeRule("recpan.lnkinfptm")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onEptyPtyget(){
let rtnmsg = await this.executeRule("epty.ptyget")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onEptyPtyext(){
let rtnmsg = await this.executeRule("epty.ptyext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbipty{
constructor () {
this.data = {
recgrp:{
rec:{
extkey:"", // Address Number .recgrp.rec.extkey
nam:"", // Party Name .recgrp.rec.nam
adrsta:"", // Address Status .recgrp.rec.adrsta
hbkaccflg:"", // Use Accounting of House Bank .recgrp.rec.hbkaccflg
heqaccflg:"", // Use Accounting of Headquarters .recgrp.rec.heqaccflg
accusr:"", // User ID of Account Officer .recgrp.rec.accusr
nam1:"", // Chinese name .recgrp.rec.nam1
juscod:"", // 组织机构'码 .recgrp.rec.juscod
dshflg:"", // 是否电商 .recgrp.rec.dshflg
rskcls:"", // Credit Class .recgrp.rec.rskcls
rskcty:"", // Risk Country .recgrp.rec.rskcty
rsktxt:"", // Risk Description .recgrp.rec.rsktxt
sla:"", // Service Level .recgrp.rec.sla
akkcom:"", // 金融机构类型 .recgrp.rec.akkcom
cunqii:"", // 流动资金贷款利率档次 .recgrp.rec.cunqii
bilvvv:"", // 上浮比率 .recgrp.rec.bilvvv
idtype:"", // 客户类型 .recgrp.rec.idtype
idcode:"", // 身份证号码 .recgrp.rec.idcode
trnman:"", // 交易主体 .recgrp.rec.trnman
speeco:"", // 特殊经济区域 .recgrp.rec.speeco
bngcod:"", // 企业海关十位制编码 .recgrp.rec.bngcod
ecifno:"", // ECIFNO .recgrp.rec.ecifno
crmtyp:"", // 贸金客户类别 .recgrp.rec.crmtyp
ecifnam1:"", // ECIFNO中文名称 .recgrp.rec.ecifnam1
ecifjuscod:"", // 组织机构代码 .recgrp.rec.ecifjuscod
qygmgb:"", // 企业规模(国标) .recgrp.rec.qygmgb
khbsdt:"", // ocrm日期 .recgrp.rec.khbsdt
},
typb:"", // Bank .recgrp.typb
typc:"", // Client .recgrp.typc
typa:"", // Own Address .recgrp.typa
typo:"", // Other .recgrp.typo
adrmaa:{
nam1:"", // Name 1/SWIFT Line 1 .recgrp.adrmaa.nam1
nam2:"", // Name 2/SWIFT Line 2 .recgrp.adrmaa.nam2
nam3:"", // Name 3 .recgrp.adrmaa.nam3
str1:"", // Street/SWIFT Line 3 .recgrp.adrmaa.str1
str2:"", // Optional Second Line of Street .recgrp.adrmaa.str2
loczip:"", // ZIP Code/First Part of SWIFT Line 4 .recgrp.adrmaa.loczip
loctxt:"", // Textpart of City/Second Part of SWIFT Line 4 .recgrp.adrmaa.loctxt
loc2:"", // Optional Second Line of City .recgrp.adrmaa.loc2
pob:"", // Line with Postbox .recgrp.adrmaa.pob
pobzip:"", // ZIP Code Used when Addressing Postbox .recgrp.adrmaa.pobzip
pobtxt:"", // Textpart of City Used when Addressing Postbox .recgrp.adrmaa.pobtxt
loccty:"", // Country .recgrp.adrmaa.loccty
eml:"", // eMail/Internet .recgrp.adrmaa.eml
tel1:"", // Telephone 1 .recgrp.adrmaa.tel1
tel2:"", // Telephone 2 .recgrp.adrmaa.tel2
fax1:"", // Telefax 1 .recgrp.adrmaa.fax1
fax2:"", // Telefax 2 .recgrp.adrmaa.fax2
tlx:"", // Telex Number .recgrp.adrmaa.tlx
bic:"", // BIC of Address Optional .recgrp.adrmaa.bic
bid:"", // Branch Identification Used in Option B of SWIFT Fieldtags .recgrp.adrmaa.bid
tid:"", // TradeConnect ID .recgrp.adrmaa.tid
blz:"", // Bankleitzahl German Clearing Code .recgrp.adrmaa.blz
clc:"", // Clearing Code for Banks .recgrp.adrmaa.clc
uil:"", // Default Language Code .recgrp.adrmaa.uil
cortyp:"", // Primary Output Chanel of Messages SWT, LET, TLX, TCO .recgrp.adrmaa.cortyp
dpt:"", // Department .recgrp.adrmaa.dpt
adr1:"", // Chinese Address .recgrp.adrmaa.adr1
adr2:"", // .recgrp.adrmaa.adr2
adr3:"", // .recgrp.adrmaa.adr3
dtacid:"", // DTA Import L/C ID .recgrp.adrmaa.dtacid
dtecid:"", // DTA Export L/C ID .recgrp.adrmaa.dtecid
dtgcid:"", // DTA Guarantees ID .recgrp.adrmaa.dtgcid
discod:"", // 国内地区码 .recgrp.adrmaa.discod
adrelc:"", // 地址 .recgrp.adrmaa.adrelc
namelc:"", // 名称 .recgrp.adrmaa.namelc
},
hbk:{
extkey:"", // Address Number .recgrp.hbk.extkey
nam:"", // External Visible Name .recgrp.hbk.nam
},
heq:{
extkey:"", // Address Number .recgrp.heq.extkey
nam:"", // External Visible Name .recgrp.heq.nam
},
typh:"", // 海关 .recgrp.typh
ptamaa:{
issbchinf:"", // Info of bank .recgrp.ptamaa.issbchinf
},
ptyrat:{
cur:"", // Currency .recgrp.ptyrat.cur
buytyp:"", // Customer Specific Buying Rate Type .recgrp.ptyrat.buytyp
seltyp:"", // Customer Specific Selling Rate Type .recgrp.ptyrat.seltyp
buyrat:"", // Buy rate discount .recgrp.ptyrat.buyrat
selrat:"", // Sell rate discount .recgrp.ptyrat.selrat
},
},
recpan:{
recget:{
sdamod:{
seainf:"", // .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
hbkget:{
sdamod:{
seainf:"", // .recpan.hbkget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.hbkget.sdamod.dadsnd
},
},
heqget:{
sdamod:{
seainf:"", // .recpan.heqget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.heqget.sdamod.dadsnd
},
},
bchkey:"", // Branch Key .recpan.bchkey
idnam:"", // 名称 .recpan.idnam
selpct:"", // Percent .recpan.selpct
buypct:"", // Percent .recpan.buypct
ratstm:"", // Rate Stream .recpan.ratstm
ptyinf:{
labinftxt:"", // Label for INFTXT .recpan.ptyinf.labinftxt
oit:{
inftxt:"", // Infotext .recpan.ptyinf.oit.inftxt
inflev:"", // Infotext Level .recpan.ptyinf.oit.inflev
},
},
ptystp:{
labinftxt:"", // Label for INFTXT .recpan.ptystp.labinftxt
oit:{
inftxt:"", // Infotext .recpan.ptystp.oit.inftxt
inflev:"", // Infotext Level .recpan.ptystp.oit.inflev
},
},
actnum:"", // Total Number of Accounts .recpan.actnum
ptssub:{
oited2:{
labinftxt:"", // Label for INFTXT .recpan.ptssub.oited2.labinftxt
},
},
epty:{
ptynam:"", // 客户名称 .recpan.epty.ptynam
eptystream:"", // ECIF pty info .recpan.epty.eptystream
extkey:"", // 客户号 .recpan.epty.extkey
juscod:"", // 组织机构'码 .recpan.epty.juscod
whzno:"", // 外汇许可证号 .recpan.epty.whzno
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -118,6 +118,7 @@ import Gitcrq from "./Gitcrq"
import Ditdav from "./Ditdav"
import Infpty from "./Infpty"
import Dbipty from "./Dbipty"
/**
* 带有name的才会被添加进顶部的标签页里
......@@ -248,6 +249,7 @@ const BusRouter = [
{ path: 'ditdav', component: Ditdav, name: 'Ditdav', meta: { title: '信用证收单' } },
{ path: 'Infpty', component: Infpty, name: 'Infpty', meta: { title: 'Infpty' } },
{ path: 'Dbipty', component: Dbipty, name: 'Dbipty', meta: { title: 'Dbipty' } },
]
export default BusRouter
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Total Number of Accounts" prop="recpan.actnum">
<c-input v-model="model.recpan.actnum" placeholder="请输入Total Number of Accounts"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbipty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanDspadr">
Display
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanLnkdbmpty">
&Make Main
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbipty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.recpan.ptssub.oited2.labinftxt" data-path=".recpan.ptssub.oited2.labinftxt" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbipty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbipty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanLnkinfptm">
Info
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbipty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="客户号" prop="recpan.epty.extkey">
<c-input v-model="model.recpan.epty.extkey" maxlength="24" placeholder="请输入客户号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onEptyPtyget">
查询
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="组织机构'码" prop="recpan.epty.juscod">
<c-input v-model="model.recpan.epty.juscod" maxlength="10" placeholder="请输入组织机构'码"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="外汇许可证号" prop="recpan.epty.whzno">
<c-input v-model="model.recpan.epty.whzno" maxlength="50" placeholder="请输入外汇许可证号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="客户名称" prop="recpan.epty.ptynam">
<c-input v-model="model.recpan.epty.ptynam" maxlength="100" placeholder="请输入客户名称"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="ECIF pty info" prop="recpan.epty.eptystream">
<c-input v-model="model.recpan.epty.eptystream" placeholder="请输入ECIF pty info"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onEptyPtyext">
&Exit
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbipty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.recpan.ptyinf.labinftxt" data-path=".recpan.ptyinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="recpan.ptyinf.oit.inftxt">
<c-input type="textarea" v-model="model.recpan.ptyinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="recpan.ptyinf.oit.inflev">
<c-select v-model="model.recpan.ptyinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recpan.ptystp.labinftxt" data-path=".recpan.ptystp.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="recpan.ptystp.oit.inftxt">
<c-input type="textarea" v-model="model.recpan.ptystp.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="recpan.ptystp.oit.inflev">
<c-select v-model="model.recpan.ptystp.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbipty/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000000 -->
<el-tab-pane label="Party" name="ptyp0">
<m-ptyp0 :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000200 -->
<el-tab-pane label="Details" name="ptyp1">
<m-ptyp1 :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000700 -->
<el-tab-pane label="Info and Stoptext" name="ptytxt">
<m-ptytxt :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000044 -->
<el-tab-pane label="Accounts" name="actinf">
<m-actinf :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000038 -->
<el-tab-pane label="Contacts" name="ptcinf">
<m-ptcinf :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000369 -->
<el-tab-pane label="Additonal Addresses" name="addadrp">
<m-addadrp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000655 -->
<el-tab-pane label="Authentication of Address" name="ptmpan">
<m-ptmpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000701 -->
<el-tab-pane label="Further Info and Stoptext" name="oitp">
<m-oitp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000851 -->
<el-tab-pane label="ECIF客户信息" name="ptyp2">
<m-ptyp2 :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Dbipty from "~/model/Dbipty";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Dbipty/Check";
import Default from "~/model/Dbipty/Default";
import Pattern from "~/model/Dbipty/Pattern";
import Ptyp0 from "./Ptyp0";
import Ptyp1 from "./Ptyp1";
import Ptytxt from "./Ptytxt";
import Actinf from "./Actinf";
import Ptcinf from "./Ptcinf";
import Addadrp from "./Addadrp";
import Ptmpan from "./Ptmpan";
import Oitp from "./Oitp";
import Ptyp2 from "./Ptyp2";
export default {
name: "Dbipty",
components: {
"m-ptyp0": Ptyp0,
"m-ptyp1": Ptyp1,
"m-ptytxt": Ptytxt,
"m-actinf": Actinf,
"m-ptcinf": Ptcinf,
"m-addadrp": Addadrp,
"m-ptmpan": Ptmpan,
"m-oitp": Oitp,
"m-ptyp2": Ptyp2,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ptyp0",
trnName: "dbipty",
model: new Dbipty().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
};
},
methods: {
tabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入dbipty交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
......@@ -31,12 +31,12 @@
</c-fullbox>
</el-form-item>
<el-form-item label="组织机构码" prop="recgrp.rec.juscod">
<el-form-item label="组织机构码" prop="recgrp.rec.juscod">
<c-fullbox>
<c-input
v-model="model.recgrp.rec.juscod"
maxlength="10"
placeholder="请输入组织机构码"
placeholder="请输入组织机构码"
></c-input>
<template slot="footer">
<c-checkbox v-model="model.recgrp.rec.dshflg"
......
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