Commit 25cd9e4a by 李少勇

oftopn和oftsel交易排版

parent c5cb29d9
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.oftp, this.buildPtspta);
return {
rec: {
objtyp: "PFT",
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
};
},
},
};
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
export default {
mixins: [commonFunctions],
methods: {
async getOwnref() {
}
}
}
\ No newline at end of file
import Utils from "~/utils" export default {
"oftp.rel.rsptims": [
/** { type: "date", required: false, message: "输入正确的日期" }
* Oftopn Check规则 ],
*/ "oftp.rel.rsptime": [
let checkObj = { { type: "date", required: false, message: "输入正确的日期" }
"oftp.rel.ref" :null, ],
"oftp.rel.relref" :null,
"oftp.rel.msgtyp" :null,
"oftp.rel.sedbak" :null,
"oftp.rel.revbak" :null,
"oftp.rel.actbic" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
"oftp.rel.sedbak": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.revbak": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.actbic": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.amtd": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.amtu": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.relref": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
}
\ No newline at end of file
/**
* Oftopn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onRelSer(){
let rtnmsg = await this.executeRule("rel.ser")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRelRes(){
let rtnmsg = await this.executeRule("rel.res")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"oftp.rel.rsptims":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.rel.rsptime":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.rel.sedbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.revbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.actbic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.amtd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.amtu":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.ref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.relref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
export default class Oftopn{ export default class Oftopn {
constructor () { constructor() {
this.data = { this.data = {
oftp:{ oftp: {
rel:{ rel: {
ref:"", // : .oftp.rel.ref ref: "", // : .oftp.rel.ref
relref:"", // : .oftp.rel.relref relref: "", // : .oftp.rel.relref
dcflg:"", // : .oftp.rel.dcflg dcflg: "", // : .oftp.rel.dcflg
amtu:"", // : .oftp.rel.amtu amtu: "", // : .oftp.rel.amtu
amtd:"", // : .oftp.rel.amtd amtd: "", // : .oftp.rel.amtd
mty:"", // : .oftp.rel.mty mty: "", // : .oftp.rel.mty
rsptims:"", // : .oftp.rel.rsptims rsptims: "", // : .oftp.rel.rsptims
rsptime:"", // : .oftp.rel.rsptime rsptime: "", // : .oftp.rel.rsptime
sedbak:"", // : .oftp.rel.sedbak sedbak: "", // : .oftp.rel.sedbak
revbak:"", // : .oftp.rel.revbak revbak: "", // : .oftp.rel.revbak
actbic:"", // : .oftp.rel.actbic actbic: "", // : .oftp.rel.actbic
cur:"", // : .oftp.rel.cur cur: "", // : .oftp.rel.cur
msgtyp:"", // : .oftp.rel.msgtyp msgtyp: "", // : .oftp.rel.msgtyp
}, },
stm2:"", // 导出 .oftp.stm2 stm2: "", // 导出 .oftp.stm2
}, },
oftgrp:{ oftgrp: {
dotrel:{ dotrel: {
lst:[], // .oftgrp.dotrel.lst lst: [], // .oftgrp.dotrel.lst
}, },
}, },
pageId: "" // ctx的key
}
} }
}
} }
\ No newline at end of file
<template> <template>
<div class="eContainer"> <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-page title="待关联报文处理">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<!--oftp PD000700 人工关联页面oftopn --> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane :label="$t('oftp.PD000700')" name="oftp13"> <!--oftp PD000700 人工关联页面oftopn -->
<m-oftp13 :model="model" :codes="codes"/> <el-tab-pane :label="$t('oftp.人工关联页面')" name="oftp13">
</el-tab-pane> <m-oftp13 :model="model" :codes="codes" />
</c-tabs> </el-tab-pane>
</el-form> </c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Oftopn from "../model" import Oftopn from "../model"
import commonProcess from "~/mixin/commonProcess" import Check from "../model/check"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Oftp13 from "./Oftp13" import Oftp13 from "./Oftp13"
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
export default { export default {
name: "Oftopn", name: "Oftopn",
components:{ components: {
"m-oftp13" : Oftp13, "m-oftp13": Oftp13,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [operationFunc, commonDepend, event, buildFn],
data(){ data() {
return { return {
tabVal: "oftp13", tabVal: "oftp13",
trnName: "oftopn", trnName: "oftopn",
trnType: "", trnType: "",
model: new Oftopn().data, model: new Oftopn().data,
checkRules: Check, rules: Check,
defaultRules: Default, codes: {
pattern: Pattern, kpatyp: CodeTable.kpatyp,
rules: null, cur: CodeTable.cur,
codes: { sdcflg: CodeTable.sdcflg,
kpatyp:CodeTable.kpatyp, gpicod: CodeTable.gpicod,
cur:CodeTable.cur, offtyp: CodeTable.offtyp,
sdcflg:CodeTable.sdcflg, fmssta: CodeTable.fmssta,
gpicod:CodeTable.gpicod, clrsys: CodeTable.clrsys,
offtyp:CodeTable.offtyp, stacod: CodeTable.stacod,
fmssta:CodeTable.fmssta, dottyp: CodeTable.dottyp,
clrsys:CodeTable.clrsys, recsta: CodeTable.recsta,
stacod:CodeTable.stacod, bnksta: CodeTable.bnksta,
dottyp:CodeTable.dottyp, gpista: CodeTable.gpista,
recsta:CodeTable.recsta, kpadir: CodeTable.kpadir,
bnksta:CodeTable.bnksta, area: CodeTable.area,
gpista:CodeTable.gpista, cpsfxdtyp: CodeTable.cpsfxdtyp,
kpadir:CodeTable.kpadir, rspsta: CodeTable.rspsta,
area:CodeTable.area, sta: CodeTable.sta,
cpsfxdtyp:CodeTable.cpsfxdtyp, actsta: CodeTable.actsta,
rspsta:CodeTable.rspsta, offsta: CodeTable.offsta,
sta:CodeTable.sta, batcharge: CodeTable.batcharge,
actsta:CodeTable.actsta, msgmst: CodeTable.msgmst,
offsta:CodeTable.offsta, yosflg: CodeTable.yosflg,
batcharge:CodeTable.batcharge, filtyp: CodeTable.filtyp,
msgmst:CodeTable.msgmst, dircod: CodeTable.dircod,
yosflg:CodeTable.yosflg, kpstyp: CodeTable.kpstyp,
filtyp:CodeTable.filtyp, allmsgcod: CodeTable.allmsgcod,
dircod:CodeTable.dircod, dcflg: CodeTable.dcflg,
kpstyp:CodeTable.kpstyp, msgtyp: CodeTable.msgtyp,
allmsgcod:CodeTable.allmsgcod, chncod: CodeTable.chncod,
dcflg:CodeTable.dcflg, msgsta: CodeTable.msgsta,
msgtyp:CodeTable.msgtyp, usratr: CodeTable.usratr,
chncod:CodeTable.chncod, msgchksta: CodeTable.msgchksta,
msgsta:CodeTable.msgsta, setmth: CodeTable.setmth,
usratr:CodeTable.usratr, chniptcod: CodeTable.chniptcod,
msgchksta:CodeTable.msgchksta, dtlchg: CodeTable.dtlchg,
setmth:CodeTable.setmth, },
chniptcod:CodeTable.chniptcod,
dtlchg:CodeTable.dtlchg,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入oftopn交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
}
},
created: async function () {
console.log("进入oftopn交易");
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
} }
</script> </script>
<style> <style></style>
</style>
import Utils from "~/utils";
export default {
methods: {
buildPtspta(ptsptaObj) {
let pts = ptsptaObj.pts;
return {
rol: pts.rol,
name: pts.nam,
ptyinr: pts.ptyinr,
ptainr: pts.ptainr,
extkey: pts.extkey,
dftdsp: pts.dftdsp,
dftcur: pts.dftcur,
dftact: pts.dftact,
dftfeecur: pts.dftfeecur,
dftactptainr: pts.dftactptainr,
glggrpflg: pts.glggrpflg,
adrblk: pts.adrblk,
pts,
};
},
buildCommonData(model, trnName) {
let ptsptaList = Utils.formatPtspta(model.oftp, this.buildPtspta);
return {
rec: {
objtyp: "PFT",
},
ptsList: ptsptaList,
transName: trnName,
userId: window.sessionStorage.userId ? window.sessionStorage.userId : "ZL",
};
},
},
};
import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api';
export default {
mixins: [commonFunctions],
methods: {
async getOwnref() {
}
}
}
\ No newline at end of file
import Utils from "~/utils" export default {
/** "oftp.rel.rsptims": [
* Oftsel Check规则 { type: "date", required: false, message: "输入正确的日期" }
*/ ],
let checkObj = { "oftp.rel.rsptime": [
"oftp.rel.ref" :null, { type: "date", required: false, message: "输入正确的日期" }
"oftp.rel.relref" :null, ],
"oftp.rel.msgtyp" :null,
"oftp.rel.sedbak" :null,
"oftp.rel.revbak" :null,
"oftp.rel.actbic" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
"oftp.rel.sedbak": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.revbak": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.actbic": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.amtd": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.amtu": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
"oftp.rel.relref": [
{ type: "string", required: false, message: "必输项" },
{ max: 0, message: "长度不能超过0" }
],
}
\ No newline at end of file
/**
* Oftsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onRelSer(){
let rtnmsg = await this.executeRule("rel.ser")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRelRes(){
let rtnmsg = await this.executeRule("rel.res")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"oftp.rel.rsptims":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.rel.rsptime":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.rel.sedbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.revbak":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.actbic":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.amtd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.amtu":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.rel.ref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.rel.relref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
export default class Oftsel{ export default class Oftsel {
constructor () { constructor() {
this.data = { this.data = {
oftp:{ oftp: {
stm2:"", // 导出 .oftp.stm2 stm2: "", // 导出 .oftp.stm2
rel:{ rel: {
ref:"", // : .oftp.rel.ref ref: "", // : .oftp.rel.ref
relref:"", // : .oftp.rel.relref relref: "", // : .oftp.rel.relref
dcflg:"", // : .oftp.rel.dcflg dcflg: "", // : .oftp.rel.dcflg
amtu:"", // : .oftp.rel.amtu amtu: "", // : .oftp.rel.amtu
amtd:"", // : .oftp.rel.amtd amtd: "", // : .oftp.rel.amtd
mty:"", // : .oftp.rel.mty mty: "", // : .oftp.rel.mty
rsptims:"", // : .oftp.rel.rsptims rsptims: "", // : .oftp.rel.rsptims
rsptime:"", // : .oftp.rel.rsptime rsptime: "", // : .oftp.rel.rsptime
sedbak:"", // : .oftp.rel.sedbak sedbak: "", // : .oftp.rel.sedbak
revbak:"", // : .oftp.rel.revbak revbak: "", // : .oftp.rel.revbak
actbic:"", // : .oftp.rel.actbic actbic: "", // : .oftp.rel.actbic
cur:"", // : .oftp.rel.cur cur: "", // : .oftp.rel.cur
msgtyp:"", // : .oftp.rel.msgtyp msgtyp: "", // : .oftp.rel.msgtyp
}, },
}, },
oftgrp:{ oftgrp: {
dotrel:{ dotrel: {
lst:[], // .oftgrp.dotrel.lst lst: [], // .oftgrp.dotrel.lst
}, },
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
}
} }
}
} }
\ No newline at end of file
<template> <template>
<div class="eContainer"> <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-page title="已关联报文查询">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
<!--oftp PD001804 已关联报文查询面板 --> :validate-on-rule-change="false">
<el-tab-pane :label="$t('oftp.PD001804')" name="oftp01"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<m-oftp01 :model="model" :codes="codes"/> <!--oftp PD001804 已关联报文查询面板 -->
</el-tab-pane> <el-tab-pane :label="$t('oftp.已关联报文查询面板')" name="oftp01">
</c-tabs> <m-oftp01 :model="model" :codes="codes" />
</el-form> </el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Oftsel from "../model" import Oftsel from "../model"
import commonProcess from "~/mixin/commonProcess" import Check from "../model/check"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Oftp01 from "./Oftp01" import Oftp01 from "./Oftp01"
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
export default { export default {
name: "Oftsel", name: "Oftsel",
components:{ components: {
"m-oftp01" : Oftp01, "m-oftp01": Oftp01,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [operationFunc, commonDepend, event, buildFn],
data(){ data() {
return { return {
tabVal: "oftp01", tabVal: "oftp01",
trnName: "oftsel", trnName: "oftsel",
trnType: "", trnType: "",
model: new Oftsel().data, model: new Oftsel().data,
checkRules: Check, rules: Check,
defaultRules: Default, codes: {
pattern: Pattern, kpatyp: CodeTable.kpatyp,
rules: null, cur: CodeTable.cur,
codes: { sdcflg: CodeTable.sdcflg,
kpatyp:CodeTable.kpatyp, gpicod: CodeTable.gpicod,
cur:CodeTable.cur, offtyp: CodeTable.offtyp,
sdcflg:CodeTable.sdcflg, fmssta: CodeTable.fmssta,
gpicod:CodeTable.gpicod, clrsys: CodeTable.clrsys,
offtyp:CodeTable.offtyp, stacod: CodeTable.stacod,
fmssta:CodeTable.fmssta, dottyp: CodeTable.dottyp,
clrsys:CodeTable.clrsys, recsta: CodeTable.recsta,
stacod:CodeTable.stacod, bnksta: CodeTable.bnksta,
dottyp:CodeTable.dottyp, gpista: CodeTable.gpista,
recsta:CodeTable.recsta, kpadir: CodeTable.kpadir,
bnksta:CodeTable.bnksta, area: CodeTable.area,
gpista:CodeTable.gpista, cpsfxdtyp: CodeTable.cpsfxdtyp,
kpadir:CodeTable.kpadir, rspsta: CodeTable.rspsta,
area:CodeTable.area, sta: CodeTable.sta,
cpsfxdtyp:CodeTable.cpsfxdtyp, actsta: CodeTable.actsta,
rspsta:CodeTable.rspsta, offsta: CodeTable.offsta,
sta:CodeTable.sta, batcharge: CodeTable.batcharge,
actsta:CodeTable.actsta, msgmst: CodeTable.msgmst,
offsta:CodeTable.offsta, yosflg: CodeTable.yosflg,
batcharge:CodeTable.batcharge, filtyp: CodeTable.filtyp,
msgmst:CodeTable.msgmst, dircod: CodeTable.dircod,
yosflg:CodeTable.yosflg, kpstyp: CodeTable.kpstyp,
filtyp:CodeTable.filtyp, allmsgcod: CodeTable.allmsgcod,
dircod:CodeTable.dircod, dcflg: CodeTable.dcflg,
kpstyp:CodeTable.kpstyp, msgtyp: CodeTable.msgtyp,
allmsgcod:CodeTable.allmsgcod, chncod: CodeTable.chncod,
dcflg:CodeTable.dcflg, msgsta: CodeTable.msgsta,
msgtyp:CodeTable.msgtyp, usratr: CodeTable.usratr,
chncod:CodeTable.chncod, msgchksta: CodeTable.msgchksta,
msgsta:CodeTable.msgsta, setmth: CodeTable.setmth,
usratr:CodeTable.usratr, chniptcod: CodeTable.chniptcod,
msgchksta:CodeTable.msgchksta, dtlchg: CodeTable.dtlchg,
setmth:CodeTable.setmth, },
chniptcod:CodeTable.chniptcod,
dtlchg:CodeTable.dtlchg,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入oftsel交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
}
},
created: async function () {
console.log("进入oftsel交易");
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
} }
</script> </script>
<style> <style></style>
</style>
...@@ -43,7 +43,7 @@ import operationFunc from "~/mixin/operationFunc"; ...@@ -43,7 +43,7 @@ import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend"; import commonDepend from "~/mixin/commonDepend";
import event from "../event"; import event from "../event";
import buildFn from "../event/buildCommons.js"; import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js"; import Check from "../model/check.js";
export default { export default {
name: "Fxtssb", name: "Fxtssb",
components: { components: {
......
...@@ -43,7 +43,7 @@ import Docpan from "~/components/business/docpan/views"; ...@@ -43,7 +43,7 @@ import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc"; import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend"; import commonDepend from "~/mixin/commonDepend";
import event from "../event"; import event from "../event";
import Check from "../model/Check.js"; import Check from "../model/check.js";
import buildFn from "../event/buildCommons.js"; import buildFn from "../event/buildCommons.js";
export default { export default {
name: "Fxtsss", name: "Fxtsss",
......
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