<template>
  <div class="eContainer">
    <c-page title="出口信用证注销后激活">
    <el-form :model="model" :rules="rules" ref="modelForm" label-width="180px" label-position="right" size="small" :validate-on-rule-change="false">
       <c-tabs v-model ="tabVal" ref="elment" type="card" @tab-click="tabClick">

            <!--letp PD000017 Overview -->
           <el-tab-pane :label="$t('业务信息')" name="ovwp">
                <c-content>
                  <m-ovwp :model="model" :codes="codes"/>
                </c-content>
           </el-tab-pane>

           <el-tab-pane :label="$t('commonCollapse.表外信息')" name="engp">
               <c-content>
                   <m-engp :model="model" :codes="codes"/>
               </c-content>
           </el-tab-pane>


          <el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan">
            <c-content>
              <m-docpan :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 CodeTable from "~/config/CodeTable";
import Letrop from "../model";
import commonProcess from "~/mixin/commonProcess";
import Check from "../model/check";
import Default from "../model/default";
import buildFn from "../event/buildCommons";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
import event from "../event";

import Docpan from "~/components/business/docpan/views";
import Engp from "~/components/business/engp/views";

import Ovwp from "./Ovwp";


export default {
  name: "Letrop",
  components: {
     'm-engp': Engp,
    "m-ovwp": Ovwp,
    "m-docpan": Docpan,
  },

  provide() {
    return {
      root: this
    };
  },
  mixins: [Check, Default, operationFunc, event, commonDepend, buildFn],
  data() {
    return {
      tabVal: "ovwp",
      trnName: "letrop",
      trnType: "",
      model: new Letrop().data,
      activeNamesxyz: ["engp","setpan","limitbody"],
      codes: {}
    };

    
  },
      created() {

  },
  methods: {},
  mounted() {
    console.log("进入Letrop交易");
    let params = {
      transName: this.trnName,
      ledgrp: {
        rec: {
            inr: this.$route.query.inr
        }
      }
    };
    this.init(params);
  }

};
</script>
<style></style>