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">