From ad92b664d0a336e605611e3f8b2cb16a8d1c01ee Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期六, 26 十月 2024 00:42:30 +0800
Subject: [PATCH] 修复周度表的表头改成KW01 + 周末日期

---
 _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditSixDigitCode/Method_OnOK.def |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditSixDigitCode/Method_OnOK.def b/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditSixDigitCode/Method_OnOK.def
index f533f6c..93bffd9 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditSixDigitCode/Method_OnOK.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditSixDigitCode/Method_OnOK.def
@@ -8,7 +8,12 @@
     // On ok
     Form.ApplyChanges();
     
-    DataHolderDialogData.Data().Commit();
+    data := DataHolderDialogData.Data();
+    
+    data.VehicleModel( guard( ddlVehicleModel.Data().Name(), "" ) );
+    data.EnginePartNumber( guard( ddlEnginePartNumber.Data().ID(), "" ) );
+    
+    data.Commit();
     
     Form.Close();
   *]

--
Gitblit v1.9.3