From 2a97deaa6deb2b5e94b2edba33a3e885cab4892b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 22 十二月 2025 17:11:21 +0800
Subject: [PATCH] 1.海川开心-设备保养添加定时任务 2.海川开心-销售管理、采购管理展示字段修改

---
 src/views/productionManagement/operationScheduling/components/formDia.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/productionManagement/operationScheduling/components/formDia.vue b/src/views/productionManagement/operationScheduling/components/formDia.vue
index 048ddce..06b46ac 100644
--- a/src/views/productionManagement/operationScheduling/components/formDia.vue
+++ b/src/views/productionManagement/operationScheduling/components/formDia.vue
@@ -164,12 +164,12 @@
 		if (sunqianUser) {
 			sunqianUserId.value = sunqianUser.userId;
 		}
-		// 鍦ㄧ敤鎴峰垪琛ㄥ姞杞藉畬鎴愬悗鍒涘缓琛屾暟鎹�
-		tableData.value = [createRow()];
+		// 鍦ㄧ敤鎴峰垪琛ㄥ姞杞藉畬鎴愬悗鍒涘缓琛屾暟鎹紝骞跺皢浜х嚎鏁版嵁甯﹀叆
+		tableData.value = [createRow(row)];
 	});
 }
 
-const createRow = () => ({
+const createRow = (row) => ({
 	id: idFromRow.value,
 	process: '鍖呰',
 	schedulingDate: '',
@@ -179,7 +179,7 @@
 	unit: unitFromRow.value,
 	remark: '',
 	type: specificationModelFromRow.value,
-	productionLine: '', // 浜х嚎瀛楁
+	productionLine: row?.productionLine ?? '', // 浠庤鏁版嵁涓幏鍙栦骇绾夸俊鎭�
 });
 
 const submitForm = () => {

--
Gitblit v1.9.3