装册管理新增

main
mo 1 year ago
parent 45b6ecd28b
commit c3411d3f71

@ -67,8 +67,8 @@
<el-table-column width="50" align="center">
<template v-slot="scope">
<el-radio
v-model="selectedAccountId"
:label="scope.row.subjectId"
v-model="selectedArchivesId"
:label="scope.row.id"
@change="handleRowChange(scope.row)"
>{{ "" }}</el-radio
>
@ -138,7 +138,7 @@ export default {
data() {
return {
showFlag: false,
selectedAccountId: undefined,
selectedArchivesId: undefined,
selectedRow: undefined,
//
loading: true,
@ -237,7 +237,7 @@ export default {
},
//
confirmSelect() {
if (this.selectedAccountId == null || this.selectedAccountId == 0) {
if (this.selectedArchivesId == null || this.selectedArchivesId == 0) {
this.$notify({
title: "提示",
type: "warning",

@ -9,6 +9,14 @@
v-show="showSearch"
label-width="98px"
>
<el-form-item label="业务实体" prop="company">
<el-input
v-model="queryParams.company"
placeholder="请输入业务实体"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="库房" prop="depotName">
<el-input
v-model="queryParams.depotName"
@ -25,14 +33,6 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="业务实体" prop="company">
<el-input
v-model="queryParams.company"
placeholder="请输入业务实体"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="会计年份" prop="year">
<el-input
v-model="queryParams.year"
@ -191,7 +191,7 @@
</el-table-column>
<el-table-column label="状态" align="center" prop="status" />
<el-table-column label="装册时间" align="center" prop="packageTime" />
<el-table-column label="所属部门" align="center" prop="deptName" />
<!-- <el-table-column label="所属部门" align="center" prop="deptName" /> -->
<el-table-column
label="条码地址"
align="center"
@ -567,7 +567,23 @@ export default {
handleSelectArchives() {
this.$refs.ArchivesSelect.showFlag = true;
},
onArchivesSelected() {},
onArchivesSelected(obj) {
console.log(obj);
if (obj != undefined && obj != null) {
this.form.company = obj.company;
this.form.companyId = obj.companyId;
this.form.depotName = obj.depotName;
this.form.depotId = obj.depotId;
this.form.cabinetName = obj.cabinetName;
this.form.cabinetId = obj.cabinetId;
this.form.year = obj.year;
this.form.period = obj.period;
this.form.caseNum = obj.caseNum;
this.form.catalogNum = obj.catalogNum;
this.form.filesNum = obj.filesNum;
this.form.flowId = obj.flowId;
}
},
},
};
</script>

Loading…
Cancel
Save