index.vue 2.79 KB
Newer Older
xionglin committed
1 2 3
<template>
  <div class="eContainer">
    <c-page title="进口保函收费">
xionglin committed
4 5 6 7 8 9 10 11 12
      <el-form 
        :model="model" 
        :rules="rules" 
        ref="modelForm" 
        label-width="150px" 
        label-position="right" 
        size="small"
        :validate-on-rule-change="false"
      >
xionglin committed
13 14 15 16 17 18
        <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
          <el-tab-pane label="业务信息" name="ovwp">
            <c-content>
              <m-ovwp :model="model" :codes="codes"/>
            </c-content>
          </el-tab-pane>
xionglin committed
19
          <el-tab-pane label="费用/账务" name="setmod">
xionglin committed
20
            <c-content>
xionglin committed
21
              <m-setmod :model="model" :codes="codes" />
xionglin committed
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 47 48 49
            </c-content>
          </el-tab-pane>
          <el-tab-pane label="备查/附言" name="coninfp">
            <c-content>
              <m-addbcb :model="model" :codes="codes" />
            </c-content>
          </el-tab-pane>
          <el-tab-pane label="报文/面函" name="docpan">
            <c-content>
              <m-docpan :model="model" :codes="codes"/>
            </c-content>
          </el-tab-pane>
          <el-tab-pane label="附件信息" name="doctre">
            <c-content>
              <m-doctre :model="model" :codes="codes"/>
            </c-content>
          </el-tab-pane>
        </c-tabs>
      </el-form>
      <c-function-btn
          :handleSubmit="handleSubmit"
          :handleCheck="handleCheck"
          :handleStash="handleStash"
      >
      </c-function-btn>
      <c-grid-ety-prompt-dialog
          ref="etyDialog"
          :promptData="promptData"
xionglin committed
50
          v-on:select-ety="selectGridEtyPromptData"
xionglin committed
51 52 53 54 55 56 57 58 59 60 61 62
      >
      </c-grid-ety-prompt-dialog>
    </c-page>
  </div>
</template>
<script>
 import Gitfee from "../model";
import commonFuncs from "~/mixin/commonFuncs";
import Ovwp from "./Ovwp"
import formRules from '../model/check'
import event from '../event'
import Cltrns from "./Cltrns"
xionglin committed
63
import Setmod from "~/components/business/setmod/views";
xionglin committed
64
import Coninfp from "~/components/business/coninfp/views";
xionglin committed
65
import Docpan from "~/components/business/docpan/views";
xionglin committed
66
import Doctre from "~/components/business/doctre/views";
xionglin committed
67 68 69 70 71 72 73
import CodeTable from "~/config/CodeTable";
import Addbcb from "./Addbcb";
export default {
  name: "Gitfee",
  components: {
    "m-ovwp": Ovwp,
    "m-cltrns": Cltrns,
xionglin committed
74
    "m-setmod": Setmod,
xionglin committed
75 76 77 78 79 80 81 82 83 84
    "m-addbcb" :Addbcb,
    "m-coninfp": Coninfp,
    "m-docpan": Docpan,
    "m-doctre": Doctre,
  },
  provide() {
    return {
      root: this,
    }
  },
xionglin committed
85
  mixins: [commonFuncs,event],
xionglin committed
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
  data() {
    return {
      tabVal: "ovwp",
      trnName: "gitfee",
      trnType: "",
      model: new Gitfee().data,
      rules: formRules,
      codes: {...CodeTable},
      activeNames: ["setpan"],
    }
  },
  mounted () {
    this.init()
  },
}
</script>
<style>
</style>