<template> <div class="eContainer"> <c-page title="跨境收入信息新增"> <el-form :model="model" :rules="rules" label-position="left" label-width="120px" ref="modelForm" size="small"> <c-tabs ref="elment" type="card" v-model="tabVal"> <el-tab-pane label="接口数据" name="selection"> <c-content> <m-selection :codes="codes" :model="model"/> </c-content> </el-tab-pane> <!--PD000039 --> <el-tab-pane label="跨境收入信息新增" name="ads2101"> <c-content> <m-ads2101 :codes="codes" :model="model"/> </c-content> </el-tab-pane> </c-tabs> </el-form> <div style="text-align: center"> <c-button @click="saveTda" style="margin-right: 10px" type="primary">提 交</c-button> <c-button @click="check" 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 Tda from "../../tda/model" import CodeTable from "~/config/CodeTable"; import Selection from "../../tda/views/selection" import Ads2101 from "./ads2101" import event from "../event" import check from "../model/check" import init from "../../../rmbsel/event"; import {getDectyp} from "../../../../../../service/business/rmb"; export default { components: { "m-selection": Selection, "m-ads2101": Ads2101, }, name:'Tdaadd', mixins: [event, check, init], provide() { return { root: this, }; }, computed: {}, data() { return { tabVal: "selection", trnName: "tdaadd", model: new Tda().data, codes: { ...CodeTable } }; }, created() { this.model.pblmod.dectyp = getDectyp(this.trnName); const businessType = this.$route.query.businessType; if (businessType && businessType === "SPT") { const businessInr = this.$route.query.businessInr; this.initSpt(businessInr); } }, }; </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>