<template> <div class="eContainer"> <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"> <!--fxtlop PD000001 Registration --> <el-tab-pane label="Registration" name="regp"> <m-regp :model="model" :codes="codes" /> </el-tab-pane> <!--PD000027 --> <el-tab-pane label="费用/账务" name="setpan"> <c-content> <m-setpan :codes="codes" :model="model" /> </c-content> </el-tab-pane> <!--PD000529 --> <el-tab-pane label="报文/面函" name="docpan"> <c-content> <m-docpan :codes="codes" :model="model" /> </c-content> </el-tab-pane> </c-tabs> </el-form> <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 Fxtlop from "../model"; import operationFunc from "~/mixin/operationFunc"; import Regp from "./Regp"; import Setpan from "~/components/business/setmod/views"; import Docpan from "~/components/business/docpan/views"; import event from "../event"; import commonDepend from "~/mixin/commonDepend"; import buildFn from "../event/buildCommons.js"; export default { name: "Fxtlop", components: { "m-regp": Regp, "m-setpan": Setpan, "m-docpan": Docpan, }, provide() { return { root: this, }; }, mixins: [operationFunc, event, commonDepend, buildFn], data() { return { tabVal: "regp", trnName: "fxtlop", trnType: "", model: new Fxtlop().data, codes: {...CodeTable}, rules: {}, }; }, methods: { myTabClick(tab) { this.tabClick(tab); }, }, created() {}, mounted() { console.log("fxtlop"); let params = { transName: this.trnName, fxdgrp: { rec: { inr: this.$route.query.inr || "", }, }, }; this.init(params) } }; </script> <style></style>