<template> <div class="eContainer"> <c-page title="2180金融衍生品交易信息修改"> <el-form :model="model" :rules="rules" label-position="right" label-width="120px" ref="modelForm" size="small"> <c-tabs ref="elment" type="card" v-model="tabVal"> <el-tab-pane label="接口数据" name="selection"> <m-selection :model="model" :codes="codes"/> </el-tab-pane> <!--PD000039 --> <el-tab-pane label="2180金融衍生品交易信息修改" name="ads2180"> <c-content> <m-ads2180 :codes="codes" :model="model" ref="ads2180"/> </c-content> </el-tab-pane> </c-tabs> </el-form> <div style="text-align: center"> <c-button :disabled="isDisabled" @click="saveTga" style="margin-right: 10px" type="primary">提交</c-button> <c-button :disabled="isDisabled" @click="checkTga" style="margin-right: 10px" type="primary">检核</c-button> <c-button @click="exit" style="margin-right: 10px" type="primary">退出</c-button> </div> </c-page> </div> </template> <script> import Tga from "../../tga/model"; import CodeTable from "~/config/CodeTable"; import Ads2180 from "./ads2180"; import Selection from "../../tga/views/selection" import event from "../event"; import check from "../model/check"; import init from "../../../rmbsel/event"; import {getDectyp} from "../../../../../../service/business/rmb"; export default { name: "Rmbmod2180", components: { "m-ads2180": Ads2180, "m-selection": Selection, }, mixins: [event, check, init], computed: { isDisabled() { return this.model.rmbbut.flg !== 'X'; }, }, provide() { return { root: this, }; }, data() { return { tabVal: "selection", trnName: "tgaame", model: new Tga().data, codes: { ...CodeTable } }; }, created() { this.model.pblmod.dectyp = getDectyp(this.trnName); const inr = this.$route.query.inr; this.init(this.trnName, inr); }, }; </script> <style scoped> /deep/ .el-form-item__label { padding-left: 10px; padding-right: 10px; line-height: 20px !important; display: flex; align-items: center; justify-content: flex-start; text-align: left; } </style>