Mainp.vue 5.95 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
<template>
  <div class="eibs-tab">
                              
       <c-col :span="24">
        <div class="e-table-wrapper">
            <el-table
                :data="model.cpygrp.cpylst"
                style="width: 100%"
                >
                <el-table-column
                  prop="snddattim"
                  label="收报日期"
                  sortable
                  width="120">
                </el-table-column>
                <el-table-column
                  prop="chkdat"
                  label="对账日期"
                  sortable
                  width="120">
                </el-table-column>
                <el-table-column
                  prop="sndbic"
                  label="发报行"
                  sortable
                  width="130">
                </el-table-column>
                <el-table-column
                  prop="rcvbic"
                  label="收报行"
                  sortable
                  width="130">
                </el-table-column>
                <el-table-column
                  prop="othref"
                  label="报文标识号"
                  sortable
                  width="180">
                </el-table-column>
                <el-table-column
                  prop="msgtyp"
                  label="报文标准"
                  sortable
                  width="80">
                  <template slot-scope="scope">
                    <span>{{ this.codes.msgmst.find(item=>item.value==scope.row.msgtyp).label }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="subtyp"
                  label="报文类型"
                  sortable
                  width="80">
                </el-table-column>
                <el-table-column
                  prop="actsta"
                  label="对账状态"
                  sortable
                  width="70">
                  <template slot-scope="scope">
                    <span>{{ this.codes.fmssta.find(item=>item.value==scope.row.actsta).label }}</span>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="num"
                  label="明细数目"
                  sortable
                  width="100">
                </el-table-column>
              </el-table>
              <el-pagination
                 layout="prev, pager, next"
73
                 :total="1">
fukai committed
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
              </el-pagination>
       </div>
       </c-col>
                 <!-- LT000008 : 发报行: -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('cpyp.LT000008')" prop="cpyp.sndbic">
            <c-input  v-model="model.cpyp.sndbic" maxlength="11"  :placeholder="$t('other.please_enter')+$t('cpyp.LT000008')"></c-input>
        </c-form-item>
       </c-col>
                 <!-- LT000009 : 收报行: -->
                  
       <c-col :span="12">
        <c-form-item :label="$t('cpyp.LT000009')" prop="cpyp.rcvbic">
            <c-input  v-model="model.cpyp.rcvbic" maxlength="11"  :placeholder="$t('other.please_enter')+$t('cpyp.LT000009')"></c-input>
        </c-form-item>
       </c-col>
                 <!-- LT000010 : 报文类型: -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('cpyp.LT000010')" prop="cpyp.subtyp">
            <c-select v-model="model.cpyp.subtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('cpyp.LT000010')">
              </c-select>
        </el-form-item>
       </c-col>
                 <!-- LT000006 : 收报日期: -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('cpyp.LT000006')" prop="cpyp.rcvsta">
            <c-date-picker type="date"  v-model="model.cpyp.rcvsta" style="width:100%"  :placeholder="$t('other.please_enter')+$t('cpyp.LT000006')"></c-date-picker>
        </el-form-item>
       </c-col>
                 <!-- LT000007 : 至: -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('cpyp.LT000007')" prop="cpyp.rcvend">
            <c-date-picker type="date"  v-model="model.cpyp.rcvend" style="width:100%"  :placeholder="$t('other.please_enter')+$t('cpyp.LT000007')"></c-date-picker>
        </el-form-item>
       </c-col>
                 <!-- LT000004 : 对账日期: -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('cpyp.LT000004')" prop="cpyp.chksta">
            <c-date-picker type="date"  v-model="model.cpyp.chksta" style="width:100%"  :placeholder="$t('other.please_enter')+$t('cpyp.LT000004')"></c-date-picker>
        </el-form-item>
       </c-col>
                 <!-- LT000005 : 至: -->
                  
       <c-col :span="12">
        <el-form-item :label="$t('cpyp.LT000005')" prop="cpyp.chkend">
            <c-date-picker type="date"  v-model="model.cpyp.chkend" style="width:100%"  :placeholder="$t('other.please_enter')+$t('cpyp.LT000005')"></c-date-picker>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onCpypSel">
             {{$t('cpyp.BT000011')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onCpypClr">
             {{$t('cpyp.BT000012')}}
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onCpypRtn">
             {{$t('cpyp.BT000013')}}
        </c-button>
       </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
151
import Event from "../model/Event"
fukai committed
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170

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

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

    }
}
</script>
<style>

</style>