diff --git a/src/components/business/commonModel/fxdgrp/index.js b/src/components/business/commonModel/fxdgrp/index.js index 5c1dd5f..0e7ba48 100644 --- a/src/components/business/commonModel/fxdgrp/index.js +++ b/src/components/business/commonModel/fxdgrp/index.js @@ -4,6 +4,7 @@ export default class Fxdgrp { constructor() { this.data = { rec: { + inr:"", ownref: "", // 结售汇业务参考号 fxdgrp.rec.ownref nam: "", // 名称 fxdgrp.rec.nam fxtyp: "", // 结售汇类型 fxdgrp.rec.fxtyp @@ -25,6 +26,17 @@ export default class Fxdgrp { dsp2: "", // 本币结算账号 fxdgrp.rec.dsp2 usr: "", // 业务经办人 fxdgrp.rec.usr ownusr: "", // Clearing Department Responsible User fxdgrp.rec.ownusr + cnfdat:"", + clsdat:"", + ver:"", + branchinr:"", + bchkeyinr:"", + cshpct:0, + rat1: 0.000000, + accmng:"", + hdbch:"", + etyextkey:"", + }, blk: { remark: "", // 备注 fxdgrp.blk.remark diff --git a/src/page/Funds/Crtcbk/views/Retp.vue b/src/page/Funds/Crtcbk/views/Retp.vue index 0018041..af580cc 100644 --- a/src/page/Funds/Crtcbk/views/Retp.vue +++ b/src/page/Funds/Crtcbk/views/Retp.vue @@ -1,168 +1,85 @@ <template> - <div class="eibs-tab"> - <!-- 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> - <!-- 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> - <!-- S0000031 : 收报行 --> - <!-- S0000032 : Ref. --> - - <c-col :span="12"> - <el-form-item :label="$t('crtp.收报行')" prop="crdgrp.rcv.pts.ref"> - <c-input v-model="model.crdgrp.rcv.pts.ref" maxlength="20"></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.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="External Key of Address" prop="crdgrp.rcv.pts.extkey"> - <c-input v-model="model.crdgrp.rcv.pts.extkey" maxlength="16"></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> - - <!-- <c-col :span="12"> - <el-form-item label="Address Block" prop="crdgrp.rcv.pts.adrblk"> - <c-input type="textarea" v-model="model.crdgrp.rcv.pts.adrblk" maxlength="35" show-word-limit></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Chinese address" prop="crdgrp.rcv.dbfadrblkcn"> - <c-input type="textarea" v-model="model.crdgrp.rcv.dbfadrblkcn" maxlength="35" show-word-limit></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"> - <el-form-item :label="$t('crtp.账户行')" prop="crdgrp.acc.pts.ref"> - <c-input v-model="model.crdgrp.acc.pts.ref" maxlength="20"></c-input> - </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="External Key of Address" prop="crdgrp.acc.pts.extkey"> - <c-input v-model="model.crdgrp.acc.pts.extkey" maxlength="16"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Address Block" prop="crdgrp.acc.pts.adrblk"> - <c-input type="textarea" v-model="model.crdgrp.acc.pts.adrblk" maxlength="35" show-word-limit ></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Chinese address" prop="crdgrp.acc.dbfadrblkcn"> - <c-input type="textarea" v-model="model.crdgrp.acc.dbfadrblkcn" maxlength="35" show-word-limit></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 "../event" - - export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess,Event], - data(){ - return { - - } - }, - methods:{}, - created:function(){ - - } + <div class="eibs-tab"> + <!-- ==================左边================ --> + <c-col :span="12" style="padding-right: 20px"> + <c-col :span="24"> + <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="24"> + <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> + <!-- S0000026 : 清算币种及金额 --> + <c-col :span="24" class="custom-box-wrap"> + <el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur"> + <c-select-cur v-model="model.crdgrp.cbs.max.cur" style="width: 115px" placeholder="请选择币种" dbCode="curtxt"> + </c-select-cur> + </el-form-item> + <div class="box-3"> + <el-form-item label-width="5px" prop="crdgrp.cbs.max.amt"> + <c-input-currency v-model="model.crdgrp.cbs.max.amt" :currency="model.crdgrp.cbs.max.cur" style="width: 100%"> + </c-input-currency> + </el-form-item> + </div> + </c-col> + <!-- S0000028 : 业务种类 --> + <c-col :span="24"> + <el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp"> + <c-select dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%"> + </c-select> + </el-form-item> + </c-col> + <!-- S0000033 : 账户行 --> + <!-- S0000034 : Ref. --> + <c-col :span="24"> + <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> + <!-- ============右边================= --> + <c-col :span="12" style="padding-left: 20px"> + <!-- S0000027 : 前手付汇业务编号 --> + <c-col :span="24"> + <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> + + <!-- S0000029 : 业务所属机构 --> + <c-col :span="24"> + <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="24"> + <c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true" + :argadr="{ title: '收报行', grp: 'crdgrp', rol: 'rcv' }" ptytyp="C"></c-ptap> + </c-col> + </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> - \ No newline at end of file +} +</script> +<style></style> diff --git a/src/page/Funds/Crtcbk/views/index.vue b/src/page/Funds/Crtcbk/views/index.vue index cc7be60..7902ded 100644 --- a/src/page/Funds/Crtcbk/views/index.vue +++ b/src/page/Funds/Crtcbk/views/index.vue @@ -1,11 +1,10 @@ <template> <div class="eContainer"> <c-page title="退汇结算"> - <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" + <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"> - <!--crtcbk PD000001 概要 --> - <el-tab-pane :label="$t('crtcbk.概要')" name="retp"> + <el-tab-pane label="业务信息" name="retp"> <c-content> <m-retp :model="model" :codes="codes" /> </c-content> @@ -20,16 +19,6 @@ <m-docpan :codes="codes" :model="model" /> </c-content> </el-tab-pane> - <el-tab-pane label="附件信息" name="doctre"> - <c-content> - <m-doctre :model="model" :codes="codes" /> - </c-content> - </el-tab-pane> - <el-tab-pane label="附言" name="coninfp"> - <c-content> - <m-coninfp :codes="codes" :model="model" /> - </c-content> - </el-tab-pane> </c-tabs> </el-form> <c-function-btn @@ -49,8 +38,6 @@ import Crtcbk from "../model" import Retp from "./Retp" import Setpan from "~/components/business/setmod/views"; import Docpan from "~/components/business/docpan/views"; -import Doctre from "~/components/business/doctre/views"; -import Coninfp from "~/components/business/coninfp/views"; import operationFunc from "~/mixin/operationFunc"; import commonDepend from "~/mixin/commonDepend"; @@ -63,8 +50,6 @@ export default { "m-retp": Retp, "m-setpan": Setpan, "m-docpan": Docpan, - "m-doctre": Doctre, - "m-coninfp": Coninfp }, provide() { return { diff --git a/src/page/Funds/Crtcri/views/Clip.vue b/src/page/Funds/Crtcri/views/Clip.vue index 4649f52..b253a7c 100644 --- a/src/page/Funds/Crtcri/views/Clip.vue +++ b/src/page/Funds/Crtcri/views/Clip.vue @@ -1,170 +1,85 @@ <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 dbCode="RMB122" 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 dbCode="SZPTY" v-model="model.crdgrp.rec.custyp" style="width:100%"> - </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 :span="12" style="padding-right: 20px"> + <!-- S0000005 : 业务编号 --> + <c-col :span="24"> + <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> + <!-- S0000009 : 经办柜员 --> + <c-col :span="24"> + <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> + <!-- S0000026 : 清算币种及金额 --> + <c-col :span="24" class="custom-box-wrap"> + <el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur"> + <c-select-cur v-model="model.crdgrp.cbs.max.cur" style="width: 115px" placeholder="请选择币种" dbCode="curtxt"> + </c-select-cur> + </el-form-item> + <div class="box-3"> + <el-form-item label-width="5px" prop="crdgrp.cbs.max.amt"> + <c-input-currency v-model="model.crdgrp.cbs.max.amt" :currency="model.crdgrp.cbs.max.cur" style="width: 100%"> + </c-input-currency> + </el-form-item> + </div> + </c-col> + <c-col :span="24"> + <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="24"> + <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> + <c-col :span="24"> + <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> + <!-- ============右边================= --> + <c-col :span="12" style="padding-left: 20px"> + <c-col :span="24"> + <el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp"> + <c-select dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%"> + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <el-form-item :label="$t('crtp.客户类型')" prop="crdgrp.rec.custyp"> + <c-select dbCode="SZPTY" v-model="model.crdgrp.rec.custyp" style="width:100%"> + </c-select> + </el-form-item> + </c-col> + <c-col :span="24"> + <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="24"> + <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> + <c-col :span="24"> + <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> + <c-col :span="24"> + <c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true" :isAdrVisible="false" + :argadr="{ title: '发报行', grp: 'crdgrp', rol: 'snd' }" ptytyp="C"></c-ptap> + </c-col> </c-col> </div> </template> <script> -import Api from "~/service/Api" import Event from "../event" export default { diff --git a/src/page/Funds/Crtcri/views/index.vue b/src/page/Funds/Crtcri/views/index.vue index cfd7104..261e865 100644 --- a/src/page/Funds/Crtcri/views/index.vue +++ b/src/page/Funds/Crtcri/views/index.vue @@ -4,7 +4,7 @@ <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"> + <el-tab-pane label="业务信息" name="clip"> <m-clip :model="model" :codes="codes" /> </el-tab-pane> <el-tab-pane label="费用/账务" name="setpan"> @@ -17,16 +17,6 @@ <m-docpan :codes="codes" :model="model" /> </c-content> </el-tab-pane> - <el-tab-pane label="附件信息" name="doctre"> - <c-content> - <m-doctre :model="model" :codes="codes" /> - </c-content> - </el-tab-pane> - <el-tab-pane label="附言" name="coninfp"> - <c-content> - <m-coninfp :codes="codes" :model="model" /> - </c-content> - </el-tab-pane> </c-tabs> </el-form> <c-function-btn @@ -46,8 +36,6 @@ import Crtcri from "../model" import Clip from "./Clip" import Setpan from "~/components/business/setmod/views"; import Docpan from "~/components/business/docpan/views"; -import Doctre from "~/components/business/doctre/views"; -import Coninfp from "~/components/business/coninfp/views"; import operationFunc from "~/mixin/operationFunc"; import commonDepend from "~/mixin/commonDepend"; @@ -60,8 +48,6 @@ export default { "m-clip": Clip, "m-setpan": Setpan, "m-docpan": Docpan, - "m-doctre": Doctre, - "m-coninfp": Coninfp }, provide() { return { diff --git a/src/page/Funds/Crtcro/views/Clop.vue b/src/page/Funds/Crtcro/views/Clop.vue index b79bc8b..f545fe5 100644 --- a/src/page/Funds/Crtcro/views/Clop.vue +++ b/src/page/Funds/Crtcro/views/Clop.vue @@ -16,20 +16,12 @@ <!-- S0000026 : 清算币种及金额 --> <c-col :span="24" class="custom-box-wrap"> <el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur"> - <c-select-cur - v-model="model.crdgrp.cbs.max.cur" - style="width: 115px" - placeholder="请选择币种" - dbCode="curtxt" - disabled> + <c-select-cur v-model="model.crdgrp.cbs.max.cur" style="width: 115px" placeholder="请选择币种" dbCode="curtxt"> </c-select-cur> </el-form-item> <div class="box-3"> <el-form-item label-width="5px" prop="crdgrp.cbs.max.amt"> - <c-input-currency - v-model="model.crdgrp.cbs.max.amt" - :currency="model.crdgrp.cbs.max.cur" - style="width: 100%"> + <c-input-currency v-model="model.crdgrp.cbs.max.amt" :currency="model.crdgrp.cbs.max.cur" style="width: 100%"> </c-input-currency> </el-form-item> </div> @@ -44,15 +36,8 @@ <!-- S0000033 : 账户行 --> <!-- S0000034 : Ref. --> <c-col :span="24"> - <c-ptap - :model="model" - :isAdrblk="false" - :haveAdrLabel="true" - :requiredExtkey="true" - :isAdrVisible="false" - :argadr="{title: '账户行', grp: 'crdgrp', rol: 'acc'}" - ptytyp="C" - ></c-ptap> + <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> <!-- ============右边================= --> @@ -69,7 +54,7 @@ <c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input> </el-form-item> </c-col> - + <!-- S0000029 : 业务所属机构 --> <c-col :span="24"> <el-form-item :label="$t('crtp.业务所属机构')" prop="crdgrp.rec.rcvbchinr"> @@ -78,14 +63,8 @@ </el-form-item> </c-col> <c-col :span="24"> - <c-ptap - :model="model" - :isAdrblk="false" - :haveAdrLabel="true" - :requiredExtkey="true" - :argadr="{title: '收报行', grp: 'crdgrp', rol: 'rcv'}" - ptytyp="C" - ></c-ptap> + <c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true" + :argadr="{ title: '收报行', grp: 'crdgrp', rol: 'rcv' }" ptytyp="C"></c-ptap> </c-col> </c-col> </div> diff --git a/src/page/Funds/Crtcro/views/index.vue b/src/page/Funds/Crtcro/views/index.vue index ca37450..a3ef24e 100644 --- a/src/page/Funds/Crtcro/views/index.vue +++ b/src/page/Funds/Crtcro/views/index.vue @@ -5,38 +5,23 @@ :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"> + <el-tab-pane label="业务信息" 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> - <el-tab-pane label="附件信息" name="doctre"> <c-content> - <m-doctre :model="model" :codes="codes" /> + <m-setpan :codes="codes" :model="model" /> </c-content> </el-tab-pane> - <el-tab-pane label="附言" name="coninfp"> + <el-tab-pane label="报文/面函" name="docpan"> <c-content> - <m-coninfp :codes="codes" :model="model" /> + <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-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit" + @handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn> </c-page> </div> </template> @@ -47,8 +32,6 @@ import Crtcro from "../model" import Clop from "./Clop" import Setpan from "~/components/business/setmod/views"; import Docpan from "~/components/business/docpan/views"; -import Doctre from "~/components/business/doctre/views"; -import Coninfp from "~/components/business/coninfp/views"; import operationFunc from "~/mixin/operationFunc"; import commonDepend from "~/mixin/commonDepend"; @@ -61,8 +44,6 @@ export default { "m-clop": Clop, "m-setpan": Setpan, "m-docpan": Docpan, - "m-doctre": Doctre, - "m-coninfp": Coninfp }, provide() { return { diff --git a/src/page/Funds/Crtctf/views/Ctfp.vue b/src/page/Funds/Crtctf/views/Ctfp.vue index 9698999..3c54a11 100644 --- a/src/page/Funds/Crtctf/views/Ctfp.vue +++ b/src/page/Funds/Crtctf/views/Ctfp.vue @@ -1,222 +1,87 @@ <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> --> - <!-- S0000037 : 业务编号 --> - <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" :placeholder="$t('other.please_enter')+''"></c-input> - </el-form-item> - </c-col> --> - <!-- S0000038 : 名称 --> - - <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> - <!-- S0000042 : 清算币种及金额 --> - - <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> - <!-- S0000040 : 发报行 --> - <!-- S0000041 : Ref. --> - - <c-col :span="12"> - <el-form-item :label="$t('crtp.发报行')" prop="crdgrp.snd.pts.ref"> - <c-input v-model="model.crdgrp.snd.pts.ref" maxlength="20"></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" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="External Key of Address" prop="crdgrp.snd.pts.extkey"> - <c-input v-model="model.crdgrp.snd.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></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" :placeholder="$t('other.please_enter')+''"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onSndpDet"> - {{$t('ptsp.CF000082')}} - </c-button> - </c-col> --> - <!-- S0000043 : 本行业务编号 --> - - <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"> - <el-form-item label="Name of Party" prop="crdgrp.snd.pts.nam"> - <c-input v-model="model.crdgrp.snd.pts.nam" maxlength="40"></c-input> - </el-form-item> - </c-col> - <!-- S0000036 : 汇款账号(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> - <!-- S0000044 : 业务种类 --> - - <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> - <!-- S0000045 : 账户行 --> - <!-- S0000046 : Ref. --> - - <c-col :span="12"> - <el-form-item :label="$t('crtp.账户行')" prop="crdgrp.acc.pts.ref"> - <c-input v-model="model.crdgrp.acc.pts.ref" maxlength="20"></c-input> - </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" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input> - </el-form-item> - </c-col> --> - <!-- S0000047 : 归属机构 --> - - <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="External Key of Address" prop="crdgrp.acc.pts.extkey"> - <c-input v-model="model.crdgrp.acc.pts.extkey" maxlength="16"></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> --> - - - <!-- S0000048 : 出错信息 --> - - <!-- <c-col :span="12"> - <el-form-item label="Name of Party" prop="crdgrp.acc.pts.nam"> - <c-input v-model="model.crdgrp.acc.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input> - </el-form-item> - </c-col> --> - - <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> - <!-- S0000049 : 收报行 --> - <!-- S0000050 : Ref. --> - - <!-- <c-col :span="12"> - <el-form-item :label="$t('crtp.收报行')" prop="crdgrp.trf.pts.ref"> - <c-input v-model="model.crdgrp.trf.pts.ref" maxlength="20"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Drag Drop Sender" prop="crtp.trfp.ptsget.sdamod.dadsnd"> - <c-input v-model="model.crtp.trfp.ptsget.sdamod.dadsnd"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="External Key of Address" prop="crdgrp.trf.pts.extkey"> - <c-input v-model="model.crdgrp.trf.pts.extkey" maxlength="16"></c-input> - </el-form-item> - </c-col> - --> - <!-- <c-col :span="12"> - <el-form-item label="" prop="crtp.trfp.ptsget.sdamod.seainf"> - <c-input v-model="model.crtp.trfp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <c-button size="small" type="primary" @click="onTrfpDet"> - {{$t('ptsp.CF000081')}} - </c-button> - </c-col> - - <c-col :span="12"> - <el-form-item label="Address Block" prop="crdgrp.trf.pts.adrblk"> - <c-input type="textarea" v-model="model.crdgrp.trf.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input> - </el-form-item> - </c-col> - - <c-col :span="12"> - <el-form-item label="Chinese address" prop="crdgrp.trf.dbfadrblkcn"> - <c-input type="textarea" v-model="model.crdgrp.trf.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></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 "../event" - - export default { - inject: ['root'], - props:["model","codes"], - mixins: [commonProcess], - data(){ - return { - - } - }, - methods:{...Event}, - created:function(){ - - } + <div class="eibs-tab"> + <!-- ==================左边================ --> + <c-col :span="12" style="padding-right: 20px"> + <!-- S0000037 : 业务编号 --> + <c-col :span="24"> + <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> + <!-- S0000026 : 清算币种及金额 --> + <c-col :span="24" class="custom-box-wrap"> + <el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur"> + <c-select-cur v-model="model.crdgrp.cbs.max.cur" style="width: 115px" placeholder="请选择币种" dbCode="curtxt"> + </c-select-cur> + </el-form-item> + <div class="box-3"> + <el-form-item label-width="5px" prop="crdgrp.cbs.max.amt"> + <c-input-currency v-model="model.crdgrp.cbs.max.amt" :currency="model.crdgrp.cbs.max.cur" style="width: 100%"> + </c-input-currency> + </el-form-item> + </div> + </c-col> + + <c-col :span="24"> + <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="24"> + <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> + <c-col :span="24"> + <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> + <!-- ============右边================= --> + <c-col :span="12" style="padding-left: 20px"> + <c-col :span="24"> + <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> + <c-col :span="24"> + <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="24"> + <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> + <c-col :span="24"> + <c-ptap :model="model" :isAdrblk="false" :haveAdrLabel="true" :requiredExtkey="true" :isAdrVisible="false" + :argadr="{ title: '发报行', grp: 'crdgrp', rol: 'snd' }" ptytyp="C"></c-ptap> + </c-col> + </c-col> + </div> +</template> +<script> +import Api from "~/service/Api" +import Event from "../event" + +export default { + inject: ['root'], + props: ["model", "codes"], + mixins: [], + data() { + return { + + } + }, + methods: { ...Event }, + created: function () { + } - </script> - <style> - - </style> +} +</script> +<style></style> \ No newline at end of file diff --git a/src/page/Funds/Crtctf/views/index.vue b/src/page/Funds/Crtctf/views/index.vue index b8be540..0089dbb 100644 --- a/src/page/Funds/Crtctf/views/index.vue +++ b/src/page/Funds/Crtctf/views/index.vue @@ -1,11 +1,11 @@ <template> <div class="eContainer"> <c-page title="转汇结算"> - <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" + <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"> <!--crtp PD000035 Transferring --> - <el-tab-pane :label="$t('crtp.Transferring')" name="ctfp"> + <el-tab-pane label="业务信息" name="ctfp"> <c-content> <m-ctfp :model="model" :codes="codes" /> </c-content> @@ -20,16 +20,6 @@ <m-docpan :codes="codes" :model="model" /> </c-content> </el-tab-pane> - <el-tab-pane label="附件信息" name="doctre"> - <c-content> - <m-doctre :model="model" :codes="codes" /> - </c-content> - </el-tab-pane> - <el-tab-pane label="附言" name="coninfp"> - <c-content> - <m-coninfp :codes="codes" :model="model" /> - </c-content> - </el-tab-pane> </c-tabs> </el-form> <c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit" @@ -44,8 +34,6 @@ import Crtctf from "../model" import Ctfp from "./Ctfp" import Setpan from "~/components/business/setmod/views"; import Docpan from "~/components/business/docpan/views"; -import Doctre from "~/components/business/doctre/views"; -import Coninfp from "~/components/business/coninfp/views"; import operationFunc from "~/mixin/operationFunc"; import commonDepend from "~/mixin/commonDepend"; @@ -58,8 +46,6 @@ export default { "m-ctfp": Ctfp, "m-setpan": Setpan, "m-docpan": Docpan, - "m-doctre": Doctre, - "m-coninfp": Coninfp }, provide() { return { diff --git a/src/page/Funds/Fxtfcm/event/buildCommons.js b/src/page/Funds/Fxtfcm/event/buildCommons.js index d341e00..e6ac2eb 100644 --- a/src/page/Funds/Fxtfcm/event/buildCommons.js +++ b/src/page/Funds/Fxtfcm/event/buildCommons.js @@ -21,16 +21,17 @@ export default { }; }, buildCommonData(model, trnName) { - let ptsptaList = Utils.formatPtspta(model.fxtp.fxdgrp, this.buildPtspta); + let ptsptaList = Utils.formatPtspta(model.fxdgrp, this.buildPtspta); return { rec: { - objtyp: "FXT", - objinr: model.fxtp.fxdgrp.rec.inr, - ownref: model.fxtp.fxdgrp.rec.ownref, + objtyp: "FXD", + objinr: model.fxdgrp.rec.inr, + ownref: model.fxdgrp.rec.ownref, + fxtyp:model.fxdgrp.rec.fxtyp, }, cbsMap: { - MAX: model.fxtp.fxdgrp.cbs.max, - NOM1: model.fxtp.fxdgrp.cbs.nom1, + MAX: model.fxdgrp.cbs.max, + NOM1: model.fxdgrp.cbs.nom1, }, ptsList: ptsptaList, transName: trnName, diff --git a/src/page/Funds/Fxtfcm/model/Check.js b/src/page/Funds/Fxtfcm/model/Check.js index 7816cae..495c2f4 100644 --- a/src/page/Funds/Fxtfcm/model/Check.js +++ b/src/page/Funds/Fxtfcm/model/Check.js @@ -124,239 +124,239 @@ export default { {max: 40,message:"长度不能超过40"} ], - "mt30m.a53act":[ - {type: "string", required: false, message: "必输项"}, - {max: 34,message:"长度不能超过34"} - ], - "mt30m.b53act":[ - {type: "string", required: false, message: "必输项"}, - {max: 34,message:"长度不能超过34"} - ], - "mt30m.a53p.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.b53p.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.a53.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.a53p.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} - ], + // "mt30m.a53act":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 34,message:"长度不能超过34"} + // ], + // "mt30m.b53act":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 34,message:"长度不能超过34"} + // ], + // "mt30m.a53p.ptsget.sdamod.dadsnd":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.b53p.ptsget.sdamod.dadsnd":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.a53.pts.extkey":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.a53p.ptsget.sdamod.seainf":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 3,message:"长度不能超过3"} + // ], - "mt30m.b53.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.b53p.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} - ], + // "mt30m.b53.pts.extkey":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.b53p.ptsget.sdamod.seainf":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 3,message:"长度不能超过3"} + // ], - "mt30m.conref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.a53.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} - ], - "mt30m.b53.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} - ], + // "mt30m.conref":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.a53.pts.nam":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 40,message:"长度不能超过40"} + // ], + // "mt30m.b53.pts.nam":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 40,message:"长度不能超过40"} + // ], - "mt30m.iniact":[ - {type: "string", required: false, message: "必输项"}, - {max: 34,message:"长度不能超过34"} - ], - "mt30m.b56act":[ - {type: "string", required: false, message: "必输项"}, - {max: 34,message:"长度不能超过34"} - ], + // "mt30m.iniact":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 34,message:"长度不能超过34"} + // ], + // "mt30m.b56act":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 34,message:"长度不能超过34"} + // ], - "mt30m.inip.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.b56p.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.ini.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.inip.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} - ], + // "mt30m.inip.ptsget.sdamod.dadsnd":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.b56p.ptsget.sdamod.dadsnd":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.ini.pts.extkey":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.inip.ptsget.sdamod.seainf":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 3,message:"长度不能超过3"} + // ], - "mt30m.b56.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.b56p.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} - ], + // "mt30m.b56.pts.extkey":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.b56p.ptsget.sdamod.seainf":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 3,message:"长度不能超过3"} + // ], - "mt30m.coninf":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} - ], - "mt30m.ini.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} - ], - "mt30m.b56.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} - ], - "mt30m.rbcact":[ - {type: "string", required: false, message: "必输项"}, - {max: 34,message:"长度不能超过34"} - ], - "mt30m.owcact":[ - {type: "string", required: false, message: "必输项"}, - {max: 34,message:"长度不能超过34"} - ], + // "mt30m.coninf":[ + // {type: "string", required: true, message: "必输项"}, + // {max: 35,message:"长度不能超过35"} + // ], + // "mt30m.ini.pts.nam":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 40,message:"长度不能超过40"} + // ], + // "mt30m.b56.pts.nam":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 40,message:"长度不能超过40"} + // ], + // "mt30m.rbcact":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 34,message:"长度不能超过34"} + // ], + // "mt30m.owcact":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 34,message:"长度不能超过34"} + // ], - "mt30m.rbcp.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.owcp.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.rbc.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.rbcp.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} - ], + // "mt30m.rbcp.ptsget.sdamod.dadsnd":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.owcp.ptsget.sdamod.dadsnd":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.rbc.pts.extkey":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.rbcp.ptsget.sdamod.seainf":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 3,message:"长度不能超过3"} + // ], - "mt30m.owc.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.owcp.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} - ], + // "mt30m.owc.pts.extkey":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.owcp.ptsget.sdamod.seainf":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 3,message:"长度不能超过3"} + // ], - "mt30m.deamettxt":[ - {type: "string", required: false, message: "必输项"}, - {max: 35,message:"长度不能超过35"} - ], - "mt30m.rbc.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} - ], - "mt30m.owc.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} - ], + // "mt30m.deamettxt":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 35,message:"长度不能超过35"} + // ], + // "mt30m.rbc.pts.nam":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 40,message:"长度不能超过40"} + // ], + // "mt30m.owc.pts.nam":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 40,message:"长度不能超过40"} + // ], - "mt30m.comamt":[ - {type: "number", required: false, message: "必输项"}, - {max: 18,message:"整数位不能超过14位"}, - {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } - ], - "mt30m.c84p.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.b58act":[ - {type: "string", required: false, message: "必输项"}, - {max: 34,message:"长度不能超过34"} - ], - "mt30m.c84.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.c84p.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} - ], + // "mt30m.comamt":[ + // {type: "number", required: false, message: "必输项"}, + // {max: 18,message:"整数位不能超过14位"}, + // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } + // ], + // "mt30m.c84p.ptsget.sdamod.dadsnd":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.b58act":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 34,message:"长度不能超过34"} + // ], + // "mt30m.c84.pts.extkey":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.c84p.ptsget.sdamod.seainf":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 3,message:"长度不能超过3"} + // ], - "mt30m.ctpref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.b58p.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.b58.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.b58p.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} - ], + // "mt30m.ctpref":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.b58p.ptsget.sdamod.dadsnd":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.b58.pts.extkey":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.b58p.ptsget.sdamod.seainf":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 3,message:"长度不能超过3"} + // ], - "mt30m.c84.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} - ], - "mt30m.c88ref":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.b58.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} - ], - "mt30m.str300":[ - {type: "string", required: true, message: "必输项"}, - {max: 35,message:"长度不能超过35"} - ], - "mt30m.c88p.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.c88.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.c88p.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} - ], + // "mt30m.c84.pts.nam":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 40,message:"长度不能超过40"} + // ], + // "mt30m.c88ref":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.b58.pts.nam":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 40,message:"长度不能超过40"} + // ], + // "mt30m.str300":[ + // {type: "string", required: true, message: "必输项"}, + // {max: 35,message:"长度不能超过35"} + // ], + // "mt30m.c88p.ptsget.sdamod.dadsnd":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.c88.pts.extkey":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.c88p.ptsget.sdamod.seainf":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 3,message:"长度不能超过3"} + // ], - "mt30m.c85p.ptsget.sdamod.dadsnd":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.c85.pts.extkey":[ - {type: "string", required: false, message: "必输项"}, - {max: 16,message:"长度不能超过16"} - ], - "mt30m.c85p.ptsget.sdamod.seainf":[ - {type: "string", required: false, message: "必输项"}, - {max: 3,message:"长度不能超过3"} - ], + // "mt30m.c85p.ptsget.sdamod.dadsnd":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.c85.pts.extkey":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 16,message:"长度不能超过16"} + // ], + // "mt30m.c85p.ptsget.sdamod.seainf":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 3,message:"长度不能超过3"} + // ], - "mt30m.c88.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} - ], - "mt30m.c85.pts.nam":[ - {type: "string", required: false, message: "必输项"}, - {max: 40,message:"长度不能超过40"} - ], - "fxt300l1blk":[ - {type: "string", required: true, message: "必输项"}, - {max: 200,message:"长度不能超过200"} - ], + // "mt30m.c88.pts.nam":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 40,message:"长度不能超过40"} + // ], + // "mt30m.c85.pts.nam":[ + // {type: "string", required: false, message: "必输项"}, + // {max: 40,message:"长度不能超过40"} + // ], + // "fxt300l1blk":[ + // {type: "string", required: true, message: "必输项"}, + // {max: 200,message:"长度不能超过200"} + // ], } \ No newline at end of file diff --git a/src/page/Funds/Fxtfcm/model/Default.js b/src/page/Funds/Fxtfcm/model/Default.js index 72fc742..0619265 100644 --- a/src/page/Funds/Fxtfcm/model/Default.js +++ b/src/page/Funds/Fxtfcm/model/Default.js @@ -1,42 +1,8 @@ - -/** -* Fxtfcm Default规则 -*/ -import Api from "~/service/Api"; -import Utils from "~/utils/index" - +import commonFunctions from "~/mixin/commonFunctions.js"; +import commonDepend from "~/mixin/commonDepend"; export default { - "mt30m.c85.pts.extkey" :Utils.defaultFunction, - "mt30m.deamet" :Utils.defaultFunction, - "fxtp.cnychk" :Utils.defaultFunction, - "fxtp.frgchk" :Utils.defaultFunction, - "fxdgrp.rec.ownusr" :Utils.defaultFunction, - "fxdgrp.apl.dbfadrblkcn" :Utils.defaultFunction, - "swtflg" :Utils.defaultFunction, - "fxtp.usr.extkey" :Utils.defaultFunction, - "fxdgrp.rec.usr" :Utils.defaultFunction, - "fxdgrp.cbs.nom1.cur" :Utils.defaultFunction, - "fxdgrp.cbs.max.cur" :Utils.defaultFunction, - "fxdgrp.rec.rat" :Utils.defaultFunction, - "fxdgrp.cbs.nom1.amt" :Utils.defaultFunction, - "fxdgrp.cbs.max.amt" :Utils.defaultFunction, - "mt30m.c84.pts.extkey" :Utils.defaultFunction, - "fxdgrp.apl.pts.adrblk" :Utils.defaultFunction, - "mt30m.deamettxt" :Utils.defaultFunction, - "mt30m.b58.pts.extkey" :Utils.defaultFunction, - "fxdgrp.act.pts.extkey" :Utils.defaultFunction, - "fxdgrp.rec.fxtyp" :Utils.defaultFunction, - "fxdgrp.apl.pts.extkey" :Utils.defaultFunction, - "mt30m.a53.pts.extkey" :Utils.defaultFunction, - "aplacc.pts.extkey" :Utils.defaultFunction, - "mt30m.b53.pts.extkey" :Utils.defaultFunction, - "mt30m.b56.pts.extkey" :Utils.defaultFunction, - "fxdgrp.rec.ownref" :Utils.defaultFunction, - "mt30m.rbc.pts.extkey" :Utils.defaultFunction, - "mt30m.ini.pts.extkey" :Utils.defaultFunction, - "mt30m.s94a" :Utils.defaultFunction, - "mt30m.owc.pts.extkey" :Utils.defaultFunction, - "mt30m.c88.pts.extkey" :Utils.defaultFunction, - "mt30m.s22a" :Utils.defaultFunction, -} -//你可以添加自动default处理 + mixins: [commonFunctions, commonDepend], + methods: { + + }, +}; \ No newline at end of file diff --git a/src/page/Funds/Fxtfcm/model/index.js b/src/page/Funds/Fxtfcm/model/index.js index ef2a8d6..cf71ed8 100644 --- a/src/page/Funds/Fxtfcm/model/index.js +++ b/src/page/Funds/Fxtfcm/model/index.js @@ -1,222 +1,158 @@ import Api from "~/service/Api" import Pts from "~/page/Model/Common/Pts" +import Pub from "~/components/business/commonModel/index.js"; +import Fxdgrp from '~/components/business/commonModel/fxdgrp'; + export default class Fxtfcm{ constructor () { this.data = { - fxtfcm:{ - rec:{ - ownref:"", // 平盘业务参考号 .fxtfcm.rec.ownref - nam:"", // 名称 .fxtfcm.rec.nam - fxtyp:"", // 平盘类型 .fxtfcm.rec.fxtyp - opndat:"", // 平盘日期 .fxtfcm.rec.opndat - valdat:"", // 起息日 .fxtfcm.rec.valdat - rat:"", // 平盘牌价 .fxtfcm.rec.rat - midrat:"", // 中间价 .fxtfcm.rec.midrat - ownusr:"", // 资金部负责人 .fxtfcm.rec.ownusr - usr:"", // 清算中心负责人 .fxtfcm.rec.usr - detail:"", // 详情 .fxtfcm.rec.detail - other:"", //其它 - }, - apl:{ - pts:new Pts().data, - dbfadrblkcn:"", // Chinese address .fxtfcm.apl.dbfadrblkcn - }, - blk:{ - remark:"", // 备注 .fxtfcm.blk.remark - }, - cbs:{ - max:{ - cur:"", // Currency .fxtfcm.cbs.max.cur - amt:"", // Balance .fxtfcm.cbs.max.amt - }, - nom1:{ - cur:"", // Currency .fxtfcm.cbs.nom1.cur - amt:"", // Balance .fxtfcm.cbs.nom1.amt - }, - }, - act:{ - pts:new Pts().data, - }, + fxdgrp: new Fxdgrp().data, + fxtp:{ + frgchk:"X" + }, + acc2:"", // APLACC's Account .acc2 + acc1:"", // OWNACC's Account .acc1 + swtflg:"", + mt30m:{ + s22a:"", // Typeof Operation(:22A) .mt30m.s22a + s94a:"", // Scope of Operation(:94A) .mt30m.s94a + conref:"", // MT300 22C - 共同参号 .mt30m.conref + s17t:"", // Block Trade Indicator(:17T) .mt30m.s17t + s17u:"", // MT300 17U - 分笔结算指示 .mt30m.s17u + a53act:"", // Delivery Agent Account .mt30m.a53act + a53:{ + pts:new Pts().data, + }, + a53p:{ + ptsget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .mt30m.a53p.ptsget.sdamod.dadsnd + seainf:"", // .mt30m.a53p.ptsget.sdamod.seainf + }, + }, + }, + iniact:"", // Intermediary Account .mt30m.iniact + ini:{ + pts:new Pts().data, + }, + inip:{ + ptsget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .mt30m.inip.ptsget.sdamod.dadsnd + seainf:"", // .mt30m.inip.ptsget.sdamod.seainf + }, + }, + }, + rbcact:"", // Receiving Agent Account .mt30m.rbcact + rbc:{ + pts:new Pts().data, + }, + rbcp:{ + ptsget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .mt30m.rbcp.ptsget.sdamod.dadsnd + seainf:"", // .mt30m.rbcp.ptsget.sdamod.seainf + }, + }, + }, + b53act:"", // Delivery Agent Account .mt30m.b53act + b53:{ + pts:new Pts().data, + }, + b53p:{ + ptsget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .mt30m.b53p.ptsget.sdamod.dadsnd + seainf:"", // .mt30m.b53p.ptsget.sdamod.seainf + }, + }, + }, + b56act:"", // Intermediary Account .mt30m.b56act + b56:{ + pts:new Pts().data, + }, + b56p:{ + ptsget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .mt30m.b56p.ptsget.sdamod.dadsnd + seainf:"", // .mt30m.b56p.ptsget.sdamod.seainf + }, + }, + }, + owcact:"", // Receiving Agent Account .mt30m.owcact + owc:{ + pts:new Pts().data, + }, + owcp:{ + ptsget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .mt30m.owcp.ptsget.sdamod.dadsnd + seainf:"", // .mt30m.owcp.ptsget.sdamod.seainf }, - fxtp:{ - amtlab:"", // Amount Label .fxtp.amtlab - cnylab:"", // Amount LabelCNY .fxtp.cnylab - frgchk:"", // 外币 .fxtp.frgchk - cnychk:"", // 人民币 .fxtp.cnychk - aplp:{ - ptsget:{ - sdamod:{ - seainf:"", // .fxtp.aplp.ptsget.sdamod.seainf - dadsnd:"", // Drag Drop Sender .fxtp.aplp.ptsget.sdamod.dadsnd - }, - }, - }, - usrget:{ - sdamod:{ - seainf:"", // .fxtp.usrget.sdamod.seainf - }, - }, - usr:{ - extkey:"", // User ID .fxtp.usr.extkey - }, - actp:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .fxtp.actp.ptsget.sdamod.dadsnd - seainf:"", // .fxtp.actp.ptsget.sdamod.seainf - }, - }, - }, + }, + }, + b58act:"", // Beneficiary Institution Account .mt30m.b58act + b58:{ + pts:new Pts().data, + }, + b58p:{ + ptsget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .mt30m.b58p.ptsget.sdamod.dadsnd + seainf:"", // .mt30m.b58p.ptsget.sdamod.seainf }, - aplacc:{ - pts:new Pts().data, + }, + }, + coninf:"", // Contact Information .mt30m.coninf + deamet:"", // Dealing Method .mt30m.deamet + deamettxt:"", // Dealing Method Text .mt30m.deamettxt + c84:{ + pts:new Pts().data, + }, + c84p:{ + ptsget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .mt30m.c84p.ptsget.sdamod.dadsnd + seainf:"", // .mt30m.c84p.ptsget.sdamod.seainf }, - aplaccp:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .aplaccp.ptsget.sdamod.dadsnd - seainf:"", // .aplaccp.ptsget.sdamod.seainf - }, - }, + }, + }, + c88:{ + pts:new Pts().data, + }, + c88p:{ + ptsget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .mt30m.c88p.ptsget.sdamod.dadsnd + seainf:"", // .mt30m.c88p.ptsget.sdamod.seainf }, - acc2:"", // APLACC's Account .acc2 - acc1:"", // OWNACC's Account .acc1 - swtflg:"", // 发送MT300 .swtflg - mt30m:{ - s22a:"", // Typeof Operation(:22A) .mt30m.s22a - s94a:"", // Scope of Operation(:94A) .mt30m.s94a - conref:"", // MT300 22C - 共同参号 .mt30m.conref - s17t:"", // Block Trade Indicator(:17T) .mt30m.s17t - s17u:"", // MT300 17U - 分笔结算指示 .mt30m.s17u - a53act:"", // Delivery Agent Account .mt30m.a53act - a53:{ - pts:new Pts().data, - }, - a53p:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .mt30m.a53p.ptsget.sdamod.dadsnd - seainf:"", // .mt30m.a53p.ptsget.sdamod.seainf - }, - }, - }, - iniact:"", // Intermediary Account .mt30m.iniact - ini:{ - pts:new Pts().data, - }, - inip:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .mt30m.inip.ptsget.sdamod.dadsnd - seainf:"", // .mt30m.inip.ptsget.sdamod.seainf - }, - }, - }, - rbcact:"", // Receiving Agent Account .mt30m.rbcact - rbc:{ - pts:new Pts().data, - }, - rbcp:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .mt30m.rbcp.ptsget.sdamod.dadsnd - seainf:"", // .mt30m.rbcp.ptsget.sdamod.seainf - }, - }, - }, - b53act:"", // Delivery Agent Account .mt30m.b53act - b53:{ - pts:new Pts().data, - }, - b53p:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .mt30m.b53p.ptsget.sdamod.dadsnd - seainf:"", // .mt30m.b53p.ptsget.sdamod.seainf - }, - }, - }, - b56act:"", // Intermediary Account .mt30m.b56act - b56:{ - pts:new Pts().data, - }, - b56p:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .mt30m.b56p.ptsget.sdamod.dadsnd - seainf:"", // .mt30m.b56p.ptsget.sdamod.seainf - }, - }, - }, - owcact:"", // Receiving Agent Account .mt30m.owcact - owc:{ - pts:new Pts().data, - }, - owcp:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .mt30m.owcp.ptsget.sdamod.dadsnd - seainf:"", // .mt30m.owcp.ptsget.sdamod.seainf - }, - }, - }, - b58act:"", // Beneficiary Institution Account .mt30m.b58act - b58:{ - pts:new Pts().data, - }, - b58p:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .mt30m.b58p.ptsget.sdamod.dadsnd - seainf:"", // .mt30m.b58p.ptsget.sdamod.seainf - }, - }, - }, - coninf:"", // Contact Information .mt30m.coninf - deamet:"", // Dealing Method .mt30m.deamet - deamettxt:"", // Dealing Method Text .mt30m.deamettxt - c84:{ - pts:new Pts().data, - }, - c84p:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .mt30m.c84p.ptsget.sdamod.dadsnd - seainf:"", // .mt30m.c84p.ptsget.sdamod.seainf - }, - }, - }, - c88:{ - pts:new Pts().data, - }, - c88p:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .mt30m.c88p.ptsget.sdamod.dadsnd - seainf:"", // .mt30m.c88p.ptsget.sdamod.seainf - }, - }, - }, - c85:{ - pts:new Pts().data, - }, - c85p:{ - ptsget:{ - sdamod:{ - dadsnd:"", // Drag Drop Sender .mt30m.c85p.ptsget.sdamod.dadsnd - seainf:"", // .mt30m.c85p.ptsget.sdamod.seainf - }, - }, - }, - comcur:"", // Broker's Commission Cur. .mt30m.comcur - comamt:"", // Broker's Commission Amount .mt30m.comamt - ctpref:"", // Counterparty's Reference .mt30m.ctpref - c88ref:"", // Broker's Reference .mt30m.c88ref - str300:"", // Sender to Receiver Information .mt30m.str300 + }, + }, + c85:{ + pts:new Pts().data, + }, + c85p:{ + ptsget:{ + sdamod:{ + dadsnd:"", // Drag Drop Sender .mt30m.c85p.ptsget.sdamod.dadsnd + seainf:"", // .mt30m.c85p.ptsget.sdamod.seainf }, - fxt300l1blk:"", // XMLPanel fxt300l1的内置block .fxt300l1blk - pageId: "" // ctx的key - } + }, + }, + comcur:"", // Broker's Commission Cur. .mt30m.comcur + comamt:"", // Broker's Commission Amount .mt30m.comamt + ctpref:"", // Counterparty's Reference .mt30m.ctpref + c88ref:"", // Broker's Reference .mt30m.c88ref + str300:"", // Sender to Receiver Information .mt30m.str300 + }, + fxt300l1blk:"", + aplacc:{ + pts:new Pts().data, + }, + setmod: new Pub().data.Setmod, + docpan: new Pub().data.Docpan, + trndia: new Pub().data.Trndia, + } } } \ No newline at end of file diff --git a/src/page/Funds/Fxtfcm/views/Cnfp.vue b/src/page/Funds/Fxtfcm/views/Cnfp.vue index ef25ec0..4e6f543 100644 --- a/src/page/Funds/Fxtfcm/views/Cnfp.vue +++ b/src/page/Funds/Fxtfcm/views/Cnfp.vue @@ -1,223 +1,181 @@ <template> <div class="eibs-tab"> - - <!-- S0000002 : 平盘业务参考号 --> - - <c-col :span="9"> - <c-form-item label="平盘业务参考号" prop="fxtfcm.rec.ownref"> - <c-input disabled v-model="model.fxtfcm.rec.ownref" maxlength="16" ></c-input> - </c-form-item> - </c-col> - - <c-col :span="3"> - <c-button size="small" type="primary" @click="onFxtpButgetref"> - Get Ref - </c-button> - </c-col> - - <!-- S0000003 : 名称 --> - <c-col :span="12"> - <c-form-item label="名称" prop="fxtfcm.rec.nam"> - <c-input disabled v-model="model.fxtfcm.rec.nam" maxlength="40" ></c-input> - </c-form-item> - </c-col> - - - <c-col :span="12"> - <!-- S0000006 : 平盘对手 --> - <c-col :span="12"> - <c-form-item label="平盘对手" prop="fxtfcm.apl.pts.ref"> - <c-input v-model="model.fxtfcm.apl.pts.ref" maxlength="20" ></c-input> + <c-col :span="24"> + <!-- ==================左边================ --> + <c-col :span="12" style="padding-right: 20px"> + <c-col :span="24"> + <c-form-item label="业务编号" prop="fxdgrp.rec.ownref"> + <c-fullbox> + <c-input v-model="model.fxdgrp.rec.ownref" maxlength="16" placeholder="请输入业务编号" disabled> + </c-input> + <template slot="footer"> + <c-button style="margin: 0 5px" size="small" type="primary" :disabled="getOwnrefFlg" + @click="getOwnref" > + 获取 + </c-button> + </template> + </c-fullbox> </c-form-item> </c-col> - </c-col> - - <c-col :span="12"> - <c-col :span="24"> - <c-form-item label="平盘机构" prop="aplacc.pts.nam"> - <c-input disabled v-model="model.aplacc.pts.nam" maxlength="40" ></c-input> - </c-form-item> - </c-col> - </c-col> - - <c-col :span="24"></c-col> - <c-col :span="12"> - <!-- S0000021 : 清算中心负责人 --> - <c-col :span="12"> - <c-form-item label="清算中心负责人" prop="fxtfcm.rec.usr"> - <c-input v-model="model.fxtfcm.rec.usr" maxlength="8" ></c-input> + + <c-col :span="24"> + <c-form-item label="经办人(资金部)" prop="fxdgrp.rec.ownusr"> + <c-fullbox> + <c-input v-model="model.fxdgrp.rec.ownusr" placeholder="请输入业务负责人" ></c-input> + <template slot="footer"> + <c-button style="margin: 0 5px" size="small" type="primary"> + i + </c-button> + </template> + </c-fullbox> </c-form-item> + </c-col> - </c-col> - - <c-col :span="12"> - <c-col :span="21"> - <c-form-item label="" prop="fxtfcm.rec.detail"> - <c-input disabled v-model="model.fxtfcm.rec.detail" ></c-input> + <c-col :span="24"> + <c-form-item label="经办人(营运部)" prop="fxdgrp.rec.usr"> + <c-fullbox> + <c-input v-model="model.fxdgrp.rec.usr" placeholder="请输入业务负责人" ></c-input> + <template slot="footer"> + <c-button style="margin: 0 5px" size="small" type="primary"> + i + </c-button> + </template> + </c-fullbox> </c-form-item> + </c-col> - - <c-col :span="3"> - <i class="el-icon-info"></i> - <c-button size="small" type="primary" @click="onAplpDet"> - 明细 - </c-button> - </c-col> - </c-col> - <c-col :span="12"> - <!-- S0000005 : 平盘类型 --> - <c-col :span="12"> - <el-form-item label="平盘类型" prop="fxtfcm.rec.fxtyp"> - <c-select disabled v-model="model.fxtfcm.rec.fxtyp" maxlength="20" ></c-select> - </el-form-item> - </c-col> - </c-col> - <c-col :span="12"> - <c-col :span="24"> - <c-form-item prop="fxtfcm.apl.pts.adrblk"> - <c-input disabled type="textarea" v-model="model.fxtfcm.apl.pts.adrblk" maxlength="35" show-word-limit ></c-input> - </c-form-item> - </c-col> - </c-col> - - <c-col :span="24"> - <!-- 卖出金额 --> - <c-col :span="12"> - <c-col :span="8"> - <el-form-item label="卖出金额" prop="fxtfcm.cbs.max.cur"> - <c-select-cur disabled v-model="model.fxtfcm.cbs.max.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur> - </el-form-item> - </c-col> - <c-col :span="6"> - <el-form-item label-width="5px" prop="fxtfcm.cbs.max.amt"> - <c-input-currency - disabled - :currency="model.fxtfcm.cbs.max.cur" - v-model="model.fxtfcm.cbs.max.amt"></c-input-currency> - </el-form-item> - </c-col> - </c-col> - </c-col> - - <c-col :span="24"> - <!-- 买入金额 --> - <c-col :span="12"> - <c-col :span="8"> - <el-form-item label="买入金额" prop="fxtfcm.cbs.nom1.cur"> - <c-select-cur disabled v-model="model.fxtfcm.cbs.nom1.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur> - </el-form-item> - </c-col> - <c-col :span="6"> - <el-form-item label-width="5px" prop="fxtfcm.cbs.nom1.amt"> - <c-input-currency - disabled - :currency="model.fxtfcm.cbs.nom1.cur" - v-model="model.fxtfcm.cbs.nom1.amt"></c-input-currency> - </el-form-item> - </c-col> - </c-col> - - <c-col :span="9"> - <c-form-item label="平盘机构账户行" prop="acc2"> - <c-input v-model="model.acc2" ></c-input> - </c-form-item> + <c-col :span="24"> + <el-form-item label="平盘类型" prop="fxdgrp.rec.fxtyp"> + <c-select disabled v-model="model.fxdgrp.rec.fxtyp" style="width:100%" :code="codes.fxt_fxtyp" :filterKey="['FS', 'FB']"> + </c-select> + </el-form-item> </c-col> - <c-col :span="3"> - <i class="el-icon-info"></i> - <c-button size="small" type="primary" @click="onAplpDet"> - 明细 - </c-button> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="卖出金额" prop="fxdgrp.cbs.max.cur"> + <c-select-cur disabled v-model="model.fxdgrp.cbs.max.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur> + </el-form-item> + </c-col> + <c-col :span="12"> + <el-form-item label-width="5px" prop="fxdgrp.cbs.max.amt"> + <c-input-currency disabled + :currency="model.fxdgrp.cbs.max.cur" + v-model="model.fxdgrp.cbs.max.amt"></c-input-currency> + </el-form-item> + </c-col> </c-col> - </c-col> - - <c-col :span="24"> - <!-- S0000013 : 平盘牌价 --> - <c-col :span="12"> - <c-form-item label="平盘牌价" prop="fxtfcm.rec.rat"> - <c-input disabled v-model="model.fxtfcm.rec.rat" ></c-input> + <c-col :span="24"> + <c-col :span="12"> + <el-form-item label="买入金额" prop="fxdgrp.cbs.nom1.cur"> + <c-select-cur disabled v-model="model.fxdgrp.cbs.nom1.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur> + </el-form-item> + </c-col> + <c-col :span="12"> + <el-form-item label-width="5px" prop="fxdgrp.cbs.nom1.amt"> + <c-input-currency + disabled + :currency="model.fxdgrp.cbs.nom1.cur" + v-model="model.fxdgrp.cbs.nom1.amt"></c-input-currency> + </el-form-item> + </c-col> + </c-col> + <c-col :span="24"> + <c-form-item label="平盘牌价" prop="fxdgrp.rec.rat"> + <c-input-currency disabled v-model="model.fxdgrp.rec.rat" style="width:100%" :precision="6" placeholder="请输入平盘牌价"> + </c-input-currency> </c-form-item> </c-col> - </c-col> - - <c-col :span="24"> - <!-- S0000014 : 中间价 --> - <c-col :span="12"> - <c-form-item label="中间价" prop="fxtfcm.rec.midrat"> - <c-input disabled v-model="model.fxtfcm.rec.midrat" ></c-input> + <c-col :span="24"> + <c-form-item label="中间价" prop="fxdgrp.rec.midrat"> + <c-input-currency v-model="model.fxdgrp.rec.midrat" style="width:100%" :precision="6" disabled placeholder="请输入中间价"> + </c-input-currency> </c-form-item> </c-col> - </c-col> - - - <c-col :span="24"> - - <!-- S0000007 : 平盘日期 --> - <c-col :span="12"> - <el-form-item label="平盘日期" prop="fxtfcm.rec.opndat"> - <c-date-picker disabled type="date" v-model="model.fxtfcm.rec.opndat" style="width:100%" ></c-date-picker> - </el-form-item> - </c-col> - - - <c-col :span="12"> - <el-form-item prop="fxtfcm.rec.other"> - <c-select v-model="model.fxtfcm.rec.other" style="width:100%"> - </c-select> - </el-form-item> + <c-col :span="24"> + <el-form-item label="成交日" prop="fxdgrp.rec.opndat"> + <c-date-picker disabled type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%" placeholder="请输入成交日"> + </c-date-picker> + </el-form-item> </c-col> - </c-col> - - <c-col :span="24"> - <!-- S0000008 : 起息日 --> - <c-col :span="12"> - <el-form-item label="起息日" prop="fxtfcm.rec.valdat"> - <c-date-picker disabled type="date" v-model="model.fxtfcm.rec.valdat" style="width:100%" ></c-date-picker> + <c-col :span="24"> + <el-form-item label="起息日" prop="fxdgrp.rec.valdat"> + <c-date-picker disabled type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%" placeholder="请输入起息日"> + </c-date-picker> </el-form-item> </c-col> - - <!-- S0000019 : 我行账户行 --> - <c-col :span="12"> - <c-form-item label="我行账户行" prop="fxtfcm.act.pts.ref"> - <c-input v-model="model.fxtfcm.act.pts.ref" maxlength="20" ></c-input> + <c-col :span="24"> + <c-form-item label="备注" prop="fxdgrp.blk.remark"> + <c-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="140" :rows="4" style="width:100%" placeholder="请输入备注"> + </c-input> </c-form-item> </c-col> - </c-col> - - <c-col :span="24"> - <c-col :span="12"> - <c-form-item label="备注" prop="fxtfcm.blk.remark"> - <c-input type="textarea" v-model="model.fxtfcm.blk.remark" maxlength="35" show-word-limit ></c-input> - </c-form-item> + <c-col :span="24"> + <c-checkbox v-model="model.swtflg">发送MT300</c-checkbox> </c-col> - - <c-col :span="9"> - <c-form-item prop="fxtp.aplp.ptsget.sdamod.seainf"> - <c-input v-model="model.fxtp.aplp.ptsget.sdamod.seainf" ></c-input> - </c-form-item> + </c-col> + <!-- ==================右边================ --> + <c-col :span="12" style="padding-right: 20px"> + <c-col :span="24"> + <c-form-item label="业务名称" prop="fxdgrp.rec.nam"> + <c-input v-model="model.fxdgrp.rec.nam" maxlength="40" disabled></c-input> + </c-form-item> + </c-col> + + <c-col :span="24"> + <el-card class="box-card"> + <c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="true" :disabled="true" :isAdrblk="true" :haveAdrLabel="true" + :isShowCard="false" + :argadr="{title: '平盘对手', grp: 'fxdgrp', rol: 'apl',}" + :label="{labelExtkey:'平盘对手',labelNam:'名称',labelAdrblk:'地址',}" + ptytyp="B"> + </c-ptap> + </el-card> </c-col> - <c-col :span="3"> - <i class="el-icon-info"></i> - <c-button size="small" type="primary" @click="onAplpDet"> - 明细 - </c-button> + + + <c-col :span="24"> + <el-card class="box-card"> + <c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="true" :isAdrblk="true" :haveAdrLabel="true" + :isShowCard="false" + :argadr="{title: '平盘对手账户行', grp: 'fxdgrp', rol: 'acc',}" + :label="{labelExtkey:'平盘对手账户行',labelNam:'名称',labelAdrblk:'地址',}" + ptytyp="B"> + </c-ptap> + </el-card> + </c-col> + + <c-col :span="24"> + <el-form-item prop="acc2"> + <c-select v-model="model.acc2" style="width:100%"> + </c-select> + </el-form-item> </c-col> - </c-col> - <c-col :span="12"> - <c-checkbox v-model="model.swtflg">发送MT300</c-checkbox> - </c-col> + <c-col :span="24"> + <el-card class="box-card"> + <c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="true" :isAdrblk="true" :haveAdrLabel="true" + :isShowCard="false" + :argadr="{title: '我行账户行', grp: 'fxdgrp', rol: 'act',}" + :label="{labelExtkey:'我行账户行',labelNam:'名称',labelAdrblk:'地址',}" + ptytyp="B"> + </c-ptap> + </el-card> + </c-col> - <c-col :span="12"> - <el-form-item prop="acc1"> - <c-select v-model="model.acc1" style="width:100%"> - </c-select> - </el-form-item> + <c-col :span="24"> + <el-form-item prop="acc1"> + <c-select v-model="model.acc1" style="width:100%"> + </c-select> + </el-form-item> + </c-col> + </c-col> + </c-col> </div> </template> -<script> +<script> import Api from "~/service/Api" import commonProcess from "~/mixin/commonProcess"; import CodeTable from "~/config/CodeTable" @@ -226,7 +184,7 @@ import Event from "../model/Event" export default { inject: ['root'], props:["model","codes"], - mixins: [commonProcess], + mixins: [Event,commonProcess], data(){ return { diff --git a/src/page/Funds/Fxtfcm/views/index.vue b/src/page/Funds/Fxtfcm/views/index.vue index 324e4ba..94a8c04 100644 --- a/src/page/Funds/Fxtfcm/views/index.vue +++ b/src/page/Funds/Fxtfcm/views/index.vue @@ -1,30 +1,28 @@ <template> <div class="eContainer"> - <c-page title="结售汇平盘确认"> - <el-form - :model="model" - :rules="rules" - ref="modelForm" - label-width="150px" - label-position="right" - size="small" - :validate-on-rule-change="false" - > + <c-content> + <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"> <!--fxtfcm PD000001 Confirmation --> - <el-tab-pane label="概要" name="cnfp"> + <el-tab-pane label="Confirmation" name="cnfp"> <m-cnfp :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> + <!--fxtfcm PD000023 MT300 --> <el-tab-pane label="MT300" name="mt300"> <m-mt300 :model="model" :codes="codes"/> </el-tab-pane> - <!--fxtfcm PD000065 MT300 --> - <el-tab-pane label="fxt300l1" name="fxt300l1"> - <m-fxt300l1 :model="model" :codes="codes"/> - </el-tab-pane> + </c-tabs> </el-form> @@ -35,14 +33,23 @@ @handleSureWarning="handleSureWarning" ref="commonBtn" ></c-function-btn> - </c-page> + </c-content> </div> </template> <script> + import Api from "~/service/Api" import CodeTable from "~/config/CodeTable" -import Fxtfcm from "../model" import commonProcess from "~/mixin/commonProcess" +import Setpan from "~/components/business/setmod/views"; +import Docpan from "~/components/business/docpan/views"; +import buildFn from "../event/buildCommons.js"; + +import Fxtfcm from "../model"; +import operationFunc from "~/mixin/operationFunc"; +import commonDepend from "~/mixin/commonDepend"; + +import event from "../event"; import Check from "../model/Check" // import Default from "../model/Default" // import Pattern from "../model/Pattern" @@ -55,6 +62,8 @@ export default { name: "Fxtfcm", components:{ "m-cnfp" : Cnfp, + "m-setpan": Setpan, + "m-docpan": Docpan, "m-mt300" : Mt300, "m-fxt300l1" : Fxt300l1, }, @@ -63,7 +72,7 @@ export default { root: this } }, - mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 + mixins: [commonProcess,operationFunc,commonDepend,event,buildFn], // 里面包含了Default、Check等的公共处理 data(){ return { tabVal: "cnfp", @@ -74,31 +83,27 @@ export default { // defaultRules: Default, // pattern: Pattern, rules: Check, - codes: { + codes: { ...CodeTable }, } }, methods:{ myTabClick(tab){ this.tabClick(tab) - /** - * do it yourself - **/ + } }, created:async function(){ - console.log("进入fxtfcm交易"); - let rtnmsg = {}; // await this.init({}) - if(rtnmsg.respCode == SUCCESS) - { - this.updateModel(rtnmsg.data) - //TODO 处理数据逻辑 - - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } + console.log("进入fxtfcm交易.."+this.trnName); + let params = { + transName: this.trnName, + fxdgrp: { + rec: { + inr: this.$route.query.inr || "", + }, + }, + }; + this.init(params) } } </script> diff --git a/src/page/Funds/Fxtfop/model/Check.js b/src/page/Funds/Fxtfop/model/Check.js index 5d2fd81..4b228b5 100644 --- a/src/page/Funds/Fxtfop/model/Check.js +++ b/src/page/Funds/Fxtfop/model/Check.js @@ -35,7 +35,7 @@ export default { ], "fxdgrp.rec.rat": [ {required: true, message: "必输项"}, - {max: 14, message: "长度不能超过14"} + ], "fxdgrp.rec.midrat": [ diff --git a/src/page/Funds/Fxtfop/views/Regp.vue b/src/page/Funds/Fxtfop/views/Regp.vue index f7124e0..de1a11d 100644 --- a/src/page/Funds/Fxtfop/views/Regp.vue +++ b/src/page/Funds/Fxtfop/views/Regp.vue @@ -144,8 +144,12 @@ export default { defaultNam950: function () { //debugger; let amount = this.moneyFormat(this.model.fxdgrp.cbs.max.amt, this.model.fxdgrp.cbs.max.cur) - return this.getCodelabel(this.model.fxdgrp.rec.fxtyp, "fxt_fxtyp") + "," + let nam= this.getCodelabel(this.model.fxdgrp.rec.fxtyp, "fxt_fxtyp") + "," + this.model.fxdgrp.cbs.max.cur + " " + amount; + debugger + console.log("nam---",nam) + this.model.fxdgrp.rec.nam=nam; + return nam }, }, diff --git a/src/page/Funds/Fxtlcm/event/buildCommons.js b/src/page/Funds/Fxtlcm/event/buildCommons.js index 2c716ea..f80af29 100644 --- a/src/page/Funds/Fxtlcm/event/buildCommons.js +++ b/src/page/Funds/Fxtlcm/event/buildCommons.js @@ -27,6 +27,15 @@ export default { objtyp: "FXD", objinr: model.fxdgrp.rec.inr, ownref: model.fxdgrp.rec.ownref, + fxtyp:model.fxdgrp.rec.fxtyp, + acc: model.fxdgrp.rec.acc, + acc2: model.fxdgrp.rec.acc2, + dsp: model.fxdgrp.rec.dsp, + dsp2: model.fxdgrp.rec.dsp2, + trdint: model.fxdgrp.rec.trdint, + trdout: model.fxdgrp.rec.trdout, + trnman: model.fxdgrp.rec.trnman, + rat: model.fxdgrp.rec.rat, }, cbsMap: { MAX: model.fxdgrp.cbs.max, diff --git a/src/page/Funds/Fxtlcm/model/index.js b/src/page/Funds/Fxtlcm/model/index.js index 76b14df..64e3b79 100644 --- a/src/page/Funds/Fxtlcm/model/index.js +++ b/src/page/Funds/Fxtlcm/model/index.js @@ -1,43 +1,45 @@ import Api from "~/service/Api" import Pts from "~/page/Model/Common/Pts" import Pub from "../../../../components/business/commonModel/index.js"; +import Fxdgrp from '~/components/business/commonModel/fxdgrp'; export default class Fxtlcm{ constructor () { this.data = { - fxdgrp:{ - rec:{ - ownref:"", // 平盘业务参考号 .fxdgrp.rec.ownref - nam:"", // 名称 .fxdgrp.rec.nam - fxtyp:"", // 平盘类型 .fxdgrp.rec.fxtyp - opndat:"", // 平盘日期 .fxdgrp.rec.opndat - valdat:"", // 起息日 .fxdgrp.rec.valdat - rat:"", // 平盘牌价 .fxdgrp.rec.rat - midrat:"", // 中间价 .fxdgrp.rec.midrat - ownusr:"", // 资金部负责人 .fxdgrp.rec.ownusr - usr:"", // 清算中心负责人 .fxdgrp.rec.usr - }, - apl:{ - pts:new Pts().data, - dbfadrblkcn:"", // Chinese address .fxdgrp.apl.dbfadrblkcn - }, - blk:{ - remark:"", // 备注 .fxdgrp.blk.remark - }, - cbs:{ - max:{ - cur:"", // Currency .fxdgrp.cbs.max.cur - amt:"", // Balance .fxdgrp.cbs.max.amt - }, - nom1:{ - cur:"", // Currency .fxdgrp.cbs.nom1.cur - amt:"", // Balance .fxdgrp.cbs.nom1.amt - }, - }, - act:{ - pts:new Pts().data, - }, - }, + // fxdgrp:{ + // rec:{ + // ownref:"", // 平盘业务参考号 .fxdgrp.rec.ownref + // nam:"", // 名称 .fxdgrp.rec.nam + // fxtyp:"", // 平盘类型 .fxdgrp.rec.fxtyp + // opndat:"", // 平盘日期 .fxdgrp.rec.opndat + // valdat:"", // 起息日 .fxdgrp.rec.valdat + // rat:"", // 平盘牌价 .fxdgrp.rec.rat + // midrat:"", // 中间价 .fxdgrp.rec.midrat + // ownusr:"", // 资金部负责人 .fxdgrp.rec.ownusr + // usr:"", // 清算中心负责人 .fxdgrp.rec.usr + // }, + // apl:{ + // pts:new Pts().data, + // dbfadrblkcn:"", // Chinese address .fxdgrp.apl.dbfadrblkcn + // }, + // blk:{ + // remark:"", // 备注 .fxdgrp.blk.remark + // }, + // cbs:{ + // max:{ + // cur:"", // Currency .fxdgrp.cbs.max.cur + // amt:"", // Balance .fxdgrp.cbs.max.amt + // }, + // nom1:{ + // cur:"", // Currency .fxdgrp.cbs.nom1.cur + // amt:"", // Balance .fxdgrp.cbs.nom1.amt + // }, + // }, + // act:{ + // pts:new Pts().data, + // }, + // }, + fxdgrp: new Fxdgrp().data, fxtp:{ amtlab:"", // Amount Label .fxtp.amtlab cnylab:"", // Amount LabelCNY .fxtp.cnylab diff --git a/src/page/Funds/Fxtlcm/views/Cnfp.vue b/src/page/Funds/Fxtlcm/views/Cnfp.vue index 8891208..12e0379 100644 --- a/src/page/Funds/Fxtlcm/views/Cnfp.vue +++ b/src/page/Funds/Fxtlcm/views/Cnfp.vue @@ -18,7 +18,7 @@ style="margin: 0 0" size="small" type="primary" - :disabled="model.fxdgrp.apl.pts.ptainr === ''" + disabled @click="getOwnref" > 获取 @@ -42,7 +42,7 @@ <!-- 平盘类型 --> <c-col :span="24"> <el-form-item :label="$t('fxtlcm.平盘类型')" prop="fxdgrp.rec.fxtyp"> - <c-select v-model="model.fxdgrp.rec.fxtyp" :code="codes.fxt_fxtyp" style="width:100%" > + <c-select v-model="model.fxdgrp.rec.fxtyp" :code="codes.fxt_fxtyp" style="width:100%" disabled> </c-select> </el-form-item> @@ -51,13 +51,13 @@ <c-col :span="24"> <c-col :span="12"> <el-form-item :label="$t('fxtsqo.卖出金额')" prop="fxdgrp.cbs.max.cur"> - <c-select v-model="model.fxdgrp.cbs.max.cur" :code="codes.bopcur" style="width:100%"> + <c-select v-model="model.fxdgrp.cbs.max.cur" :code="codes.bopcur" style="width:100%" disabled> </c-select> </el-form-item> </c-col> <c-col :span="12"> <c-form-item label-width="5px" prop="fxdgrp.cbs.max.amt"> - <c-input v-model="model.fxdgrp.cbs.max.amt"></c-input> + <c-input v-model="model.fxdgrp.cbs.max.amt" disabled></c-input> </c-form-item> </c-col> </c-col> @@ -65,38 +65,38 @@ <c-col :span="24"> <c-col :span="12"> <el-form-item :label="$t('fxtsqo.买入金额')" prop="fxdgrp.cbs.nom1.cur"> - <c-select v-model="model.fxdgrp.cbs.nom1.cur" :code="codes.bopcur" style="width:100%"> + <c-select v-model="model.fxdgrp.cbs.nom1.cur" :code="codes.bopcur" style="width:100%" disabled> </c-select> </el-form-item> </c-col> <c-col :span="12"> <c-form-item label-width="5px" prop="fxdgrp.cbs.nom1.amt"> - <c-input v-model="model.fxdgrp.cbs.nom1.amt"></c-input> + <c-input v-model="model.fxdgrp.cbs.nom1.amt" disabled></c-input> </c-form-item> </c-col> </c-col> <!-- 平盘牌价 --> <c-col :span="24"> <c-form-item :label="$t('fxtlcm.平盘牌价')" prop="fxdgrp.rec.rat"> - <c-input v-model="model.fxdgrp.rec.rat" ></c-input> + <c-input v-model="model.fxdgrp.rec.rat" disabled ></c-input> </c-form-item> </c-col> <!-- 中间价 --> <c-col :span="24"> <c-form-item :label="$t('fxtlcm.中间价')" prop="fxdgrp.rec.midrat"> - <c-input v-model="model.fxdgrp.rec.midrat" ></c-input> + <c-input v-model="model.fxdgrp.rec.midrat" disabled ></c-input> </c-form-item> </c-col> <!-- 平盘日期 --> <c-col :span="24"> <el-form-item :label="$t('fxtsqo.登记日期')" prop="fxdgrp.rec.opndat"> - <c-date-picker type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%"></c-date-picker> + <c-date-picker type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%" disabled></c-date-picker> </el-form-item> </c-col> <!-- 起息日 --> <c-col :span="24"> <el-form-item :label="$t('fxtsqo.起息日')" prop="fxdgrp.rec.valdat"> - <c-date-picker type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%"></c-date-picker> + <c-date-picker type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%" disabled></c-date-picker> </el-form-item> </c-col> <!-- 备注 --> @@ -113,7 +113,7 @@ <!-- 名称 --> <c-col :span="24"> <c-form-item :label="$t('fxtsqo.名称')" prop="fxdgrp.rec.nam"> - <c-input v-model="model.fxdgrp.rec.nam" maxlength="40"></c-input> + <c-input v-model="model.fxdgrp.rec.nam" maxlength="40" disabled></c-input> </c-form-item> </c-col> @@ -122,7 +122,7 @@ <c-ptap :model="model" :requiredExtkey="true" - :disabledExtkey="false" + :disabledExtkey="true" :disabled="true" :isAdrblk="true" :haveAdrLabel="true" @@ -147,8 +147,8 @@ :isAdrblk="true" :haveAdrLabel="true" :isShowCard="false" - :argadr="{ title: '平盘对手账号', grp: 'fxdgrp', rol: 'act' }" - ptytyp="C" + :argadr="{ title: '平盘对手账号', grp: 'fxdgrp', rol: 'acc' }" + ptytyp="B" > </c-ptap> </el-card> diff --git a/src/page/Funds/Fxtlcm/views/index.vue b/src/page/Funds/Fxtlcm/views/index.vue index c075083..7a1e4e3 100644 --- a/src/page/Funds/Fxtlcm/views/index.vue +++ b/src/page/Funds/Fxtlcm/views/index.vue @@ -10,7 +10,7 @@ <el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan"> <c-content> - <m-setmod :model="model" :codes="codes"></m-setmod> + <m-setpan :model="model" :codes="codes"></m-setpan> </c-content> </el-tab-pane> <el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan"> diff --git a/src/page/Funds/Infcrd/event/buildCommons.js b/src/page/Funds/Infcrd/event/buildCommons.js index d341e00..bebe33c 100644 --- a/src/page/Funds/Infcrd/event/buildCommons.js +++ b/src/page/Funds/Infcrd/event/buildCommons.js @@ -21,16 +21,15 @@ export default { }; }, buildCommonData(model, trnName) { - let ptsptaList = Utils.formatPtspta(model.fxtp.fxdgrp, this.buildPtspta); + let ptsptaList = Utils.formatPtspta(model.crdgrp, this.buildPtspta); return { rec: { objtyp: "FXT", - objinr: model.fxtp.fxdgrp.rec.inr, - ownref: model.fxtp.fxdgrp.rec.ownref, + ownref: model.crdgrp.rec.ownref, }, cbsMap: { - MAX: model.fxtp.fxdgrp.cbs.max, - NOM1: model.fxtp.fxdgrp.cbs.nom1, + MAX: model.crdgrp.cbs.max, + NOM1: model.crdgrp.cbs.nom1, }, ptsList: ptsptaList, transName: trnName, diff --git a/src/page/Funds/Infcrd/event/index.js b/src/page/Funds/Infcrd/event/index.js index fdbba2c..53e13bd 100644 --- a/src/page/Funds/Infcrd/event/index.js +++ b/src/page/Funds/Infcrd/event/index.js @@ -1,30 +1,8 @@ -import Api from "~/service/Api" -import Utils from "~/utils" +import Api from "~/service/Api"; +import moment from "moment"; export default { - async onSndpDet(){ - let rtnmsg = await this.executeRule("sndp.det") - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 + methods: { - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } - }, - async onAccpDet(){ - let rtnmsg = await this.executeRule("accp.det") - if(rtnmsg.respCode == SUCCESS) - { - //TODO 处理数据逻辑 - - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } - }, - -} \ No newline at end of file + }, +}; diff --git a/src/page/Funds/Infcrd/views/Infconp.vue b/src/page/Funds/Infcrd/views/Infconp.vue index e95b092..9d5d900 100644 --- a/src/page/Funds/Infcrd/views/Infconp.vue +++ b/src/page/Funds/Infcrd/views/Infconp.vue @@ -1,247 +1,115 @@ <template> <div class="eibs-tab"> <c-col :span="24"> - <!-- - <c-col :span="12"> - <c-form-item label="Drag Drop Sender" prop="recpan.recget.sdamod.dadsnd"> - <c-input v-model="model.recpan.recget.sdamod.dadsnd"></c-input> - </c-form-item> - </c-col> - <c-col :span="12"> - <c-form-item label="" prop="recpan.recget.sdamod.seainf"> - <c-input v-model="model.recpan.recget.sdamod.seainf"></c-input> - </c-form-item> - </c-col> - --> - <!-- S0000005 : 业务编号 --> - - <c-col :span="12"> - <c-form-item :label="$t('crdgrp.业务编号')" prop="crdgrp.rec.ownref"> - <c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input> - </c-form-item> - </c-col> - - <!-- S0000006 : 名称 --> - - <c-col :span="12"> - <c-form-item :label="$t('crdgrp.简略信息')" prop="crdgrp.rec.nam"> - <c-input v-model="model.crdgrp.rec.nam" maxlength="40"></c-input> - </c-form-item> - </c-col> - </c-col> - <!-- S0000010 : 发报行 --> - <!-- S0000011 : Ref. --> - <!-- - <c-col :span="12"> - <c-form-item :label="发报行" prop="crdgrp.snd.pts.ref"> - <c-input v-model="model.crdgrp.snd.pts.ref" maxlength="20"></c-input> - </c-form-item> - </c-col> - --> - <!-- S0000009 : 经办柜员 --> - <!-- - <c-col :span="12"> - <c-form-item :label="经办柜员" prop="recpan.usr.extkey"> - <c-input v-model="model.recpan.usr.extkey" maxlength="8"></c-input> - </c-form-item> - </c-col> - - <c-col :span="12"> - <c-form-item label="" prop="recpan.usrget.sdamod.seainf"> - <c-input v-model="model.recpan.usrget.sdamod.seainf"></c-input> - </c-form-item> - </c-col> - - <c-col :span="12"> - <c-form-item label="Drag Drop Sender" prop="recpan.sndp.ptsget.sdamod.dadsnd"> - <c-input v-model="model.recpan.sndp.ptsget.sdamod.dadsnd"></c-input> - </c-form-item> - </c-col> - - <c-col :span="12"> - <c-form-item label="External Key of Address" prop="crdgrp.snd.pts.extkey"> - <c-input v-model="model.crdgrp.snd.pts.extkey" maxlength="16"></c-input> - </c-form-item> - </c-col> - - <c-col :span="12"> - <c-form-item label="" prop="recpan.sndp.ptsget.sdamod.seainf"> - <c-input v-model="model.recpan.sndp.ptsget.sdamod.seainf"></c-input> - </c-form-item> - </c-col> - --> - - <!-- S0000013 : 清算币种及金额 --> - <c-col :span="24"> - <c-col :span="12"> - <el-form-item :label="$t('crdgrp.币种')" 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"> - <c-form-item :label="$t('crdgrp.金额')" prop="crdgrp.cbs.max.amt"> - <c-input v-model="model.crdgrp.cbs.max.amt"></c-input> - </c-form-item> + <!-- ==================左边================ --> + <c-col :span="12" style="padding-right: 20px"> + <!-- S0000005 : 业务编号 --> + <c-col :span="24"> + <c-form-item :label="$t('crdgrp.业务编号')" prop="crdgrp.rec.ownref"> + <c-input v-model="model.crdgrp.rec.ownref" maxlength="16"></c-input> + </c-form-item> + </c-col> + <!-- S0000026 : 清算币种及金额 --> + <c-col :span="24" class="custom-box-wrap"> + <el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur"> + <c-select-cur v-model="model.crdgrp.cbs.max.cur" style="width: 115px" placeholder="请选择币种" dbCode="curtxt"> + </c-select-cur> + </el-form-item> + <div class="box-3"> + <el-form-item label-width="5px" prop="crdgrp.cbs.max.amt"> + <c-input-currency v-model="model.crdgrp.cbs.max.amt" :currency="model.crdgrp.cbs.max.cur" + style="width: 100%"> + </c-input-currency> + </el-form-item> + </div> + </c-col> + <!-- S0000014 : 本行业务编号 --> + <c-col :span="24"> + <c-form-item :label="$t('crdgrp.报文编号')" prop="crdgrp.rec.msgref"> + <c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input> + </c-form-item> + </c-col> + <!-- S0000056 : 起息日 --> + <c-col :span="24"> + <el-form-item :label="$t('crdgrp.清算时间')" prop="recpan.valdat"> + <c-date-picker type="date" v-model="model.recpan.valdat" style="width: 100%"></c-date-picker> + </el-form-item> + </c-col> + <c-col :span="24"> + <c-ptap-ext + :argadr="{ + title: '发报行', + grp: 'crdgrp', + rol: 'snd', + }" + :requiredExtkey="true" + :isFieldLabelVisible="true" + :refVisiable="true" + :isAdrblk="true" + :disabled="true" + :model="model" ptytyp="B" + ></c-ptap-ext> + </c-col> </c-col> - </c-col> - - <!-- S0000014 : 本行业务编号 --> - - <c-col :span="12"> - <c-form-item :label="$t('crdgrp.报文编号')" prop="crdgrp.rec.msgref"> - <c-input v-model="model.crdgrp.rec.msgref" maxlength="16"></c-input> - </c-form-item> - </c-col> - <!-- S0000004 : 汇款账号(Tag59) --> - - <c-col :span="12"> - <c-form-item :label="$t('crdgrp.报文中账号')" prop="crdgrp.rec.msgact"> - <c-input v-model="model.crdgrp.rec.msgact" maxlength="21"></c-input> - </c-form-item> - </c-col> - <!-- S0000015 : 业务种类 --> - - <c-col :span="12"> - <el-form-item :label="$t('crdgrp.清算类型')" prop="crdgrp.rec.rcvobjtyp"> - <c-select v-model="model.crdgrp.rec.rcvobjtyp" style="width: 100%"> - </c-select> - </el-form-item> - </c-col> - <c-col :span="12"> - <el-form-item :label="$t('crdgrp.业务类型')" prop="crdgrp.rec.custyp"> - <c-select v-model="model.crdgrp.rec.custyp" style="width: 100%"> - </c-select> - </el-form-item> - </c-col> - - <!-- S0000017 : 账户行 --> - <!-- S0000018 : Ref. --> - -<c-col :span="12"> - <c-ptap-ext - :argadr="{ - title: '发报行', - extCodes: ['infcrd'], - grp: 'crdgrp', - rol: 'apl', - }" - :requiredExtkey="true" - :isFieldLabelVisible="true" - :refVisiable="true" - :isAdrblk="true" - :disabled="true" - :model="model" - ptytyp="B" - > - </c-ptap-ext> - </c-col> - <c-col :span="12"> - <c-ptap-ext - :argadr="{ - title: '收报行', - extCodes: ['infcrd'], - grp: 'crdgrp', - rol: 'dff', - }" - :requiredExtkey="true" - :isFieldLabelVisible="true" - :refVisiable="true" - :isAdrblk="true" - :disabled="true" - :model="model" - ptytyp="C" - > - </c-ptap-ext> - </c-col> - - <!-- - <c-col :span="12"> - <c-form-item :label="$t('crtp.S0000017')" prop="crdgrp.acc.pts.ref"> - <c-input v-model="model.crdgrp.acc.pts.ref" maxlength="20"></c-input> - </c-form-item> - </c-col> - --> - <!-- S0000020 : 归属机构 --> - <!-- - - <c-col :span="12"> - <el-form-item :label="$t('crtp.S0000020')" 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"> - <c-form-item label="Drag Drop Sender" prop="recpan.accp.ptsget.sdamod.dadsnd"> - <c-input v-model="model.recpan.accp.ptsget.sdamod.dadsnd"></c-input> - </c-form-item> - </c-col> - - <c-col :span="12"> - <c-form-item label="External Key of Address" prop="crdgrp.acc.pts.extkey"> - <c-input v-model="model.crdgrp.acc.pts.extkey" maxlength="16"></c-input> - </c-form-item> - </c-col> - - <c-col :span="12"> - <c-form-item label="" prop="recpan.accp.ptsget.sdamod.seainf"> - <c-input v-model="model.recpan.accp.ptsget.sdamod.seainf"></c-input> - </c-form-item> - </c-col> - --> - <!-- S0000021 : 出错信息 --> - <!-- - <c-col :span="12"> - <c-form-item :label="$t('crtp.S0000021')" prop="crdgrp.rec.errmsg"> - <c-input type="textarea" v-model="model.crdgrp.rec.errmsg" maxlength="40" show-word-limit></c-input> - </c-form-item> + <!-- ============右边================= --> + <c-col :span="12" style="padding-left: 20px"> + <!-- S0000015 : 业务种类 --> + <c-col :span="24"> + <el-form-item :label="$t('crdgrp.清算类型')" prop="crdgrp.rec.rcvobjtyp"> + <c-select v-model="model.crdgrp.rec.rcvobjtyp" style="width: 100%"> + </c-select> + </el-form-item> </c-col> - - <c-col :span="12"> - <c-form-item label="Address Block" prop="crdgrp.acc.pts.adrblk"> - <c-input type="textarea" v-model="model.crdgrp.acc.pts.adrblk" maxlength="35" show-word-limit></c-input> - </c-form-item> + <c-col :span="24"> + <el-form-item :label="$t('crdgrp.业务类型')" prop="crdgrp.rec.custyp"> + <c-select v-model="model.crdgrp.rec.custyp" style="width: 100%"> + </c-select> + </el-form-item> </c-col> - - <c-col :span="12"> - <c-form-item label="Chinese address" prop="crdgrp.acc.dbfadrblkcn"> - <c-input type="textarea" v-model="model.crdgrp.acc.dbfadrblkcn" maxlength="35" show-word-limit></c-input> - </c-form-item> + <!-- S0000004 : 汇款账号(Tag59) --> + <c-col :span="24"> + <c-form-item :label="$t('crdgrp.报文中账号')" prop="crdgrp.rec.msgact"> + <c-input v-model="model.crdgrp.rec.msgact" maxlength="21"></c-input> + </c-form-item> </c-col> - --> - <!-- S0000053 : 客户类型 --> - - <!-- S0000056 : 起息日 --> - - <c-col :span="12"> - <el-form-item :label="$t('crdgrp.清算时间')" prop="recpan.valdat"> - <c-date-picker - type="date" - v-model="model.recpan.valdat" - style="width: 100%" - ></c-date-picker> - </el-form-item> + <!-- S0000006 : 名称 --> + <c-col :span="24"> + <c-form-item :label="$t('crdgrp.简略信息')" prop="crdgrp.rec.nam"> + <c-input v-model="model.crdgrp.rec.nam" maxlength="40"></c-input> + </c-form-item> + </c-col> + <c-col :span="24"> + <c-ptap-ext + :argadr="{ + title: '收报行', + grp: 'crdgrp', + rol: 'acc', + }" + :requiredExtkey="true" + :isFieldLabelVisible="true" + :refVisiable="true" + :isAdrblk="true" + :disabled="true" + :model="model" ptytyp="C" + ></c-ptap-ext> + </c-col> + </c-col> </c-col> </div> </template> <script> import Api from "~/service/Api"; -import commonProcess from "~/mixin/commonProcess"; -import CodeTable from "~/config/CodeTable"; import Event from "../event"; export default { inject: ["root"], props: ["model", "codes"], - mixins: [], + mixins: [Event], data() { return {}; }, - methods: { ...Event }, - created: function () {}, + methods: {}, + created: function () { }, }; </script> -<style> -</style> +<style></style> diff --git a/src/page/Funds/Infcrd/views/index.vue b/src/page/Funds/Infcrd/views/index.vue index 82d7dc4..1effae7 100644 --- a/src/page/Funds/Infcrd/views/index.vue +++ b/src/page/Funds/Infcrd/views/index.vue @@ -4,20 +4,15 @@ <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"> - <el-tab-pane label="menu" name="infconp"> + <el-tab-pane label="业务信息" name="infconp"> <c-content> <m-infconp :model="model" :codes="codes" /> </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-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit" + @handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn> </c-page> </div> </template> @@ -25,59 +20,49 @@ import Api from "~/service/Api" import CodeTable from "~/config/CodeTable" import Infcrd from "../model" -import commonProcess from "~/mixin/commonProcess" - -import Check from "../model/Check.js" -import Pattern from "../event/buildCommons.js" import Infconp from "./Infconp" - - +import operationFunc from "~/mixin/operationFunc"; +import commonDepend from "~/mixin/commonDepend"; +import event from "../event/index.js"; +import Check from "../model/Check.js"; +import buildFn from "../event/buildCommons.js"; export default { - name: "Infcrd", - components:{ - "m-infconp" : Infconp, - }, - provide() { - return { - root: this - } - }, - mixins: [commonProcess,Pattern], // 里面包含了Default、Check等的公共处理 - data(){ - return { - tabVal: "infconp", - trnName: "infcrd", - trnType: "", - model: new Infcrd().data, - rules: Check, - codes: {...CodeTable }, - } - }, - methods:{ - myTabClick(tab){ - this.tabClick(tab) - /** - * do it yourself - **/ - } - }, - created:async function(){ - console.log("进入infcrd交易"); - let rtnmsg = await this.init({}) - if(rtnmsg.respCode == SUCCESS) - { - this.updateModel(rtnmsg.data) - //TODO 处理数据逻辑 - - } - else - { - this.$notify.error({title: '错误',message: '服务请求失败!'}); - } + name: "Infcrd", + components: { + "m-infconp": Infconp, + }, + provide() { + return { + root: this + } + }, + mixins: [operationFunc, commonDepend, event, buildFn], + data() { + return { + tabVal: "infconp", + trnName: "infcrd", + trnType: "", + model: new Infcrd().data, + rules: Check, + codes: { ...CodeTable }, } + }, + methods: { + myTabClick(tab) { + this.tabClick(tab) + } + }, + created: async function () { + console.log("进入infcrd交易"); + let rtnmsg = await this.init({}) + if (rtnmsg.respCode == SUCCESS) { + this.updateModel(rtnmsg.data) + } + else { + this.$notify.error({ title: '错误', message: '服务请求失败!' }); + } + } } </script> -<style> - -</style> +<style></style> diff --git a/src/page/Home/components/CardWrapper.vue b/src/page/Home/components/CardWrapper.vue index a83adfc..7eb37d3 100644 --- a/src/page/Home/components/CardWrapper.vue +++ b/src/page/Home/components/CardWrapper.vue @@ -119,7 +119,7 @@ export default { text-overflow: ellipsis; white-space: nowrap; flex: 1; - width: 72px; + width: 80px; height: 25px; overflow-wrap: break-word; color: rgba(24, 31, 44, 1);