index.vue 4.93 KB
Newer Older
WH committed
1
<template>
Wuyuqiu committed
2 3 4 5 6 7 8 9 10 11 12
  <div class="eContainer">
    <c-page title="出口托收寄单">
      <el-form
        :model="model"
        :rules="rules"
        ref="modelForm"
        label-width="120px"
        label-position="left"
        size="small"
        :validate-on-rule-change="false"
      >
WH committed
13 14 15
        <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
          <el-tab-pane label="业务信息" name="ovwp">
            <c-content>
Wuyuqiu committed
16
              <m-ovwp :model="model" :codes="codes" />
WH committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30
            </c-content>
          </el-tab-pane>

          <el-tab-pane label="表外记账" name="engp">
            <c-content>
              <!-- 表外记账 -->
              <m-engp :model="model" :codes="codes" />
            </c-content>
          </el-tab-pane>

          <!--PD000027 -->
          <el-tab-pane label="费用/账务" name="setmod">
            <c-content>
              <m-setmod
Wuyuqiu committed
31 32 33
                :model="model"
                :codes="codes"
                @changeSetmodModel="changeSetmodModel"
WH committed
34 35 36 37 38 39 40 41 42 43 44 45 46
              />
            </c-content>
          </el-tab-pane>

          <!--PD000027 -->
          <el-tab-pane label="会计分录" name="glepan">
            <c-content>
              <m-glentry :model="model" :codes="codes" />
            </c-content>
          </el-tab-pane>

          <el-tab-pane label="备查/附言" name="addbcb">
            <c-content>
Wuyuqiu committed
47
              <m-addbcb :model="model" :codes="codes" />
WH committed
48 49 50 51 52 53
            </c-content>
          </el-tab-pane>

          <!--PD000009 -->
          <el-tab-pane label="申报信息" name="libp,cnyp1">
            <c-content>
Wuyuqiu committed
54
              <m-cnyp :model="model" :codes="codes" />
WH committed
55 56 57 58 59
            </c-content>
          </el-tab-pane>

          <el-tab-pane label="报文/面函" name="docpan">
            <c-content>
Wuyuqiu committed
60
              <m-docpan :model="model" :codes="codes" />
WH committed
61 62 63 64 65
            </c-content>
          </el-tab-pane>

          <el-tab-pane label="附件信息" name="doctre">
            <c-content>
Wuyuqiu committed
66
              <m-doctre :model="model" :codes="codes" />
WH committed
67 68 69 70 71
            </c-content>
          </el-tab-pane>
        </c-tabs>
      </el-form>
      <c-grid-ety-prompt-dialog
Wuyuqiu committed
72 73 74
        ref="etyDialog"
        :promptData="promptData"
        @select-ety="selectGridEtyPromptData"
WH committed
75 76 77 78
      >
      </c-grid-ety-prompt-dialog>

      <c-function-btn
Wuyuqiu committed
79 80 81
        :handleSubmit="handleSubmit"
        :handleCheck="handleCheck"
        :handleStash="handleStash"
WH committed
82 83
      >
      </c-function-btn>
Wuyuqiu committed
84 85
    </c-page>
  </div>
WH committed
86 87
</template>
<script>
Wuyuqiu committed
88 89
import CodeTable from "~/config/CodeTable";
import Botdav from "../model";
WH committed
90 91

import Addbcb from "./Addbcb";
Wuyuqiu committed
92 93 94 95 96 97 98 99
import Ovwp from "./Ovwp";
import Inst from "./Inst";
import Ptyp from "./Ptyp";
import Instrecp from "./Instrecp";
import Cnyp from "./Cnyp";
import Srmp from "./Srmp";
import Libp from "./Libp";
import formRules from "../model/check";
WH committed
100

Wuyuqiu committed
101
import Setmod from "~/components/business/setmod/views";
WH committed
102 103 104 105
import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views";
import Engp from "~/components/business/engp/views";
import Glentry from "~/components/business/glentry/views";
Wuyuqiu committed
106
import Doctre from "~/views/Public/Doctre";
WH committed
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
import operationFunc from "@/mixin/operationFunc";
import event from "../event";

export default {
  name: "Botdav",
  components: {
    "m-addbcb": Addbcb,
    "m-ovwp": Ovwp,
    "m-inst": Inst,
    "m-ptyp": Ptyp,
    "m-instrecp": Instrecp,
    "m-setmod": Setmod,
    "m-coninfp": Coninfp,
    "m-docpan": Docpan,
    "m-doctre": Doctre,
    "m-cnyp": Cnyp,
    "m-srmp": Srmp,
    "m-engp": Engp,
Wuyuqiu committed
125
    "m-libp": Libp,
WH committed
126 127 128 129
    "m-glentry": Glentry,
  },
  provide() {
    return {
Wuyuqiu committed
130 131
      root: this,
    };
WH committed
132
  },
Wuyuqiu committed
133
  mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理
WH committed
134 135 136 137 138 139 140
  data() {
    return {
      tabVal: "ovwp",
      trnName: "botdav",
      model: new Botdav().data,
      rules: formRules,
      codes: {
Wuyuqiu committed
141
        ...CodeTable,
WH committed
142 143 144
      },
      activeNames: ["engp"],
      promptData: {
Wuyuqiu committed
145
        title: "Select a Party",
WH committed
146 147
        columns: [
          {
Wuyuqiu committed
148 149
            prop: "ptyInr",
            label: "Party Number",
WH committed
150 151
          },
          {
Wuyuqiu committed
152 153
            prop: "inr",
            label: "Address Number",
WH committed
154 155
          },
          {
Wuyuqiu committed
156 157
            prop: "branch",
            label: "Branch Code",
WH committed
158 159
          },
          {
Wuyuqiu committed
160 161
            prop: "bchName",
            label: "Branch Name",
WH committed
162 163
          },
          {
Wuyuqiu committed
164 165
            prop: "adrName",
            label: "Address Name",
WH committed
166 167
          },
          {
Wuyuqiu committed
168 169
            prop: "adr1",
            label: "Address1",
WH committed
170 171
          },
          {
Wuyuqiu committed
172 173
            prop: "locCty",
            label: "City",
WH committed
174 175
          },
          {
Wuyuqiu committed
176 177
            prop: "locZip",
            label: "Zip",
WH committed
178 179
          },
          {
Wuyuqiu committed
180 181 182
            prop: "bicCode",
            label: "BIC",
          },
WH committed
183
        ],
Wuyuqiu committed
184
        data: [],
WH committed
185
      },
Wuyuqiu committed
186
    };
WH committed
187 188
  },
  methods: {},
Wuyuqiu committed
189 190 191
  created: async function () {},
  mounted() {
    this.init();
192 193
    // this.queryHndtypCodeTableList(this.trnName)
  },
WH committed
194 195 196 197
};
</script>
<style>
</style>