| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <template>
- <div class="content">
- <div class="list-unstyled list-inline x-step x-step-x">
- <ul>
- <li class="active">买方用户额度<i class="x-split"></i></li>
- </ul>
- </div>
- <div class="tab">
- <table class="table table-striped">
- <thead>
- <tr>
- <th>序号</th>
- <th>用户名称</th>
- <th>额度金额(元)</th>
- <th>已用额度(元)</th>
- <th>可用额度(元)</th>
- <th>生效日</th>
- </tr>
- </thead>
- <tbody>
- <tr v-for="(item,index) in $store.state.credit" @click="$store.dispatch('openTransfer',item)">
- <td v-text="index+1"></td>
- <td v-text="item.cq_custname"></td>
- <td v-text="item.cq_quota"></td>
- <td v-text="item.cq_dueamount"></td>
- <td v-text="item.cq_spamount"></td>
- <td v-text="item.cq_startdate"></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </template>
- <script>
- export default {
- fetch({store} ){
- return Promise.all([
- store.dispatch('findCredit', { enuu: store.state.option.user.enuu })
- ])
- },
- }
- </script>
|