From 70b7935fc261cd5e8eaaf1cfbc8078b04db576d2 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期六, 07 十一月 2026 14:51:06 +0800
Subject: [PATCH] fix(mes): 自动回填销售订单生产信息
---
src/views/mes/pro/workorder/modules/form.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/mes/pro/workorder/modules/form.vue b/src/views/mes/pro/workorder/modules/form.vue
index 1b24e67..4a2e9c6 100644
--- a/src/views/mes/pro/workorder/modules/form.vue
+++ b/src/views/mes/pro/workorder/modules/form.vue
@@ -90,7 +90,7 @@
// 浜у搧鍙樻洿鏃讹紝瑙﹀彂宸ュ簭鍔犺浇
if (isCreateMode.value && fieldsChanged.includes('productId')) {
const newProductId = values.productId;
- if (newProductId && newProductId !== currentProductId.value) {
+ if (newProductId !== currentProductId.value) {
currentProductId.value = newProductId;
}
}
--
Gitblit v1.9.3