From 9382cf0ba396fa434daba76303a956905dff837d Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 23 十二月 2025 16:32:00 +0800
Subject: [PATCH] 1.海川开心-质量管理三个页面,去掉分配检验员功能,新增时规格型号和单位可以直接赋值

---
 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