570 lines
15 KiB
Plaintext
570 lines
15 KiB
Plaintext
object frmTradeDetailBaseList: TfrmTradeDetailBaseList
|
|
Left = 0
|
|
Top = 0
|
|
Caption = 'frmTradeDetailBaseList'
|
|
ClientHeight = 605
|
|
ClientWidth = 1077
|
|
Color = clBtnFace
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #24494#36719#38597#40657
|
|
Font.Style = []
|
|
OldCreateOrder = False
|
|
OnClose = FormClose
|
|
OnCreate = FormCreate
|
|
OnDestroy = FormDestroy
|
|
OnShow = FormShow
|
|
PixelsPerInch = 96
|
|
TextHeight = 21
|
|
object ToolBar3: TToolBar
|
|
Tag = 1
|
|
Left = 0
|
|
Top = 0
|
|
Width = 1077
|
|
Height = 30
|
|
AutoSize = True
|
|
ButtonHeight = 30
|
|
ButtonWidth = 105
|
|
Caption = 'ToolBar1'
|
|
GradientEndColor = clWindow
|
|
Images = DataLink_schedule.cxImageList_bar
|
|
List = True
|
|
GradientDrawingOptions = [gdoHotTrack]
|
|
ShowCaptions = True
|
|
TabOrder = 0
|
|
object Trefresh: TToolButton
|
|
Left = 0
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #26597#35810
|
|
ImageIndex = 8
|
|
OnClick = TrefreshClick
|
|
end
|
|
object Tprint: TToolButton
|
|
Left = 71
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #23548#20986'Excel'
|
|
ImageIndex = 28
|
|
OnClick = TprintClick
|
|
end
|
|
object TprintGrid: TToolButton
|
|
Left = 180
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #25171#21360
|
|
ImageIndex = 21
|
|
OnClick = TprintGridClick
|
|
end
|
|
object TsaveGrid: TToolButton
|
|
Left = 251
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20445#23384#26684#24335
|
|
ImageIndex = 30
|
|
OnClick = TsaveGridClick
|
|
end
|
|
object Tclose: TToolButton
|
|
Left = 354
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20851#38381
|
|
ImageIndex = 7
|
|
OnClick = TcloseClick
|
|
end
|
|
end
|
|
object cxGrid1: TcxGrid
|
|
Left = 14
|
|
Top = 161
|
|
Width = 985
|
|
Height = 224
|
|
TabOrder = 1
|
|
object tv1: TcxGridDBTableView
|
|
Navigator.Buttons.CustomButtons = <>
|
|
ScrollbarAnnotations.CustomAnnotations = <>
|
|
OnFocusedRecordChanged = tv1FocusedRecordChanged
|
|
DataController.DataSource = DataSource1
|
|
DataController.Filter.AutoDataSetFilter = True
|
|
DataController.Summary.DefaultGroupSummaryItems = <>
|
|
DataController.Summary.FooterSummaryItems = <>
|
|
DataController.Summary.SummaryGroups = <>
|
|
OptionsData.Deleting = False
|
|
OptionsData.DeletingConfirmation = False
|
|
OptionsData.Inserting = False
|
|
OptionsView.Footer = True
|
|
OptionsView.GroupByBox = False
|
|
object tv1SSel: TcxGridDBColumn
|
|
Caption = #36873#25321
|
|
DataBinding.FieldName = 'SSel'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxCheckBoxProperties'
|
|
Properties.NullStyle = nssUnchecked
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 57
|
|
end
|
|
object tv1OrderNo: TcxGridDBColumn
|
|
Caption = #35746#21333#21495
|
|
DataBinding.FieldName = 'OrderNo'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 127
|
|
end
|
|
object tv1custName: TcxGridDBColumn
|
|
Caption = #23458#25143#21517#31216
|
|
DataBinding.FieldName = 'custName'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 126
|
|
end
|
|
object tv1salerser: TcxGridDBColumn
|
|
Caption = #19994#21153#21592
|
|
DataBinding.Expression = #1'salerser'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 95
|
|
end
|
|
object tv1ConNo: TcxGridDBColumn
|
|
Caption = #21512#21516#21495
|
|
DataBinding.FieldName = 'ConNo'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 95
|
|
end
|
|
end
|
|
object cxGrid1Level1: TcxGridLevel
|
|
GridView = tv1
|
|
end
|
|
end
|
|
object dxLayoutControl_query: TdxLayoutControl
|
|
Left = 0
|
|
Top = 30
|
|
Width = 1077
|
|
Height = 45
|
|
Align = alTop
|
|
TabOrder = 2
|
|
LayoutLookAndFeel = BaseDataLink.dxLayoutSkinLookAndFeel1
|
|
OptionsItem.SizableHorz = True
|
|
OptionsItem.SizableVert = True
|
|
ExplicitTop = 73
|
|
object custName: TcxTextEdit
|
|
Tag = 2
|
|
Left = 262
|
|
Top = 11
|
|
ParentFont = False
|
|
Style.HotTrack = False
|
|
Style.TransparentBorder = False
|
|
TabOrder = 1
|
|
Width = 109
|
|
end
|
|
object ConNo: TcxTextEdit
|
|
Tag = 2
|
|
Left = 436
|
|
Top = 11
|
|
ParentFont = False
|
|
Style.HotTrack = False
|
|
Style.TransparentBorder = False
|
|
TabOrder = 2
|
|
Width = 105
|
|
end
|
|
object BuyConNo: TcxTextEdit
|
|
Tag = 2
|
|
Left = 10000
|
|
Top = 10000
|
|
ParentFont = False
|
|
Style.BorderColor = clWindowFrame
|
|
Style.BorderStyle = ebs3D
|
|
Style.HotTrack = False
|
|
Style.TransparentBorder = False
|
|
TabOrder = 3
|
|
Visible = False
|
|
Width = 121
|
|
end
|
|
object OrderNo: TcxTextEdit
|
|
Tag = 2
|
|
Left = 72
|
|
Top = 11
|
|
ParentFont = False
|
|
Style.HotTrack = False
|
|
Style.TransparentBorder = False
|
|
TabOrder = 0
|
|
Width = 109
|
|
end
|
|
object dxLayoutControl_queryGroup_Root: TdxLayoutGroup
|
|
AlignHorz = ahParentManaged
|
|
AlignVert = avParentManaged
|
|
CaptionOptions.AlignVert = tavCenter
|
|
SizeOptions.AssignedValues = [sovSizableHorz, sovSizableVert]
|
|
SizeOptions.SizableHorz = True
|
|
SizeOptions.SizableVert = True
|
|
Hidden = True
|
|
LayoutDirection = ldHorizontal
|
|
Padding.Bottom = -5
|
|
Padding.Top = -5
|
|
Padding.AssignedValues = [lpavBottom, lpavTop]
|
|
ShowBorder = False
|
|
Index = -1
|
|
end
|
|
object dxLayoutItem1: TdxLayoutItem
|
|
Parent = dxLayoutControl_queryGroup_Root
|
|
CaptionOptions.Text = #35746#21333#21495
|
|
Control = OrderNo
|
|
ControlOptions.OriginalHeight = 25
|
|
ControlOptions.OriginalWidth = 109
|
|
ControlOptions.ShowBorder = False
|
|
Index = 0
|
|
end
|
|
object dxLayoutItem2: TdxLayoutItem
|
|
Parent = dxLayoutControl_queryGroup_Root
|
|
CaptionOptions.Text = #23458#25143#21517#31216
|
|
Control = custName
|
|
ControlOptions.OriginalHeight = 25
|
|
ControlOptions.OriginalWidth = 109
|
|
ControlOptions.ShowBorder = False
|
|
Index = 1
|
|
end
|
|
object dxLayoutItem_hth: TdxLayoutItem
|
|
Parent = dxLayoutControl_queryGroup_Root
|
|
CaptionOptions.Text = #21512#21516#21495
|
|
Control = ConNo
|
|
ControlOptions.OriginalHeight = 25
|
|
ControlOptions.OriginalWidth = 105
|
|
ControlOptions.ShowBorder = False
|
|
Index = 2
|
|
end
|
|
object dxLayoutItem_khdh: TdxLayoutItem
|
|
Tag = 99
|
|
Visible = False
|
|
CaptionOptions.Text = #23458#25143#21333#21495
|
|
Control = BuyConNo
|
|
ControlOptions.OriginalHeight = 25
|
|
ControlOptions.OriginalWidth = 121
|
|
ControlOptions.ShowBorder = False
|
|
Index = -1
|
|
end
|
|
end
|
|
object Panel_page: TPanel
|
|
Left = 0
|
|
Top = 75
|
|
Width = 1077
|
|
Height = 37
|
|
Align = alTop
|
|
AutoSize = True
|
|
BevelInner = bvRaised
|
|
BevelOuter = bvLowered
|
|
TabOrder = 3
|
|
ExplicitTop = 118
|
|
DesignSize = (
|
|
1077
|
|
37)
|
|
object LBCPAP: TLabel
|
|
Left = 425
|
|
Top = 8
|
|
Width = 100
|
|
Height = 20
|
|
Alignment = taCenter
|
|
Anchors = [akLeft]
|
|
AutoSize = False
|
|
Caption = #24403#21069#39029'/'#24635#39029#25968
|
|
Layout = tlCenter
|
|
ExplicitTop = 7
|
|
end
|
|
object Label31: TLabel
|
|
Left = 14
|
|
Top = 8
|
|
Width = 96
|
|
Height = 21
|
|
Alignment = taCenter
|
|
Anchors = [akLeft]
|
|
Caption = #27599#39029#35760#24405#26465#25968
|
|
Layout = tlCenter
|
|
ExplicitTop = 7
|
|
end
|
|
object BTNP: TButton
|
|
Left = 532
|
|
Top = 5
|
|
Width = 78
|
|
Height = 30
|
|
Anchors = [akLeft]
|
|
Caption = #19979#19968#39029
|
|
TabOrder = 0
|
|
OnClick = BTNPClick
|
|
end
|
|
object BTLP: TButton
|
|
Left = 338
|
|
Top = 4
|
|
Width = 78
|
|
Height = 31
|
|
Anchors = [akLeft]
|
|
Caption = #19978#19968#39029
|
|
TabOrder = 1
|
|
OnClick = BTLPClick
|
|
end
|
|
object TCBNOR: TcxComboBox
|
|
Tag = 2
|
|
Left = 122
|
|
Top = 2
|
|
Properties.DropDownListStyle = lsEditFixedList
|
|
Properties.Items.Strings = (
|
|
'500'
|
|
'1000'
|
|
'5000'
|
|
'10000')
|
|
Properties.OnChange = TCBNORPropertiesChange
|
|
TabOrder = 2
|
|
Text = '500'
|
|
Width = 94
|
|
end
|
|
end
|
|
object cxSplitter1: TcxSplitter
|
|
Left = 0
|
|
Top = 401
|
|
Width = 1077
|
|
Height = 8
|
|
HotZoneClassName = 'TcxMediaPlayer8Style'
|
|
AlignSplitter = salBottom
|
|
end
|
|
object cxGrid2: TcxGrid
|
|
Left = 0
|
|
Top = 409
|
|
Width = 1077
|
|
Height = 196
|
|
Align = alBottom
|
|
TabOrder = 5
|
|
object TV2: TcxGridDBTableView
|
|
Navigator.Buttons.CustomButtons = <>
|
|
ScrollbarAnnotations.CustomAnnotations = <>
|
|
DataController.DataSource = DataSource2
|
|
DataController.Filter.AutoDataSetFilter = True
|
|
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
|
|
DataController.Summary.DefaultGroupSummaryItems = <
|
|
item
|
|
Format = '0'
|
|
Position = spFooter
|
|
end
|
|
item
|
|
Format = '0'
|
|
Position = spFooter
|
|
Column = tv2OrdQty
|
|
end
|
|
item
|
|
Format = '0'
|
|
Position = spFooter
|
|
end>
|
|
DataController.Summary.FooterSummaryItems = <
|
|
item
|
|
Kind = skSum
|
|
Column = tv2OrdPiece
|
|
end
|
|
item
|
|
Kind = skSum
|
|
Column = tv2OrdQty
|
|
end>
|
|
DataController.Summary.SummaryGroups = <>
|
|
OptionsBehavior.FocusCellOnTab = True
|
|
OptionsBehavior.GoToNextCellOnEnter = True
|
|
OptionsBehavior.FocusCellOnCycle = True
|
|
OptionsCustomize.ColumnFiltering = False
|
|
OptionsData.Deleting = False
|
|
OptionsView.Footer = True
|
|
OptionsView.GroupByBox = False
|
|
Styles.UseOddEvenStyles = bFalse
|
|
object tv2SSel: TcxGridDBColumn
|
|
Tag = 99
|
|
Caption = #36873#25321
|
|
DataBinding.FieldName = 'SSel'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxCheckBoxProperties'
|
|
Properties.ImmediatePost = True
|
|
Properties.NullStyle = nssUnchecked
|
|
Visible = False
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Options.Sorting = False
|
|
Width = 66
|
|
end
|
|
object TV2C_Name: TcxGridDBColumn
|
|
Caption = #21697#21517#20013#25991
|
|
DataBinding.FieldName = 'C_Name'
|
|
DataBinding.IsNullValueType = True
|
|
Options.Editing = False
|
|
Width = 98
|
|
end
|
|
object TV2C_EName: TcxGridDBColumn
|
|
Caption = #21697#21517#33521#25991
|
|
DataBinding.FieldName = 'C_EName'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 91
|
|
end
|
|
object TV2C_spec: TcxGridDBColumn
|
|
Caption = #21697#21517#35268#26684
|
|
DataBinding.FieldName = 'C_spec'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 108
|
|
end
|
|
object TV2C_Color: TcxGridDBColumn
|
|
Caption = #20013#25991#39068#33394
|
|
DataBinding.FieldName = 'C_Color'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 119
|
|
end
|
|
object tv2C_EColor: TcxGridDBColumn
|
|
Caption = #33521#25991#39068#33394
|
|
DataBinding.FieldName = 'C_EColor'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.ReadOnly = False
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 121
|
|
end
|
|
object cxGridDBColumn4: TcxGridDBColumn
|
|
Caption = #33394#21495
|
|
DataBinding.FieldName = 'C_ColorNo'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 94
|
|
end
|
|
object tv2C_Pattern: TcxGridDBColumn
|
|
Caption = #33457#22411
|
|
DataBinding.FieldName = 'C_Pattern'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 87
|
|
end
|
|
object TV2Column1: TcxGridDBColumn
|
|
Caption = #27454#21495
|
|
DataBinding.FieldName = 'C_StyleNo'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 66
|
|
end
|
|
object tv2OrdPiece: TcxGridDBColumn
|
|
Caption = #21305#25968
|
|
DataBinding.FieldName = 'OrdPiece'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 97
|
|
end
|
|
object tv2OrdQty: TcxGridDBColumn
|
|
Caption = #25968#37327
|
|
DataBinding.FieldName = 'OrdQty'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxTextEditProperties'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 84
|
|
end
|
|
object v1OrderUnit: TcxGridDBColumn
|
|
Caption = #21333#20301
|
|
DataBinding.FieldName = 'OrdUnit'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxComboBoxProperties'
|
|
Properties.Items.Strings = (
|
|
'M'
|
|
'Y'
|
|
'Kg')
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 82
|
|
end
|
|
object tv2OrdSNote: TcxGridDBColumn
|
|
Caption = #22791#27880
|
|
DataBinding.FieldName = 'OrdSNote'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 135
|
|
end
|
|
end
|
|
object cxGridLevel1: TcxGridLevel
|
|
GridView = TV2
|
|
end
|
|
end
|
|
object DataSource1: TDataSource
|
|
DataSet = CDS_Main
|
|
Left = 768
|
|
Top = 296
|
|
end
|
|
object ADOQueryMain: TADOQuery
|
|
Connection = DataLink_schedule.ADOLink
|
|
LockType = ltReadOnly
|
|
Parameters = <>
|
|
Left = 704
|
|
Top = 368
|
|
end
|
|
object cxGridPopupMenu1: TcxGridPopupMenu
|
|
Grid = cxGrid1
|
|
PopupMenus = <>
|
|
Left = 208
|
|
Top = 287
|
|
end
|
|
object ADOQueryBaseCmd: TADOQuery
|
|
Connection = DataLink_schedule.ADOLink
|
|
Parameters = <>
|
|
Left = 281
|
|
Top = 248
|
|
end
|
|
object ADOQueryBaseTemp: TADOQuery
|
|
Connection = DataLink_schedule.ADOLink
|
|
LockType = ltReadOnly
|
|
Parameters = <>
|
|
Left = 201
|
|
Top = 225
|
|
end
|
|
object CDS_Main: TClientDataSet
|
|
Aggregates = <>
|
|
Params = <>
|
|
Left = 395
|
|
Top = 280
|
|
end
|
|
object ADOQuerySub: TADOQuery
|
|
Connection = DataLink_schedule.ADOLink
|
|
Parameters = <>
|
|
Left = 320
|
|
Top = 513
|
|
end
|
|
object DataSource2: TDataSource
|
|
DataSet = CDS_Sub
|
|
Left = 408
|
|
Top = 505
|
|
end
|
|
object cxGridPopupMenu2: TcxGridPopupMenu
|
|
Grid = cxGrid2
|
|
PopupMenus = <>
|
|
Left = 232
|
|
Top = 383
|
|
end
|
|
object CDS_Sub: TClientDataSet
|
|
Aggregates = <>
|
|
Params = <>
|
|
Left = 211
|
|
Top = 504
|
|
end
|
|
end
|