From 5e5f64f57af3862ebf7c9241dc848f97572f96b2 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期五, 01 十一月 2024 12:39:21 +0800
Subject: [PATCH] 机加管线报表库存计算bug

---
 _Main/Sys/Repr/Global/MachiningPipelineCell.qrp |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/_Main/Sys/Repr/Global/MachiningPipelineCell.qrp b/_Main/Sys/Repr/Global/MachiningPipelineCell.qrp
index 77a9570..c4b4d1e 100644
--- a/_Main/Sys/Repr/Global/MachiningPipelineCell.qrp
+++ b/_Main/Sys/Repr/Global/MachiningPipelineCell.qrp
@@ -11,6 +11,17 @@
   {
     AttributeKey: '[415136.0.886711533]'
     Synonym: 'CC搴撳瓨'
+    Conditional:
+    [
+      DataRepresentation.Conditional
+      {
+        BackgroundColor: '$FF9999'
+        ConditionBody: 'object.CCInventoryQty() < 0'
+        ConversionBody: ''
+        DefaultBackgroundColor: false
+        InheritConversion: false
+      }
+    ]
   }
   AttributeRepresentation CCProductionQty
   {
@@ -31,6 +42,17 @@
   {
     AttributeKey: '[415136.0.894481161]'
     Synonym: 'DL搴撳瓨'
+    Conditional:
+    [
+      DataRepresentation.Conditional
+      {
+        BackgroundColor: '$FF9999'
+        ConditionBody: 'object.DLInventoryQty() < 0'
+        ConversionBody: ''
+        DefaultBackgroundColor: false
+        InheritConversion: false
+      }
+    ]
   }
   AttributeRepresentation DLProductionQty
   {
@@ -46,6 +68,17 @@
   {
     AttributeKey: '[415136.0.894481168]'
     Synonym: 'CC+DL鎬诲簱瀛�'
+    Conditional:
+    [
+      DataRepresentation.Conditional
+      {
+        BackgroundColor: '$FF9999'
+        ConditionBody: 'object.TotalInventoryQty() < 0'
+        ConversionBody: ''
+        DefaultBackgroundColor: false
+        InheritConversion: false
+      }
+    ]
   }
   RelationRepresentation AsFirstCellInColumn { RelationKey: '[415136.0.894469842]' Visibility: 'Normal' }
 }

--
Gitblit v1.9.3