Ovwp.vue 1.24 KB
Newer Older
xionglin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
<template>
  <div class="eibs-tab">
    <el-collapse v-model="activeNames" @change="handleChange">
      <el-collapse-item title="免税报文" name="frep">
        <m-frep :model="model" :codes="codes" />
      </el-collapse-item>
   <el-collapse-item title="报文详情 " name="Fredet"  v-if="model.fremsg.sndmt=='95'||model.fremsg.sndmt=='96'" >
                <m-fredet :model="model" :codes="codes" />
            </el-collapse-item>
      <el-collapse-item title="详情" name="gitdetp" >
        <m-gitdetp :model="model" :codes="codes" />
      </el-collapse-item>
   <el-collapse-item title="报文详情Mt759" name="Mt759p" v-if="model.fremsg.sndmt=='59'">
                <m-mt759p :model="model" :codes="codes" />
            </el-collapse-item>
 
               </el-collapse>
  </div>
</template>
<script>
import event from "../event";
import Frep from "./Frep";
import Fredet from "./Fredet";
import Mt759p from "./Mt759p";
import Gitdetp from "./Gitdetp";


export default {
  components: {
    "m-frep": Frep,
    "m-fredet": Fredet,
    "m-mt759p": Mt759p,
    "m-gitdetp": Gitdetp,
  },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [event],
  data() {
    return {
      activeNames: ["frep"],
    };
  },
};
</script>
  <style>
</style>