Commit be575fc1 by zhoujunpeng

Fttpcm+Fttfmt页面修改

parent 368ed258
...@@ -23,6 +23,7 @@ export default class Ftdgrp { ...@@ -23,6 +23,7 @@ export default class Ftdgrp {
bnktyp: "", bnktyp: "",
etyextkey:"", etyextkey:"",
gzno:"", gzno:"",
swftyp:"",
}, },
blk: { blk: {
inr: "", inr: "",
......
import commonFunctions from "~/mixin/commonFunctions.js";
import commonDepend from "~/mixin/commonDepend";
import Api from '~/service/Api';
export default {
mixins: [commonFunctions, commonDepend],
methods: {
},
};
<template>
<div class="eibs-tab">
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="Sender to Receiver lnformation(72)"
:prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf202'">
<c-fullbox>
<c-mul-row-input type="textarea" :rows="6" :cols="35" :autosize="{ minRows: 6, maxRows: 6}" :charmod="2"
v-model="model.setmod.setglg.setgll[idx].sespay.strinf202" show-word-limit
:customModifykey="'setmod.setglg.setgll.' + idx + '.sespay.strinf202'"
@change="handleChangeSespay('strinf202')"></c-mul-row-input>
</c-fullbox>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import event from "../event";
import commonDepend from "~/mixin/commonDepend.js";
export default {
inject: ["root"],
props: ["model", "codes", "idx"],
mixins: [event, commonDepend],
data() {
return {};
},
methods: {
handleChangeSespay(prop) {
this.customAddModify(this.model.setmod.setglg.setgll[this.idx].sespay, prop);
},
}
};
</script>
<style>
</style>
\ No newline at end of file
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import commonProcess from "~/mixin/commonProcess"
import Setpan from "~/components/business/setmod/views"; import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import buildFn from "../event/buildCommons.js"; import buildFn from "../event/buildCommons.js";
...@@ -63,7 +63,7 @@ export default { ...@@ -63,7 +63,7 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess,operationFunc,commonDepend,event,Check,buildFn], // 里面包含了Default、Check等的公共处理 mixins: [operationFunc,commonDepend,event,Check,buildFn], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "matp", tabVal: "matp",
......
...@@ -28,7 +28,9 @@ export default { ...@@ -28,7 +28,9 @@ export default {
objinr: model.ftdgrp.rec.inr, objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref, ownref: model.ftdgrp.rec.ownref,
msgtyp: model.fttp.msgtyp, msgtyp: model.fttp.msgtyp,
swftyp: model.ftdgrp.rec.swftyp,
fttyp:model.ftdgrp.rec.fttyp, fttyp:model.ftdgrp.rec.fttyp,
doccur: model.setmod.doccur,
}, },
cbsMap: { cbsMap: {
MAX: model.ftdgrp.cbs.max, MAX: model.ftdgrp.cbs.max,
......
...@@ -62,10 +62,24 @@ export default { ...@@ -62,10 +62,24 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
buildSetmod() {
this.root.initSetmod(this.root.buildCommonData(this.model, "fttpcm"));
this.root.isComputed = 'Y';
},
nom1AmtSwftBlur() {
this.buildSetmod();
},
// 事件 -- 报文类型 // 事件 -- 报文类型
swftypChange() { swftypChange() {
// 公共 // 公共
// this.model.setmod = new Pub().data.Setmod; this.model.setmod = new Pub().data.Setmod;
if (this.model.ftdgrp.rec.msgtyp != '') {
this.activeNames = ["route", 'orcpye','opnp1','routeinfo','otherinfo'];
} else {
this.activeNames = ["route"];
}
} }
} }
} }
\ No newline at end of file
...@@ -5,12 +5,12 @@ export default { ...@@ -5,12 +5,12 @@ export default {
mixins: [commonFunctions, commonDepend], mixins: [commonFunctions, commonDepend],
methods: { methods: {
// 模拟调用试算费用账务 // 模拟调用试算费用账务
defaultBuildSetmod(e) { defaultBuildSetmod() {
this.initSetmod(this.buildCommonData(this.model, "fttpcm")); this.initSetmod(this.buildCommonData(this.model, "fttpcm"));
}, },
initDefaultFields() { initDefaultFields() {
this.defaultBuildSetmod("1") this.defaultBuildSetmod()
} }
}, },
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<c-form-item :label="$t('fttpcm.头寸调拨业务参考号')" prop="ftdgrp.rec.ownref"> <c-form-item :label="$t('fttpcm.头寸调拨业务参考号')" prop="ftdgrp.rec.ownref">
<c-fullbox> <c-fullbox>
<c-input v-model="model.ftdgrp.rec.ownref" maxlength="16"></c-input> <c-input v-model="model.ftdgrp.rec.ownref" maxlength="16" disabled></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" style="margin-left: 5px" type="primary" <c-button size="small" style="margin-left: 5px" type="primary"
@click="getOwnref"> @click="getOwnref">
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</c-col> </c-col>
<!-- S0000083 : 头寸调拨金额 --> <!-- S0000083 : 头寸调拨金额 -->
<c-col :span="24"> <c-col :span="24">
<c-col :span="10"> <c-col :span="11">
<c-form-item <c-form-item
:label="$t('fttp.头寸调拨金额')" :label="$t('fttp.头寸调拨金额')"
prop="ftdgrp.cbs.max.cur" prop="ftdgrp.cbs.max.cur"
...@@ -76,11 +76,12 @@ ...@@ -76,11 +76,12 @@
<!-- </c-select> --> <!-- </c-select> -->
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="13">
<c-form-item label-width="20px" prop="ftdgrp.cbs.max.amt"> <c-form-item label-width="20px" prop="ftdgrp.cbs.max.amt">
<c-input-currency <c-input-currency
v-model="model.ftdgrp.cbs.max.amt" v-model="model.ftdgrp.cbs.max.amt"
:currency="model.ftdgrp.cbs.max.cur" :currency="model.ftdgrp.cbs.max.cur"
@blur="nom1AmtSwftBlur()"
></c-input-currency> ></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -140,15 +141,14 @@ ...@@ -140,15 +141,14 @@
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000104 : 报文类型 --> <!-- S0000104 : 报文类型 @change="swftypChange()" -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fttp.报文类型')" prop="fttp.msgtyp"> <c-form-item :label="$t('fttp.报文类型')" prop="ftdgrp.rec.swftyp">
<c-select <c-select
v-model="model.fttp.msgtyp" v-model="model.ftdgrp.rec.swftyp"
:code="codes.msgtyp4" :code="codes.msgtyp4"
:filterKey="['103', '202']" :filterKey="['103', '202']"
style="width: 100%" style="width: 100%"
@change="swftypChange()"
> >
</c-select> </c-select>
</c-form-item> </c-form-item>
......
<template>
<div class="eibs-tab">
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="Sender to Receiver lnformation(72)"
:prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf202'">
<c-fullbox>
<c-mul-row-input type="textarea" :rows="6" :cols="35" :autosize="{ minRows: 6, maxRows: 6}" :charmod="2"
v-model="model.setmod.setglg.setgll[idx].sespay.strinf202" show-word-limit
:customModifykey="'setmod.setglg.setgll.' + idx + '.sespay.strinf202'"
@change="handleChangeSespay('strinf202')"></c-mul-row-input>
</c-fullbox>
</el-form-item>
</c-col>
</el-col>
</div>
</template>
<script>
import event from "../event";
import commonDepend from "~/mixin/commonDepend.js";
export default {
inject: ["root"],
props: ["model", "codes", "idx"],
mixins: [event, commonDepend],
data() {
return {};
},
methods: {
handleChangeSespay(prop) {
this.customAddModify(this.model.setmod.setglg.setgll[this.idx].sespay, prop);
},
}
};
</script>
<style>
</style>
\ No newline at end of file
...@@ -4,22 +4,32 @@ ...@@ -4,22 +4,32 @@
<el-collapse-item title="头寸调拨登记确认信息" name="cnfp"> <el-collapse-item title="头寸调拨登记确认信息" name="cnfp">
<m-cnfp :model="model" :codes="codes" ref="cnfp"/> <m-cnfp :model="model" :codes="codes" ref="cnfp"/>
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="Mt103报文信息" name="mt103" v-if="model.fttp.msgtyp=='103'">
<m-mt103 :model="model" :codes="codes" ref="mt103" :idx = "0"/>
</el-collapse-item>
<el-collapse-item title="Mt202报文信息" name="mt202" v-if="model.fttp.msgtyp=='202'">
<m-mt202 :model="model" :codes="codes" ref="mt202" :idx = "0" />
</el-collapse-item>
<el-collapse-item name="otherinfo" title="附言信息" >
<m-swift-mt202-info :codes="codes"
:model="model" :idx="0" />
<!-- <m-swift-mt103-info
v-if="model.fttp.msgtyp=='103'"
:codes="codes" :model="model" :idx="1" /> -->
<el-collapse-item name="routeinfo" title="银行信息">
<div v-for="(pac,idx) in model.setmod.setglg.avlMsgDetial" :key="idx">
<m-mt103
v-if="model.ftdgrp.rec.swftyp=='103'":codes="codes" :model="model"
:idx="pac.idx" />
<m-mt202 v-if="model.ftdgrp.rec.swftyp=='202'" :codes="codes" :model="model"
:idx="pac.idx" />
</div>
</el-collapse-item> </el-collapse-item>
<el-collapse-item name="otherinfo" title="附言信息">
<div v-for="(pac, idx) in model.setmod.setglg.avlMsgDetial" :key="idx">
<m-swift-mt103-info
v-if="model.ftdgrp.rec.swftyp=='103'"
:codes="codes" :model="model" :idx="pac.idx" />
<m-swift-mt202-info v-if="model.ftdgrp.rec.swftyp=='202'"
:codes="codes" :model="model" :idx="pac.idx" />
</div>
</el-collapse-item>
</c-collapse> </c-collapse>
</div> </div>
</template> </template>
...@@ -31,7 +41,7 @@ ...@@ -31,7 +41,7 @@
import MT103 from "~/components/business/setmod/views/MT103.vue"; import MT103 from "~/components/business/setmod/views/MT103.vue";
import MT103Info from "~/components/business/setmod/views/MT103Info.vue"; import MT103Info from "~/components/business/setmod/views/MT103Info.vue";
import Mt202 from "~/components/business/setmod/views/MT202.vue"; import Mt202 from "~/components/business/setmod/views/MT202.vue";
import MT202Info from "./Mt202Info.vue"; import MT202Info from "~/components/business/setmod/views/MT202Info.vue";
import Default from "../model/Default.js"; import Default from "../model/Default.js";
...@@ -44,11 +54,11 @@ ...@@ -44,11 +54,11 @@
"m-swift-mt103-info": MT103Info, "m-swift-mt103-info": MT103Info,
}, },
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes","idx"],
mixins: [Event,Default], mixins: [Event,Default],
data() { data() {
return { return {
activeNames: ["cnfp", "mt103", "mt202", "otherinfo"], activeNames: ["cnfp", "mt103", "mt202","routeinfo", "otherinfo"],
}; };
}, },
methods: { methods: {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<c-page title="头寸调拨登记确认"> <c-page title="头寸调拨登记确认">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false"> size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="概要" name="ovwp"> <el-tab-pane label="概要" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes" />
...@@ -47,7 +47,6 @@ import event from "../event"; ...@@ -47,7 +47,6 @@ import event from "../event";
import operationFunc from "~/mixin/operationFunc"; import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend"; import commonDepend from "~/mixin/commonDepend";
import buildFn from "../event/buildCommons.js"; import buildFn from "../event/buildCommons.js";
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/check.js"; import Check from "../model/check.js";
import Setmod from "~/components/business/setmod/views"; import Setmod from "~/components/business/setmod/views";
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp"
...@@ -73,7 +72,7 @@ export default { ...@@ -73,7 +72,7 @@ export default {
root: this root: this
} }
}, },
mixins: [Default,operationFunc, commonDepend, event, buildFn,commonProcess], mixins: [Default,operationFunc, commonDepend, event, buildFn],
data(){ data(){
return { return {
tabVal: "ovwp", tabVal: "ovwp",
......
...@@ -49,7 +49,6 @@ import event from "../event"; ...@@ -49,7 +49,6 @@ import event from "../event";
import operationFunc from "~/mixin/operationFunc"; import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend"; import commonDepend from "~/mixin/commonDepend";
import buildFn from "../event/buildCommons.js"; import buildFn from "../event/buildCommons.js";
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/check.js"; import Check from "../model/check.js";
import Canp from "./Canp"; import Canp from "./Canp";
...@@ -68,7 +67,7 @@ export default { ...@@ -68,7 +67,7 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [operationFunc, commonDepend, event, buildFn,commonProcess], mixins: [operationFunc, commonDepend, event, buildFn],
data() { data() {
return { return {
tabVal: "canp", tabVal: "canp",
......
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