index.vue 4.54 KB
Newer Older
1 2 3
<template>
  <div class="eContainer">
    <c-page title="出口保函通知">
suwenhao committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
      <el-form
        :model="model"
        :rules="rules"
        ref="modelForm"
        label-width="120px"
        label-position="right"
        size="small"
        :validate-on-rule-change="false"
      >
        <c-tabs
          v-model="tabVal"
          ref="elment"
          type="card"
          @tab-click="tabClick"
        >
          <el-tab-pane label="业务信息" name="ovwp">
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
            <c-content>
              <m-ovwp :model="model" :codes="codes" />
            </c-content>
          </el-tab-pane>

          <el-tab-pane label="统一授信" name="limitbody">
            <c-content>
              <m-limitbody :model="model" :codes="codes" />
            </c-content>
          </el-tab-pane>

          <el-tab-pane label="费用/账务" name="engp,setpan,glepan">
            <c-content>
              <div class="eibs-tab">
                <el-collapse v-model="activeNames">
                  <el-collapse-item title="表外记账" name="engp">
                    <!-- 表外记账 -->
                    <m-engp :model="model" :codes="codes" />
                  </el-collapse-item>
                  <el-collapse-item title="结算" name="setpan">
                    <!-- 结算 -->
                    <m-setpan :model="model" :codes="codes" />
                  </el-collapse-item>
suwenhao committed
43
                  <el-collapse-item title="会计分录" name="glepan">
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
                    <!-- 会计分录 -->
                    <m-glepan :model="model" :codes="codes" />
                  </el-collapse-item>
                </el-collapse>
              </div>
            </c-content>
          </el-tab-pane>

          <el-tab-pane label="备查/附言" name="addbcb">
            <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>
suwenhao committed
69 70 71
        </c-tabs>
      </el-form>
      <c-function-btn
72 73 74 75 76
        :handleSubmit="handleSubmit"
        :handleCheck="handleCheck"
        :handleStash="handleStash"
      >
      </c-function-btn>
suwenhao committed
77
    </c-page>
78 79 80
  </div>
</template>
<script>
suwenhao committed
81 82 83 84 85 86 87 88 89 90 91 92 93 94
import CodeTable from '~/config/CodeTable';
import operationFunc from '~/mixin/operationFunc';
import commonApi from '~/mixin/commonApi';
import event from '../event';
import Getopn from '../model/index';
import Check from '../model/check';
import Ovwp from './Ovwp';
import Addbcb from './Addbcb';
import Engp from '~/views/Public/Engp';
import Setpan from '~/components/business/setmod/views';
import Glepan from '~/views/Public/Glepan';
import Docpan from '~/views/Public/Docpan';
import Doctre from '~/views/Public/Doctre';
import Limitbody from '~/views/Public/Limitbody';
95
export default {
suwenhao committed
96
  name: 'Getopn',
97
  components: {
suwenhao committed
98 99 100 101 102 103 104 105
    'm-addbcb': Addbcb,
    'm-ovwp': Ovwp,
    'm-engp': Engp,
    'm-setpan': Setpan,
    'm-glepan': Glepan,
    'm-docpan': Docpan,
    'm-doctre': Doctre,
    'm-limitbody': Limitbody,
106 107 108 109 110 111
  },
  provide() {
    return {
      root: this,
    };
  },
suwenhao committed
112
  mixins: [operationFunc, event],
113 114
  data() {
    return {
suwenhao committed
115 116 117
      tabVal: 'ovwp',
      trnName: 'getopn',
      trnType: '',
118
      model: new Getopn().data,
suwenhao committed
119
      rules: Check,
120 121 122
      codes: {
        ...CodeTable,
      },
suwenhao committed
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
      activeNames: ['engp'],
      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'
162
          }
suwenhao committed
163 164
        ],
        data: []
165
      }
suwenhao committed
166
    };
167
  },
suwenhao committed
168 169 170 171
  methods: {},
  created() {
    console.log('check',Check)
    this.init();
172 173 174
  },
};
</script>
suwenhao committed
175
<style></style>