Commit 155e81d0 by zhaoqian

提交crtcbk、crtctf交易

parents d2e80ed8 0ef851dd
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.crdgrp, this.buildPtspta);
return {
rec: {
objtyp: "CRD",
},
cbsMap: {
},
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: {
}
}
\ No newline at end of file
export default {
"crtp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.recget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"crdgrp.snd.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"crtp.usr.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 8, message: "长度不能超过8" }
],
"crtp.usrget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crtp.sndp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.snd.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.sndp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.cbs.max.amt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"crdgrp.snd.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.snd.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.rec.msgref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.rec.msgact": [
{ type: "string", required: false, message: "必输项" },
{ max: 21, message: "长度不能超过21" }
],
"crdgrp.acc.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"crtp.accp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.acc.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.accp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.rec.errmsg": [
{ type: "string", required: true, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"crdgrp.acc.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.acc.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crtp.valdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Crtcri {
constructor() {
this.data = {
crdgrp: {
cbs: {
max: {
cur: "", // 清算币种及金额 .crdgrp.cbs.max.cur
amt: "", // 清算币种及金额 .crdgrp.cbs.max.amt
},
},
rec: {
msgact: "", // 汇款账号(Tag59) .crdgrp.rec.msgact
ownref: "", // 业务编号 .crdgrp.rec.ownref
nam: "", // 名称 .crdgrp.rec.nam
msgref: "", // 本行业务编号 .crdgrp.rec.msgref
rcvobjtyp: "", // 业务种类 .crdgrp.rec.rcvobjtyp
rcvbchinr: "", // 归属机构 .crdgrp.rec.rcvbchinr
errmsg: "", // 出错信息 .crdgrp.rec.errmsg
custyp: "", // 客户类型 .crdgrp.rec.custyp
},
snd: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.snd.dbfadrblkcn
},
acc: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.acc.dbfadrblkcn
},
},
crtp: {
recget: {
sdamod: {
seainf: "", // .crtp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.recget.sdamod.dadsnd
},
},
usr: {
extkey: "", // 经办柜员 .crtp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .crtp.usrget.sdamod.seainf
},
},
sndp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.sndp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.sndp.ptsget.sdamod.dadsnd
},
},
},
accp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.accp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.accp.ptsget.sdamod.dadsnd
},
},
},
valdat: "", // 起息日 .crtp.valdat
forare: "", // USE FOR ARE AMTOUNT .crtp.forare
},
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="crtp.recget.sdamod.dadsnd">
<c-input v-model="model.crtp.recget.sdamod.dadsnd"></c-input>
</el-form-item>
</c-col>
<!-- S0000005 : 业务编号 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务编号')" prop="crdgrp.rec.ownref">
<c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.recget.sdamod.seainf">
<c-input v-model="model.crtp.recget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<!-- S0000006 : 名称 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.名称')" prop="crdgrp.rec.nam">
<c-input v-model="model.crdgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<!-- S0000010 : 发报行 -->
<!-- S0000011 : Ref. -->
<!-- S0000009 : 经办柜员 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.经办柜员')" prop="crtp.usr.extkey">
<c-input v-model="model.crtp.usr.extkey" maxlength="8"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.usrget.sdamod.seainf">
<c-input v-model="model.crtp.usrget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="crtp.sndp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.sndp.ptsget.sdamod.dadsnd"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.sndp.ptsget.sdamod.seainf">
<c-input v-model="model.crtp.sndp.ptsget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<!-- S0000013 : 清算币种及金额 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select v-model="model.crdgrp.cbs.max.cur" style="width:100%" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.amt">
<c-input v-model="model.crdgrp.cbs.max.amt"></c-input>
</el-form-item>
</c-col>
<!-- S0000014 : 本行业务编号 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.本行业务编号')" prop="crdgrp.rec.msgref">
<c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:isAdrVisible="false"
:argadr="{title: '发报行', grp: 'crdgrp', rol: 'snd'}"
ptytyp="C"
></c-ptap>
</c-col>
<!-- S0000004 : 汇款账号(Tag59) -->
<c-col :span="12">
<el-form-item :label="$t('crtp.汇款账号(Tag59)')" prop="crdgrp.rec.msgact">
<c-input v-model="model.crdgrp.rec.msgact" maxlength="21"></c-input>
</el-form-item>
</c-col>
<!-- S0000015 : 业务种类 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000017 : 账户行 -->
<!-- S0000018 : Ref. -->
<!-- S0000020 : 归属机构 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.归属机构')" prop="crdgrp.rec.rcvbchinr">
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="crtp.accp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.accp.ptsget.sdamod.dadsnd"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.accp.ptsget.sdamod.seainf">
<c-input v-model="model.crtp.accp.ptsget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:isAdrVisible="false"
:argadr="{title: '账户行', grp: 'crdgrp', rol: 'acc'}"
ptytyp="C"
></c-ptap>
</c-col>
<!-- S0000021 : 出错信息 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.出错信息')" prop="crdgrp.rec.errmsg">
<c-input type="textarea" v-model="model.crdgrp.rec.errmsg" maxlength="40" show-word-limit></c-input>
</el-form-item>
</c-col>
<!-- S0000053 : 客户类型 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.客户类型')" prop="crdgrp.rec.custyp">
<c-select v-model="model.crdgrp.rec.custyp" style="width:100%" dbCode="custyp">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.crtp.forare">{{ $t('crtp.C0000058') }}</c-checkbox>
</c-col>
<!-- S0000056 : 起息日 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.起息日')" prop="crtp.valdat">
<c-date-picker type="date" v-model="model.crtp.valdat" style="width:100%"></c-date-picker>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
}
},
methods: {},
created: function () {
}
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="汇入清算">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="Clearing In" name="clip">
<m-clip :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</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>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Crtcri from "../model"
import Clip from "./Clip"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/check.js";
export default {
name: "Crtcri",
components: {
"m-clip": Clip,
"m-setpan": Setpan,
"m-docpan": Docpan,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "clip",
trnName: "crtcri",
trnType: "",
model: new Crtcri().data,
rules: Check,
codes: {
...CodeTable
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
}
},
created: async function () {
console.log("进入crtcri交易");
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
}
</script>
<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.crdgrp, this.buildPtspta);
return {
rec: {
objtyp: "CRD",
},
cbsMap: {
},
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: {
}
}
\ No newline at end of file
export default {
"crtp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.recget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"crdgrp.rcv.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"crtp.usr.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 8, message: "长度不能超过8" }
],
"crtp.usrget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crtp.rcvp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.rcv.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.rcvp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.cbs.max.amt": [
{ type: "number", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"crdgrp.rcv.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.rcv.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.rec.msgref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.acc.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 20, message: "长度不能超过20" }
],
"crtp.accp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crdgrp.acc.pts.extkey": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"crtp.accp.ptsget.sdamod.seainf": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"crdgrp.acc.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
"crdgrp.acc.dbfadrblkcn": [
{ type: "string", required: true, message: "必输项" },
{ max: 35, message: "长度不能超过35" }
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "~/components/business/commonModel/index.js";
export default class Crtcri {
constructor() {
this.data = {
crtp: {
recget: {
sdamod: {
seainf: "", // .crtp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.recget.sdamod.dadsnd
},
},
usr: {
extkey: "", // 经办柜员 .crtp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .crtp.usrget.sdamod.seainf
},
},
rcvp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.rcvp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.rcvp.ptsget.sdamod.dadsnd
},
},
},
accp: {
ptsget: {
sdamod: {
seainf: "", // .crtp.accp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .crtp.accp.ptsget.sdamod.dadsnd
},
},
},
},
crdgrp: {
rec: {
nam: "", // 名称 .crdgrp.rec.nam
ownref: "", // 业务编号 .crdgrp.rec.ownref
msgref: "", // 前手付汇业务编号 .crdgrp.rec.msgref
rcvobjtyp: "", // 业务种类 .crdgrp.rec.rcvobjtyp
rcvbchinr: "", // 业务所属机构 .crdgrp.rec.rcvbchinr
},
cbs: {
max: {
cur: "", // 清算币种及金额 .crdgrp.cbs.max.cur
amt: "", // 清算币种及金额 .crdgrp.cbs.max.amt
},
},
rcv: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.rcv.dbfadrblkcn
},
acc: {
pts: new Pts().data,
dbfadrblkcn: "", // Chinese address .crdgrp.acc.dbfadrblkcn
},
},
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="crtp.recget.sdamod.dadsnd">
<c-input v-model="model.crtp.recget.sdamod.dadsnd"></c-input>
</el-form-item>
</c-col>
<!-- S0000023 : 业务编号 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务编号')" prop="crdgrp.rec.ownref">
<c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.recget.sdamod.seainf">
<c-input v-model="model.crtp.recget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<!-- S0000024 : 名称 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.名称')" prop="crdgrp.rec.nam">
<c-input v-model="model.crdgrp.rec.nam" maxlength="40"></c-input>
</el-form-item>
</c-col>
<!-- S0000031 : 收报行 -->
<!-- S0000032 : Ref. -->
<!-- S0000025 : 经办柜员 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.经办柜员')" prop="crtp.usr.extkey">
<c-input v-model="model.crtp.usr.extkey" maxlength="8"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:argadr="{title: '收报行', grp: 'crdgrp', rol: 'rcv'}"
ptytyp="C"
></c-ptap>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.usrget.sdamod.seainf">
<c-input v-model="model.crtp.usrget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="crtp.rcvp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.rcvp.ptsget.sdamod.dadsnd"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.rcvp.ptsget.sdamod.seainf">
<c-input v-model="model.crtp.rcvp.ptsget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
<!-- S0000026 : 清算币种及金额 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select v-model="model.crdgrp.cbs.max.cur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.amt">
<c-input v-model="model.crdgrp.cbs.max.amt"></c-input>
</el-form-item>
</c-col>
<!-- S0000027 : 前手付汇业务编号 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.前手付汇业务编号')" prop="crdgrp.rec.msgref">
<c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input>
</el-form-item>
</c-col>
<!-- S0000028 : 业务种类 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000029 : 业务所属机构 -->
<c-col :span="12">
<el-form-item :label="$t('crtp.业务所属机构')" prop="crdgrp.rec.rcvbchinr">
<c-select v-model="model.crdgrp.rec.rcvbchinr" style="width:100%">
</c-select>
</el-form-item>
</c-col>
<!-- S0000033 : 账户行 -->
<!-- S0000034 : Ref. -->
<c-col :span="12">
<c-ptap
:model="model"
:isAdrblk="false"
:haveAdrLabel="true"
:requiredExtkey="true"
:isAdrVisible="false"
:argadr="{title: '账户行', grp: 'crdgrp', rol: 'acc'}"
ptytyp="C"
></c-ptap>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="crtp.accp.ptsget.sdamod.dadsnd">
<c-input v-model="model.crtp.accp.ptsget.sdamod.dadsnd"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="crtp.accp.ptsget.sdamod.seainf">
<c-input v-model="model.crtp.accp.ptsget.sdamod.seainf"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
}
},
methods: {},
created: function () {
}
}
</script>
<style></style>
<template>
<div class="eContainer">
<c-page title="汇出清算">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--crtcro PD000009 Clearing Out -->
<el-tab-pane label="Clearing Out" name="clop">
<m-clop :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :codes="codes" :model="model" />
</c-content>
</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>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Crtcro from "../model"
import Clop from "./Clop"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/check.js";
export default {
name: "Crtcro",
components: {
"m-clop": Clop,
"m-setpan": Setpan,
"m-docpan": Docpan,
},
provide() {
return {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn],
data() {
return {
tabVal: "clop",
trnName: "crtcro",
trnType: "",
model: new Crtcro().data,
rules: Check,
codes: {
...CodeTable
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
}
},
created: async function () {
console.log("进入crtcro交易");
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
}
</script>
<style></style>
......@@ -4,129 +4,86 @@ import Pts from "~/page/Model/Common/Pts"
export default class Fttfcm{
constructor () {
this.data = {
ftt320l1blk:"", // XMLPanel ftt320l1的内置block .ftt320l1blk
fttp:{
mt32m:{
s22a:"", // MT320 :22A .fttp.mt32m.s22a
s94a:"", // MT320 :94A .fttp.mt32m.s94a
s22b:"", // MT320 :22B .fttp.mt32m.s22b
conref:"", // new datafield .fttp.mt32m.conref
conno:"", // new datafield .fttp.mt32m.conno
s17r:"", // MT320 :17R .fttp.mt32m.s17r
s30x:"", // Next Interest Due Date .fttp.mt32m.s30x
a53:{
pts:new Pts().data,
},
a53p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.a53p.ptsget.sdamod.dadsnd
seainf:"", // .fttp.mt32m.a53p.ptsget.sdamod.seainf
},
},
},
ini:{
pts:new Pts().data,
},
inip:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.inip.ptsget.sdamod.dadsnd
seainf:"", // .fttp.mt32m.inip.ptsget.sdamod.seainf
},
},
},
rbc:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.rbc.dbfadrblkcn
},
rbcp:{
ptsget:{
sdamod:{
seainf:"", // .fttp.mt32m.rbcp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.rbcp.ptsget.sdamod.dadsnd
},
},
},
a58:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.a58.dbfadrblkcn
},
a58p:{
ptsget:{
sdamod:{
seainf:"", // .fttp.mt32m.a58p.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.a58p.ptsget.sdamod.dadsnd
},
},
},
b53:{
pts:new Pts().data,
},
b53p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b53p.ptsget.sdamod.dadsnd
seainf:"", // .fttp.mt32m.b53p.ptsget.sdamod.seainf
},
},
ftdgrp:{
rec:{
ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
nam:"", // 名称 .ftdgrp.rec.nam
fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
opndat:"", // 开立日期 .ftdgrp.rec.opndat
valdat:"", // 起息日 .ftdgrp.rec.valdat
matdat:"", // 到期日 .ftdgrp.rec.matdat
rat:"", // 年利率 .ftdgrp.rec.rat
cntfra:"", // 计息方式 .ftdgrp.rec.cntfra
ownusr:"", // 资金部负责人 .ftdgrp.rec.ownusr
usr:"", // 清算中心负责人 .ftdgrp.rec.usr
bnktyp:"", // Bank Type .ftdgrp.rec.bnktyp
},
tro:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
},
tri:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
},
cbs:{
max:{
cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
},
b56:{
pts:new Pts().data,
ins:{
cur:"", // 利息金额 .ftdgrp.cbs.ins.cur
amt:"", // Balance .ftdgrp.cbs.ins.amt
},
b56p:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b56p.ptsget.sdamod.dadsnd
seainf:"", // .fttp.mt32m.b56p.ptsget.sdamod.seainf
},
},
blk:{
remark:"", // 备注 .ftdgrp.blk.remark
},
act:{
pts:new Pts().data,
},
},
fttp:{
trop:{
ptsget:{
sdamod:{
seainf:"", // .fttp.trop.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.trop.ptsget.sdamod.dadsnd
},
},
owc:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.owc.dbfadrblkcn
},
owcp:{
ptsget:{
sdamod:{
seainf:"", // .fttp.mt32m.owcp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.owcp.ptsget.sdamod.dadsnd
},
},
trip:{
ptsget:{
sdamod:{
seainf:"", // .fttp.trip.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.trip.ptsget.sdamod.dadsnd
},
},
b58:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.b58.dbfadrblkcn
},
troact:"", // Trade-out Account .fttp.troact
triact:"", // 备注 .fttp.triact
usr:{
extkey:"", // User ID .fttp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .fttp.usrget.sdamod.seainf
},
b58p:{
ptsget:{
sdamod:{
seainf:"", // .fttp.mt32m.b58p.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b58p.ptsget.sdamod.dadsnd
},
},
msgtyp:"", // 报文类型 .fttp.msgtyp
actp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.actp.ptsget.sdamod.dadsnd
seainf:"", // .fttp.actp.ptsget.sdamod.seainf
},
},
a53act:"", // new datafield .fttp.mt32m.a53act
iniact:"", // new datafield .fttp.mt32m.iniact
rbcact:"", // Contract Number(:21N) .fttp.mt32m.rbcact
a58act:"", // new datafield .fttp.mt32m.a58act
b53act:"", // new datafield .fttp.mt32m.b53act
b56act:"", // new datafield .fttp.mt32m.b56act
b58act:"", // new datafield .fttp.mt32m.b58act
owcact:"", // new datafield .fttp.mt32m.owcact
str300:"", // new datafield .fttp.mt32m.str300
},
},
narblk:"", // Narrative .narblk
ftdgrp:{
rec:{
ownref:"", // Reference .ftdgrp.rec.ownref
},
},
relref:"", // Related Reference .relref
ftt199l1blk:"", // XMLPanel ftt199l1的内置block .ftt199l1blk
ftt299l1blk:"", // XMLPanel ftt299l1的内置block .ftt299l1blk
pageId: "" // ctx的key
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia
}
}
}
\ No newline at end of file
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