增加搜索功能

main
mo 1 year ago
parent 53f5f88405
commit 0914689103

@ -23,6 +23,7 @@
placeholder="请选择业务实体" placeholder="请选择业务实体"
value-key="id" value-key="id"
@change="handleCompanyChange1" @change="handleCompanyChange1"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"
@ -245,6 +246,7 @@
placeholder="请选择业务实体" placeholder="请选择业务实体"
value-key="id" value-key="id"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"

@ -168,7 +168,7 @@
>查看 >查看
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'" v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -177,7 +177,7 @@
>修改</el-button >修改</el-button
> >
<el-button <el-button
v-if="scope.row.fileStatus == '0'" v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@ -299,6 +299,7 @@
placeholder="请选择业务实体" placeholder="请选择业务实体"
value-key="id" value-key="id"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"

@ -174,7 +174,7 @@
>查看 >查看
</el-button> </el-button>
<el-button <el-button
v-if="scope.row.fileStatus == '0'" v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@ -183,7 +183,7 @@
>修改</el-button >修改</el-button
> >
<el-button <el-button
v-if="scope.row.fileStatus == '0'" v-if="scope.row.fileStatus == '0'"
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@ -217,6 +217,7 @@
placeholder="请选择业务实体" placeholder="请选择业务实体"
value-key="id" value-key="id"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"

@ -214,6 +214,7 @@
placeholder="请选择业务实体" placeholder="请选择业务实体"
value-key="id" value-key="id"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"

@ -17,10 +17,26 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="摘要" prop="digest"> <el-form-item label="科目编码" prop="subjectCode">
<el-input <el-input
v-model="queryParams.digest" v-model="queryParams.subjectCode"
placeholder="请输入摘要" 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="createBy">
<el-input
v-model="queryParams.createBy"
placeholder="请输入制单人"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
@ -82,7 +98,7 @@
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="条目顺序号" align="center" prop="lineNum" /> <!-- <el-table-column label="条目顺序号" align="center" prop="lineNum" /> -->
<el-table-column label="科目编码" align="center" prop="subjectCode" /> <el-table-column label="科目编码" align="center" prop="subjectCode" />
<el-table-column label="科目名称" align="center" prop="subjectName" /> <el-table-column label="科目名称" align="center" prop="subjectName" />
<el-table-column label="辅助核算" align="center" prop="assistCheck" /> <el-table-column label="辅助核算" align="center" prop="assistCheck" />
@ -177,11 +193,11 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <!-- <el-col :span="8">
<el-form-item label="条目顺序号" prop="lineNum"> <el-form-item label="条目顺序号" prop="lineNum">
<el-input v-model="form.lineNum" placeholder="请输入条目顺序号" /> <el-input v-model="form.lineNum" placeholder="请输入条目顺序号" />
</el-form-item> </el-form-item>
</el-col> </el-col> -->
<el-col :span="8"> <el-col :span="8">
<el-form-item label="科目编码" prop="subjectCode"> <el-form-item label="科目编码" prop="subjectCode">
<el-input <el-input
@ -190,8 +206,6 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="科目名称" prop="subjectName"> <el-form-item label="科目名称" prop="subjectName">
<el-input <el-input
@ -200,6 +214,8 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="辅助核算" prop="assistCheck"> <el-form-item label="辅助核算" prop="assistCheck">
<el-input <el-input
@ -216,8 +232,6 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="贷方金额" prop="creditorMoney"> <el-form-item label="贷方金额" prop="creditorMoney">
<el-input <el-input
@ -226,6 +240,8 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="摘要" prop="digest"> <el-form-item label="摘要" prop="digest">
<el-input v-model="form.digest" placeholder="请输入摘要" /> <el-input v-model="form.digest" placeholder="请输入摘要" />

@ -199,7 +199,7 @@
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="归档状态" align="center" prop="fileStatus" > <el-table-column label="归档状态" align="center" prop="fileStatus">
<template v-slot="scope"> <template v-slot="scope">
<dict-tag <dict-tag
:type="DICT_TYPE.ARCHIVES_FILE_STATUS" :type="DICT_TYPE.ARCHIVES_FILE_STATUS"
@ -272,7 +272,7 @@
width="98px" width="98px"
/> --> /> -->
<el-table-column label="纸档位置" align="center" prop="position" /> <el-table-column label="纸档位置" align="center" prop="position" />
<el-table-column label="完整性" align="center" prop="cherks" > <el-table-column label="完整性" align="center" prop="cherks">
<template v-slot="scope"> <template v-slot="scope">
<dict-tag <dict-tag
:type="DICT_TYPE.ACCOUNTING_FILE_STATUS" :type="DICT_TYPE.ACCOUNTING_FILE_STATUS"
@ -410,7 +410,7 @@
> --> > -->
<!-- </el-table-column> --> <!-- </el-table-column> -->
<el-table-column label="纸档位置" align="center" prop="position" /> <el-table-column label="纸档位置" align="center" prop="position" />
<el-table-column label="完整性" align="center" prop="cherks" > <el-table-column label="完整性" align="center" prop="cherks">
<template v-slot="scope"> <template v-slot="scope">
<dict-tag <dict-tag
:type="DICT_TYPE.ACCOUNTING_FILE_STATUS" :type="DICT_TYPE.ACCOUNTING_FILE_STATUS"
@ -509,7 +509,7 @@
/> />
</template> </template>
</el-table-column> --> </el-table-column> -->
<el-table-column label="归档状态" align="center" prop="fileStatus" > <el-table-column label="归档状态" align="center" prop="fileStatus">
<template v-slot="scope"> <template v-slot="scope">
<dict-tag <dict-tag
:type="DICT_TYPE.ARCHIVES_FILE_STATUS" :type="DICT_TYPE.ARCHIVES_FILE_STATUS"
@ -561,7 +561,12 @@
<span>{{ parseTime(scope.row.complaintTime) }}</span> <span>{{ parseTime(scope.row.complaintTime) }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="客诉类型" align="center" prop="complaintType" width="98px"> <el-table-column
label="客诉类型"
align="center"
prop="complaintType"
width="98px"
>
<template v-slot="scope"> <template v-slot="scope">
<dict-tag <dict-tag
:type="DICT_TYPE.COMPLAINT_TYPE" :type="DICT_TYPE.COMPLAINT_TYPE"
@ -614,7 +619,7 @@
</template> </template>
</el-table-column> --> </el-table-column> -->
<el-table-column label="纸档位置" align="center" prop="position" /> <el-table-column label="纸档位置" align="center" prop="position" />
<el-table-column label="完整性" align="center" prop="cherks" > <el-table-column label="完整性" align="center" prop="cherks">
<template v-slot="scope"> <template v-slot="scope">
<dict-tag <dict-tag
:type="DICT_TYPE.ACCOUNTING_FILE_STATUS" :type="DICT_TYPE.ACCOUNTING_FILE_STATUS"
@ -662,12 +667,8 @@
<el-table-column label="业务实体 " align="center" prop="company" /> <el-table-column label="业务实体 " align="center" prop="company" />
<el-table-column label="所属部门 " align="center" prop="systemDept" /> <el-table-column label="所属部门 " align="center" prop="systemDept" />
<el-table-column label="咨询编号 " align="center" prop="consultationId" /> <el-table-column label="咨询编号 " align="center" prop="consultationId" />
<el-table-column <el-table-column label="咨询类型 " align="center" prop="consultationType">
label="咨询类型 " <template v-slot="scope">
align="center"
prop="consultationType"
>
<template v-slot="scope">
<dict-tag <dict-tag
:type="DICT_TYPE.CONSULTATION_TYPE" :type="DICT_TYPE.CONSULTATION_TYPE"
:value="scope.row.consultationType" :value="scope.row.consultationType"
@ -734,12 +735,12 @@
prop="recordTime" prop="recordTime"
width="98px" width="98px"
> --> > -->
<!-- <template v-slot="scope"> <!-- <template v-slot="scope">
<span>{{ parseTime(scope.row.recordTime) }}</span> <span>{{ parseTime(scope.row.recordTime) }}</span>
</template> </template>
</el-table-column> --> </el-table-column> -->
<el-table-column label="纸档位置 " align="center" prop="position" /> <el-table-column label="纸档位置 " align="center" prop="position" />
<el-table-column label="完整性 " align="center" prop="cherks" > <el-table-column label="完整性 " align="center" prop="cherks">
<template v-slot="scope"> <template v-slot="scope">
<dict-tag <dict-tag
:type="DICT_TYPE.ACCOUNTING_FILE_STATUS" :type="DICT_TYPE.ACCOUNTING_FILE_STATUS"
@ -789,7 +790,7 @@
<el-table-column label="文件来源" align="center" prop="source" /> <el-table-column label="文件来源" align="center" prop="source" />
<el-table-column label="年度" align="center" prop="year" /> <el-table-column label="年度" align="center" prop="year" />
<el-table-column label="月份" align="center" prop="period" /> <el-table-column label="月份" align="center" prop="period" />
<el-table-column label="业务类型" align="center" prop="businessType" > <el-table-column label="业务类型" align="center" prop="businessType">
<template v-slot="scope"> <template v-slot="scope">
<dict-tag <dict-tag
:type="DICT_TYPE.OTHER_BUSINESS_TYPE" :type="DICT_TYPE.OTHER_BUSINESS_TYPE"
@ -805,7 +806,7 @@
<el-table-column label="流程号" align="center" prop="flowId" /> <el-table-column label="流程号" align="center" prop="flowId" />
<el-table-column label="摘要" align="center" prop="note" /> <el-table-column label="摘要" align="center" prop="note" />
<el-table-column label="所属部门" align="center" prop="deptName" /> <el-table-column label="所属部门" align="center" prop="deptName" />
<el-table-column label="归档状态" align="center" prop="fileStatus" > <el-table-column label="归档状态" align="center" prop="fileStatus">
<template v-slot="scope"> <template v-slot="scope">
<dict-tag <dict-tag
:type="DICT_TYPE.ARCHIVES_FILE_STATUS" :type="DICT_TYPE.ARCHIVES_FILE_STATUS"
@ -850,6 +851,7 @@
value-key="id" value-key="id"
placeholder="请选择业务实体" placeholder="请选择业务实体"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"

@ -171,6 +171,7 @@
v-model="form.company" v-model="form.company"
placeholder="请选择业务实体" placeholder="请选择业务实体"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"

@ -17,6 +17,7 @@
@change="handleCompanyChange1" @change="handleCompanyChange1"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"
@ -304,6 +305,7 @@
placeholder="请选择业务实体" placeholder="请选择业务实体"
value-key="id" value-key="id"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"

@ -355,6 +355,7 @@
placeholder="请选择业务实体" placeholder="请选择业务实体"
value-key="id" value-key="id"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"

@ -380,6 +380,7 @@
placeholder="请选择业务实体" placeholder="请选择业务实体"
value-key="id" value-key="id"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"

@ -364,6 +364,7 @@
placeholder="请选择业务实体" placeholder="请选择业务实体"
value-key="id" value-key="id"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"

@ -286,6 +286,7 @@
placeholder="请选择业务实体" placeholder="请选择业务实体"
value-key="id" value-key="id"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"

@ -273,6 +273,7 @@
placeholder="请选择业务实体" placeholder="请选择业务实体"
value-key="id" value-key="id"
@change="handleCompanyChange" @change="handleCompanyChange"
filterable
> >
<el-option <el-option
v-for="item in organizationList" v-for="item in organizationList"
@ -339,7 +340,9 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm" v-if="optType != 'view'"> </el-button> <el-button type="primary" @click="submitForm" v-if="optType != 'view'"
> </el-button
>
<el-button @click="cancel"> </el-button> <el-button @click="cancel"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
@ -368,7 +371,7 @@ export default {
components: { Treeselect }, components: { Treeselect },
data() { data() {
return { return {
optType:undefined, optType: undefined,
// //
deptOptions: undefined, deptOptions: undefined,
// //
@ -605,7 +608,7 @@ export default {
handleUpdate(row) { handleUpdate(row) {
this.reset(); this.reset();
const id = row.id; const id = row.id;
getElectronicOther(id).then((response) => { getElectronicOther(id).then((response) => {
this.form = response.data; this.form = response.data;
this.open = true; this.open = true;

Loading…
Cancel
Save