Commit 6a26c9ef by zhengxiaokui

letsel

parent b2e06c41
import Utils from "~/utils"
/**
* Letsel Check规则
*/
let checkObj = {
"bedget.sdamod.dadsnd" :null,
"recget.sdamod.dadsnd" :null,
"bpdget.sdamod.dadsnd" :null,
"trdget.sdamod.dadsnd" :null,
"fpdget.sdamod.dadsnd" :null,
"btdget.sdamod.dadsnd" :null,
"ltdget.sdamod.dadsnd" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Letsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"trpnttyp" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"sptpenltbt" :Utils.defaultFunction,
"sptpenltbt_descr" :Utils.defaultFunction,
"bppnttyp" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"trnpenltbt" :Utils.defaultFunction,
"trnpenltbt_descr" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"ltdgrp.adt.pts.nam" :Utils.defaultFunction,
"fpdgrp.inv.pts.nam" :Utils.defaultFunction,
"bpdgrp.fia.pts.nam" :Utils.defaultFunction,
"ledgrp.ben.pts.nam" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"ltdgrp.be1.pts.nam" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtrn1" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.avt.pts.nam" :Utils.defaultFunction,
"sptpentrbp" :Utils.defaultFunction,
"sptpentrbp_descr" :Utils.defaultFunction,
"ledgrp.iss.pts.nam" :Utils.defaultFunction,
"fpdgrp.rec.opndat" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"bpdgrp.rec.fintyp" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction,
"ledgrp.rec.revflg" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction,
"cfgfil.subtrn9" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction,
"cfgfil.subtrn8" :Utils.defaultFunction,
"cfgfil.subtxt8" :Utils.defaultFunction,
"cfgfil.subtrn7" :Utils.defaultFunction,
"cfgfil.subtxt7" :Utils.defaultFunction,
"cfgfil.subtrn6" :Utils.defaultFunction,
"cfgfil.subtxt6" :Utils.defaultFunction,
"cfgfil.subtrn5" :Utils.defaultFunction,
"cfgfil.subtxt5" :Utils.defaultFunction,
"cfgfil.subtrn4" :Utils.defaultFunction,
"cfgfil.subtxt4" :Utils.defaultFunction,
"cfgfil.subtrn3" :Utils.defaultFunction,
"cfgfil.subtxt3" :Utils.defaultFunction,
"cfgfil.subtrn2" :Utils.defaultFunction,
"cfgfil.subtxt2" :Utils.defaultFunction,
"fpdgrp.rec.ownref" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"fpdgrp.sel.pts.nam" :Utils.defaultFunction,
"trnpentrbp_descr" :Utils.defaultFunction,
"trnpentrbp" :Utils.defaultFunction,
"ltdgrp.be2.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
......@@ -12,6 +12,8 @@ import Tstopn from "./Tstopn"
import Bdtudp from "./Bdtudp"
import Trndtl from "./Trnrel/Trndtl"
import Infpta from "./Infpta"
import Letsel from "./Letsel"
import Letopn from "./Letopn"
import Letame from "./Letame"
import Letrsv from './Letrsv'
......@@ -35,7 +37,7 @@ import Litdav from "./Litdav"
import Litdck from "./Litdck"
import Inflid from "./Inflid"
import Inftrd from "./Inftrd"
import Trtame from "./Trtame"
import Trtame from "./Trtame"
// import Infdet from "./Infdet"
/**
......@@ -58,6 +60,7 @@ const BusRouter = [
{ path: 'trndtl', query: 'inr', component: Trndtl, name: 'Trndtl', meta: { title: 'Trndtl' } },
{ path: 'tstopn', component: Tstopn, name: 'Tstopn', meta: { title: 'Tstopn' } },
{ path: 'infpta', component: Infpta, name: 'Infpta', meta: { title: 'Infpta' } },
{ path: 'letsel', component: Letsel, name: 'Letsel', meta: { title: '出口信用证通知' } },
{ path: 'letopn', component: Letopn, name: 'Letopn', meta: { title: '出口信用证通知' } },
{ path: 'letame', component: Letame, name: 'Letame', meta: { title: '出口信用证修改' } },
{ path: 'letrsv', component: Letrsv, name: 'Letrsv', meta: { title: '出口信用证补通知' } },
......@@ -73,15 +76,15 @@ const BusRouter = [
{ path: 'bctacc', component: Bctacc, name: 'Bctacc', meta: { title: 'Bctacc' } },
{ path: 'infcur', component: Infcur, name: 'Infcur', meta: { title: 'Infcur' } },
{ path: 'infbed', component: Infcur, name: 'Infbed', meta: { title: 'Infbed' } },
//光大添加
{ path: 'brtlat', component: Brtlat },
{ path: 'litopn', component: Litopn },
{ path: 'litcan', component:Litcan},
{ path: 'litdav', component:Litdav},
{ path: 'litdck', component:Litdck},
{ path: 'inflid', component:Inflid},
{ path: 'inftrd', component:Inftrd},
{path:'trtame',component:Trtame},
//光大添加
{ path: 'brtlat', component: Brtlat },
{ path: 'litopn', component: Litopn },
{ path: 'litcan', component: Litcan },
{ path: 'litdav', component: Litdav },
{ path: 'litdck', component: Litdck },
{ path: 'inflid', component: Inflid },
{ path: 'inftrd', component: Inftrd },
{ path: 'trtame', component: Trtame },
// { path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: 'Infdet' } },
]
export default BusRouter
\ No newline at end of file
<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">
<!--PD000035 -->
<el-tab-pane label="PD000035" name="sel">
<m-sel :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 Letsel from "~/model/Letsel"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Letsel/Check"
import Default from "~/model/Letsel/Default"
import Pattern from "~/model/Letsel/Pattern"
import Sel from "./Sel"
export default {
name: "Letsel",
components:{
"m-sel" : Sel,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "letsel",
model: new Letsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入letsel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
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