lazhen
2024-11-18 729de9e254cb300d6937508eb7f7e1f24607acf7
Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg
已修改2个文件
7 ■■■■■ 文件已修改
_Main/BL/Type_LockPeriod/Method_Enable.qbl 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormDispatchShiftSchedulingInformation/Response_PanelDispatchShiftSchedulingInformation_bDispatch_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LockPeriod/Method_Enable.qbl
@@ -9,6 +9,7 @@
    // Akari Oct-30-2024 (created)
    offlinePlanRow := select( offlinePlanTable,Row,row,row.ProductID() = this.ProductInStockingPoint_MP().ProductID() and row.StockingPointID() = this.ProductInStockingPoint_MP().StockingPointID() );
    
    if( not this.IsEnable() and not isnull( offlinePlanRow )){
    offlinePlanCells := selectset( offlinePlanRow, Cell,cell,cell.Column().TimeUnit() = "Day" );
    offlinePlanCellIndexTree := NamedValueTree::Create();
    for( i := 0; i< offlinePlanCells.Size(); i++ ){
@@ -17,8 +18,6 @@
      offlinePlanCellIndexTree.Root().AddChild( offlinePlanCellHandle,i );
    }
    
    if( not this.IsEnable() ){
      this.IsEnable( true );
      
      pispips := selectset( this,ProductInStockingPoint_MP.ProductInStockingPointInPeriod.astype( ProductInStockingPointInPeriodPlanningLeaf ),period,period.Period_MP().StartDate() <= this.LockDate() );
@@ -58,6 +57,8 @@
        }
      }
      ProductInStockingPointInPeriod::LockUnlockPlanning( pispips, true, true );
    }else{
      info( "Archive data [" + this.ProductInStockingPoint_MP().Name() + "] is null.")
    }
  *]
}
_Main/UI/MacroPlannerWebApp/Component_FormDispatchShiftSchedulingInformation/Response_PanelDispatchShiftSchedulingInformation_bDispatch_OnClick.def
@@ -43,7 +43,7 @@
          if( result = "Error" ){
            WebMessageBox::Error( "远程服务器返回了一个错误:" + message );
          }else{
            WebMessageBox::Information( message );
            WebMessageBox::Information( message,Translations::MessageBox_OK() );
          }
        }
        WebMessageBox::Success( "下发成功" );