Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg
已重命名1个文件
已添加3个文件
已修改6个文件
已删除2个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Export ( |
| | | MachineLogisticsCostReportRows mlcrrs |
| | | ) |
| | | { |
| | | } |
| | |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component npPercentage |
| | | { |
| | | #keys: '[412672.0.1040102201]' |
| | | BaseType: 'WebNumberPicker' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'dhDialogData.Data.Percentage' |
| | | Label: 'Percentage*' |
| | | Max: '99' |
| | | Min: '1' |
| | | PlaceHolder: 'Percentage 为å¿
填项' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component efPercentage |
| | | { |
| | | #keys: '[414996.1.29740363]' |
| | |
| | | Properties: |
| | | [ |
| | | DataBinding: 'dhDialogData.Data.Percentage' |
| | | Enabled: false |
| | | Label: 'Final Percentage' |
| | | Taborder: 4 |
| | | Tooltip: 'æç»è¾å
¥çPercentageä¼å¨è¿éå±ç¤º' |
| | | Mask: 'REAL' |
| | | PlaceHolder: 'Percentage 为å¿
填项' |
| | | Taborder: 3 |
| | | Text: '0' |
| | | ] |
| | | } |
| | | ] |
| | |
| | | [* |
| | | if( isnull( dhDialogData.Data( ) )){ |
| | | if( ddlUnit.Visible() ){ |
| | | UphillRouting::Create( ddlUnit.Data(), dsStartDate.Date(),dsEndDate.Date(),npPercentage.Number() ); |
| | | UphillRouting::Create( ddlUnit.Data(), dsStartDate.Date(),dsEndDate.Date(),[Real]efPercentage.Text() ); |
| | | }else{ |
| | | UphillRouting::Create( dhRouting.Data(), dsStartDate.Date(),dsEndDate.Date(),npPercentage.Number()); |
| | | UphillRouting::Create( dhRouting.Data(), dsStartDate.Date(),dsEndDate.Date(),[Real]efPercentage.Text()); |
| | | } |
| | | }else{ |
| | | |
| | | } |
| | | info( npPercentage.Number() ); |
| | | *] |
| | | } |
| | |
| | | GroupServerCalls: true |
| | | Precondition: |
| | | [* |
| | | return dsStartDate.Date() < dsEndDate.Date(); |
| | | flag := true; |
| | | if(([Real]efPercentage.Text()).IsNaN()){ |
| | | flag := false; |
| | | feedback := "Percentage 为å¿
填项."; |
| | | } |
| | | if( dsStartDate.Date() >= dsEndDate.Date() ){ |
| | | flag := false; |
| | | feedback := "ç»ææ¥æå¿
é¡»å¨å¼å§æ¥æä¹å."; |
| | | } |
| | | |
| | | return flag; |
| | | *] |
| | | QuillAction |
| | | { |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | MinimumColumns: 3 |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuCreate |
| | | Component mCreate |
| | | { |
| | | #keys: '[412672.0.1043375746]' |
| | | BaseType: 'WebMenu' |
| | |
| | | Title: 'Create...' |
| | | ] |
| | | } |
| | | Component mDelete id:mDelete_870 |
| | | { |
| | | #keys: '[414996.1.33518326]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'DELETE' |
| | | Taborder: 4 |
| | | Title: 'Delete' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditUphillRoutings/Response_ListUphillRouting_943_MenuCreate_OnClick.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListUphillRouting_943 |
| | | Response OnClick () id:Response_ListUphillRouting_943_MenuCreate_OnClick |
| | | Response OnClick () id:Response_ListUphillRouting_943_mCreate_OnClick |
| | | { |
| | | #keys: '[412672.0.1040123392]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListUphillRouting_943/Responsedef_ListUphillRouting_943_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuCreate' |
| | | Initiator: 'mCreate' |
| | | QuillAction |
| | | { |
| | | Body: |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListUphillRouting_943 |
| | | Response OnClick ( |
| | | structured[UphillRouting] selection |
| | | ) id:Response_ListUphillRouting_943_mDelete_OnClick |
| | | { |
| | | #keys: '[414996.1.33518513]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListUphillRouting_943/Responsedef_ListUphillRouting_943_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'mDelete' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( WebMessageBox::Question( "确认å é¤ï¼",Translations::MessageBox_YesNo() ) = 0 ){ |
| | | traverse( selection,Elements,element ){ |
| | | element.Delete(); |
| | | } |
| | | } |
| | | *] |
| | | } |
| | | } |
| | |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component Button655 |
| | | Component bExport |
| | | { |
| | | #keys: '[413988.0.1467011030]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'PIG' |
| | | Label: 'Button655' |
| | | Image: 'EXPORT1' |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pHeader/bExport |
| | | Response OnClick () id:Response_pHeader_bExport_OnClick |
| | | { |
| | | #keys: '[413988.0.1503619865]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( MacroPlan ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | mlcrrs := selectset( MacroPlan, MachineLogisticsCostReportRow, tempMLCRR, true ); |
| | | |
| | | MachineLogisticsCostReportCell::Export( mlcrrs ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |