From fec0cc4d017507b6b871ffad0bf707ca97149b4e Mon Sep 17 00:00:00 2001
From: admin <admin@admin.com>
Date: 星期日, 29 九月 2024 14:45:48 +0800
Subject: [PATCH] 上线计划优化
---
_Main/BL/Type_AssemblyOnlineQuantity/Attribute_DLZKM.qbl | 7 +++++++
_Main/BL/Type_AssemblyOnlinePlanCell/StaticMethod_RefreshData.qbl | 4 +++-
_Main/UI/MacroPlannerWebApp/Component_DialogAssemblyOnlineQuantity/Component_pnlContent.def | 11 +++++++++++
_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlan/Component_pHeader.def | 2 +-
_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlan/Response_MatrixEditor951_480_OnUpdateValue.def | 28 ++++++++++++++++++++++++++++
5 files changed, 50 insertions(+), 2 deletions(-)
diff --git a/_Main/BL/Type_AssemblyOnlinePlanCell/StaticMethod_RefreshData.qbl b/_Main/BL/Type_AssemblyOnlinePlanCell/StaticMethod_RefreshData.qbl
index 457a74f..46d1355 100644
--- a/_Main/BL/Type_AssemblyOnlinePlanCell/StaticMethod_RefreshData.qbl
+++ b/_Main/BL/Type_AssemblyOnlinePlanCell/StaticMethod_RefreshData.qbl
@@ -11,7 +11,9 @@
macroPlan.AssemblyOnlinePlanColumn( relflush );
// 鎵捐閰嶇嚎琛�
- oprs := selectsortedset( opt, OfflinePlanRow, tempOPR, tempOPR.ProductionLine() = "DL-MoMo" or tempOPR.ProductionLine() = "CC-MoMo", tempOPR.ProductionLine(), tempOPR.ProductID(), tempOPR.Type() );
+ oprs := selectsortedset( opt, OfflinePlanRow, tempOPR,
+ tempOPR.ProductionLine() = "DL-MoMo" or tempOPR.ProductionLine() = "CC-MoMo" or tempOPR.ProductionLine() = "DL-ZKM",
+ tempOPR.ProductionLine(), tempOPR.ProductID(), tempOPR.Type() );
opcs := selectsortedset( opt, OfflinePlanColumn, tempOPC, true, tempOPC.ColumnDate() );
// 鐢熸垚琛ㄦ牸
diff --git a/_Main/BL/Type_AssemblyOnlineQuantity/Attribute_DLZKM.qbl b/_Main/BL/Type_AssemblyOnlineQuantity/Attribute_DLZKM.qbl
new file mode 100644
index 0000000..cf7b59f
--- /dev/null
+++ b/_Main/BL/Type_AssemblyOnlineQuantity/Attribute_DLZKM.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute DLZKM
+{
+ #keys: '3[415754.0.315331249][415754.0.315331248][415754.0.315331250]'
+ ValueType: Number
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogAssemblyOnlineQuantity/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogAssemblyOnlineQuantity/Component_pnlContent.def
index 84293b3..506672c 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogAssemblyOnlineQuantity/Component_pnlContent.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogAssemblyOnlineQuantity/Component_pnlContent.def
@@ -27,6 +27,17 @@
Taborder: 1
]
}
+ Component npDLZKM
+ {
+ #keys: '[415754.0.318111807]'
+ BaseType: 'WebNumberPicker'
+ Properties:
+ [
+ DataBinding: 'MacroPlan.AssemblyOnlineQuantity.DLZKM'
+ Label: 'DL-ZKM (pcs)'
+ Taborder: 2
+ ]
+ }
]
Properties:
[
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlan/Component_pHeader.def b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlan/Component_pHeader.def
index 68b8f49..3e8f767 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlan/Component_pHeader.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlan/Component_pHeader.def
@@ -21,7 +21,7 @@
BaseType: 'WebButton'
Properties:
[
- Label: 'Online quantity'
+ Label: 'Filing line volume'
Taborder: 2
]
}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlan/Response_MatrixEditor951_480_OnUpdateValue.def b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlan/Response_MatrixEditor951_480_OnUpdateValue.def
new file mode 100644
index 0000000..3e6eb15
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlan/Response_MatrixEditor951_480_OnUpdateValue.def
@@ -0,0 +1,28 @@
+Quintiq file version 2.0
+#parent: MatrixEditor951_480
+Response OnUpdateValue (
+ AssemblyOnlinePlanRow row,
+ AssemblyOnlinePlanColumn column,
+ AssemblyOnlinePlanCell cell,
+ String value,
+ String oldvalue
+) id:Response_MatrixEditor951_480_OnUpdateValue
+{
+ #keys: '[415754.0.313052247]'
+ CanBindMultiple: false
+ DefinitionID: 'Responsedef_WebMatrixEditor_OnUpdateValue'
+ Precondition:
+ [*
+ return not isnull( MacroPlan );
+ *]
+ QuillAction
+ {
+ Body:
+ [*
+ if ( row.Type() = "1" and column.ColumnDate() >= MacroPlan.StartOfPlanning().Date() and cell.Value() <> "" ) {
+ cell.Value( value );
+ }
+ *]
+ GroupServerCalls: false
+ }
+}
--
Gitblit v1.9.3