From 5e91ad50fd19eb1e980d4ec67b614d1cbf549251 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期五, 22 五月 2026 13:30:50 +0800
Subject: [PATCH] feat: 丁刷单修正
---
src/views/productionManagement/productionOrder/BindRouteDialog.vue | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/views/productionManagement/productionOrder/BindRouteDialog.vue b/src/views/productionManagement/productionOrder/BindRouteDialog.vue
index 35ea376..f651360 100644
--- a/src/views/productionManagement/productionOrder/BindRouteDialog.vue
+++ b/src/views/productionManagement/productionOrder/BindRouteDialog.vue
@@ -62,7 +62,7 @@
<el-table-column label="鏉愭枡鍚嶇О">
<template #default="{ row, $index }">
<el-tree-select
- v-if="props.type === 'add'"
+ v-if="!isDetail && !row.productById"
v-model="row.productById"
placeholder="璇烽�夋嫨"
clearable
@@ -70,7 +70,6 @@
@change="(val) => getModels(val, row, $index)"
:data="productOptions"
:render-after-expand="false"
- :disabled="isDetail"
style="width: 100%"
/>
<span v-else>{{ row.name }}</span>
@@ -82,13 +81,13 @@
</template>
<template #default="{ row }">
<el-select
- v-if="props.type === 'add'"
+ v-if="!isDetail && !row.productModelId"
v-model="row.productModelId"
placeholder="璇烽�夋嫨瑙勬牸"
filterable
clearable
@change="(val) => handleMaterialModelChange(val, row)"
- :disabled="isDetail"
+ style="width: 100%"
>
<el-option
v-for="item in row.modelOptions"
--
Gitblit v1.9.3