装册管理新增

main
mo 1 year ago
parent 45b6ecd28b
commit c3411d3f71

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

@ -9,6 +9,14 @@
v-show="showSearch" v-show="showSearch"
label-width="98px" 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-form-item label="库房" prop="depotName">
<el-input <el-input
v-model="queryParams.depotName" v-model="queryParams.depotName"
@ -25,14 +33,6 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </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-form-item label="会计年份" prop="year">
<el-input <el-input
v-model="queryParams.year" v-model="queryParams.year"
@ -191,7 +191,7 @@
</el-table-column> </el-table-column>
<el-table-column label="状态" align="center" prop="status" /> <el-table-column label="状态" align="center" prop="status" />
<el-table-column label="装册时间" align="center" prop="packageTime" /> <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 <el-table-column
label="条码地址" label="条码地址"
align="center" align="center"
@ -567,7 +567,23 @@ export default {
handleSelectArchives() { handleSelectArchives() {
this.$refs.ArchivesSelect.showFlag = true; 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> </script>

Loading…
Cancel
Save