¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute A_Attribute |
| | | { |
| | | #keys: '3[413988.1.49000093][413988.1.49000092][413988.1.49000094]' |
| | | Description: 'ä¸çº¿è®¡å屿§' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[413988.1.49241961]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[413988.1.49241965]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[413988.1.49241967]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | ExcludeFromActiveComponent: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Padding: 'true' |
| | | Style: 'footer' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[413988.1.49241959]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component efAttribute |
| | | { |
| | | #keys: '[413988.1.49242061]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'MacroPlan.A_Attribute' |
| | | Label: 'Attribute' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method AttributeConfiguration () id:Method_DialogAttributeConfiguration_AttributeConfiguration |
| | | { |
| | | #keys: '[413988.1.49242189]' |
| | | Body: |
| | | [* |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OnOK () id:Method_DialogAttributeConfiguration_OnOK |
| | | { |
| | | #keys: '[413988.1.49662482]' |
| | | Body: |
| | | [* |
| | | Form.ApplyChanges(); |
| | | Form.Close(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[413988.1.49241971]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOk |
| | | Response OnClick () id:Response_pnlActions_btnOk_OnClick |
| | | { |
| | | #keys: '[413988.1.49241970]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.OnOK(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogAttributeConfiguration |
| | | { |
| | | #keys: '[413988.1.49241957]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'Attribute configuration' |
| | | ] |
| | | } |
| | |
| | | #keys: '[413988.0.1584413050]' |
| | | Body: |
| | | [* |
| | | IsEdit.Data( selection ); |
| | | |
| | | data := shadow( selection ); |
| | | |
| | | DataHolderDialogData.Data( &data ); |
| | |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not exists( MacroPlan, TransferMinimumQuantity, tempTMQ, tempTMQ.Factory() = ddslFactory.Text() and |
| | | tempTMQ.ProductID() = ddslProductID.Text() ); |
| | | return not exists( MacroPlan, TransferMinimumQuantity, tempTMQ, tempTMQ <> IsEdit.Data(), tempTMQ.Factory() = ddslFactory.Text() and tempTMQ.ProductID() = ddslProductID.Text() ); |
| | | *] |
| | | QuillAction |
| | | { |
| | |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component IsEdit |
| | | { |
| | | #keys: '[413988.1.43032855]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'TransferMinimumQuantity' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | Title: 'éç½®åæ¡£ï¼æµè¯ä¸ç¨ï¼' |
| | | ] |
| | | } |
| | | Component mAttributeConfiguration |
| | | { |
| | | #keys: '[413988.1.49220518]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'ATTRIBUTE' |
| | | Taborder: 5 |
| | | Title: '屿§é
ç½®' |
| | | ] |
| | | } |
| | | Component mAttributeConfirm |
| | | { |
| | | #keys: '[413988.1.51331501]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'EDITOR_ACCESSIBILITY_WORLD' |
| | | Taborder: 6 |
| | | Title: '屿§ç¡®è®¤' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: matrixeditorContextMenu229/mAttributeConfiguration |
| | | Response OnClick () id:Response_matrixeditorContextMenu229_mAttributeConfiguration_OnClick |
| | | { |
| | | #keys: '[413988.1.47880371]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebMenu_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( MacroPlan ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if ( MacroPlan.A_Attribute() = "" ) { |
| | | MacroPlan.A_Attribute( "Quantity;Order" ); |
| | | } |
| | | |
| | | dlg := construct( DialogAttributeConfiguration ); |
| | | |
| | | dlg.AttributeConfiguration(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: matrixeditorContextMenu229/mAttributeConfirm |
| | | Response OnClick () id:Response_matrixeditorContextMenu229_mAttributeConfirm_OnClick |
| | | { |
| | | #keys: '[413988.1.51331756]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebMenu_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( MacroPlan ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if ( MacroPlan.A_Attribute() = "" ) { |
| | | MacroPlan.A_Attribute( "Quantity;Order" ); |
| | | } |
| | | |
| | | MatrixEditor515.Attributes( MacroPlan.A_Attribute() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |