Smpp01.vue 7.61 KB
Newer Older
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 192 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 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
<template>
  <div class="eibs-tab">
    <c-list-search @form-reset="handleReset" @form-search="handleSearch">
      <!-- 持续展示区 -->
      <template v-slot="searchSlot">
        <el-row>
          <c-col :span="24">
            <c-col :span="8">
              <c-form-item label="BIC码" prop="smpp.smpsup.ptpmod.pty.extkey">
                <c-input v-model="model.smpp.smpsup.ptpmod.pty.extkey" maxlength="24"></c-input>
              </c-form-item>
            </c-col>
            <c-col :span="8">
              <c-form-item label="账户行名称" prop="smpp.smpsup.ptpmod.pty.chnnam">
                <c-input v-model="model.smpp.smpsup.ptpmod.pty.chnnam" maxlength="100"></c-input>
              </c-form-item>
            </c-col>
            <c-col :span="8">
              <c-form-item label="帐号" prop="smpp.smpsup.act">
                <c-input v-model="model.smpp.smpsup.act" maxlength="40"></c-input>
              </c-form-item>
            </c-col>
          </c-col>
        </el-row>
        <!-- 可控展示区 -->
        <el-row v-show="searchSlot.searchToggle">
          <c-col :span="8">
            <el-form-item label="币种" prop="smpp.smpsup.cur">
              <c-select v-model="model.smpp.smpsup.cur" style="width:100%"></c-select>
            </el-form-item>
          </c-col>
          <c-col :span="8">
            <c-form-item label="对账单参考号" prop="smpp.smpsup.ref">
              <c-input v-model="model.smpp.smpsup.ref" maxlength="16"></c-input>
            </c-form-item>
          </c-col>
          <c-col :span="8">
            <c-form-item label="所属单编号" prop="smpp.smpsup.smtno">
              <c-input v-model="model.smpp.smpsup.smtno" maxlength="16"></c-input>
            </c-form-item>
          </c-col>
          
          <c-col :span="8">
            <el-form-item label="起止页码" style="width: 100%">
              <c-col :span="11">
                <c-input v-model="model.smpp.smpsup.begnum" maxlength="8"></c-input>
              </c-col>
              <c-col :span="2" style="text-align: center">
                <label style="display: inline-block; width: 100%">-</label>
              </c-col>
              <c-col :span="11">
                <c-input v-model="model.smpp.smpsup.endnum" maxlength="8"></c-input>
              </c-col>
            </el-form-item>
          </c-col>

          <c-col :span="8">
            <el-form-item label="收报日期" style="width: 100%">
              <c-col :span="11">
                <c-date-picker type="date" v-model="model.smpp.smpsup.begdat" style="width:100%"></c-date-picker>
              </c-col>
              <c-col :span="2" style="text-align: center">
                <label style="display: inline-block; width: 100%">-</label>
              </c-col>
              <c-col :span="11">
                <c-date-picker type="date" v-model="model.smpp.smpsup.enddat" style="width:100%"></c-date-picker>
              </c-col>
            </el-form-item>
          </c-col>
          <c-col :span="8">
            <el-form-item label="起息日期" style="width: 100%">
              <c-col :span="11">
                <c-date-picker type="date" v-model="model.smpp.smpsup.valdatbeg" style="width:100%"></c-date-picker>
              </c-col>
              <c-col :span="2" style="text-align: center">
                <label style="display: inline-block; width: 100%">-</label>
              </c-col>
              <c-col :span="11">
                <c-date-picker type="date" v-model="model.smpp.smpsup.valdatend" style="width:100%"></c-date-picker>
              </c-col>
            </el-form-item>
          </c-col>
        </el-row>
      </template>
    </c-list-search>
    <el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
    </el-col>

    <el-col :span="24" style="margin-top: 10px">
      <div>
        <c-col :span="24">
          <el-table
            :data="model.smpgrp.smpsub.lst"
            v-loading="load"
            style="width: 100%"
            size="small" :border="true"
            height="calc(100vh - 280px)"
            :highlight-current-row="true"
          >
            <el-table-column prop="chk" label="" width="30">
            </el-table-column>
            <el-table-column prop="recdat" label="收报日期" width="90">
            </el-table-column>
            <el-table-column prop="valdat" label="起息日期" width="90">
            </el-table-column>
            <el-table-column prop="chnnam" label="账户行名称" width="150">
            </el-table-column>
            <el-table-column prop="bic" label="BIC" width="90">
            </el-table-column>
            <el-table-column prop="act" label="帐号" width="100">
            </el-table-column>
            <el-table-column prop="cur" label="币种" width="100">
            </el-table-column>
            <el-table-column prop="ref" label="对账单参考号" width="130">
            </el-table-column>
            <el-table-column prop="smtno" label="所属单编号" width="150">
            </el-table-column>
            <el-table-column prop="pagnum" label="页码" width="50">
            </el-table-column>
            <el-table-column prop="pagamenum" label="修改后页码" width="150">
            </el-table-column>
            <el-table-column prop="begamt" label="页初金额" width="120">
            </el-table-column>
            <el-table-column prop="newbegamt" label="修改后页初金额" width="150">
            </el-table-column>
            <el-table-column prop="endamt" label="页末金额" width="120">
            </el-table-column>
            <el-table-column prop="newendamt" label="修改后页末金额" width="150">
            </el-table-column>
            <el-table-column prop="endvalamt" label="页末可用金额" width="150">
            </el-table-column>
            <el-table-column prop="dtlamt" label="明细条数" width="100">
            </el-table-column>
          </el-table>
          <el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
            :page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
            @current-change="handleCurrentChange">
          </el-pagination>
        </c-col>
      </div>
    </el-col>
  </div>
</template>
<script>
import event from "../event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [event],
  data() {
    return {
      load: false,
      pagination: {
        pageNum: 1,
        pageSize: 10,
        total: 0,
      },
    };
  },
  computed: {
    
  },
  watch: {
    
  },
  methods: {},
  mounted: function () {
  },
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
  height: 100% !important;
}

.eibs-tabs /deep/ {
  .m-table-search {
    padding: 20px 0px 10px 0px;
  }
}

.header-wrap {
  height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .title {
    font-size: 16px;
    color: #000;
  }

  .close-btn {
    padding: 3px;
    cursor: pointer;
  }
}

.m-list-btns {
  height: 300px;
  overflow: auto;
}

.medium_bcs {
  border-radius: 5px;
}

.m-table-search {
  padding: 20px 0px 10px 0px;
}

.pagination-box {
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  background: #fff;
  margin-top: 5px;
}

.el-dialog__body {
  padding: 10px 5px 50px;
}

.m-table-search {
  padding: 20px 0px 10px 0px;
}

.btn-group-wrap {
  max-height: 200px;
  width: 100%;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn-item {
  margin-bottom: 10px;
  margin-right: 10px;
}
</style>