Commit bbc7201e by youbaofeng

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

parents 7cf93e33 11d057d8
......@@ -2,7 +2,7 @@
const BusRouter = [
{ path: 'batchg', component: ()=>import("./Batchg/views"), name: 'Batchg', meta: { title: 'Batchg' } ,module:'frontend'},
{ path: 'cpsmsg', component: ()=>import("./Cpsmsg/views"), name: 'Cpsmsg', meta: { title: 'Cpsmsg' } ,module:'frontend'},
{ path: 'cpssxf', component: ()=>import("./Cpssxf/views"), name: 'Cpssxf', meta: { title: 'Cpssxf' } ,module:'frontend'},
{ path: 'cpssxf', component: ()=>import("./Cpssxf/views"), name: 'Cpssxf', meta: { title: '手续费管理' } ,module:'frontend'},
{ path: 'cpysel', component: ()=>import("./Cpysel/views"), name: 'Cpysel', meta: { title: 'Cpysel' } ,module:'frontend'},
{ path: 'cpzsel', component: ()=>import("./Cpzsel/views"), name: 'Cpzsel', meta: { title: 'Cpzsel' } ,module:'frontend'},
{ path: 'ctmsel', component: ()=>import("./Ctmsel/views"), name: 'Ctmsel', meta: { title: 'Ctmsel' } ,module:'frontend'},
......
......@@ -152,7 +152,7 @@ export default {
{
label: "被封装20域编号",
prop: "bfzybh",
width: "120px"
width: "160px"
},
{
label: "处理状态",
......
......@@ -68,6 +68,9 @@ export default class Crtcri {
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia,
doctre: new Pub().data.Doctre,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
}
}
}
\ No newline at end of file
......@@ -97,7 +97,7 @@
<c-col :span="12">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
<c-select dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......@@ -146,7 +146,7 @@
<c-col :span="12">
<el-form-item :label="$t('crtp.客户类型')" prop="crdgrp.rec.custyp">
<c-select v-model="model.crdgrp.rec.custyp" style="width:100%" dbCode="custyp">
<c-select dbCode="SZPTY" v-model="model.crdgrp.rec.custyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......
......@@ -17,6 +17,16 @@
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
......@@ -36,6 +46,8 @@ import Crtcri from "../model"
import Clip from "./Clip"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Coninfp from "~/components/business/coninfp/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
......@@ -48,6 +60,8 @@ export default {
"m-clip": Clip,
"m-setpan": Setpan,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp
},
provide() {
return {
......
......@@ -63,6 +63,9 @@ export default class Crtcri {
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
trndia: new Pub().data.Trndia,
doctre: new Pub().data.Doctre,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
}
}
}
\ No newline at end of file
......@@ -68,7 +68,7 @@
<c-col :span="12">
<el-form-item :label="$t('crtp.清算币种及金额')" prop="crdgrp.cbs.max.cur">
<c-select v-model="model.crdgrp.cbs.max.cur" style="width:100%">
<c-select v-model="model.crdgrp.cbs.max.cur" style="width:100%" dbCode="curtxt">
</c-select>
</el-form-item>
</c-col>
......@@ -89,7 +89,7 @@
<c-col :span="12">
<el-form-item :label="$t('crtp.业务种类')" prop="crdgrp.rec.rcvobjtyp">
<c-select v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
<c-select dbCode="RMB122" v-model="model.crdgrp.rec.rcvobjtyp" style="width:100%">
</c-select>
</el-form-item>
</c-col>
......
......@@ -18,6 +18,16 @@
<m-docpan :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :codes="codes" :model="model" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
......@@ -37,6 +47,8 @@ import Crtcro from "../model"
import Clop from "./Clop"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Coninfp from "~/components/business/coninfp/views";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
......@@ -49,6 +61,8 @@ export default {
"m-clop": Clop,
"m-setpan": Setpan,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp
},
provide() {
return {
......
......@@ -33,6 +33,8 @@ const BusRouter = [
},
{ path: 'fxtssb', component: () => import("./Fxtssb/views"), name: 'Fxtssb', meta: { title: '即期结汇交易' }, module: 'Funds' },
{ path: 'fxtsss', component: () => import("./Fxtsss/views"), name: 'Fxtsss', meta: { title: '即期售汇交易' }, module: 'Funds' },
{ path: 'crtcri', component: () => import("./Crtcri/views"), name: 'Crtcri', meta: { title: '汇入清算' }, module: 'Funds' },
{ path: 'crtcro', component: () => import("./Crtcro/views"), name: 'Crtcro', meta: { title: '汇出清算' }, module: 'Funds' },
{ path: 'fxtsqo', component: () => import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: '结售汇报价' }, module: 'Funds' },
{ path: 'crtcbk', component: () => import("./Crtcbk/views"), name: 'Crtcbk', meta: { title: '退汇清算' }, module: 'Funds' },
{ path: 'crtctf', component: () => import("./Crtctf/views"), name: 'Crtctf', meta: { title: '转汇清算' }, module: 'Funds' },
......
......@@ -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