From 586dc959ca9b6aad3ffd0699f8ab1c6301bdbc0f Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期二, 31 三月 2026 21:00:55 +0800
Subject: [PATCH] fix: 设备状态改为下拉选择

---
 src/views/qualityManagement/rawMaterialInspection/components/formDia.vue |   21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/src/views/qualityManagement/rawMaterialInspection/components/formDia.vue b/src/views/qualityManagement/rawMaterialInspection/components/formDia.vue
index daa4712..8462d3b 100644
--- a/src/views/qualityManagement/rawMaterialInspection/components/formDia.vue
+++ b/src/views/qualityManagement/rawMaterialInspection/components/formDia.vue
@@ -156,10 +156,19 @@
           </el-select>
         </template>
         <template #deviceStatus="{ row }">
-          <el-tag v-if="row.deviceStatus" :type="getDeviceStatusType(row.deviceStatus)">
-            {{ row.deviceStatus }}
-          </el-tag>
-          <span v-else style="color: #999">-</span>
+          <el-select
+              v-model="row.deviceStatus"
+              placeholder="璇烽�夋嫨"
+              default-first-option
+              clearable
+              style="width: 100%"
+          >
+            <el-option label="姝e父" value="姝e父" />
+            <el-option label="鍋滄満" value="鍋滄満" />
+            <el-option label="杩愯" value="杩愯" />
+            <el-option label="缁翠慨" value="缁翠慨" />
+            <el-option label="/" value="/" />
+          </el-select>
         </template>
         <template #result="{ row }">
           <el-input v-model="row.result" placeholder="璇疯緭鍏�" clearable />
@@ -240,7 +249,7 @@
   {
     label: "鍗曚綅",
     prop: "unit",
-    width: 80
+    width: 70
   },
   {
     label: "妫�娴嬪櫒鍏�",
@@ -261,7 +270,7 @@
     prop: "result",
     dataType: 'slot',
     slot: 'result',
-    minWidth: 150
+    width: 150
   },
   {
     label: "缁撴灉鍒ゆ柇",

--
Gitblit v1.9.3