<template> <div class="eContainer"> <c-page title="国内保函定期收费"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false" > <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <el-tab-pane label="业务信息" name="ovwp"> <c-content> <m-ovwp :model="model" :codes="codes"/> </c-content> </el-tab-pane> <!--PD000027 --> <el-tab-pane label="费用/账务" name="setpan"> <c-content> <m-setmod :model="model" :codes="codes" /> </c-content> </el-tab-pane> </c-tabs> </el-form> <!-- 底部按钮 --> <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash" ref="commonBtn" @handleSureWarning="handleSureWarning" ></c-function-btn> </c-page> </div> </template> <script> import operationFunc from "~/mixin/operationFunc"; import event from "../event"; import commonDepend from "~/mixin/commonDepend"; import Api from "~/service/Api"; import CodeTable from "~/config/CodeTable"; import Gitcom from "../model"; import commonFuncs from "~/mixin/commonFuncs"; import Check from "../model/check"; import Default from "../model/default"; import Ovwp from "./Ovwp"; import buildFn from '../event/buildCommons.js'; import Engp from "~/components/business/engp/views"; import Ccvpan from "~/components/business/ccvpan/views"; import Setmod from "~/components/business/setmod/views"; import Docpan from "~/components/business/docpan/views"; import Limitbody from "~/components/business/limitbody/views"; import Coninfp from "~/components/business/coninfp/views"; export default { name: "Gitcom", components: { "m-ovwp": Ovwp, "m-engp": Engp, "m-setmod": Setmod, "m-coninfp": Coninfp, "m-docpan": Docpan, "m-limitbody": Limitbody, }, provide() { return { root: this, }; }, mixins: [Check, operationFunc, event, commonDepend,Default, buildFn], data() { return { tabVal: "ovwp", trnName: "gitcom", model: new Gitcom().data, codes: { ...CodeTable, }, activeNames: [""], }; }, methods: {}, created: async function () { console.log("进入Gitcom交易"); let params = { transName: this.trnName, gidgrp: { rec: { inr: this.$route.query.inr || '' } }, } let rtnmsg = this.init(params).then(() => { this.initSetgidDeftcomflg(); }); }, }; </script> <style> </style>