From 965775e9175aa804a681cb04d6f8bcb41aa113e3 Mon Sep 17 00:00:00 2001
From: lihongji <3117313295@qq.com>
Date: 星期四, 12 十二月 2024 15:02:13 +0800
Subject: [PATCH] 优化

---
 _Main/BL/Type_PackagingPlanCell/StaticMethod_GenerateReport.qbl |    6 +++---
 _Main/Sys/Repr/Global/NewOfflinePlanCell.qrp                    |    8 ++++++++
 _Main/Sys/Repr/Global/NewAssemblyOnlinePlanCell.qrp             |    8 ++++++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/_Main/BL/Type_PackagingPlanCell/StaticMethod_GenerateReport.qbl b/_Main/BL/Type_PackagingPlanCell/StaticMethod_GenerateReport.qbl
index abccc2e..3fd117e 100644
--- a/_Main/BL/Type_PackagingPlanCell/StaticMethod_GenerateReport.qbl
+++ b/_Main/BL/Type_PackagingPlanCell/StaticMethod_GenerateReport.qbl
@@ -8,13 +8,13 @@
   TextBody:
   [*
     // 鍒涘缓鏁版嵁
-    //PackagingPlanCell::CreateData( macroPlan );
+    PackagingPlanCell::CreateData( macroPlan );
     
     // 璁剧疆鍖呰&鎷嗗寘-鏁伴噺锛堝ぇ杩炲伐鍘傦級
-    //PackagingPlanCell::SetPackagingAndUnpackingValuesDL( macroPlan );
+    PackagingPlanCell::SetPackagingAndUnpackingValuesDL( macroPlan );
     
     // 璁剧疆鍖呰&鎷嗗寘-鏁伴噺锛堥暱鏄ュ伐鍘傦級
-    //PackagingPlanCell::SetPackagingAndUnpackingValuesCC( macroPlan );
+    PackagingPlanCell::SetPackagingAndUnpackingValuesCC( macroPlan );
     
     // 璁剧疆璧峰鍖呰搴撳瓨
     PackagingPlanCell::SetInitialPackagingInventory( macroPlan, interfaceDataset );
diff --git a/_Main/Sys/Repr/Global/NewAssemblyOnlinePlanCell.qrp b/_Main/Sys/Repr/Global/NewAssemblyOnlinePlanCell.qrp
index 34543c5..4a46956 100644
--- a/_Main/Sys/Repr/Global/NewAssemblyOnlinePlanCell.qrp
+++ b/_Main/Sys/Repr/Global/NewAssemblyOnlinePlanCell.qrp
@@ -31,6 +31,14 @@
         DefaultBackgroundColor: false
         InheritConversion: false
       }
+      DataRepresentation.Conditional
+      {
+        BackgroundColor: 'Red'
+        ConditionBody: 'object.Quantity() < 0.0'
+        ConversionBody: ''
+        DefaultBackgroundColor: false
+        InheritConversion: false
+      }
     ]
   }
   AttributeRepresentation ShiftPatternEnd
diff --git a/_Main/Sys/Repr/Global/NewOfflinePlanCell.qrp b/_Main/Sys/Repr/Global/NewOfflinePlanCell.qrp
index 01af5d5..33e0f8f 100644
--- a/_Main/Sys/Repr/Global/NewOfflinePlanCell.qrp
+++ b/_Main/Sys/Repr/Global/NewOfflinePlanCell.qrp
@@ -26,6 +26,14 @@
         DefaultBackgroundColor: false
         InheritConversion: false
       }
+      DataRepresentation.Conditional
+      {
+        BackgroundColor: 'Red'
+        ConditionBody: 'object.Quantity() < 0.0'
+        ConversionBody: ''
+        DefaultBackgroundColor: false
+        InheritConversion: false
+      }
     ]
   }
   AttributeRepresentation ShiftPatternEnd

--
Gitblit v1.9.3