index.vue 5.93 KB
Newer Older
1
<template>
2
<c-page title="出口信用证单据承兑">
3
  <div class="eContainer">
4 5 6 7 8 9 10 11 12 13 14 15 16 17
     <c-function-btn 
      :handleSubmit="handleSubmit"
      :handleCheck="handleCheck"
      :handleStash="handleStash"
     >
        <el-button size="small">备忘录</el-button>
        <el-button size="small">影像信息</el-button>
        <!-- <el-button size="small">保存模板</el-button> -->
        <!-- <el-button size="small">使用模板</el-button> -->
        <el-button size="small">制裁信息</el-button>
        <!-- <el-button size="small">拆分报文</el-button> -->
        <el-button size="small">智能提示</el-button>
      </c-function-btn>

18 19 20 21
    <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
       <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
        
            <!--PD000033 -->
22
           <el-tab-pane label="基本信息" name="accp">
23 24 25 26 27 28 29 30 31
                <m-accp :model="model" :codes="codes"/>
           </el-tab-pane>
 
            <!--PD000018 【TODO me】该页面无内容,暂时注释掉-->
           <!-- <el-tab-pane label="ovwp" name="ovwp">
                <m-ovwp :model="model" :codes="codes"/>
           </el-tab-pane> -->
 
            <!--PD000000 【TODO me】账务-->
32
           <el-tab-pane label="费用及账务" name="setpan">
33 34 35 36
                <m-setpan :model="model" :codes="codes"/>
           </el-tab-pane>
 
            <!--PD000000 【TODO me】附言-->
37
           <el-tab-pane label="附言" name="coninfp">
38 39 40 41 42 43 44 45 46
                <m-coninfp :model="model" :codes="codes"/>
           </el-tab-pane>
 
            <!--PD000010 -->
           <el-tab-pane label="coninftag" name="coninftag">
                <m-coninftag :model="model" :codes="codes"/>
           </el-tab-pane>
 
            <!--PD000529 【TODO me】报文及面函-->
47
           <el-tab-pane label="面函" name="docpan">
48 49 50 51
                <m-docpan :model="model" :codes="codes"/>
           </el-tab-pane>
 
            <!--PD000546 【TODO me】附件-->
52
           <el-tab-pane label="附件" name="doctre">
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
                <m-doctre :model="model" :codes="codes"/>
           </el-tab-pane>
 
            <!--PD000001 -->
           <el-tab-pane label="dtetag" name="dtetag">
                <m-dtetag :model="model" :codes="codes"/>
           </el-tab-pane>
 
            <!--PD001139 【TODO me】该页面无内容,暂时注释掉-->
           <!-- <el-tab-pane label="shisuan" name="shisuan">
                <m-shisuan :model="model" :codes="codes"/>
           </el-tab-pane> -->
 
            <!--PD000204 -->
           <el-tab-pane label="cips" name="cips">
                <m-cips :model="model" :codes="codes"/>
           </el-tab-pane>
 
            <!--PD000449 -->
           <el-tab-pane label="cips2" name="cips2">
                <m-cips2 :model="model" :codes="codes"/>
           </el-tab-pane>
 
            <!--PD000450 -->
           <el-tab-pane label="cips3" name="cips3">
                <m-cips3 :model="model" :codes="codes"/>
           </el-tab-pane>
 
            <!--PD000001 -->
82
           <el-tab-pane label="统一授信" name="limitbody">
83 84 85 86 87 88 89 90 91 92
                <m-limitbody :model="model" :codes="codes"/>
           </el-tab-pane>

          <!--PD000027 -->
          <el-tab-pane label="或有" name="engp">
            <m-engp :model="model" :codes="codes" />
          </el-tab-pane>
       </c-tabs>
    </el-form>
  </div>
93
  </c-page>
94 95 96 97 98
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Betacc from "~/model/Betacc"
99 100
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
import Check from "~/model/Betacc/Check"
import Default from "~/model/Betacc/Default"
import Pattern from "~/model/Betacc/Pattern"
import Accp from "./Accp"
import Ovwp from "./Ovwp"
// import Setpan from "./Setpan"        // 【TODO me】改为使用公共页面
// import Coninfp from "./Coninfp"      // 【TODO me】改为使用公共页面
// import Docpan from "./Docpan"        // 【TODO me】改为使用公共页面
import Coninftag from "./Coninftag"
import Doctre from "./Doctre"
import Dtetag from "./Dtetag"
import Shisuan from "./Shisuan"
import Cips from "./Cips"
import Cips2 from "./Cips2"
import Cips3 from "./Cips3"
import Limitbody from "./Limitbody"

import Coninfp from "~/views/Public/Coninfp";     // 【TODO me】
import Setpan from "~/views/Public/Setpan";       // 【TODO me】
import Docpan from "~/views/Public/Docpan";       // 【TODO me】
import Engp from "~/views/Public/Engp";           // 【TODO me】

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

export default {
    name: "Betacc",
    components:{
        "m-accp" : Accp,
        "m-ovwp" : Ovwp,
        "m-setpan" : Setpan,
        "m-coninfp" : Coninfp,
        "m-coninftag" : Coninftag,
        "m-docpan" : Docpan,
        "m-doctre" : Doctre,
        "m-dtetag" : Dtetag,
        "m-shisuan" : Shisuan,
        "m-cips" : Cips,
        "m-cips2" : Cips2,
        "m-cips3" : Cips3,
        "m-limitbody" : Limitbody,
        "m-engp":Engp,
    },
    provide() {
        return {
            root: this
        }
    },
148
    mixins: [commonProcess,commonFuncs],    // 里面包含了Default、Check等的公共处理
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
    data(){
        return {
            tabVal: "accp",
            trnName: "betacc",
            model: new Betacc().data,
            checkRules: Check,
            defaultRules: Default,
            pattern: Pattern,
            rules: null,
            codes: { ...CodeTable },
        }
    },
    methods:{
        tabClick(){
        }
    },
    created:async function(){
        console.log("进入betacc交易");
        let rtnmsg = await this.init({})
        if(rtnmsg.respCode == SUCCESS)
        {
           //TODO 处理数据逻辑

        }
        else
        {
            this.$notify.error({title: '错误',message: '服务请求失败!'});
        }
    }
}
</script>
<style>

</style>