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/productionReporting/index.vue | 28 +++++++++++++++-------------
1 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/src/views/productionManagement/productionReporting/index.vue b/src/views/productionManagement/productionReporting/index.vue
index 0904dee..e802f24 100644
--- a/src/views/productionManagement/productionReporting/index.vue
+++ b/src/views/productionManagement/productionReporting/index.vue
@@ -46,21 +46,9 @@
:total="page.total">
<template #productNoSlot="{ row }">
<el-button
- v-if="row.process ==='鍗伴摐' || row.process ==='鍗伴摱'"
type="primary"
link
@click="openDetail(row)"
- >
- {{ row.productNo }}
- </el-button>
- <el-button
- v-else
- type="primary"
- link
- @click="(row) => {
- currentReportRowData = row
- showDetail = true
- }"
>
{{ row.productNo }}
</el-button>
@@ -154,6 +142,12 @@
:isEdit="false"
:row="currentReportRowData"
@refreshData="getList"/>
+ <VoltageSortingForm
+ v-if="voltageSortingFormVisible"
+ v-model:isShow="voltageSortingFormVisible"
+ :isEdit="false"
+ :row="currentReportRowData"
+ @refreshData="getList"/>
<Detail
v-if="showDetail"
v-model:isShow="showDetail"
@@ -173,6 +167,7 @@
import {productionProductMainListPage} from "@/api/productionManagement/productionProductMain.js";
import {userListNoPageByTenantId} from "@/api/system/user.js";
import InputModal from "@/views/productionManagement/productionReporting/Input.vue";
+import VoltageSortingForm from "@/views/productionManagement/workOrder/components/VoltageSortingForm.vue";
const CopperPrintingForm = defineAsyncComponent(() => import("@/views/productionManagement/workOrder/components/CopperPrintingForm.vue"));
const Detail = defineAsyncComponent(() => import("@/views/productionManagement/productionReporting/components/Detail.vue"));
@@ -434,6 +429,7 @@
// 鎵撳紑鎶曞叆妯℃�佹
const isShowInput = ref(false);
const copperPrintingFormVisible = ref(false);
+const voltageSortingFormVisible = ref(false);
const showDetail = ref(false);
const isShowingId = ref(0);
const showInput = row => {
@@ -457,7 +453,13 @@
};
const openDetail = row => {
currentReportRowData.value = row;
- copperPrintingFormVisible.value = true;
+ if (row.process ==='鍗伴摐' || row.process ==='鍗伴摱') {
+ copperPrintingFormVisible.value = true;
+ } else if (row.process === '鐢靛帇鍒嗛��') {
+ voltageSortingFormVisible.value = true;
+ } else {
+ showDetail.value = true;
+ }
};
onMounted(() => {
getList();
--
Gitblit v1.9.3