Ofghngmainpnl.vue 8.27 KB
Newer Older
fukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 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 50 51 52 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 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 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 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
<template>
  <div class="eibs-tab">
                             <!-- LT001833 : 相关记录信息展示如下: -->
                 <!-- LT001897 : 起息日 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.valdat"   data-path=".oftgrp.dot.valdat" > </span>
</c-col>
                 <!-- LT001896 : 账户行 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.actbic"   data-path=".oftgrp.dot.actbic" > </span>
</c-col>
                 <!-- LT001898 : 收发日期 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.rsptim"   data-path=".oftgrp.dot.rsptim" > </span>
</c-col>
                 <!-- LT001893 : 报文类型 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.mty"   data-path=".oftgrp.dot.mty" > </span>
</c-col>
                 <!-- LT001895 : 关联类型 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.objtyp" data-code="dottyp"  data-path=".oftgrp.dot.objtyp" > </span>
</c-col>
                 <!-- LT001885 : 金  额 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.amt"   data-path=".oftgrp.dot.amt" > </span>
</c-col>
                 <!-- LT001887 : 收  支 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.dcflg" data-code="dcflg"  data-path=".oftgrp.dot.dcflg" > </span>
</c-col>
                 <!-- LT001884 : 币    种 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.cur"   data-path=".oftgrp.dot.cur" > </span>
</c-col>
                 <!-- LT001890 : 状  态 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.sta" data-code="sta"  data-path=".oftgrp.dot.sta" > </span>
</c-col>
                 <!-- LT001892 : 勾销标志 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.offsta" data-code="offsta"  data-path=".oftgrp.dot.offsta" > </span>
</c-col>
                 <!-- LT001894 : 记帐状态 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.recsta" data-code="batcharge"  data-path=".oftgrp.dot.recsta" > </span>
</c-col>
                 <!-- LT001888 : 参考号/前 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.ownref"   data-path=".oftgrp.dot.ownref" > </span>
</c-col>
                 <!-- LT001889 : 参考号/后 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.othref"   data-path=".oftgrp.dot.othref" > </span>
</c-col>
                 <!-- LT001899 : 详细信息 -->
                  
<c-col :span="12">
    <span  v-text="model.oftgrp.dot.inf"   data-path=".oftgrp.dot.inf" > </span>
</c-col>
                  
       <c-col :span="24">
        <div class="e-table-wrapper">
            <el-table
                :data="model.oftgrp.dotlst"
                style="width: 100%"
                >
                <el-table-column
                  prop="valdat"
                  label="起息日"
                  sortable
                  width="120">
                </el-table-column>
                <el-table-column
                  prop="dcflg"
                  label="借贷"
                  sortable
                  width="50">
                  <template slot-scope="scope">
                    <span>{{ this.codes.dcflg.find(item=>item.value==scope.row.dcflg).label }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="ownref"
                  label="参考号/前"
                  sortable
                  width="140">
                </el-table-column>
                <el-table-column
                  prop="othref"
                  label="参考号/后"
                  sortable
                  width="140">
                </el-table-column>
                <el-table-column
                  prop="sta"
                  label="关联状态"
                  sortable
                  width="110">
                  <template slot-scope="scope">
                    <span>{{ this.codes.sta.find(item=>item.value==scope.row.sta).label }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="typ"
                  label="记账类型"
                  sortable
                  width="100">
                  <template slot-scope="scope">
                    <span>{{ this.codes.kpatyp.find(item=>item.value==scope.row.typ).label }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="offsta"
                  label="勾销状态"
                  sortable
                  width="110">
                  <template slot-scope="scope">
                    <span>{{ this.codes.offsta.find(item=>item.value==scope.row.offsta).label }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="recsta"
                  label="记账状态"
                  sortable
                  width="130">
                  <template slot-scope="scope">
                    <span>{{ this.codes.batcharge.find(item=>item.value==scope.row.recsta).label }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="mty"
                  label="报文类型"
                  sortable
                  width="100">
                </el-table-column>
                <el-table-column
                  prop="amt"
                  label="金额"
                  sortable
                  width="150">
                </el-table-column>
                <el-table-column
                  prop="cur"
                  label="币种"
                  sortable
                  width="60">
                </el-table-column>
                <el-table-column
                  prop="objtyp"
                  label="产生类型"
                  sortable
                  width="130">
                  <template slot-scope="scope">
                    <span>{{ this.codes.dottyp.find(item=>item.value==scope.row.objtyp).label }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="actbic"
                  label="账户行"
                  sortable
                  width="130">
                </el-table-column>
                <el-table-column
                  prop="revbak"
                  label="收报行"
                  sortable
                  width="120">
                </el-table-column>
                <el-table-column
                  prop="sedbak"
                  label="发报行"
                  sortable
                  width="130">
                </el-table-column>
              </el-table>
              <el-pagination
                 layout="prev, pager, next"
192
                 :total="1">
fukai committed
193 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
              </el-pagination>
       </div>
       </c-col>
                 <!-- LT001960 : 请输入挂账附言: -->
                  
       <c-col :span="12">
        <c-form-item label="挂账附言" prop="oftp.hngfuyan">
            <c-input type="textarea" v-model="model.oftp.hngfuyan" maxlength="66" show-word-limit :placeholder="$t('other.please_enter')+'挂账附言'" ></c-input>
        </c-form-item>
        </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onSav">
             {{$t('mtabut.BT000008')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onPed">
             {{$t('mtabut.BT000009')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onOftpRtn">
             {{$t('oftp.BT001827')}}
        </c-button>
       </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
227
import Event from "../model/Event"
fukai committed
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>