From 7ff48284cc634e02abed3a545630e9d680bbf19f Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 18 三月 2026 16:04:37 +0800
Subject: [PATCH] 电压分选报工

---
 src/views/productionManagement/workOrder/index.vue |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/views/productionManagement/workOrder/index.vue b/src/views/productionManagement/workOrder/index.vue
index 4155757..da42a3f 100644
--- a/src/views/productionManagement/workOrder/index.vue
+++ b/src/views/productionManagement/workOrder/index.vue
@@ -227,6 +227,12 @@
         :isEdit="true"
         :row="currentReportRowData"
         @refreshData="getList"/>
+    <VoltageSortingForm
+        v-if="voltageSortingFormVisible"
+        v-model:isShow="voltageSortingFormVisible"
+        :isEdit="true"
+        :row="currentReportRowData"
+        @refreshData="getList"/>
   </div>
 </template>
 
@@ -249,6 +255,7 @@
 const {priority_type} = proxy.useDict("priority_type");
 
 const CopperPrintingForm = defineAsyncComponent(() => import("./components/CopperPrintingForm.vue"));
+const VoltageSortingForm = defineAsyncComponent(() => import("./components/VoltageSortingForm.vue"));
 const tableColumn = ref([
   {
     label: "浼樺厛绾�",
@@ -375,6 +382,7 @@
 const qrRowData = ref(null);
 const editDialogVisible = ref(false);
 const copperPrintingFormVisible = ref(false);
+const voltageSortingFormVisible = ref(false);
 const transferCardVisible = ref(false);
 const transferCardData = ref([]);
 const transferCardQrUrl = ref("");
@@ -629,6 +637,10 @@
     copperPrintingFormVisible.value = true
     return
   }
+  if (row.processName === '鐢靛帇鍒嗛��') {
+    voltageSortingFormVisible.value = true
+    return;
+  }
   reportForm.planQuantity = row.planQuantity;
   reportForm.quantity = row.quantity !== undefined && row.quantity !== null ? row.quantity : null;
   reportForm.productProcessRouteItemId = row.productProcessRouteItemId;

--
Gitblit v1.9.3