|
@@ -54,26 +54,32 @@
|
|
<span class="table-td-link" v-if="$hasPermissions('B_verifyAccount_detail')" @click="handleDetail(record,0)">{{ record.verifyAccountBillNo }}</span>
|
|
<span class="table-td-link" v-if="$hasPermissions('B_verifyAccount_detail')" @click="handleDetail(record,0)">{{ record.verifyAccountBillNo }}</span>
|
|
<span v-else>{{ record.verifyAccountBillNo }}</span>
|
|
<span v-else>{{ record.verifyAccountBillNo }}</span>
|
|
</template>
|
|
</template>
|
|
|
|
+ <!-- 业务时间区间 -->
|
|
|
|
+ <template slot="bizDate" slot-scope="text, record">
|
|
|
|
+ {{ record.bizFirstDate }} ~ {{ record.bizLastDate }}
|
|
|
|
+ </template>
|
|
<!-- 操作 -->
|
|
<!-- 操作 -->
|
|
<template slot="action" slot-scope="text, record">
|
|
<template slot="action" slot-scope="text, record">
|
|
- <a-button
|
|
|
|
- size="small"
|
|
|
|
- type="link"
|
|
|
|
- class="button-info"
|
|
|
|
- v-if="record.billStatus=='WAIT_VERIFY'&&$hasPermissions('B_verifyAccount_edit')"
|
|
|
|
- @click="handleEdit(record)"
|
|
|
|
- >
|
|
|
|
- 编辑
|
|
|
|
- </a-button>
|
|
|
|
- <a-button
|
|
|
|
- v-if="record.billStatus=='WAIT_VERIFY'&&$hasPermissions('B_verifyAccount_check')"
|
|
|
|
- size="small"
|
|
|
|
- type="link"
|
|
|
|
- class="button-info"
|
|
|
|
- @click="checkAcount(record)"
|
|
|
|
- >
|
|
|
|
- 对账
|
|
|
|
- </a-button>
|
|
|
|
|
|
+ <div>
|
|
|
|
+ <a-button
|
|
|
|
+ size="small"
|
|
|
|
+ type="link"
|
|
|
|
+ class="button-info"
|
|
|
|
+ v-if="record.billStatus=='WAIT_VERIFY'&&$hasPermissions('B_verifyAccount_edit')"
|
|
|
|
+ @click="handleEdit(record)"
|
|
|
|
+ >
|
|
|
|
+ 编辑
|
|
|
|
+ </a-button>
|
|
|
|
+ <a-button
|
|
|
|
+ v-if="record.billStatus=='WAIT_VERIFY'&&$hasPermissions('B_verifyAccount_check')"
|
|
|
|
+ size="small"
|
|
|
|
+ type="link"
|
|
|
|
+ class="button-info"
|
|
|
|
+ @click="checkAcount(record)"
|
|
|
|
+ >
|
|
|
|
+ 对账
|
|
|
|
+ </a-button>
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
</s-table>
|
|
</s-table>
|
|
</a-spin>
|
|
</a-spin>
|
|
@@ -143,12 +149,19 @@ export default {
|
|
columns () {
|
|
columns () {
|
|
const arr = [
|
|
const arr = [
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
- { title: '创建时间', dataIndex: 'createDate', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
- { title: '对账单号', scopedSlots: { customRender: 'verifyAccountBillNo' }, width: '15%', align: 'center' },
|
|
|
|
- { title: '余额', dataIndex: 'totalAmount', width: '10%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
|
|
- { title: '备注', dataIndex: 'remarks', width: '40%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
|
- { title: '对账状态', dataIndex: 'billStatusDictValue', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
- { title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }
|
|
|
|
|
|
+ { title: '创建时间', dataIndex: 'createDate', width: '7%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
+ { title: '对账单号', scopedSlots: { customRender: 'verifyAccountBillNo' }, width: '7%', align: 'center' },
|
|
|
|
+ { title: '借方', dataIndex: 'debitAmount', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
|
|
+ { title: '贷方', dataIndex: 'creditAmount', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
|
|
+ { title: '期初余额', dataIndex: 'beginBalance', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
|
|
+ { title: '余额', dataIndex: 'totalAmount', width: '6%', align: 'right', customRender: text => ((text || text == 0) ? this.toThousands(text) : '--') },
|
|
|
|
+ { title: '业务单数', dataIndex: 'bizNum', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
+ { title: '业务时间区间', dataIndex: 'bizDate', scopedSlots: { customRender: 'bizDate' }, width: '10%', align: 'center' },
|
|
|
|
+ { title: '备注', dataIndex: 'remarks', width: '14%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
|
+ { title: '对单时间', dataIndex: 'confirmDate', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
+ { title: '对账时间', dataIndex: 'verifyDate', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
+ { title: '对账状态', dataIndex: 'billStatusDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
|
+ { title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' }
|
|
]
|
|
]
|
|
return arr
|
|
return arr
|
|
}
|
|
}
|