其他档案--删除冗余字段

会计凭证--界面优化
main
cyl 1 year ago
parent fbab32c832
commit 360ec309c6

@ -225,13 +225,6 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="凭证号" prop="voucherNum">
<el-input v-model="form.voucherNum" placeholder="请输入凭证号" />
</el-form-item>
</el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="凭证类型" prop="type"> <el-form-item label="凭证类型" prop="type">
<el-select v-model="form.type" placeholder="请选择凭证类型"> <el-select v-model="form.type" placeholder="请选择凭证类型">
@ -246,17 +239,19 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="凭证日期" prop="voucherTime"> <el-form-item label="纸档位置" prop="site">
<el-date-picker <el-cascader
v-model="siteArray"
:options="siteOptions"
:props="propName"
placeholder="请选择纸档位置"
clearable clearable
v-model="form.voucherTime" @change="handleSiteChanged"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择凭证日期"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="审核人" prop="audit"> <el-form-item label="审核人" prop="audit">
@ -322,16 +317,26 @@
/></el-form-item> /></el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form>
<!-- 记账凭证 -->
<el-divider v-if="optType != 'add'"></el-divider>
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="纸档位置" prop="site"> <el-form-item label="凭证号" prop="voucherNum">
<el-cascader <el-input v-model="form.voucherNum" placeholder="请输入凭证号" />
v-model="siteArray" </el-form-item>
:options="siteOptions" </el-col>
:props="propName" <el-col :span="8"> </el-col>
placeholder="请选择纸档位置" <el-col :span="8">
<el-form-item label="凭证日期" prop="voucherTime">
<el-date-picker
clearable clearable
@change="handleSiteChanged" v-model="form.voucherTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择凭证日期"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -347,6 +352,9 @@
</el-date-picker> </el-date-picker>
</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="period"> <el-form-item label="会计期间" prop="period">
<el-date-picker <el-date-picker
@ -360,8 +368,6 @@
</el-date-picker> </el-date-picker>
</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="请输入摘要" />
@ -376,9 +382,6 @@
/> />
</el-form-item> </el-form-item>
</el-form> </el-form>
<!-- 记账凭证 -->
<el-divider v-if="optType != 'add'"></el-divider>
<el-table :data="tableData" style="width: 100%" v-if="optType != 'add'"> <el-table :data="tableData" style="width: 100%" v-if="optType != 'add'">
<el-table-column prop="digest" label="摘要" width="180"> <el-table-column prop="digest" label="摘要" width="180">
</el-table-column> </el-table-column>

@ -275,7 +275,7 @@
<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.CHERKS" :type="DICT_TYPE.ACCOUNTING_FILE_STATUS"
:value="scope.row.cherks" :value="scope.row.cherks"
/> />
</template> </template>
@ -413,7 +413,7 @@
<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.CHERKS" :type="DICT_TYPE.ACCOUNTING_FILE_STATUS"
:value="scope.row.cherks" :value="scope.row.cherks"
/> />
</template> </template>
@ -617,7 +617,7 @@
<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.CHERKS" :type="DICT_TYPE.ACCOUNTING_FILE_STATUS"
:value="scope.row.cherks" :value="scope.row.cherks"
/> />
</template> </template>
@ -742,7 +742,7 @@
<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.CHERKS" :type="DICT_TYPE.ACCOUNTING_FILE_STATUS"
:value="scope.row.cherks" :value="scope.row.cherks"
/> />
</template> </template>

@ -583,9 +583,6 @@ export default {
company: [ company: [
{ required: true, message: "业务实体不能为空", trigger: "change" }, { required: true, message: "业务实体不能为空", trigger: "change" },
], ],
deptName: [
{ required: true, message: "部门名称不能为空", trigger: "change" },
],
assetCode: [ assetCode: [
{ required: true, message: "资产编号不能为空", trigger: "change" }, { required: true, message: "资产编号不能为空", trigger: "change" },
], ],

@ -9,15 +9,6 @@
v-show="showSearch" v-show="showSearch"
label-width="88px" label-width="88px"
> >
<el-form-item label="表名" prop="name">
<el-input
v-model="queryParams.name"
placeholder="请输入表名"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="业务类型" prop="businessType"> <el-form-item label="业务类型" prop="businessType">
<el-select v-model="form.businessType" placeholder="请选择业务类型 "> <el-select v-model="form.businessType" placeholder="请选择业务类型 ">
<el-option <el-option
@ -85,7 +76,6 @@
@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="name" />
<el-table-column label="OA/ERP流程编号 " align="center" prop="flowCode" /> <el-table-column label="OA/ERP流程编号 " align="center" prop="flowCode" />
<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" />
@ -204,11 +194,7 @@
style="margin-top: 20px" style="margin-top: 20px"
> >
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8"> </el-col>
<el-form-item label="表名" prop="name">
<el-input v-model="form.name" placeholder="请输入表名" />
</el-form-item>
</el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="OA/ERP流程号 " prop="flowCode"> <el-form-item label="OA/ERP流程号 " prop="flowCode">
<el-input <el-input
@ -222,6 +208,18 @@
<el-input v-model="form.source" placeholder="请输入文件来源" /> <el-input v-model="form.source" placeholder="请输入文件来源" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8">
<el-form-item label="所属部门" prop="deptName">
<treeselect
v-model="form.deptId"
:options="deptOptions"
:show-count="true"
:clearable="true"
placeholder="请选择归属部门"
:normalizer="normalizer"
/>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8">
@ -316,18 +314,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="8"> <el-col :span="8"> </el-col>
<el-form-item label="所属部门" prop="deptName">
<treeselect
v-model="form.deptId"
:options="deptOptions"
:show-count="true"
:clearable="true"
placeholder="请选择归属部门"
:normalizer="normalizer"
/>
</el-form-item>
</el-col>
<el-col :span="8"> </el-col> <el-col :span="8"> </el-col>
<!-- <el-col :span="8"> <!-- <el-col :span="8">
<el-form-item label="纸档位置" prop="site"> <el-form-item label="纸档位置" prop="site">
@ -435,7 +422,6 @@ export default {
form: {}, form: {},
// //
rules: { rules: {
name: [{ required: true, message: "表名不能为空", trigger: "change" }],
flowCode: [ flowCode: [
{ required: true, message: "OA/流程编号不能为空", trigger: "change" }, { required: true, message: "OA/流程编号不能为空", trigger: "change" },
{ {

Loading…
Cancel
Save