会计档案-会计报表-报表类型配置

main
mo 1 year ago
parent 1bbdc2458a
commit b9d6b1d7ee

@ -29,12 +29,19 @@
/>
</el-form-item>
<el-form-item label="报表类型" prop="type">
<el-input
<el-select
v-model="queryParams.type"
placeholder="请输入报表类型"
clearable
placeholder="请选择报表类型"
@keyup.enter.native="handleQuery"
/>
>
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.label"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="handleQuery"
@ -89,11 +96,11 @@
<el-table v-loading="loading" :data="list">
<el-table-column label="报表文件名称" align="center" prop="name" />
<el-table-column label="报表文件" align="center" prop="url">
<template slot-scope="scope">
<el-button type="text" @click="openLink(scope.row.url)">
{{ scope.row.name }}
</el-button>
</template>
<template slot-scope="scope">
<el-button type="text" @click="openLink(scope.row.url)">
{{ scope.row.name }}
</el-button>
</template>
</el-table-column>
<el-table-column label="业务实体" align="center" prop="company" />
<el-table-column label="细分类型" align="center" prop="type" />
@ -366,6 +373,17 @@ export default {
type1: "现金流量表",
type2: "利润表",
organizationList: [],
options: [
{
label: "资产负债表",
},
{
label: "现金流量表",
},
{
label: "利润表",
},
],
};
},
created() {

Loading…
Cancel
Save