From 88fb30f552ae51cc85d969e3a5ce050628ce0b7c Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Thu, 07 May 2026 14:30:07 +0800
Subject: [PATCH] 修改

---
 src/views/work/procurementPlatform/warehouseManagement/monthlyInspectionRecord/components/editDialog.vue |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/views/work/procurementPlatform/warehouseManagement/monthlyInspectionRecord/components/editDialog.vue b/src/views/work/procurementPlatform/warehouseManagement/monthlyInspectionRecord/components/editDialog.vue
index 48b5fad..cdfea20 100644
--- a/src/views/work/procurementPlatform/warehouseManagement/monthlyInspectionRecord/components/editDialog.vue
+++ b/src/views/work/procurementPlatform/warehouseManagement/monthlyInspectionRecord/components/editDialog.vue
@@ -23,6 +23,14 @@
             </el-form-item>
           </el-col>
         </el-row>
+        <el-form-item label="年份:" prop="year">
+          <el-date-picker
+              v-model="state.form.year"
+              type="year"
+              value-format="YYYY"
+              placeholder="年份"
+          />
+        </el-form-item>
         <el-row :gutter="24">
           <el-col :span="24">
             <el-form-item label="记录名称:" prop="recordName" >
@@ -157,6 +165,7 @@
     id: '',
     companyId: null,
     recordName: '',
+    year:new Date().getFullYear().toString(),
     inspectionMesses: []
   },
   rules: {
@@ -172,6 +181,7 @@
     environment: [{required: true, message: "", trigger: "blur"}],
     consistency: [{required: true, message: "", trigger: "blur"}],
     inspectionMesses:[{ required: true, message: '请填写月度检查记录表', trigger: 'blur' }],
+    year: [{ required: true, message: '请选择年份', trigger: 'blur' }],
   },
   peopleList: [],
   isAdmin: false,
@@ -284,6 +294,7 @@
     id: '',
     companyId: null,
     recordName: '',
+    year:new Date().getFullYear().toString(),
     inspectionMesses: []
   }
   state.companyList = []

--
Gitblit v1.9.2