Smpp01.vue 8.03 KB
Newer Older
1 2 3 4 5 6 7 8
<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">
xiaotong committed
9 10
              <c-form-item label="BIC码" prop="extkey">
                <c-input v-model="model.extkey" maxlength="24"></c-input>
11 12 13
              </c-form-item>
            </c-col>
            <c-col :span="8">
xiaotong committed
14 15
              <c-form-item label="账户行名称" prop="chnnam">
                <c-input v-model="model.chnnam" maxlength="100"></c-input>
16 17 18
              </c-form-item>
            </c-col>
            <c-col :span="8">
xiaotong committed
19 20
              <c-form-item label="帐号" prop="act">
                <c-input v-model="model.act" maxlength="40"></c-input>
21 22 23 24 25 26 27
              </c-form-item>
            </c-col>
          </c-col>
        </el-row>
        <!-- 可控展示区 -->
        <el-row v-show="searchSlot.searchToggle">
          <c-col :span="8">
xiaotong committed
28
            <el-form-item label="币种" prop="cur">
29
              <c-select v-model="model.cur" style="width:100%"  dbCode="curtxt"></c-select>
30 31 32
            </el-form-item>
          </c-col>
          <c-col :span="8">
xiaotong committed
33 34
            <c-form-item label="对账单参考号" prop="ref">
              <c-input v-model="model.ref" maxlength="16"></c-input>
35 36 37
            </c-form-item>
          </c-col>
          <c-col :span="8">
xiaotong committed
38 39
            <c-form-item label="所属单编号" prop="smtno">
              <c-input v-model="model.smtno" maxlength="16"></c-input>
40 41 42 43 44 45
            </c-form-item>
          </c-col>
          
          <c-col :span="8">
            <el-form-item label="起止页码" style="width: 100%">
              <c-col :span="11">
46
                <c-input v-model="model.begnum" maxlength="8"></c-input>
47 48 49 50 51
              </c-col>
              <c-col :span="2" style="text-align: center">
                <label style="display: inline-block; width: 100%">-</label>
              </c-col>
              <c-col :span="11">
52
                <c-input v-model="model.endnum" maxlength="8"></c-input>
53 54 55 56 57 58 59
              </c-col>
            </el-form-item>
          </c-col>

          <c-col :span="8">
            <el-form-item label="收报日期" style="width: 100%">
              <c-col :span="11">
60
                <c-date-picker type="date" v-model="model.begdat" style="width:100%"></c-date-picker>
61 62 63 64 65
              </c-col>
              <c-col :span="2" style="text-align: center">
                <label style="display: inline-block; width: 100%">-</label>
              </c-col>
              <c-col :span="11">
66
                <c-date-picker type="date" v-model="model.enddat" style="width:100%"></c-date-picker>
67 68 69 70 71 72
              </c-col>
            </el-form-item>
          </c-col>
          <c-col :span="8">
            <el-form-item label="起息日期" style="width: 100%">
              <c-col :span="11">
73
                <c-date-picker type="date" v-model="model.valdatbeg" style="width:100%"></c-date-picker>
74 75 76 77 78
              </c-col>
              <c-col :span="2" style="text-align: center">
                <label style="display: inline-block; width: 100%">-</label>
              </c-col>
              <c-col :span="11">
79
                <c-date-picker type="date" v-model="model.valdatend" style="width:100%"></c-date-picker>
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
              </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"
          >
李少勇 committed
100 101 102
            <!-- <el-table-column prop="chk" label="" width="30">
            </el-table-column> -->
            <el-table-column prop="recdat" label="收报日期" width="120">
103
            </el-table-column>
李少勇 committed
104
            <el-table-column prop="valdat" label="起息日期" width="120">
105 106 107
            </el-table-column>
            <el-table-column prop="chnnam" label="账户行名称" width="150">
            </el-table-column>
李少勇 committed
108
            <el-table-column prop="bic" label="BIC" width="150">
109
            </el-table-column>
李少勇 committed
110
            <el-table-column prop="act" label="帐号" width="150">
111
            </el-table-column>
李少勇 committed
112
            <el-table-column prop="cur" label="币种" width="80">
113
            </el-table-column>
李少勇 committed
114
            <el-table-column prop="ref" label="对账单参考号" width="150">
115 116 117
            </el-table-column>
            <el-table-column prop="smtno" label="所属单编号" width="150">
            </el-table-column>
李少勇 committed
118
            <el-table-column prop="pagnum" label="页码" width="100">
119
            </el-table-column>
李少勇 committed
120
            <el-table-column prop="pagamenum" label="修改后页码" width="120">
121 122
            </el-table-column>
            <el-table-column prop="begamt" label="页初金额" width="120">
李少勇 committed
123 124 125
              <template slot-scope="scope">
                {{ moneyFormat(scope.row.begamt, scope.row.cur) }}
						  </template>
126 127
            </el-table-column>
            <el-table-column prop="newbegamt" label="修改后页初金额" width="150">
李少勇 committed
128 129 130
              <template slot-scope="scope">
                {{ moneyFormat(scope.row.newbegamt, scope.row.cur) }}
						  </template>
131 132
            </el-table-column>
            <el-table-column prop="endamt" label="页末金额" width="120">
李少勇 committed
133 134 135
              <template slot-scope="scope">
                {{ moneyFormat(scope.row.endamt, scope.row.cur) }}
						  </template>
136 137
            </el-table-column>
            <el-table-column prop="newendamt" label="修改后页末金额" width="150">
李少勇 committed
138 139 140
              <template slot-scope="scope">
                {{ moneyFormat(scope.row.newendamt, scope.row.cur) }}
						  </template>
141 142
            </el-table-column>
            <el-table-column prop="endvalamt" label="页末可用金额" width="150">
李少勇 committed
143 144 145
              <template slot-scope="scope">
                {{ moneyFormat(scope.row.endvalamt, scope.row.cur) }}
						  </template>
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 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
            </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>