|
|
@ -188,7 +188,7 @@
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="审核人" prop="audit">
|
|
|
|
<el-form-item label="审核人" prop="audit">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
v-model="audit"
|
|
|
|
v-model="form.audit"
|
|
|
|
filterable
|
|
|
|
filterable
|
|
|
|
placeholder="请选择审核人"
|
|
|
|
placeholder="请选择审核人"
|
|
|
|
value-key="id"
|
|
|
|
value-key="id"
|
|
|
@ -207,7 +207,7 @@
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="核准人" prop="checker">
|
|
|
|
<el-form-item label="核准人" prop="checker">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
v-model="checker"
|
|
|
|
v-model="form.checker"
|
|
|
|
filterable
|
|
|
|
filterable
|
|
|
|
placeholder="请选择核准人"
|
|
|
|
placeholder="请选择核准人"
|
|
|
|
value-key="id"
|
|
|
|
value-key="id"
|
|
|
@ -226,7 +226,7 @@
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="经办人" prop="handle">
|
|
|
|
<el-form-item label="经办人" prop="handle">
|
|
|
|
<el-select
|
|
|
|
<el-select
|
|
|
|
v-model="handle"
|
|
|
|
v-model="form.handle"
|
|
|
|
filterable
|
|
|
|
filterable
|
|
|
|
placeholder="请选择经办人"
|
|
|
|
placeholder="请选择经办人"
|
|
|
|
value-key="id"
|
|
|
|
value-key="id"
|
|
|
@ -270,6 +270,16 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
<el-table :data="tableData" style="width: 100%">
|
|
|
|
|
|
|
|
<el-table-column prop="digest" label="摘要" width="180">
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="subjectCode" label="科目代码" width="180">
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="subjectName" label="科目名称"> </el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="debitMoney" label="借方金额"> </el-table-column>
|
|
|
|
|
|
|
|
<el-table-column prop="creditorMoney" label="贷方金额">
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
</el-table>
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
@ -286,6 +296,7 @@ import {
|
|
|
|
getVoucher,
|
|
|
|
getVoucher,
|
|
|
|
getVoucherPage,
|
|
|
|
getVoucherPage,
|
|
|
|
exportVoucherExcel,
|
|
|
|
exportVoucherExcel,
|
|
|
|
|
|
|
|
getVoucherDetailsPage,
|
|
|
|
} from "@/api/accounting/voucher";
|
|
|
|
} from "@/api/accounting/voucher";
|
|
|
|
import { listUser } from "@/api/system/user";
|
|
|
|
import { listUser } from "@/api/system/user";
|
|
|
|
import { getSiteTree } from "@/api/setting/organization";
|
|
|
|
import { getSiteTree } from "@/api/setting/organization";
|
|
|
@ -311,6 +322,8 @@ export default {
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
// 会计凭证列表
|
|
|
|
// 会计凭证列表
|
|
|
|
list: [],
|
|
|
|
list: [],
|
|
|
|
|
|
|
|
// 会计凭证行列表
|
|
|
|
|
|
|
|
tableData: [],
|
|
|
|
// 弹出层标题
|
|
|
|
// 弹出层标题
|
|
|
|
title: "",
|
|
|
|
title: "",
|
|
|
|
// 是否显示弹出层
|
|
|
|
// 是否显示弹出层
|
|
|
@ -358,9 +371,6 @@ export default {
|
|
|
|
siteOptions: [], //归档位置数据
|
|
|
|
siteOptions: [], //归档位置数据
|
|
|
|
siteArray: [], //归档位置选中值
|
|
|
|
siteArray: [], //归档位置选中值
|
|
|
|
typeOptions: [], //凭证类别
|
|
|
|
typeOptions: [], //凭证类别
|
|
|
|
audit: null,
|
|
|
|
|
|
|
|
checker: null,
|
|
|
|
|
|
|
|
handle: null,
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
@ -380,6 +390,13 @@ export default {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 查询列表 */
|
|
|
|
|
|
|
|
getLineList(val) {
|
|
|
|
|
|
|
|
// 执行查询
|
|
|
|
|
|
|
|
getVoucherDetailsPage({ voucherId: val }).then((response) => {
|
|
|
|
|
|
|
|
this.tableData = response.data.list;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
//获取字典数据
|
|
|
|
//获取字典数据
|
|
|
|
handleInitList() {
|
|
|
|
handleInitList() {
|
|
|
|
// 获取凭证类别
|
|
|
|
// 获取凭证类别
|
|
|
@ -465,9 +482,6 @@ export default {
|
|
|
|
cabinetId: undefined,
|
|
|
|
cabinetId: undefined,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.resetForm("form");
|
|
|
|
this.resetForm("form");
|
|
|
|
this.audit = "";
|
|
|
|
|
|
|
|
this.checker = "";
|
|
|
|
|
|
|
|
this.handle = "";
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
handleQuery() {
|
|
|
|
handleQuery() {
|
|
|
@ -509,6 +523,7 @@ export default {
|
|
|
|
this.open = true;
|
|
|
|
this.open = true;
|
|
|
|
this.title = "修改会计凭证";
|
|
|
|
this.title = "修改会计凭证";
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
this.getLineList(row.id);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 提交按钮 */
|
|
|
|
/** 提交按钮 */
|
|
|
|
submitForm() {
|
|
|
|
submitForm() {
|
|
|
|