Commit 352f9e8e by zhoujunpeng

修改fttfmt面函界面

parent 07776e71
......@@ -28,12 +28,13 @@ export default {
objinr: model.ftdgrp.rec.inr,
ownref: model.ftdgrp.rec.ownref,
msgtyp: model.fttp.msgtyp,
branchInr: model.fttgrp.rec.branchinr,
fttyp:model.ftdgrp.rec.fttyp,
fttyp: model.ftdgrp.rec.fttyp,
},
cbsMap: {
MAX: model.ftdgrp.cbs.max,
OPN1: model.ftdgrp.cbs.opn1,
OPN2: model.ftdgrp.cbs.opn2,
INS : model.ftdgrp.cbs.ins,
},
ptsList: ptsptaList,
......
......@@ -25,9 +25,5 @@ export default {
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}, // 事件 -- 报文类型
swftypChange() {
// 公共
this.model.setmod = new Pub().data.Setmod;
},
};
import commonFunctions from "~/mixin/commonFunctions.js";
import commonDepend from "~/mixin/commonDepend";
import Api from '~/service/Api';
export default {
mixins: [commonFunctions, commonDepend],
methods: {
// 模拟调用试算费用账务
defaultBuildSetmod(e) {
this.initSetmod(this.buildCommonData(this.model, "fttfmt"));
this.model.setmod = new Pub().data.Setmod;
},
initDefaultFields() {
this.defaultBuildSetmod("1")
}
},
};
......@@ -4,7 +4,7 @@
<!-- ======================左边====================== -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-form-item :label="$t('fttfmt.资金调拨业务参考号')" prop="ftdgrp.rec.ownref">
<c-form-item label="资金调拨业务参考号" prop="ftdgrp.rec.ownref">
<c-input v-model="model.ftdgrp.rec.ownref" maxlength="16"
disabled></c-input>
</c-form-item>
......@@ -12,7 +12,7 @@
<!-- S0000004 : 资金部负责人 -->
<c-col :span="24">
<c-form-item :label="$t('fttfmt.资金部负责人')" prop="ftdgrp.rec.ownusr">
<c-form-item label="资金部负责人" prop="ftdgrp.rec.ownusr">
<c-input v-model="model.ftdgrp.rec.ownusr" maxlength="8"
disabled></c-input>
</c-form-item>
......@@ -20,9 +20,9 @@
<!-- S0000005 : 定存拆借类型 -->
<c-col :span="24">
<el-form-item :label="$t('fttfmt.定存拆借类型')" prop="ftdgrp.rec.fttyp">
<el-form-item label="定存拆借类型" prop="ftdgrp.rec.fttyp">
<c-select v-model="model.ftdgrp.rec.fttyp" :code="codes.fttyp" disabled style="width:100%"
:placeholder="$t('other.请输入') + $t('fttfmt.定存拆借类型')">
>
</c-select>
</el-form-item>
</c-col>
......@@ -30,7 +30,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item :label="$t('fttfmt.定存拆借金额')" prop="ftdgrp.cbs.max.cur">
<el-form-item label="" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
disabled>
</c-select>
......@@ -46,7 +46,7 @@
<!-- S0000011 : 到期日 -->
<c-col :span="24">
<el-form-item :label="$t('fttfmt.到期日')" prop="ftdgrp.rec.matdat">
<el-form-item label="到期日" prop="ftdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.ftdgrp.rec.matdat" style="width:100%"
disabled></c-date-picker>
</el-form-item>
......@@ -54,7 +54,7 @@
<!-- S0000012 : 年利率 -->
<c-col :span="24">
<c-form-item :label="$t('fttfmt.年利率')" prop="ftdgrp.rec.rat">
<c-form-item label="年利率" prop="ftdgrp.rec.rat">
<c-input v-model="model.ftdgrp.rec.rat"
disabled></c-input>
</c-form-item>
......@@ -62,7 +62,7 @@
<!-- S0000017 : 利息金额 -->
<c-col :spam="24">
<c-col :span="12">
<el-form-item :label="$t('fttfmt.利息金额币种')" prop="ftdgrp.cbs.max.cur">
<el-form-item label="利息金额币种" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
disabled>
</c-select>
......@@ -79,7 +79,7 @@
<!-- S0000018 : 结算总金额 -->
<c-col :spam="24">
<c-col :span="12">
<el-form-item :label="$t('fttfmt.结算总金额币种')" prop="ftdgrp.cbs.max.cur">
<el-form-item label="结算总金额币种" prop="ftdgrp.cbs.max.cur">
<c-select v-model="model.ftdgrp.cbs.max.cur" :code="codes.curtxt1" style="width:100%"
disabled>
</c-select>
......@@ -94,23 +94,23 @@
<!-- S0000023 : 挂账编号 -->
<c-col :span="24">
<c-form-item :label="$t('fttfmt.挂账编号')" prop="ftdgrp.rec.gzno">
<c-form-item label="挂账编号" prop="ftdgrp.rec.gzno">
<c-input v-model="model.ftdgrp.rec.gzno" maxlength="16"
:placeholder="$t('other.请输入') + $t('fttfmt.挂账编号')"></c-input>
placeholder="请输入挂账编号"></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<c-form-item :label="$t('fttfmt.名称')" prop="ftdgrp.rec.nam">
<c-form-item label="名称" prop="ftdgrp.rec.nam">
<c-input v-model="model.ftdgrp.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" :disabled="true" :disabledExtkey="true" :isAdrblk="true"
<c-ptap :model="model" :requiredExtkey="true" :disabled="true" :isAdrblk="true"
:haveAdrLabel="true" :isShowCard="false"
:argadr="{ title: '资金拆出行', grp: 'ftdgrp', rol: 'tro' }" ptytyp="B">
</c-ptap>
......
......@@ -4,10 +4,10 @@
<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">
<!--fttfmt PD000001 Maturity -->
<el-tab-pane label="到期处理" name="ovwp">
<!--fttfcn PD000001 Cancellation -->
<el-tab-pane label="到期处理" name="matp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
<m-matp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="费用/账务" name="setpan">
......@@ -22,33 +22,39 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn :handleCheck="handleCheck" :handleStash="handleStash" :handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning" ref="commonBtn"></c-function-btn>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"
></c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fttfmt from "../model"
import Matp from "./Matp"
import commonProcess from "~/mixin/commonProcess"
import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
import Setmod from "~/components/business/setmod/views";
import Ovwp from "./Ovwp"
import buildFn from "../event/buildCommons.js";
import Fttfmt from "../model";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";
import buildFn from "../event/buildCommons.js";
import Check from "../model/Check.js";
import Default from "../model/Default";
import Matp from "./Matp"
export default {
name: "Fttfmt",
components: {
"m-setmod": Setmod,
"m-ovwp" : Ovwp,
"m-matp": Matp,
"m-setpan": Setpan,
"m-docpan": Docpan,
},
......@@ -57,10 +63,10 @@ export default {
root: this
}
},
mixins: [operationFunc, commonDepend, event, buildFn,commonProcess,Default], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,operationFunc,commonDepend,event,Check,buildFn], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
tabVal: "matp",
trnName: "fttfmt",
trnType: "",
model: new Fttfmt().data,
......@@ -77,7 +83,7 @@ export default {
}
},
created: async function () {
console.log("进入fttfmt交易");
console.log("进入FTTFMT交易.."+this.trnName);
let params = {
transName: this.trnName,
ftdgrp: {
......
......@@ -69,12 +69,13 @@
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="币种" prop="seacur" style="width: 100%">
<el-form-item label="币种" prop="infcon.seacur" style="width: 100%">
<c-select
v-model="model.infcon.cur"
v-model="model.infcon.seacur"
style="width: 100%"
placeholder="请选择币种"
:code="codes.seacur"
:isShowKeyAndLabel="true"
dbCode="curtxt"
>
</c-select>
</el-form-item>
......
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