Commit f4c04215 by 李少勇

Merge branch 'develop' of http://114.115.138.98:8900/isc-v3.1/isc-web-vue into develop

parents 0cc5070d 60684fe5
......@@ -2068,6 +2068,18 @@ const DisplayRouter = [
meta: {keepAlive: true, title: "交易快照-头寸调拨"}
},
{
name: "DisplayFxtssb",
path: "fxtssb",
component: () => import("./Funds/DisplayFxtssb.vue"),
meta: {keepAlive: true, title: "交易快照-即期结汇"}
},
{
name: "DisplayFxtsss",
path: "fxtsss",
component: () => import("./Funds/DisplayFxtsss.vue"),
meta: {keepAlive: true, title: "交易快照-即期售汇"}
},
];
export default DisplayRouter;
\ No newline at end of file
<template>
<Fxtssb></Fxtssb>
</template>
<script>
import Fxtssb from "~/page/Funds/Fxtssb/views";
export default {
name: "display-fxtssb",
components: {Fxtssb},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
<template>
<Fxtsss></Fxtsss>
</template>
<script>
import Fxtsss from "~/page/Funds/Fxtsss/views";
export default {
name: "display-fxtsss",
components: {Fxtsss},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
......@@ -28,6 +28,7 @@ export default {
objinr: model.fxdgrp.rec.inr,
ownref: model.fxdgrp.rec.ownref,
fxtyp:model.fxdgrp.rec.fxtyp,
swtflg:model.swtflg,
},
cbsMap: {
MAX: model.fxdgrp.cbs.max,
......
......@@ -10,7 +10,7 @@
</c-input>
<template slot="footer">
<c-button style="margin: 0 5px" size="small" type="primary" :disabled="getOwnrefFlg"
@click="getOwnref" >
>
获取
</c-button>
</template>
......
......@@ -4,7 +4,7 @@
<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="Confirmation" name="cnfp">
<el-tab-pane label="平盘确认" name="cnfp">
<m-cnfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
......
......@@ -63,5 +63,33 @@ export default {
// this.updateValueSet(res.codeSet);
this.model.fxdgrp.cbs.nom1.amt =res.data.fxdgrp.cbs.nom1.amt;
},
async onMaxcurChange(){
if (this.model.fxdgrp.cbs.max.cur !== "" && this.model.fxdgrp.cbs.nom1.cur !== null) {
this.defaultRateN1000();
}
},
async onNom1curChange(){
if (this.model.fxdgrp.cbs.max.cur !== "" && this.model.fxdgrp.cbs.nom1.cur !== null) {
this.defaultRateN1000();
}
},
async onMaxamtChange(){
debugger
if (this.model.fxdgrp.cbs.max.amt > 0 && this.model.fxdgrp.rec.rat >0 ) {
this.defaultCalculateN1100();
}
},
async onRatChange(){
debugger
if (this.model.fxdgrp.cbs.max.amt > 0 && this.model.fxdgrp.rec.rat >0 ) {
this.defaultCalculateN1100();
}
},
}
}
\ No newline at end of file
......@@ -40,12 +40,13 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="卖出金额" prop="fxdgrp.cbs.max.cur">
<c-select-cur v-model="model.fxdgrp.cbs.max.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur>
<c-select-cur @change="onMaxcurChange" 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
@change="onMaxamtChange"
:currency="model.fxdgrp.cbs.max.cur"
v-model="model.fxdgrp.cbs.max.amt"></c-input-currency>
</el-form-item>
......@@ -54,7 +55,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="买入金额" prop="fxdgrp.cbs.nom1.cur">
<c-select-cur v-model="model.fxdgrp.cbs.nom1.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur>
<c-select-cur @change="onNom1curChange" v-model="model.fxdgrp.cbs.nom1.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -68,7 +69,7 @@
</c-col>
<c-col :span="24">
<c-form-item label="平盘牌价" prop="fxdgrp.rec.rat">
<c-input-currency v-model="model.fxdgrp.rec.rat" style="width:100%" :precision="6" placeholder="请输入平盘牌价">
<c-input-currency @change="onRatChange" v-model="model.fxdgrp.rec.rat" style="width:100%" :precision="6" placeholder="请输入平盘牌价">
</c-input-currency>
</c-form-item>
</c-col>
......@@ -137,16 +138,16 @@ export default {
computed: {
getOwnrefFlg: function () {
//debugger
console.log(this.model)
return this.model.fxdgrp.rec.fxtyp == '' || this.model.fxdgrp.apl.pts.extkey == '' || this.model.fxdgrp.rec.ownref != '';
},
defaultNam950: function () {
//debugger;
let amount = this.moneyFormat(this.model.fxdgrp.cbs.max.amt, this.model.fxdgrp.cbs.max.cur)
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
......@@ -180,32 +181,32 @@ export default {
},
},
'model.fxdgrp.cbs.max.cur': {
handler(newValue) {
if (newValue !== "" && newValue !== null) {
this.defaultRateN1000();
}
// 'model.fxdgrp.cbs.max.cur': {
// handler(newValue) {
// if (newValue !== "" && newValue !== null) {
// this.defaultRateN1000();
// }
},
},
// },
// },
'model.fxdgrp.cbs.nom1.cur': {
handler(newValue) {
if (newValue !== "" && newValue !== null) {
this.defaultRateN1000();
}
// 'model.fxdgrp.cbs.nom1.cur': {
// handler(newValue) {
// if (newValue !== "" && newValue !== null) {
// this.defaultRateN1000();
// }
},
},
// },
// },
'model.fxdgrp.cbs.max.amt': {
handler(newValue) {
if (newValue !== "" && newValue !== null) {
this.defaultCalculateN1100();
}
// 'model.fxdgrp.cbs.max.amt': {
// handler(newValue) {
// if (newValue !== "" && newValue !== null) {
// this.defaultCalculateN1100();
// }
},
},
// },
// },
}
}
......
......@@ -4,7 +4,7 @@
<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">
<!--fxtfop PD000001 Registration -->
<el-tab-pane label="Registration" name="regp">
<el-tab-pane label="平盘登记" name="regp">
<m-regp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
......
<template>
<ReviewWrapper>
<Fxtssb></Fxtssb>
</ReviewWrapper>
</template>
<script>
import Fxtssb from "~/page/Funds/Fxtssb/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
export default {
name: "review-fxtssb",
components: {ReviewWrapper, Fxtssb},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Fxtsss></Fxtsss>
</ReviewWrapper>
</template>
<script>
import Fxtsss from "~/page/Funds/Fxtsss/views";
import ReviewWrapper from "~/components/business/ReviewWrapper.vue";
export default {
name: "review-fxtsss",
components: {ReviewWrapper, Fxtsss},
created() {
},
mounted() {
}
};
</script>
<style></style>
\ No newline at end of file
......@@ -2184,6 +2184,19 @@ const ReviewRouter = [
component: () => import("./Business/ReviewFcncan.vue"),
meta: {keepAlive: true, title: "复核-分离式保函业务协议注销"}
},
//以下为资金复核界面
{
name: "review-fxtssb",
path: "review-fxtssb",
component: () => import("./Funds/ReviewFxtssb.vue"),
meta: {keepAlive: true, title: "复核-即期结汇"}
},
{
name: "review-fxtsss",
path: "review-fxtsss",
component: () => import("./Funds/ReviewFxtsss.vue"),
meta: {keepAlive: true, title: "复核-即期结汇"}
},
];
export default ReviewRouter;
\ No newline at end of file
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