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