Commit be5f3a34 by youbaofeng

pttfcm交易完善

parent c73730b6
...@@ -5,128 +5,82 @@ import Pub from "~/components/business/commonModel/index.js"; ...@@ -5,128 +5,82 @@ import Pub from "~/components/business/commonModel/index.js";
export default class Fttfcm{ export default class Fttfcm{
constructor () { constructor () {
this.data = { this.data = {
ftt320l1blk:"", // XMLPanel ftt320l1的内置block .ftt320l1blk ftdgrp:{
fttp:{ rec:{
mt32m:{ ownref:"", // 资金调拨业务参考号 .ftdgrp.rec.ownref
s22a:"", // MT320 :22A .fttp.mt32m.s22a nam:"", // 名称 .ftdgrp.rec.nam
s94a:"", // MT320 :94A .fttp.mt32m.s94a fttyp:"", // 定存拆借类型 .ftdgrp.rec.fttyp
s22b:"", // MT320 :22B .fttp.mt32m.s22b opndat:"", // 开立日期 .ftdgrp.rec.opndat
conref:"", // new datafield .fttp.mt32m.conref valdat:"", // 起息日 .ftdgrp.rec.valdat
conno:"", // new datafield .fttp.mt32m.conno matdat:"", // 到期日 .ftdgrp.rec.matdat
s17r:"", // MT320 :17R .fttp.mt32m.s17r rat:"", // 年利率 .ftdgrp.rec.rat
s30x:"", // Next Interest Due Date .fttp.mt32m.s30x cntfra:"", // 计息方式 .ftdgrp.rec.cntfra
a53:{ ownusr:"", // 资金部负责人 .ftdgrp.rec.ownusr
usr:"", // 清算中心负责人 .ftdgrp.rec.usr
bnktyp:"", // Bank Type .ftdgrp.rec.bnktyp
},
tro:{
pts:new Pts().data, pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tro.dbfadrblkcn
}, },
a53p:{ tri:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.a53p.ptsget.sdamod.dadsnd
seainf:"", // .fttp.mt32m.a53p.ptsget.sdamod.seainf
},
},
},
ini:{
pts:new Pts().data, pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .ftdgrp.tri.dbfadrblkcn
}, },
inip:{ cbs:{
ptsget:{ max:{
sdamod:{ cur:"", // 定存拆借金额 .ftdgrp.cbs.max.cur
dadsnd:"", // Drag Drop Sender .fttp.mt32m.inip.ptsget.sdamod.dadsnd amt:"", // 定存拆借金额 .ftdgrp.cbs.max.amt
seainf:"", // .fttp.mt32m.inip.ptsget.sdamod.seainf
},
}, },
ins:{
cur:"", // 利息金额 .ftdgrp.cbs.ins.cur
amt:"", // Balance .ftdgrp.cbs.ins.amt
}, },
rbc:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.rbc.dbfadrblkcn
}, },
rbcp:{ blk:{
ptsget:{ remark:"", // 备注 .ftdgrp.blk.remark
sdamod:{
seainf:"", // .fttp.mt32m.rbcp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.rbcp.ptsget.sdamod.dadsnd
}, },
}, act:{
},
a58:{
pts:new Pts().data, 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
}, },
}, fttp:{
}, trop:{
b53:{
pts:new Pts().data,
},
b53p:{
ptsget:{ ptsget:{
sdamod:{ sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b53p.ptsget.sdamod.dadsnd seainf:"", // .fttp.trop.ptsget.sdamod.seainf
seainf:"", // .fttp.mt32m.b53p.ptsget.sdamod.seainf dadsnd:"", // Drag Drop Sender .fttp.trop.ptsget.sdamod.dadsnd
}, },
}, },
}, },
b56:{ trip:{
pts:new Pts().data,
},
b56p:{
ptsget:{ ptsget:{
sdamod:{ sdamod:{
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b56p.ptsget.sdamod.dadsnd seainf:"", // .fttp.trip.ptsget.sdamod.seainf
seainf:"", // .fttp.mt32m.b56p.ptsget.sdamod.seainf dadsnd:"", // Drag Drop Sender .fttp.trip.ptsget.sdamod.dadsnd
}, },
}, },
}, },
owc:{ troact:"", // Trade-out Account .fttp.troact
pts:new Pts().data, triact:"", // 备注 .fttp.triact
dbfadrblkcn:"", // Chinese address .fttp.mt32m.owc.dbfadrblkcn usr:{
extkey:"", // User ID .fttp.usr.extkey
}, },
owcp:{ usrget:{
ptsget:{
sdamod:{ sdamod:{
seainf:"", // .fttp.mt32m.owcp.ptsget.sdamod.seainf seainf:"", // .fttp.usrget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .fttp.mt32m.owcp.ptsget.sdamod.dadsnd
}, },
}, },
}, msgtyp:"", // 报文类型 .fttp.msgtyp
b58:{ actp:{
pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fttp.mt32m.b58.dbfadrblkcn
},
b58p:{
ptsget:{ ptsget:{
sdamod:{ sdamod:{
seainf:"", // .fttp.mt32m.b58p.ptsget.sdamod.seainf dadsnd:"", // Drag Drop Sender .fttp.actp.ptsget.sdamod.dadsnd
dadsnd:"", // Drag Drop Sender .fttp.mt32m.b58p.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, setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan, docpan: new Pub().data.Docpan,
......
...@@ -5,19 +5,22 @@ ...@@ -5,19 +5,22 @@
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fttfcn.资金调拨业务参考号')" prop="ftdgrp.rec.ownref"> <c-form-item :label="$t('fttfcn.资金调拨业务参考号')" prop="ftdgrp.rec.ownref">
<c-input v-model="model.ftdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('fttfcn.S0000002')"></c-input> <c-input v-model="model.ftdgrp.rec.ownref" maxlength="16"
:placeholder="$t('other.请输入') + $t('fttfcn.S0000002')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fttfcn.资金部负责人')" prop="fttp.usr.extkey"> <c-form-item :label="$t('fttfcn.资金部负责人')" prop="fttp.usr.extkey">
<c-input v-model="model.fttp.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('fttfcn.资金部负责人')"></c-input> <c-input v-model="model.fttp.usr.extkey" maxlength="8"
:placeholder="$t('other.请输入') + $t('fttfcn.资金部负责人')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="$t('fttfcn.定存拆借类型')" prop="ftdgrp.rec.fttyp"> <el-form-item :label="$t('fttfcn.定存拆借类型')" prop="ftdgrp.rec.fttyp">
<c-select v-model="model.ftdgrp.rec.fttyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttfcn.定存拆借类型')"> <c-select v-model="model.ftdgrp.rec.fttyp" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfcn.定存拆借类型')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -25,13 +28,15 @@ ...@@ -25,13 +28,15 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('fttfcn.定存拆借金额币种')" prop="ftdgrp.cbs.max.cur"> <el-form-item :label="$t('fttfcn.定存拆借金额币种')" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttfcn.定存拆借金额币种')"> <c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfcn.定存拆借金额币种')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" class="pl8"> <c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.max.amt"> <c-form-item label-width="0" prop="ftdgrp.cbs.max.amt">
<c-input v-model="model.ftdgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+$t('fttfcn.定存拆借金额')"></c-input> <c-input v-model="model.ftdgrp.cbs.max.amt"
:placeholder="$t('other.请输入') + $t('fttfcn.定存拆借金额')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -39,27 +44,30 @@ ...@@ -39,27 +44,30 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('fttfcn.待销账金额币种')" prop="ftdgrp.cbs.opn2.cur"> <el-form-item :label="$t('fttfcn.待销账金额币种')" prop="ftdgrp.cbs.opn2.cur">
<c-select v-model="model.ftdgrp.cbs.opn2.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttfcn.待销账金额币种')"> <c-select v-model="model.ftdgrp.cbs.opn2.cur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfcn.待销账金额币种')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" class="pl8"> <c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="ftdgrp.cbs.opn2.amt"> <c-form-item label-width="0" prop="ftdgrp.cbs.opn2.amt">
<c-input v-model="model.ftdgrp.cbs.opn2.amt" :placeholder="$t('other.please_enter')+'待销账金额币种'"></c-input> <c-input v-model="model.ftdgrp.cbs.opn2.amt"
:placeholder="$t('other.请输入') + '待销账金额币种'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('fttfcn.实际消费金币种')" prop="setmod.doccur"> <el-form-item :label="$t('fttfcn.实际消费金币种')" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+$t('fttfcn.实际消费金币种')"> <c-select v-model="model.setmod.doccur" :code="codes.curtxt1" style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfcn.实际消费金币种')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" class="pl8"> <c-col :span="12" class="pl8">
<c-form-item label-width="0" prop="canamt"> <c-form-item label-width="0" prop="canamt">
<c-input v-model="model.canamt" :placeholder="$t('other.please_enter')+'实际消费金额'"></c-input> <c-input v-model="model.canamt" :placeholder="$t('other.请输入') + '实际消费金额'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -69,51 +77,31 @@ ...@@ -69,51 +77,31 @@
<c-col :span="12" style="padding-left: 20px"> <c-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fttfcn.名称')" prop="ftdgrp.rec.nam"> <c-form-item :label="$t('fttfcn.名称')" prop="ftdgrp.rec.nam">
<c-input v-model="model.ftdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('fttfcn.S0000003')"></c-input> <c-input v-model="model.ftdgrp.rec.nam" maxlength="40"
:placeholder="$t('other.请输入') + $t('fttfcn.S0000003')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-card class="box-card"> <el-card class="box-card">
<c-ptap <c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
:model="model" :haveAdrLabel="true" :isShowCard="false"
:requiredExtkey="true" :argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B">
:disabled="false"
:isAdrblk="true"
:haveAdrLabel="true"
:isShowCard="false"
:argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }"
ptytyp="B"
>
</c-ptap> </c-ptap>
</el-card> </el-card>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-card class="box-card"> <el-card class="box-card">
<c-ptap <c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
:model="model" :haveAdrLabel="true" :isShowCard="false"
:requiredExtkey="true" :argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }" ptytyp="B">
:disabled="false"
:isAdrblk="true"
:haveAdrLabel="true"
:isShowCard="false"
:argadr="{ title: '资金拆入行', grp: 'ftdgrp', rol: 'tri' }"
ptytyp="B"
>
</c-ptap> </c-ptap>
</el-card> </el-card>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-card class="box-card"> <el-card class="box-card">
<c-ptap <c-ptap :model="model" :requiredExtkey="true" :disabled="false" :isAdrblk="true"
:model="model" :haveAdrLabel="true" :isShowCard="false"
:requiredExtkey="true" :argadr="{ title: '账户行', grp: 'ftdgrp', rol: 'act' }" ptytyp="B">
:disabled="false"
:isAdrblk="true"
:haveAdrLabel="true"
:isShowCard="false"
:argadr="{ title: '账户行', grp: 'ftdgrp', rol: 'act' }"
ptytyp="B"
>
</c-ptap> </c-ptap>
</el-card> </el-card>
</c-col> </c-col>
...@@ -127,19 +115,17 @@ import Event from "../event" ...@@ -127,19 +115,17 @@ import Event from "../event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props: ["model", "codes"],
mixins: [], mixins: [],
data(){ data() {
return { return {
} }
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {
} }
} }
</script> </script>
<style> <style></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