From a6fdbed4f31530c080b591d78c141e561db78967 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期一, 28 九月 2026 09:35:01 +0800
Subject: [PATCH] feat(inspection): 更新检测类型选项并移除湿度字段 - 将"委托试验"改为"委托检验",增加委托检测、实验室间比对、能力验证等检测类型 - 移除所有表单中的湿度相关字段及验证逻辑 - 在报告准备界面添加印章选择功能,支持MA章、报告章、骑缝章的位置选择 - 优化报告结果流程界面,增加报告下载功能和领报告相关信息字段 - 新增印章管理系统,支持印章的增删改查和图片上传功能

---
 src/views/business/inspectionTask/components/InspectionWord.vue |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/src/views/business/inspectionTask/components/InspectionWord.vue b/src/views/business/inspectionTask/components/InspectionWord.vue
index d9ff99f..f8dbf8e 100644
--- a/src/views/business/inspectionTask/components/InspectionWord.vue
+++ b/src/views/business/inspectionTask/components/InspectionWord.vue
@@ -33,11 +33,6 @@
                 style="width: 90px" @change="m => subOtherForm(m, 'temperature')"></el-input>
               <span class="template-panel__unit">鈩�</span>
             </el-form-item>
-            <el-form-item label="婀垮害:">
-              <el-input v-model="currentOtherForm.humidity" :disabled="state > 1" placeholder="" size="small"
-                style="width: 90px" @change="m => subOtherForm(m, 'humidity')"></el-input>
-              <span class="template-panel__unit">%RH</span>
-            </el-form-item>
             <el-form-item label="妫�娴嬫椂闂�:">
               <el-date-picker v-model="currentOtherForm.detectionTime" :disabled="state > 1" type="date"
                 value-format="yyyy-MM-dd" placeholder="璇烽�夋嫨鏃ユ湡" size="small" style="width: 160px"
@@ -383,7 +378,7 @@
       numOptions: [],
       temperatureOptions: [],
       wareTableData: [],
-      // 妫�娴嬫潯浠舵寜妯℃澘 id 鍒嗙粍锛歿 [templateId]: { temperature, humidity, detectionTime, detectionPlace, deviceIds } }
+      // 妫�娴嬫潯浠舵寜妯℃澘 id 鍒嗙粍锛歿 [templateId]: { temperature, detectionTime, detectionPlace, deviceIds } }
       otherForm: {},
       deviceOptions: [],
       equipForm: {
@@ -465,7 +460,6 @@
     currentOtherForm() {
       return this.otherForm[this.currentTable] || {
         temperature: null,
-        humidity: null,
         detectionTime: null,
         detectionPlace: null,
         deviceIds: [],
@@ -512,7 +506,6 @@
         conditionList.forEach(item => {
           this.$set(this.otherForm, item.templateId, {
             temperature: item.temperature != null ? item.temperature : null,
-            humidity: item.humidity != null ? item.humidity : null,
             detectionTime: item.detectionTime != null ? item.detectionTime : null,
             detectionPlace: item.detectionPlace != null ? item.detectionPlace : null,
             deviceIds: Array.isArray(item.deviceIds) ? [...item.deviceIds] : [],
@@ -577,7 +570,7 @@
             if (this.tableLists && this.tableLists.length > 0) {
               this.tableList = null;
               this.tableList = this.tableLists.filter(m => m.templateId == val1)
-              // 妯℃澘闆嗗悎鍙兘鍙樺寲锛岃ˉ榻愭俯搴︺�佹箍搴︽Ы浣�
+              // 妯℃澘闆嗗悎鍙兘鍙樺寲锛岃ˉ榻愭俯搴︽Ы浣�
               this.tableLists.forEach(m => this.ensureOtherForm(m.templateId))
               // 瀵规ā鏉胯繘琛屽鐞�
               this.handleTableData()
@@ -910,7 +903,7 @@
         this.tableList = null;
         this.tableList = [this.tableLists[0]]
         this.currentTable = this.tableLists[0].templateId;
-        // 琛ラ綈姣忎釜妯℃澘鐨勬俯搴︺�佹箍搴︽Ы浣�
+        // 琛ラ綈姣忎釜妯℃澘鐨勬俯搴︽Ы浣�
         this.tableLists.forEach(m => this.ensureOtherForm(m.templateId))
         // 澶勭悊椤甸潰鍒楄〃鏁版嵁
         this.handleTableData()
@@ -941,7 +934,7 @@
         this.tableList = [this.tableLists[0]]
         this.currentTable = this.tableLists[0].templateId;
         this.currentSample.insProduct = this.HaveJson(list)
-        // 琛ラ綈姣忎釜妯℃澘鐨勬俯搴︺�佹箍搴︽Ы浣�
+        // 琛ラ綈姣忎釜妯℃澘鐨勬俯搴︽Ы浣�
         this.tableLists.forEach(m => this.ensureOtherForm(m.templateId))
         // 澶勭悊椤甸潰鍒楄〃鏁版嵁
         this.handleTableData()
@@ -1428,7 +1421,6 @@
       if (!this.otherForm[templateId]) {
         this.$set(this.otherForm, templateId, {
           temperature: null,
-          humidity: null,
           detectionTime: null,
           detectionPlace: null,
           deviceIds: [],
@@ -1462,7 +1454,6 @@
       this.tableLists.forEach(m => {
         const form = this.otherForm[m.templateId] || {}
         if (!form.temperature) missing.push(`璇峰~鍐欍��${m.templateName}銆嶇殑娓╁害`)
-        if (!form.humidity) missing.push(`璇峰~鍐欍��${m.templateName}銆嶇殑婀垮害`)
         if (!form.detectionTime) missing.push(`璇烽�夋嫨銆�${m.templateName}銆嶇殑妫�娴嬫椂闂碻)
         if (!form.detectionPlace) missing.push(`璇峰~鍐欍��${m.templateName}銆嶇殑妫�娴嬪湴鐐筦)
         if (!form.deviceIds || form.deviceIds.length === 0) {

--
Gitblit v1.9.3