Commit 7503d896 by 吴佳

结售汇报价、结售汇平盘-平盘登记、平盘确认 码值和是否启用调整

parent 2f023338
......@@ -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" style="width:100%" >
<c-select v-model="model.fxdgrp.rec.fxtyp" :code="codes.fxt_fxtyp" style="width:100%" >
</c-select>
</el-form-item>
......@@ -51,7 +51,7 @@
<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" style="width:100%">
<c-select v-model="model.fxdgrp.cbs.max.cur" :code="codes.bopcur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -65,7 +65,7 @@
<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" style="width:100%">
<c-select v-model="model.fxdgrp.cbs.nom1.cur" :code="codes.bopcur" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -175,7 +175,6 @@
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
export default {
......
......@@ -61,11 +61,15 @@ export default {
trnName: "fxtlcm",
trnType: "",
model: new Fxtlcm().data,
codes: {},
codes: { ...CodeTable },
rules: {},
}
},
methods:{},
methods:{
myTabClick(tab) {
this.tabClick(tab);
},
},
created:async function(){},
mounted() {
console.log("fxtlcm");
......
......@@ -32,7 +32,6 @@
<c-input
v-model="model.fxdgrp.rec.ownusr"
placeholder="请输入业务负责人"
disabled
/>
</c-form-item>
</c-col>
......@@ -42,7 +41,7 @@
v-model="model.fxdgrp.rec.fxtyp"
style="width: 100%"
placeholder="请输入平盘类型"
dbCode=""
:code="codes.fxt_fxtyp"
>
</c-select>
</el-form-item>
......@@ -53,7 +52,7 @@
<c-select-cur
v-model="model.fxdgrp.cbs.max.cur"
style="width: 100%"
dbCode="curtxt"
:code="codes.bopcur"
>
</c-select-cur>
</el-form-item>
......@@ -73,7 +72,8 @@
<c-select-cur
v-model="model.fxdgrp.cbs.nom1.cur"
style="width: 100%"
dbCode="curtxt"
:code="codes.bopcur"
disabled
>
</c-select-cur>
</el-form-item>
......@@ -94,7 +94,6 @@
v-model="model.fxdgrp.rec.rat"
style="width: 100%"
:precision="6"
disabled
placeholder="请输入平盘牌价"
>
</c-input-currency>
......
......@@ -28,6 +28,13 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn">
</c-function-btn>
</div>
</template>
<script>
......@@ -61,28 +68,28 @@ export default {
trnName: "fxtlop",
trnType: "",
model: new Fxtlop().data,
codes: {},
codes: {...CodeTable},
rules: {},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created() {
console.log("进入fxtlop交易");
let rtnmsg = this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
created() {},
mounted() {
console.log("fxtlop");
let params = {
transName: this.trnName,
fxdgrp: {
rec: {
inr: this.$route.query.inr || "",
},
},
};
this.init(params)
}
};
</script>
<style></style>
......@@ -31,14 +31,14 @@
<!-- 业务负责人 -->
<c-col :span="24">
<c-form-item :label="$t('fxtsqo.业务负责人')" prop="fxdgrp.rec.ownusr">
<c-input v-model="model.fxdgrp.rec.ownusr" maxlength="8"></c-input>
<c-input v-model="model.fxdgrp.rec.ownusr" maxlength="8" disabled></c-input>
</c-form-item>
</c-col>
<!-- 结售汇类型 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.结售汇类型')" prop="fxdgrp.rec.fxtyp">
<c-select v-model="model.fxdgrp.rec.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>
</c-col>
......@@ -46,13 +46,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" 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>
......@@ -60,13 +60,13 @@
<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" 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>
......@@ -88,7 +88,7 @@
<!-- 钞汇标志 -->
<c-col :span="12">
<el-form-item label-width="5px" prop="fxtp.cshflg">
<c-select v-model="model.fxtp.cshflg" style="width:100%">
<c-select v-model="model.fxtp.cshflg" :code="codes.cshflg" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -97,21 +97,21 @@
<!-- 登记日期 -->
<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.setdat">
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdat" style="width:100%"></c-date-picker>
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdat" 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.setdatfrm">
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdatfrm" style="width:100%"></c-date-picker>
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdatfrm" style="width:100%" disabled></c-date-picker>
</el-form-item>
</c-col>
......@@ -119,13 +119,13 @@
<!-- 外币结算账号 -->
<c-col :span="12">
<el-form-item label="外币结算账号" prop="fxdgrp.rec.dsp">
<c-select v-model="model.fxdgrp.rec.dsp" style="width:100%">
<c-select v-model="model.fxdgrp.rec.dsp" style="width:100%" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="fxdgrp.rec.acc">
<c-select v-model="model.fxdgrp.rec.acc" style="width:100%">
<c-select v-model="model.fxdgrp.rec.acc" style="width:100%" disabled>
</c-select>
</el-form-item>
</c-col>
......@@ -134,7 +134,7 @@
<!-- 交易主体 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.交易主体')" prop="fxdgrp.rec.trnman">
<c-select v-model="model.fxdgrp.rec.trnman" style="width:100%">
<c-select v-model="model.fxdgrp.rec.trnman" style="width:100%" disabled>
</c-select>
</el-form-item>
</c-col>
......@@ -142,7 +142,7 @@
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('fxtsqo.备注')" prop="fxdgrp.blk.remark">
<c-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="35" show-word-limit></c-input>
<c-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="35" disabled show-word-limit ></c-input>
</c-form-item>
</c-col>
</c-col>
......@@ -152,14 +152,14 @@
<!-- 名称 -->
<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>
<!-- 结售汇申请人 -->
<!-- 编号 -->
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="false" :isAdrblk="true" :haveAdrLabel="true"
<c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="true" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :argadr="{ title: '结售汇申请人',grp: 'fxdgrp', rol: 'apl' }" ptytyp="C">
</c-ptap>
</el-card>
......@@ -183,14 +183,14 @@
<!-- 起息日 -->
<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>
<!-- 择期交割截止日 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.交割截止日')" prop="fxdgrp.rec.setdatto">
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdatto" style="width:100%"></c-date-picker>
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdatto" style="width:100%" disabled></c-date-picker>
</el-form-item>
</c-col>
......@@ -198,13 +198,13 @@
<!-- 本币结算账号 -->
<c-col :span="12">
<el-form-item :label="$t('fxtsqo.本币结算账号')" prop="fxdgrp.rec.dsp2">
<c-select v-model="model.fxdgrp.rec.dsp2" style="width:100%">
<c-select v-model="model.fxdgrp.rec.dsp2" style="width:100%" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="fxdgrp.rec.acc2">
<c-select v-model="model.fxdgrp.rec.acc2" style="width:100%">
<c-select v-model="model.fxdgrp.rec.acc2" style="width:100%" disabled>
</c-select>
</el-form-item>
</c-col>
......@@ -213,21 +213,21 @@
<!-- 结售汇类型 -->
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.结售汇类型')" prop="fxdgrp.rec.trdint">
<c-select v-model="model.fxdgrp.rec.trdint" style="width:100%">
<c-select v-model="model.fxdgrp.rec.trdint" style="width:100%" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item :label="$t('fxtsqo.结售汇类型')" prop="fxdgrp.rec.trdout">
<c-select v-model="model.fxdgrp.rec.trdout" style="width:100%">
<c-select v-model="model.fxdgrp.rec.trdout" style="width:100%" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="clsflg" label-width="150px" style="float: left;">
<c-checkbox v-model="model.mtabut.clsflg">Close Contract</c-checkbox>
<c-checkbox v-model="model.mtabut.clsflg" disabled>Close Contract</c-checkbox>
</el-form-item>
</c-col>
</c-col>
......
<template>
<div class="eContainer">
<c-page title="结售汇报价">
<!-- <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-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick" >
<!--Quote -->
......@@ -25,11 +25,6 @@
<!-- <el-tab-pane :label="$t('fxtsqo.外汇买卖水单/客户回单')" name="fxtapll2">
<m-fxtapll2 :model="model" :codes="codes"/>
</el-tab-pane> -->
<el-tab-pane :label="$t('commonModels.保证金')" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes"></m-ccvpan>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
......@@ -38,20 +33,19 @@
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"></c-function-btn>
</c-page>
<!-- </c-page> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Fxtsqo from "../model";
import commonProcess from "~/mixin/commonProcess";
import commonDepend from "~/mixin/commonDepend";
import operationFunc from "~/mixin/operationFunc";
import Quop from "./Quop";
import Fxtapll1 from "./Fxtapll1";
import Setmod from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Ccvpan from "~/components/business/ccvpan/views";
import event from "../event";
import buildFn from "../event/buildCommons.js";
......@@ -62,28 +56,25 @@ export default {
"m-fxtapll1" : Fxtapll1,
"m-setmod": Setmod,
"m-docpan": Docpan,
"m-ccvpan": Ccvpan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess,event,buildFn,commonDepend,operationFunc], // 里面包含了Default、Check等的公共处理
mixins: [event,buildFn,commonDepend,operationFunc], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "quop",
trnName: "fxtsqo",
trnType: "",
model: new Fxtsqo().data,
rules: null,
codes: {
},
rules: {},
codes: {...CodeTable}
}
},
methods:{},
created:async function(){
},
created:async function(){},
mounted() {
console.log("进入fxtsqo交易");
let params = {
......
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