Commit 0f734a29 by nanrui

infbcd初始化及infbod优化

parent 879f86e9
......@@ -57,6 +57,7 @@ export default class Infbcd{
diadatto:"", // date till .infcon.diadatto
diasta:"", // Status .infcon.diasta
diastm:"", // stream for diaries to selected contract .infcon.diastm
objinr:""
},
seadoctypcod:"", // Payment Condition .seadoctypcod
infbut:{
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Fee Code" prop="infcon.fepfeecod">
<c-select v-model="model.infcon.fepfeecod" style="width:100%" placeholder="请选择Fee Code">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Disposition" prop="infcon.fepdsp">
<c-select v-model="model.infcon.fepdsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream for FEPs to selected contract" prop="infcon.fepstm">
<c-input v-model="model.infcon.fepstm" placeholder="请输入stream for FEPs to selected contract"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.feptxtlbl" data-path=".infcon.feptxtlbl" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Disposition" prop="infcon.fcpdsp">
<c-select v-model="model.infcon.fcpdsp" style="width:100%" placeholder="请选择Disposition">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="stream of foreign charges" prop="infcon.fcpstm">
<c-input v-model="model.infcon.fcpstm" placeholder="请输入stream of foreign charges"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.infcon.fcptxtlbl" data-path=".infcon.fcptxtlbl" > </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/Infbcd/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-checkbox v-model="model.infcon.setflg">show temporary settlement that already settled</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.infcon.sepdelflg">show temporary settlement that already deleted</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="stream of SEPs" prop="infcon.sepstm">
<c-input v-model="model.infcon.sepstm" placeholder="请输入stream of SEPs"></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/Infbcd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -9,11 +9,11 @@
<c-checkbox v-model="model.infcon.chktrnsta">only active transactions</c-checkbox>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="stream for TRN to selected contract" prop="infcon.trnstm">
<c-input v-model="model.infcon.trnstm" placeholder="请输入stream for TRN to selected contract"></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onInfconButshw">
......
<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">
<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">
<!--PD000006 -->
<el-tab-pane label="Selection" name="infsea">
<m-infsea :model="model" :codes="codes"/>
<el-tab-pane label="infsea" name="infsea">
<m-infsea :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000201 -->
<el-tab-pane label="shpdet" name="shpdet">
<m-shpdet :model="model" :codes="codes"/>
<m-shpdet :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000260 -->
<el-tab-pane label="ptyp" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000291 -->
<el-tab-pane label="insttco" name="insttco">
<m-insttco :model="model" :codes="codes"/>
<m-insttco :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="cbsinfp" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
<m-cbsinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane label="smhinfp" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
<m-smhinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000185 -->
<el-tab-pane label="ordpan" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
<m-ordpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane label="cbeinfp" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
<m-cbeinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="liainfp" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
<m-liainfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="cmt100pel" name="cmt100pel">
<m-cmt100pel :model="model" :codes="codes"/>
<m-cmt100pel :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="fecp" name="fecp">
<m-fecp :model="model" :codes="codes"/>
<m-fecp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane label="difstm" name="difstm">
<m-difstm :model="model" :codes="codes"/>
<m-difstm :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="gleinfp" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
<m-gleinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="trnpan" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
<m-trnpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="peninfp" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
<m-peninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="coninfp" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000003 -->
<el-tab-pane label="PD000003" name="infconp">
<m-infconp :model="model" :codes="codes"/>
<m-infconp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="PD000018" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane> </c-tabs>
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
......@@ -124,35 +126,36 @@ import Infconp from "./Infconp"
import Detp from "./Detp"
export default {
name: "Infbcd",
components:{
"m-infsea" : Infsea,
"m-prtpan" : Prtpan,
"m-shpdet" : Shpdet,
"m-ptyp" : Ptyp,
"m-insttco" : Insttco,
"m-cbsinfp" : Cbsinfp,
"m-smhinfp" : Smhinfp,
"m-ordpan" : Ordpan,
"m-cbeinfp" : Cbeinfp,
"m-liainfp" : Liainfp,
"m-cmt100pel" : Cmt100pel,
"m-fecp" : Fecp,
"m-difstm" : Difstm,
"m-docedip" : Docedip,
"m-prtpan" : Prtpan,
"m-gleinfp" : Gleinfp,
"m-trnpan" : Trnpan,
"m-peninfp" : Peninfp,
"m-coninfp" : Coninfp,
"m-infconp" : Infconp,
"m-detp" : Detp, },
components: {
"m-infsea": Infsea,
"m-prtpan": Prtpan,
"m-shpdet": Shpdet,
"m-ptyp": Ptyp,
"m-insttco": Insttco,
"m-cbsinfp": Cbsinfp,
"m-smhinfp": Smhinfp,
"m-ordpan": Ordpan,
"m-cbeinfp": Cbeinfp,
"m-liainfp": Liainfp,
"m-cmt100pel": Cmt100pel,
"m-fecp": Fecp,
"m-difstm": Difstm,
"m-docedip": Docedip,
"m-prtpan": Prtpan,
"m-gleinfp": Gleinfp,
"m-trnpan": Trnpan,
"m-peninfp": Peninfp,
"m-coninfp": Coninfp,
"m-infconp": Infconp,
"m-detp": Detp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "infsea",
trnName: "infbcd",
......@@ -162,28 +165,26 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
tabClick(){
methods: {
tabClick() {
}
},
created:async function(){
created: async function () {
console.log("进入infbcd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button style="margin-left:7px;" size="medium" type="primary" class="medium_bcs" v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litsel from "~/model/Ditsel"
import commonProcess from "~/mixin/commonProcess"
export default {
props:["ownref"],
components:{
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
trnName:'ditsel',
model:new Litsel().data,
navcode:[
// {code:"",label:"",isDis:"",title:""},
],
}
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.navcode = []
this.$emit("onChoose",code.toLowerCase());
}else{
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
computed:{
codeList(){
//将model中的数据映射成数组
return this.navcode.map(item=>{
let entireItem = {...item}
this.navcode = [];
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
return entireItem
})
}
},
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
// onTigger()
return;
}
}
},
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
this.navcode = []
//请求按钮数据
this.model.didgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("didgrp.rec.ownref");//didgrp_rec_ownref
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode = []
this.updateModel(rtnmsg.data)
//this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
//this.model.didgrp.rec.inr = rtnmsg.data.didgrp_rec_inr
const length = this.model.cfgfil.btnstm.rows.length
let btnStr = this.model.cfgfil.btnstm.rows
let j = 0;
let m = 0;
const buttonIndex = ['信用证修改','减额修改接受','到单','修改通知行']
for(let i=0; i < length; i++){
//获取数组中每行的数据
if(!( btnStr[i].indexOf("保证金") >= 0) && !(btnStr[i].indexOf("开立信用证") >= 0)){
let arr = btnStr[i].split("\t");
let newList = {
code:arr[0],
label:arr[1],
isDis:arr[2],
title:arr[3]
}
m++;
j = buttonIndex.indexOf(arr[1].replace(/(^\s*)|(\s*$)/g, ""));
if(j<0){
j = m;
}
//添加到navcode数组中
this.navcode.splice(j,0,newList)
}
}
}else{
this.navcode = []
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
})
})
}
}
</script>
<style>
</style>
......@@ -41,14 +41,22 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Release Status" prop="infcon.relflg" style="width: 100%">
<!-- <c-select v-model="model.infcon.relflg" style="width: 100%" placeholder="请选择Release Status">
</c-select> -->
<c-select v-model="model.infcon.relflg" style="width: 100%" placeholder="请选择Release Status">
<el-option v-for="item in codes.relflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Handling Type" prop="infcon.hndtyp" style="width: 100%">
<!-- <c-select v-model="model.infcon.hndtyp" style="width: 100%" placeholder="请选择Handling Type">
</c-select> -->
<c-select v-model="model.infcon.hndtyp" style="width: 100%" placeholder="请选择Handling Type">
<el-option v-for="item in codes.hndtyp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -77,7 +85,11 @@
<c-col :span="8">
<el-form-item label="Role" prop="infcon.searol" style="width: 100%">
<c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择Role">
<!-- <c-select v-model="model.infcon.searol" style="width: 100%" placeholder="请选择Role">
</c-select> -->
<c-select v-model="model.infcon.payrol" style="width: 100%" placeholder="请选择Role">
<el-option v-for="item in codes.payrol" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -98,7 +110,11 @@
<c-col :span="8">
<el-form-item label="Status" prop="infcon.seasta" style="width: 100%">
<!-- <c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择Status">
</c-select> -->
<c-select v-model="model.infcon.seasta" style="width: 100%" placeholder="请选择Status">
<el-option v-for="item in codes.seasta" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -106,15 +122,21 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Currency" prop="infcon.seacur" style="width: 100%">
<c-select v-model="model.infcon.seacur" style="width: 100%" placeholder="请选择Currency">
<el-form-item label="Currency" prop="infcon.curtxt1" style="width: 100%">
<c-select v-model="model.infcon.curtxt1" style="width: 100%" placeholder="请选择Currency">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="是否显示查询码" prop="infcon.cxmflg" style="width: 100%">
<!-- <c-select v-model="model.infcon.cxmflg" style="width: 100%" placeholder="请选择是否显示查询码">
</c-select> -->
<c-select v-model="model.infcon.cxmflg" style="width: 100%" placeholder="请选择是否显示查询码">
<el-option v-for="item in codes.cxmflg" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -144,11 +166,6 @@
</el-form>
</template>
</c-list-search>
<!-- <c-col :span="2">
<c-button size="small" type="primary" @click="onInfbutDsp" class="btn">
Display
......@@ -183,7 +200,11 @@
<c-col :span="8" style="margin-top:15px">
<el-form-item label="Payment Condition" prop="seadoctypcod" style="width: 100%">
<c-select v-model="model.seadoctypcod" style="width: 100%" placeholder="请选择Payment Condition">
<!-- <c-select v-model="model.seadoctypcod" style="width: 100%" placeholder="请选择Payment Condition">
</c-select> -->
<c-select v-model="model.infcon.seadoctypcod" style="width: 100%" placeholder="请选择Payment Condition">
<el-option v-for="item in codes.seadoctypcod" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -226,7 +247,7 @@
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns">
<m-busbtn ref="childs" :ownref="ownref" :model="infbodModel" trnCode="infbod" @onChoose="onChoose">11</m-busbtn>
<m-busbtn ref="childs" :ownref="ownref" :model="botselModel" trnCode="botsel" @onChoose="onChoose">11</m-busbtn>
</div>
</el-dialog>
</div>
......@@ -238,8 +259,8 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infbod/Event";
import InfbodModel from "~/model/Infbod"
import BusNavbar from "~/BusNavbar.vue";
import BotselModel from "~/model/Botsel"
import BusNavbar from "~/views/Public/BusNavbar";
export default {
inject: ["root"],
......@@ -248,7 +269,7 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
infbodModel: new InfbodModel().data,
botselModel: new BotselModel().data,
ownref: "",
initdialog: false,
dialogTableVisible: false,
......
<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">
<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="myTabClick">
<!--PD000006 -->
<el-tab-pane label="infsea" name="infsea">
<m-infsea :model="model" :codes="codes"/>
<m-infsea :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000262 -->
<el-tab-pane label="ovwp" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000266 -->
<el-tab-pane label="ptyp" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
<m-ptyp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000280 -->
<el-tab-pane label="instrecp" name="instrecp">
<m-instrecp :model="model" :codes="codes"/>
<m-instrecp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000049 -->
<el-tab-pane label="inst" name="inst">
<m-inst :model="model" :codes="codes"/>
<m-inst :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="coninfp" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000013 -->
<el-tab-pane label="trnpan" name="trnpan">
<m-trnpan :model="model" :codes="codes"/>
<m-trnpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000019 -->
<el-tab-pane label="cbsinfp" name="cbsinfp">
<m-cbsinfp :model="model" :codes="codes"/>
<m-cbsinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000028 -->
<el-tab-pane label="cbeinfp" name="cbeinfp">
<m-cbeinfp :model="model" :codes="codes"/>
<m-cbeinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000111 -->
<el-tab-pane label="fepinfp" name="fepinfp">
<m-fepinfp :model="model" :codes="codes"/>
<m-fepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000162 -->
<el-tab-pane label="sepinfp" name="sepinfp">
<m-sepinfp :model="model" :codes="codes"/>
<m-sepinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000177 -->
<el-tab-pane label="gleinfp" name="gleinfp">
<m-gleinfp :model="model" :codes="codes"/>
<m-gleinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000119 -->
<el-tab-pane label="smhinfp" name="smhinfp">
<m-smhinfp :model="model" :codes="codes"/>
<m-smhinfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000130 -->
<el-tab-pane label="peninfp" name="peninfp">
<m-peninfp :model="model" :codes="codes"/>
<m-peninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000147 -->
<el-tab-pane label="liainfp" name="liainfp">
<m-liainfp :model="model" :codes="codes"/>
<m-liainfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000005 -->
<el-tab-pane label="prtpan" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
<m-prtpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000185 -->
<el-tab-pane label="ordpan" name="ordpan">
<m-ordpan :model="model" :codes="codes"/>
<m-ordpan :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 Infbod from "~/model/Infbod"
......@@ -120,24 +122,24 @@ import Ordpan from "./Ordpan"
export default {
name: "Infbod",
components:{
"m-infsea" : Infsea,
"m-ovwp" : Ovwp,
"m-ptyp" : Ptyp,
"m-instrecp" : Instrecp,
"m-inst" : Inst,
"m-coninfp" : Coninfp,
"m-trnpan" : Trnpan,
"m-cbsinfp" : Cbsinfp,
"m-cbeinfp" : Cbeinfp,
"m-fepinfp" : Fepinfp,
"m-sepinfp" : Sepinfp,
"m-gleinfp" : Gleinfp,
"m-smhinfp" : Smhinfp,
"m-peninfp" : Peninfp,
"m-liainfp" : Liainfp,
"m-prtpan" : Prtpan,
"m-ordpan" : Ordpan,
components: {
"m-infsea": Infsea,
"m-ovwp": Ovwp,
"m-ptyp": Ptyp,
"m-instrecp": Instrecp,
"m-inst": Inst,
"m-coninfp": Coninfp,
"m-trnpan": Trnpan,
"m-cbsinfp": Cbsinfp,
"m-cbeinfp": Cbeinfp,
"m-fepinfp": Fepinfp,
"m-sepinfp": Sepinfp,
"m-gleinfp": Gleinfp,
"m-smhinfp": Smhinfp,
"m-peninfp": Peninfp,
"m-liainfp": Liainfp,
"m-prtpan": Prtpan,
"m-ordpan": Ordpan,
},
provide() {
return {
......@@ -145,7 +147,7 @@ export default {
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "infsea",
trnName: "infbod",
......@@ -155,33 +157,31 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
myTabClick(tab){
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
created: async function () {
console.log("进入infbod交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
// TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
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