|
|
|
@ -3,57 +3,12 @@
|
|
|
|
|
|
|
|
|
|
<!-- 搜索工作栏 -->
|
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
|
|
<el-form-item label="条目顺序号" prop="lineNum">
|
|
|
|
|
<el-input v-model="queryParams.lineNum" placeholder="请输入条目顺序号" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="制单人" prop="createBy">
|
|
|
|
|
<el-input v-model="queryParams.createBy" placeholder="请输入制单人" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="创建日期" prop="createTime">
|
|
|
|
|
<el-date-picker v-model="queryParams.createTime" style="width: 240px" value-format="yyyy-MM-dd HH:mm:ss" type="daterange"
|
|
|
|
|
range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" :default-time="['00:00:00', '23:59:59']" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="摘要" prop="digest">
|
|
|
|
|
<el-input v-model="queryParams.digest" placeholder="请输入摘要" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="凭证类型" prop="voucherType">
|
|
|
|
|
<el-select v-model="queryParams.voucherType" placeholder="请选择凭证类型" clearable size="small">
|
|
|
|
|
<el-option label="请选择字典生成" value="" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="科目编码" prop="subjectCode">
|
|
|
|
|
<el-input v-model="queryParams.subjectCode" placeholder="请输入科目编码" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="科目名称" prop="subjectName">
|
|
|
|
|
<el-input v-model="queryParams.subjectName" placeholder="请输入科目名称" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="辅助核算" prop="assistCheck">
|
|
|
|
|
<el-input v-model="queryParams.assistCheck" placeholder="请输入辅助核算" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="借方金额" prop="debitMoney">
|
|
|
|
|
<el-input v-model="queryParams.debitMoney" placeholder="请输入借方金额" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="贷方金额" prop="creditorMoney">
|
|
|
|
|
<el-input v-model="queryParams.creditorMoney" placeholder="请输入贷方金额" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="相关单据关联号" prop="flowId">
|
|
|
|
|
<el-input v-model="queryParams.flowId" placeholder="请输入相关单据关联号" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="凭证id,一个凭证对应多个凭证详情" prop="voucherId">
|
|
|
|
|
<el-input v-model="queryParams.voucherId" placeholder="请输入凭证id,一个凭证对应多个凭证详情" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="凭证号" prop="voucherNum">
|
|
|
|
|
<el-input v-model="queryParams.voucherNum" placeholder="请输入凭证号" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="用户id" prop="userId">
|
|
|
|
|
<el-input v-model="queryParams.userId" placeholder="请输入用户id" clearable @keyup.enter.native="handleQuery"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="归档状态" prop="fileStatus">
|
|
|
|
|
<el-select v-model="queryParams.fileStatus" placeholder="请选择归档状态" clearable size="small">
|
|
|
|
|
<el-option v-for="dict in this.getDictDatas(DICT_TYPE.ARCHIVES_FILE_STATUS)"
|
|
|
|
|
:key="dict.value" :label="dict.label" :value="dict.value"/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form-item
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="handleQuery">搜索</el-button>
|
|
|
|
|
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
|
|
|
|
@ -84,21 +39,13 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="摘要" align="center" prop="digest" />
|
|
|
|
|
<el-table-column label="凭证类型" align="center" prop="voucherType" />
|
|
|
|
|
<el-table-column label="科目编码" align="center" prop="subjectCode" />
|
|
|
|
|
<el-table-column label="科目名称" align="center" prop="subjectName" />
|
|
|
|
|
<el-table-column label="辅助核算" align="center" prop="assistCheck" />
|
|
|
|
|
<el-table-column label="借方金额" align="center" prop="debitMoney" />
|
|
|
|
|
<el-table-column label="贷方金额" align="center" prop="creditorMoney" />
|
|
|
|
|
<el-table-column label="相关单据关联号" align="center" prop="flowId" />
|
|
|
|
|
<el-table-column label="凭证id,一个凭证对应多个凭证详情" align="center" prop="voucherId" />
|
|
|
|
|
<el-table-column label="凭证号" align="center" prop="voucherNum" />
|
|
|
|
|
<el-table-column label="用户id" align="center" prop="userId" />
|
|
|
|
|
<el-table-column label="归档状态" align="center" prop="fileStatus">
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<dict-tag :type="DICT_TYPE.ARCHIVES_FILE_STATUS" :value="scope.row.fileStatus" />
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
|
|
<template v-slot="scope">
|
|
|
|
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
|
|
|
@ -124,11 +71,6 @@
|
|
|
|
|
<el-form-item label="摘要" prop="digest">
|
|
|
|
|
<el-input v-model="form.digest" placeholder="请输入摘要" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="凭证类型" prop="voucherType">
|
|
|
|
|
<el-select v-model="form.voucherType" placeholder="请选择凭证类型">
|
|
|
|
|
<el-option label="请选择字典生成" value="" />
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="科目编码" prop="subjectCode">
|
|
|
|
|
<el-input v-model="form.subjectCode" placeholder="请输入科目编码" />
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -144,24 +86,9 @@
|
|
|
|
|
<el-form-item label="贷方金额" prop="creditorMoney">
|
|
|
|
|
<el-input v-model="form.creditorMoney" placeholder="请输入贷方金额" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="相关单据关联号" prop="flowId">
|
|
|
|
|
<el-input v-model="form.flowId" placeholder="请输入相关单据关联号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="凭证id,一个凭证对应多个凭证详情" prop="voucherId">
|
|
|
|
|
<el-input v-model="form.voucherId" placeholder="请输入凭证id,一个凭证对应多个凭证详情" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="凭证号" prop="voucherNum">
|
|
|
|
|
<el-input v-model="form.voucherNum" placeholder="请输入凭证号" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="用户id" prop="userId">
|
|
|
|
|
<el-input v-model="form.userId" placeholder="请输入用户id" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="归档状态" prop="fileStatus">
|
|
|
|
|
<el-radio-group v-model="form.fileStatus">
|
|
|
|
|
<el-radio v-for="dict in this.getDictDatas(DICT_TYPE.ARCHIVES_FILE_STATUS)"
|
|
|
|
|
:key="dict.value" :label="dict.value">{{dict.label}}</el-radio>
|
|
|
|
|
</el-radio-group>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
|