2025-07-26 10:28:29 +08:00
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<base-dialog :dialogVisible.sync="dialogVisible" :closeModal="false" :footerShow="true" :title="'查看分录信息'"
|
2025-07-31 09:03:55 +08:00
|
|
|
width="90%" top="10vh">
|
2025-07-26 10:28:29 +08:00
|
|
|
<div class="rightDialogClass_main" style="background-color: #fff;">
|
2025-07-30 14:25:20 +08:00
|
|
|
<base-table ref="assistTable" :showIndex="false" :slotrow="false" tableHeight="calc(75vh - 80px)"
|
2025-07-26 10:28:29 +08:00
|
|
|
:tableData="tableData" :tableColumn="tableColumn" id="printMe">
|
|
|
|
|
|
|
|
</base-table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</base-dialog>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import baseDialog from '@/components/base/BaseNewDialog/index.vue'
|
|
|
|
import baseTable from '@/components/base/baseTable/index.vue'
|
|
|
|
import {queryDetailsByBillCodeAPI } from '@/api/apis/businessVoucher'
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
baseDialog,
|
|
|
|
baseTable
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
dialogVisible: false,
|
|
|
|
tableData: [],
|
|
|
|
tableColumn: [{
|
|
|
|
label: '摘要',
|
|
|
|
prop: 'abstractStr'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '会计科目',
|
|
|
|
prop: 'subjdispname'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '辅助核算',
|
|
|
|
prop: 'assist'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '币种编码',
|
|
|
|
prop: 'currencyCode'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '币种名称',
|
|
|
|
prop: 'currencyName'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '借方原币',
|
|
|
|
prop: 'jybSum'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '借方本币',
|
|
|
|
prop: 'jbbSum'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '贷方原币',
|
|
|
|
prop: 'dybSum'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '贷方本币',
|
|
|
|
prop: 'dbbSum'
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
async openDialog(row) {
|
|
|
|
this.dialogVisible = true
|
|
|
|
let res = await queryDetailsByBillCodeAPI({
|
|
|
|
id: row.id
|
|
|
|
})
|
|
|
|
this.tableData = res.attribute
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
</style>
|