index.vue 6.47 KB
Newer Older
李少勇 committed
1 2 3
<template>
  <div class="eContainer">
    <c-page title="进口保函开立">
4 5 6 7 8 9 10 11 12
      <el-form
        :model="model"
        :rules="rules"
        ref="modelForm"
        label-width="120px"
        label-position="right"
        size="small"
        :validate-on-rule-change="false"
      >
李少勇 committed
13
        <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
李少勇 committed
14
          <!--PD000001 -->
15 16 17 18 19
            <el-tab-pane label="业务信息" name="ovwp">
              <c-content>
                <m-ovwp :model="model" :codes="codes" />
              </c-content>
            </el-tab-pane>
李少勇 committed
20

21 22 23
            <!--PD000001 -->
            <el-tab-pane label="保证金" name="ccvpan">
              <c-content>
24
                <m-ccvpan :model="model" :codes="codes" :buildLiaccv="buildLiaccv" />
25 26 27 28 29 30 31 32 33
              </c-content>
            </el-tab-pane>

            <!--PD000001 -->
            <el-tab-pane label="统一授信" name="limitbody">
              <c-content>
                <m-limitbody :model="model" :codes="codes" />
              </c-content>
            </el-tab-pane>
李少勇 committed
34

35 36 37 38 39 40 41
            <!--PD000027 -->
            <el-tab-pane label="表外记账" name="engp">
              <c-content>
                  <!-- 表外记账 -->
                  <m-engp :model="model" :codes="codes" />
              </c-content>
            </el-tab-pane>
李少勇 committed
42

43
            <!--PD000027 -->
WF1020 committed
44
            <el-tab-pane label="费用/账务" name="setmod">
45
              <c-content>
46 47 48 49 50
                <m-setmod
                  :model="model"
                  :codes="codes"
                  @changeSetmodModel="changeSetmodModel"
                />
51 52
              </c-content>
            </el-tab-pane>
李少勇 committed
53

54
            <!--PD000027 -->
55
            <el-tab-pane label="会计分录" name="glepan">
56 57 58 59
              <c-content>
                  <m-glentry :model="model" :codes="codes" />
              </c-content>
            </el-tab-pane>
李少勇 committed
60

61 62 63 64 65 66 67 68
            <!--PD000510 -->
            <el-tab-pane label="备查/附言" name="addbcb">
              <c-content>
                <div class="eibs-tab">
                <m-addbcb :model="model" :codes="codes" />
                </div>
              </c-content>
            </el-tab-pane>
李少勇 committed
69

70 71 72 73 74 75
            <!--PD000002 -->
            <el-tab-pane label="申报信息" name="cnyp">
              <c-content>
                <m-cnyp :model="model" :codes="codes" />
              </c-content>
            </el-tab-pane>
李少勇 committed
76

77 78 79 80 81 82
            <!--PD000529 -->
            <el-tab-pane label="报文/面函" name="docpan">
              <c-content>
                <m-docpan :model="model" :codes="codes" />
              </c-content>
            </el-tab-pane>
李少勇 committed
83

84 85 86 87 88 89
            <!--PD000546 -->
            <el-tab-pane label="附件信息" name="doctre">
              <c-content>
                <m-doctre :model="model" :codes="codes" />
              </c-content>
            </el-tab-pane>
李少勇 committed
90

91 92
        </c-tabs>
      </el-form>
李少勇 committed
93
      <!-- 底部按钮 -->
94 95 96 97 98 99
      <c-function-btn
        :handleSubmit="handleSubmit"
        :handleCheck="handleCheck"
        :handleStash="handleStash"
      >
      </c-function-btn>
李少勇 committed
100
      <!-- 选择数据的表格弹框 -->
101 102 103
      <c-grid-ety-prompt-dialog
        ref="etyDialog"
        :promptData="promptData"
李少勇 committed
104
        @select-ety="selectGridEtyPromptData"
105 106
      >
      </c-grid-ety-prompt-dialog>
李少勇 committed
107 108 109 110
    </c-page>
  </div>
</template>
<script>
111
import event from '../event'
李少勇 committed
112
import operationFunc from "~/mixin/operationFunc";
113
import formRules from '../model/check'
李少勇 committed
114
import CodeTable from "~/config/CodeTable";
115
import Gitopn from "../model";
李少勇 committed
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
import Opnp from "./Opnp";
import Ovwp from "./Ovwp";
import Ptyp from "./Ptyp";
import Detp from "./Detp";
import Gidtxtp from "./Gidtxtp";
import Cnyp from "./Cnyp";
import Addbcb from "./Addbcb";
import Voup from "./Voup";
import Cfap from "./Cfap";
import Preperp from "./Preperp";
import Ovwpc from "./Ovwpc";
import Ptypc from "./Ptypc";
import Detpc from "./Detpc";
import Gidtxtpc from "./Gidtxtpc";
import Preperpc from "./Preperpc";
import Confp from "./Confp";
import Conp from "./Conp";
import Conp1 from "./Conp1";
import Aacp from "./Aacp";
import Dclpp from "./Dclpp";

import Engp from "~/components/business/engp/views";
138
import Ccvpan from "~/components/business/ccvpan/views";
李少勇 committed
139 140
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
141
import Docpan from "~/components/business/docpan/views";
李少勇 committed
142 143
import Doctre from "~/components/business/doctre/views";
import Limitbody from "~/components/business/limitbody/views";
李少勇 committed
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182

export default {
  name: "Gitopn",
  components: {
    "m-opnp": Opnp,
    "m-ovwp": Ovwp,
    "m-ptyp": Ptyp,
    "m-detp": Detp,
    "m-gidtxtp": Gidtxtp,
    "m-cnyp": Cnyp,
    "m-addbcb": Addbcb,
    "m-voup": Voup,
    "m-cfap": Cfap,
    "m-preperp": Preperp,
    "m-ovwpc": Ovwpc,
    "m-ptypc": Ptypc,
    "m-detpc": Detpc,
    "m-gidtxtpc": Gidtxtpc,
    "m-preperpc": Preperpc,
    "m-confp": Confp,
    "m-conp": Conp,
    "m-conp1": Conp1,
    "m-dclpp": Dclpp,

    "m-engp": Engp,
    "m-ccvpan": Ccvpan,
    "m-setmod": Setmod,
    "m-glentry": Glentry,
    "m-docpan": Docpan,
    "m-doctre": Doctre,
    "m-limitbody": Limitbody,
    "m-aacp": Aacp,
  },
  provide() {
    return {
      root: this,
      activeNames: ["ovwp"],
    };
  },
李少勇 committed
183
  mixins: [operationFunc, event],
李少勇 committed
184 185 186 187 188 189 190 191 192 193
  data() {
    return {
      tabVal: "ovwp",
      trnName: "gitopn",
      model: new Gitopn().data,
      rules: formRules,
      codes: {
        ...CodeTable,
      },
      activeNames: ["engp"],
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
      promptData: {
        title: 'Select a Party',
        columns: [
          {
            prop: 'ptyInr',
            label: 'Party Number'
          },
          {
            prop: 'inr',
            label: 'Address Number'
          },
          {
            prop: 'branch',
            label: 'Branch Code'
          },
          {
            prop: 'bchName',
            label: 'Branch Name'
          },
          {
            prop: 'adrName',
            label: 'Address Name'
          },
          {
            prop: 'adr1',
            label: 'Address1'
          },
          {
            prop: 'locCty',
            label: 'City'
          },
          {
            prop: 'locZip',
            label: 'Zip'
          },
          {
            prop: 'bicCode',
            label: 'BIC'
          }
        ],
        data: []
      }
李少勇 committed
236 237
    };
  },
李少勇 committed
238 239 240
  methods: {},
  mounted () {
    this.init()
李少勇 committed
241
    this.queryHndtypCodeTableList(this.trnName)
李少勇 committed
242
  },
李少勇 committed
243 244
};
</script>
245 246 247 248
<style scoped>
.eContainer {
  padding-top: 20px!important;
}
李少勇 committed
249
</style>