From 9f5e836044835351021363824a704674e2789449 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 01 四月 2026 17:45:03 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_银川_中盛建材' into dev_银川_中盛建材
---
src/views/productionManagement/processRoute/processRouteItem/index.vue | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/views/productionManagement/processRoute/processRouteItem/index.vue b/src/views/productionManagement/processRoute/processRouteItem/index.vue
index d7fadd3..a2c5ce5 100644
--- a/src/views/productionManagement/processRoute/processRouteItem/index.vue
+++ b/src/views/productionManagement/processRoute/processRouteItem/index.vue
@@ -47,13 +47,15 @@
class="section-header">
<div class="section-title">宸ヨ壓璺嚎椤圭洰鍒楄〃</div>
<div class="section-actions">
- <div class="sort-tip">鎷栨嫿琛ㄦ牸鎺掑簭</div>
+ <div v-if="!routeInfo.status"
+ class="sort-tip">鎷栨嫿琛ㄦ牸鎺掑簭</div>
<el-button icon="Grid"
@click="toggleView"
style="margin-right: 10px;">
鍗$墖瑙嗗浘
</el-button>
- <el-button type="primary"
+ <el-button v-if="!routeInfo.status"
+ type="primary"
@click="handleAdd">鏂板</el-button>
</div>
</div>
@@ -97,6 +99,7 @@
</template>
</el-table-column>
<el-table-column label="鎿嶄綔"
+ v-if="!routeInfo.status"
align="center"
fixed="right"
width="150">
@@ -119,13 +122,15 @@
<div class="section-header">
<div class="section-title">宸ヨ壓璺嚎椤圭洰鍒楄〃</div>
<div class="section-actions">
- <div class="sort-tip">闀挎寜鎷栨嫿鍗$墖鎺掑簭</div>
+ <div v-if="!routeInfo.status"
+ class="sort-tip">闀挎寜鎷栨嫿鍗$墖鎺掑簭</div>
<el-button icon="Menu"
@click="toggleView"
style="margin-right: 10px;">
琛ㄦ牸瑙嗗浘
</el-button>
<el-button type="primary"
+ v-if="!routeInfo.status"
@click="handleAdd">鏂板</el-button>
</div>
</div>
@@ -150,6 +155,7 @@
<el-button type="primary"
link
size="small"
+ v-if="!routeInfo.status"
@click="handleEdit(item)"
:disabled="item.isComplete">缂栬緫</el-button>
<el-button type="info"
@@ -159,6 +165,7 @@
<el-button type="danger"
link
size="small"
+ v-if="!routeInfo.status"
@click="handleDelete(item)"
:disabled="item.isComplete">鍒犻櫎</el-button>
</div>
@@ -262,7 +269,7 @@
<span v-else>{{ row.unit }}</span>
</template>
</el-table-column>
- <el-table-column prop="unitPrice"
+ <el-table-column prop="unitPrice"
label="鍗曚环">
<template #default="{ row }">
<el-form-item v-if="bomDataValue.isEdit"
@@ -541,6 +548,7 @@
dictLabel: route.query.dictLabel || "",
bomId: route.query.bomId || null,
description: route.query.description || "",
+ status: route.query.status === "true" ? true : false,
};
if (pageType.value === "order") {
queryList2(route.query.orderId)
--
Gitblit v1.9.3