Commit fd15fea8 by xiaotong

fxtlcm前端代码调整

parent 107a3c30
...@@ -27,6 +27,15 @@ export default { ...@@ -27,6 +27,15 @@ export default {
objtyp: "FXD", objtyp: "FXD",
objinr: model.fxdgrp.rec.inr, objinr: model.fxdgrp.rec.inr,
ownref: model.fxdgrp.rec.ownref, 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: { cbsMap: {
MAX: model.fxdgrp.cbs.max, MAX: model.fxdgrp.cbs.max,
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
import Pub from "../../../../components/business/commonModel/index.js"; import Pub from "../../../../components/business/commonModel/index.js";
import Fxdgrp from '~/components/business/commonModel/fxdgrp';
export default class Fxtlcm{ export default class Fxtlcm{
constructor () { constructor () {
this.data = { this.data = {
fxdgrp:{ // fxdgrp:{
rec:{ // rec:{
ownref:"", // 平盘业务参考号 .fxdgrp.rec.ownref // ownref:"", // 平盘业务参考号 .fxdgrp.rec.ownref
nam:"", // 名称 .fxdgrp.rec.nam // nam:"", // 名称 .fxdgrp.rec.nam
fxtyp:"", // 平盘类型 .fxdgrp.rec.fxtyp // fxtyp:"", // 平盘类型 .fxdgrp.rec.fxtyp
opndat:"", // 平盘日期 .fxdgrp.rec.opndat // opndat:"", // 平盘日期 .fxdgrp.rec.opndat
valdat:"", // 起息日 .fxdgrp.rec.valdat // valdat:"", // 起息日 .fxdgrp.rec.valdat
rat:"", // 平盘牌价 .fxdgrp.rec.rat // rat:"", // 平盘牌价 .fxdgrp.rec.rat
midrat:"", // 中间价 .fxdgrp.rec.midrat // midrat:"", // 中间价 .fxdgrp.rec.midrat
ownusr:"", // 资金部负责人 .fxdgrp.rec.ownusr // ownusr:"", // 资金部负责人 .fxdgrp.rec.ownusr
usr:"", // 清算中心负责人 .fxdgrp.rec.usr // usr:"", // 清算中心负责人 .fxdgrp.rec.usr
}, // },
apl:{ // apl:{
pts:new Pts().data, // pts:new Pts().data,
dbfadrblkcn:"", // Chinese address .fxdgrp.apl.dbfadrblkcn // dbfadrblkcn:"", // Chinese address .fxdgrp.apl.dbfadrblkcn
}, // },
blk:{ // blk:{
remark:"", // 备注 .fxdgrp.blk.remark // remark:"", // 备注 .fxdgrp.blk.remark
}, // },
cbs:{ // cbs:{
max:{ // max:{
cur:"", // Currency .fxdgrp.cbs.max.cur // cur:"", // Currency .fxdgrp.cbs.max.cur
amt:"", // Balance .fxdgrp.cbs.max.amt // amt:"", // Balance .fxdgrp.cbs.max.amt
}, // },
nom1:{ // nom1:{
cur:"", // Currency .fxdgrp.cbs.nom1.cur // cur:"", // Currency .fxdgrp.cbs.nom1.cur
amt:"", // Balance .fxdgrp.cbs.nom1.amt // amt:"", // Balance .fxdgrp.cbs.nom1.amt
}, // },
}, // },
act:{ // act:{
pts:new Pts().data, // pts:new Pts().data,
}, // },
}, // },
fxdgrp: new Fxdgrp().data,
fxtp:{ fxtp:{
amtlab:"", // Amount Label .fxtp.amtlab amtlab:"", // Amount Label .fxtp.amtlab
cnylab:"", // Amount LabelCNY .fxtp.cnylab cnylab:"", // Amount LabelCNY .fxtp.cnylab
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="model.fxdgrp.apl.pts.ptainr === ''" disabled
@click="getOwnref" @click="getOwnref"
> >
获取 获取
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<!-- 平盘类型 --> <!-- 平盘类型 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="$t('fxtlcm.平盘类型')" prop="fxdgrp.rec.fxtyp"> <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> </c-select>
</el-form-item> </el-form-item>
...@@ -51,13 +51,13 @@ ...@@ -51,13 +51,13 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('fxtsqo.卖出金额')" prop="fxdgrp.cbs.max.cur"> <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> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="fxdgrp.cbs.max.amt"> <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-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -65,38 +65,38 @@ ...@@ -65,38 +65,38 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('fxtsqo.买入金额')" prop="fxdgrp.cbs.nom1.cur"> <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> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="fxdgrp.cbs.nom1.amt"> <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-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- 平盘牌价 --> <!-- 平盘牌价 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fxtlcm.平盘牌价')" prop="fxdgrp.rec.rat"> <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-form-item>
</c-col> </c-col>
<!-- 中间价 --> <!-- 中间价 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fxtlcm.中间价')" prop="fxdgrp.rec.midrat"> <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-form-item>
</c-col> </c-col>
<!-- 平盘日期 --> <!-- 平盘日期 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="$t('fxtsqo.登记日期')" prop="fxdgrp.rec.opndat"> <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> </el-form-item>
</c-col> </c-col>
<!-- 起息日 --> <!-- 起息日 -->
<c-col :span="24"> <c-col :span="24">
<el-form-item :label="$t('fxtsqo.起息日')" prop="fxdgrp.rec.valdat"> <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> </el-form-item>
</c-col> </c-col>
<!-- 备注 --> <!-- 备注 -->
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<!-- 名称 --> <!-- 名称 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fxtsqo.名称')" prop="fxdgrp.rec.nam"> <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-form-item>
</c-col> </c-col>
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<c-ptap <c-ptap
:model="model" :model="model"
:requiredExtkey="true" :requiredExtkey="true"
:disabledExtkey="false" :disabledExtkey="true"
:disabled="true" :disabled="true"
:isAdrblk="true" :isAdrblk="true"
:haveAdrLabel="true" :haveAdrLabel="true"
...@@ -147,8 +147,8 @@ ...@@ -147,8 +147,8 @@
:isAdrblk="true" :isAdrblk="true"
:haveAdrLabel="true" :haveAdrLabel="true"
:isShowCard="false" :isShowCard="false"
:argadr="{ title: '平盘对手账号', grp: 'fxdgrp', rol: 'act' }" :argadr="{ title: '平盘对手账号', grp: 'fxdgrp', rol: 'acc' }"
ptytyp="C" ptytyp="B"
> >
</c-ptap> </c-ptap>
</el-card> </el-card>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan"> <el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<c-content> <c-content>
<m-setmod :model="model" :codes="codes"></m-setmod> <m-setpan :model="model" :codes="codes"></m-setpan>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan"> <el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment