xiaoding721
2024-08-23 36be4b0ee39895e91f18cb708f46bc90563867ca
添加班次计划接口调用按钮
已修改2个文件
已添加2个文件
64 ■■■■■ 文件已修改
_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form568/Component_pOperation.def 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form568/Response_pOperation_Button593_OnClick.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form568/Response_pOperation_Button633_OnClick.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftPlan/StaticMethod_Dispatch.qbl
@@ -2,14 +2,15 @@
#parent: #root
StaticMethod Dispatch (
  const MacroPlan macroPlan,
  RecycleBin owner
  RecycleBin owner,
  String versionFlag
)
{
  TextBody:
  [*
    // Akari Aug-21-2024 (created)
    owner.DispatchShiftPlan( relflush );
    owner.RB_DispatchShiftPlanBroker().Source().FlatQuery( "truncate table A_DispatchShiftPlan" );
    // owner.RB_DispatchShiftPlanBroker().Source().FlatQuery( "truncate table A_DispatchShiftPlan" );
    
    now := DateTime::Now();
    macroPlanName := macroPlan.MDSMacroPlan().Description();
@@ -28,6 +29,7 @@
                                ShiftDate := shiftPlan.UnitPeriodTime().Period_MP().StartDate(),
                                Tips := shiftPlan.Remark(),
                                VersionName := macroPlanName,
                                VersionFlag := versionFlag,
                                FactoryName := factory.ID(),
                                InterfaceTime := now
                                );
_Main/UI/MacroPlannerWebApp/Component_Form568/Component_pOperation.def
@@ -13,7 +13,7 @@
      [
        Image: 'EXPORT1'
        Label: '瀵煎嚭'
        Taborder: 0
        Taborder: 2
      ]
    }
    Component bDownload id:bDownload_774
@@ -24,7 +24,7 @@
      [
        Image: 'DOWNLOAD'
        Label: '涓嬭浇'
        Taborder: 1
        Taborder: 3
      ]
    }
    Component dhXMLDataListener
@@ -50,7 +50,27 @@
      ]
      Properties:
      [
        Taborder: 2
        Taborder: 4
      ]
    }
    Component Button593
    {
      #keys: '[414996.1.20921786]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: '鍙戝竷鐗堟湰'
        Taborder: 0
      ]
    }
    Component Button633
    {
      #keys: '[414996.1.20921810]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: '姹囨姤鐗堟湰'
        Taborder: 1
      ]
    }
  ]
_Main/UI/MacroPlannerWebApp/Component_Form568/Response_pOperation_Button593_OnClick.def
对比新文件
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: pOperation/Button593
Response OnClick () id:Response_pOperation_Button593_OnClick
{
  #keys: '[414996.1.20921852]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      DispatchShiftPlan::Dispatch( MacroPlan,RecycleBin,this.Label() );
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_Form568/Response_pOperation_Button633_OnClick.def
对比新文件
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: pOperation/Button633
Response OnClick () id:Response_pOperation_Button633_OnClick
{
  #keys: '[414996.1.20921936]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      DispatchShiftPlan::Dispatch( MacroPlan,RecycleBin,this.Label() );
    *]
  }
}