lazhen
2024-09-18 417f02834f331ea468d87add2a6143597c83648b
_Main/BL/Type_OfflinePlanCell/StaticMethod_RefreshOfflinePlan.qbl
@@ -11,7 +11,9 @@
    opt := macroPlan.OfflinePlanTable( relnew, SaveDateTime := DateTime::ActualTime() );
    
    // 生成下线计划表
    traverse ( macroPlan, Unit, u, u.HasCapacityTypeTime() /*and u.Name() = "Body in White Line 1"*/ ) {
    traverse ( macroPlan, Unit, u, u.HasCapacityTypeTime()
               and u.Name() = "eMotor Assy (France)" // 测试时可以过滤
              ) {
      // 创建产线行
      opt.OfflinePlanRow( relnew, ProductionLine := u.ID(), ProductID := "", Type := "0" );