index.vue 5.05 KB
<template>
    <div class="eContainer">
        <c-page title="国内保函--出口业务收费">
            <el-form
                    :model="model"
                    :rules="rules"
                    :validate-on-rule-change="false"
                    label-position="right"
                    label-width="150px"
                    ref="modelForm"
                    size="small"
            >
                <c-tabs
                        @tab-click="tabClick"
                        ref="elment"
                        type="card"
                        v-model="tabVal"
                >
                    <!--nitfee PD000019  -->
                    <el-tab-pane label="业务信息" name="ovwp">
                        <c-content>
                            <m-ovwp :codes="codes" :model="model"/>
                        </c-content>
                    </el-tab-pane>
                    <!--intmbu PD000001 Rebooking -->
                    <!--        <el-tab-pane :label="$t('intmbu.PD000001')" name="cltrns">-->
                    <!--          <c-content>-->
                    <!--            <m-cltrns :model="model" :codes="codes"/>-->
                    <!--          </c-content>-->
                    <!--        </el-tab-pane>-->
                    <!--setmod PD000000 Settlement -->
                    <!-- <el-tab-pane label="费用/账务" name="setpan">
                      <div class="eibs-tab">
                        <c-collapse v-model="activeNames">
                          <el-collapse-item title="结算" name="setpan"> -->
                    <!-- 结算 -->
                    <!-- <m-setpan :model="model" :codes="codes"/>
                  </el-collapse-item>
                </c-collapse>
              </div>
            </el-tab-pane> -->
                    <!--coninf PD000000 Completion -->
                    <!-- <el-tab-pane label="备查/附言" name="coninfp">
                      <c-content>
                        <m-addbcb :model="model" :codes="codes" />
                      </c-content>
                    </el-tab-pane> -->
                    <!--trndoc PD000529 &Messages -->
                    <!-- <el-tab-pane label="报文/面函" name="docpan">
                      <c-content>
                        <m-docpan :model="model" :codes="codes"/>
                      </c-content>
                    </el-tab-pane> -->
                    <!--trndoc PD000546 Attachments -->
                    <!-- <el-tab-pane label="附件信息" name="doctre">
                      <c-content>
                        <m-doctre :model="model" :codes="codes"/>
                      </c-content>
                    </el-tab-pane> -->
                    <el-tab-pane label="费用/账务" name="setpan">
                        <c-content>
                            <m-setmod :codes="codes" :model="model" docamtEnable="true"/>
                        </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 operationFunc from "~/mixin/operationFunc";
    import commonDepend from "~/mixin/commonDepend";
    import event from "../event";
    import Netfee from "../model"
    // import check from "../model/check";
    // import Default from "../model/default";
    import buildFn from '../event/buildCommons';
    import CodeTable from '~/config/CodeTable';
    import Ovwp from "./Ovwp"
    import Cltrns from "./Cltrns"
    import Setmod from "~/components/business/setmod/views";
    import Glentry from '~/components/business/glentry/views';


    export default {
        name: "Netfee",
        components: {
            "m-ovwp": Ovwp,
            "m-cltrns": Cltrns,
            "m-setmod": Setmod,
            "m-glentry": Glentry,
            // "m-addbcb" :Addbcb,
            // "m-coninfp": Coninfp,
            // "m-docpan": Docpan,
            // "m-doctre": Doctre,
        },
        provide() {
            return {
                root: this,
            }
        },
        mixins: [operationFunc, event, commonDepend, buildFn],
        data() {
            return {
                tabVal: "ovwp",
                trnName: "netfee",
                model: new Netfee().data,
                rules: null,
                codes: {...CodeTable},
                activeNames: ["setpan"],
            }
        },
        methods: {},
        created: async function () {
            console.log("进入netfee交易");
            let params = {
                transName: this.trnName,
                nidgrp: {
                    rec: {
                        inr: this.$route.query.inr
                    },
                }
            };
            this.init(params);
        }
    };
</script>
<style>

</style>