972 lines
24 KiB
Plaintext
972 lines
24 KiB
Plaintext
object frmBpRklist: TfrmBpRklist
|
|
Left = 436
|
|
Top = 322
|
|
Width = 1160
|
|
Height = 500
|
|
Caption = #20837#24211#21015#34920
|
|
Color = clBtnFace
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = []
|
|
OldCreateOrder = False
|
|
OnClose = FormClose
|
|
OnCreate = FormCreate
|
|
OnDestroy = FormDestroy
|
|
OnShow = FormShow
|
|
PixelsPerInch = 96
|
|
TextHeight = 12
|
|
object ToolBar1: TToolBar
|
|
Left = 0
|
|
Top = 0
|
|
Width = 1144
|
|
Height = 62
|
|
AutoSize = True
|
|
ButtonHeight = 30
|
|
ButtonWidth = 95
|
|
Caption = 'ToolBar1'
|
|
Color = clSkyBlue
|
|
Flat = True
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = []
|
|
Images = BPCK_DataLink.ThreeImgList
|
|
List = True
|
|
ParentColor = False
|
|
ParentFont = False
|
|
ShowCaptions = True
|
|
TabOrder = 0
|
|
object TBRafresh: TToolButton
|
|
Left = 0
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #26597#35810
|
|
ImageIndex = 2
|
|
OnClick = TBRafreshClick
|
|
end
|
|
object TBFind: TToolButton
|
|
Left = 63
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #36807#28388
|
|
ImageIndex = 59
|
|
Visible = False
|
|
end
|
|
object TBAdd: TToolButton
|
|
Left = 126
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #26032#22686
|
|
ImageIndex = 3
|
|
OnClick = TBAddClick
|
|
end
|
|
object TBEdit: TToolButton
|
|
Left = 189
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20462#25913
|
|
ImageIndex = 54
|
|
OnClick = TBEditClick
|
|
end
|
|
object TBDel: TToolButton
|
|
Left = 252
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20316#24223
|
|
ImageIndex = 17
|
|
OnClick = TBDelClick
|
|
end
|
|
object tbcdel: TToolButton
|
|
Left = 315
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #21024#38500
|
|
ImageIndex = 107
|
|
OnClick = tbcdelClick
|
|
end
|
|
object TBExport: TToolButton
|
|
Left = 378
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #23548#20986
|
|
ImageIndex = 75
|
|
Wrap = True
|
|
OnClick = TBExportClick
|
|
end
|
|
object TBPrint: TToolButton
|
|
Left = 0
|
|
Top = 30
|
|
AutoSize = True
|
|
Caption = #25171#21360
|
|
ImageIndex = 12
|
|
Visible = False
|
|
OnClick = TBPrintClick
|
|
end
|
|
object ToolButton1: TToolButton
|
|
Left = 63
|
|
Top = 30
|
|
AutoSize = True
|
|
Caption = #25171#21360#36864#36135#21333
|
|
ImageIndex = 12
|
|
Visible = False
|
|
OnClick = ToolButton1Click
|
|
end
|
|
object ToolButton2: TToolButton
|
|
Left = 162
|
|
Top = 30
|
|
AutoSize = True
|
|
Caption = #32454#30721#24405#20837
|
|
ImageIndex = 10
|
|
OnClick = ToolButton2Click
|
|
end
|
|
object ToolButton3: TToolButton
|
|
Left = 249
|
|
Top = 30
|
|
AutoSize = True
|
|
Caption = #25171#21360#26631#31614
|
|
ImageIndex = 12
|
|
OnClick = ToolButton3Click
|
|
end
|
|
object TBClose: TToolButton
|
|
Left = 336
|
|
Top = 30
|
|
AutoSize = True
|
|
Caption = #20851#38381
|
|
ImageIndex = 55
|
|
OnClick = TBCloseClick
|
|
end
|
|
object ToolButton4: TToolButton
|
|
Left = 399
|
|
Top = 30
|
|
Caption = #25171#21360#20837#24211#21333
|
|
ImageIndex = 12
|
|
OnClick = ToolButton4Click
|
|
end
|
|
end
|
|
object Panel1: TPanel
|
|
Left = 0
|
|
Top = 62
|
|
Width = 1144
|
|
Height = 65
|
|
Align = alTop
|
|
BevelInner = bvRaised
|
|
BevelOuter = bvLowered
|
|
Color = clSkyBlue
|
|
TabOrder = 1
|
|
object Label1: TLabel
|
|
Left = 23
|
|
Top = 15
|
|
Width = 52
|
|
Height = 12
|
|
Caption = #20837#24211#26085#26399
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label2: TLabel
|
|
Left = 62
|
|
Top = 36
|
|
Width = 13
|
|
Height = 12
|
|
Caption = #33267
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label3: TLabel
|
|
Left = 504
|
|
Top = 16
|
|
Width = 52
|
|
Height = 12
|
|
Caption = #20135#21697#21517#31216
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label4: TLabel
|
|
Left = 504
|
|
Top = 40
|
|
Width = 54
|
|
Height = 12
|
|
Caption = #39068' '#33394
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label5: TLabel
|
|
Left = 260
|
|
Top = 16
|
|
Width = 52
|
|
Height = 12
|
|
Caption = #20837#24211#31867#22411
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label6: TLabel
|
|
Left = 288
|
|
Top = 100
|
|
Width = 24
|
|
Height = 12
|
|
Caption = #20179#24211
|
|
end
|
|
object Label7: TLabel
|
|
Left = 748
|
|
Top = 16
|
|
Width = 39
|
|
Height = 12
|
|
Caption = #20379#24212#21830
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label8: TLabel
|
|
Left = 884
|
|
Top = 84
|
|
Width = 26
|
|
Height = 12
|
|
Caption = #21253#21495
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label9: TLabel
|
|
Left = 448
|
|
Top = 100
|
|
Width = 52
|
|
Height = 12
|
|
Caption = #36135#36816#31867#22411
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label10: TLabel
|
|
Left = 536
|
|
Top = 96
|
|
Width = 65
|
|
Height = 12
|
|
Caption = #20837#24211#21333#25968#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clRed
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label11: TLabel
|
|
Left = 748
|
|
Top = 40
|
|
Width = 39
|
|
Height = 12
|
|
Caption = #21152#24037#21378
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label12: TLabel
|
|
Left = 260
|
|
Top = 40
|
|
Width = 53
|
|
Height = 12
|
|
Caption = #35746' '#21333' '#21495
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object BegDate: TDateTimePicker
|
|
Left = 76
|
|
Top = 11
|
|
Width = 86
|
|
Height = 20
|
|
Date = 40675.464742650460000000
|
|
Format = 'yyyy-MM-dd'
|
|
Time = 40675.464742650460000000
|
|
TabOrder = 0
|
|
end
|
|
object EndDate: TDateTimePicker
|
|
Left = 76
|
|
Top = 35
|
|
Width = 86
|
|
Height = 20
|
|
Date = 40675.464761099540000000
|
|
Format = 'yyyy-MM-dd'
|
|
Time = 40675.464761099540000000
|
|
TabOrder = 1
|
|
end
|
|
object P_CodeName: TEdit
|
|
Tag = 2
|
|
Left = 560
|
|
Top = 12
|
|
Width = 100
|
|
Height = 20
|
|
TabOrder = 2
|
|
OnChange = P_CodeNameChange
|
|
end
|
|
object P_Color: TEdit
|
|
Tag = 2
|
|
Left = 560
|
|
Top = 36
|
|
Width = 100
|
|
Height = 20
|
|
TabOrder = 3
|
|
OnChange = P_CodeNameChange
|
|
end
|
|
object CRType: TComboBox
|
|
Tag = 2
|
|
Left = 316
|
|
Top = 12
|
|
Width = 100
|
|
Height = 20
|
|
Style = csDropDownList
|
|
ItemHeight = 12
|
|
ItemIndex = 0
|
|
TabOrder = 4
|
|
OnChange = P_CodeNameChange
|
|
Items.Strings = (
|
|
''
|
|
#29983#20135#20837#24211)
|
|
end
|
|
object ckName: TComboBox
|
|
Left = 320
|
|
Top = 96
|
|
Width = 100
|
|
Height = 20
|
|
Style = csDropDownList
|
|
ItemHeight = 12
|
|
ItemIndex = 0
|
|
TabOrder = 5
|
|
Text = #26679#21697#20179#24211
|
|
Items.Strings = (
|
|
#26679#21697#20179#24211)
|
|
end
|
|
object cust: TEdit
|
|
Tag = 2
|
|
Left = 792
|
|
Top = 12
|
|
Width = 100
|
|
Height = 20
|
|
TabOrder = 6
|
|
OnChange = P_CodeNameChange
|
|
end
|
|
object packNo: TEdit
|
|
Tag = 1
|
|
Left = 912
|
|
Top = 80
|
|
Width = 100
|
|
Height = 20
|
|
TabOrder = 7
|
|
OnChange = P_CodeNameChange
|
|
end
|
|
object defstr2: TComboBox
|
|
Tag = 2
|
|
Left = 616
|
|
Top = 96
|
|
Width = 100
|
|
Height = 20
|
|
Style = csDropDownList
|
|
ItemHeight = 12
|
|
ItemIndex = 0
|
|
TabOrder = 8
|
|
OnChange = P_CodeNameChange
|
|
Items.Strings = (
|
|
''
|
|
#24555#20214
|
|
#24930#20214)
|
|
end
|
|
object factoryName: TEdit
|
|
Tag = 2
|
|
Left = 792
|
|
Top = 36
|
|
Width = 100
|
|
Height = 20
|
|
TabOrder = 9
|
|
OnChange = P_CodeNameChange
|
|
end
|
|
object orderNo: TEdit
|
|
Tag = 2
|
|
Left = 316
|
|
Top = 36
|
|
Width = 100
|
|
Height = 20
|
|
TabOrder = 10
|
|
OnChange = P_CodeNameChange
|
|
end
|
|
end
|
|
object cxGrid1: TcxGrid
|
|
Left = 0
|
|
Top = 147
|
|
Width = 560
|
|
Height = 314
|
|
Align = alClient
|
|
TabOrder = 2
|
|
object Tv1: TcxGridDBTableView
|
|
Navigator.Buttons.CustomButtons = <>
|
|
OnFocusedRecordChanged = Tv1FocusedRecordChanged
|
|
DataController.DataSource = DataSource1
|
|
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
|
|
DataController.Summary.DefaultGroupSummaryItems = <
|
|
item
|
|
Format = 'C_Code'
|
|
Column = v1P_CodeName
|
|
end>
|
|
DataController.Summary.FooterSummaryItems = <
|
|
item
|
|
Kind = skSum
|
|
Column = v1RollNum
|
|
end
|
|
item
|
|
Kind = skSum
|
|
Column = v1Qty
|
|
end>
|
|
DataController.Summary.SummaryGroups = <>
|
|
OptionsBehavior.FocusCellOnTab = True
|
|
OptionsBehavior.GoToNextCellOnEnter = True
|
|
OptionsBehavior.FocusCellOnCycle = True
|
|
OptionsCustomize.ColumnFiltering = False
|
|
OptionsView.Footer = True
|
|
OptionsView.GroupByBox = False
|
|
OptionsView.Indicator = True
|
|
Styles.Header = BPCK_DataLink.Default
|
|
object v1Column2: TcxGridDBColumn
|
|
Caption = #20837#24211#21333#21495
|
|
DataBinding.FieldName = 'CRNO'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 80
|
|
end
|
|
object v1CRTime: TcxGridDBColumn
|
|
Caption = #20837#24211#26085#26399
|
|
DataBinding.FieldName = 'CRTime'
|
|
Options.Editing = False
|
|
Width = 60
|
|
end
|
|
object v1CRType: TcxGridDBColumn
|
|
Caption = #20837#24211#31867#22411
|
|
DataBinding.FieldName = 'CRType'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
end
|
|
object v1Column4: TcxGridDBColumn
|
|
Caption = #35746#21333#21495
|
|
DataBinding.FieldName = 'orderNo'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 80
|
|
end
|
|
object v1cust: TcxGridDBColumn
|
|
Caption = #20379#24212#21830
|
|
DataBinding.FieldName = 'cust'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 77
|
|
end
|
|
object v1Column3: TcxGridDBColumn
|
|
Caption = #21152#24037#21378
|
|
DataBinding.FieldName = 'factoryName'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 99
|
|
end
|
|
object v1P_CodeName: TcxGridDBColumn
|
|
Caption = #20135#21697#21517#31216
|
|
DataBinding.FieldName = 'P_CodeName'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 90
|
|
end
|
|
object v1P_SPEC: TcxGridDBColumn
|
|
Caption = #35268#26684#22411#21495
|
|
DataBinding.FieldName = 'P_SPEC'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Options.Sorting = False
|
|
Width = 90
|
|
end
|
|
object v1P_Color: TcxGridDBColumn
|
|
Caption = #39068#33394
|
|
DataBinding.FieldName = 'P_Color'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 60
|
|
end
|
|
object v1P_MF: TcxGridDBColumn
|
|
Caption = #38376#24133'(cm)'
|
|
DataBinding.FieldName = 'P_MF'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 90
|
|
end
|
|
object v1P_KZ: TcxGridDBColumn
|
|
Caption = #20811#37325'(g/'#13217')'
|
|
DataBinding.FieldName = 'P_KZ'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 90
|
|
end
|
|
object v1CPType: TcxGridDBColumn
|
|
Caption = #31561#32423
|
|
DataBinding.FieldName = 'CPType'
|
|
Visible = False
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
VisibleForCustomization = False
|
|
Width = 60
|
|
end
|
|
object v1packNO: TcxGridDBColumn
|
|
Caption = #21253#21495
|
|
DataBinding.FieldName = 'packNO'
|
|
Visible = False
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
VisibleForCustomization = False
|
|
Width = 60
|
|
end
|
|
object v1RollNum: TcxGridDBColumn
|
|
Caption = #21305#25968
|
|
DataBinding.FieldName = 'RollNum'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Styles.Content = BPCK_DataLink.FontBlue
|
|
Styles.Footer = BPCK_DataLink.FontBlue
|
|
Styles.Header = BPCK_DataLink.FontBlue
|
|
Width = 50
|
|
end
|
|
object v1Qty: TcxGridDBColumn
|
|
Caption = #25968#37327
|
|
DataBinding.FieldName = 'Qty'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Styles.Content = BPCK_DataLink.FontBlue
|
|
Styles.Footer = BPCK_DataLink.FontBlue
|
|
Styles.Header = BPCK_DataLink.FontBlue
|
|
Width = 50
|
|
end
|
|
object v1QtyUnit: TcxGridDBColumn
|
|
Caption = #21333#20301
|
|
DataBinding.FieldName = 'QtyUnit'
|
|
PropertiesClassName = 'TcxComboBoxProperties'
|
|
Properties.DropDownListStyle = lsFixedList
|
|
Properties.Items.Strings = (
|
|
'M'
|
|
'Kg')
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 50
|
|
end
|
|
object v1Note: TcxGridDBColumn
|
|
Caption = #22791#27880
|
|
DataBinding.FieldName = 'Note'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 90
|
|
end
|
|
object v1Filler: TcxGridDBColumn
|
|
Caption = #25805#20316#21592
|
|
DataBinding.FieldName = 'Filler'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 60
|
|
end
|
|
object v1FillTime: TcxGridDBColumn
|
|
Caption = #25805#20316#26102#38388
|
|
DataBinding.FieldName = 'FillTime'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 75
|
|
end
|
|
object v1Column1: TcxGridDBColumn
|
|
Caption = #23458#25143#22320#22336
|
|
DataBinding.FieldName = 'custaddress'
|
|
Visible = False
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
VisibleForCustomization = False
|
|
Width = 80
|
|
end
|
|
object v1defstr2: TcxGridDBColumn
|
|
Caption = #36135#36816#31867#22411
|
|
DataBinding.FieldName = 'defstr2'
|
|
Visible = False
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
VisibleForCustomization = False
|
|
Width = 60
|
|
end
|
|
object v1gangNo: TcxGridDBColumn
|
|
Caption = #32568#21495
|
|
DataBinding.FieldName = 'gangNo'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 60
|
|
end
|
|
object v1defNote1: TcxGridDBColumn
|
|
Caption = #29289#27969#22791#27880
|
|
DataBinding.FieldName = 'defNote1'
|
|
Visible = False
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
VisibleForCustomization = False
|
|
Width = 80
|
|
end
|
|
object Tv1Column1: TcxGridDBColumn
|
|
Caption = #24211#20301
|
|
DataBinding.FieldName = 'KuWei'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 60
|
|
end
|
|
object Tv1Column2: TcxGridDBColumn
|
|
Caption = #36873#25321
|
|
DataBinding.FieldName = 'SSEL'
|
|
PropertiesClassName = 'TcxCheckBoxProperties'
|
|
Properties.NullStyle = nssUnchecked
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 66
|
|
end
|
|
object Tv1Column3: TcxGridDBColumn
|
|
Caption = #21333#20215
|
|
DataBinding.FieldName = 'Price'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 66
|
|
end
|
|
object Tv1Column4: TcxGridDBColumn
|
|
Caption = #37329#39069
|
|
DataBinding.FieldName = 'money'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 66
|
|
end
|
|
end
|
|
object cxGrid1Level1: TcxGridLevel
|
|
GridView = Tv1
|
|
end
|
|
end
|
|
object cxTabControl1: TcxTabControl
|
|
Left = 0
|
|
Top = 127
|
|
Width = 1144
|
|
Height = 20
|
|
Align = alTop
|
|
TabOrder = 3
|
|
Properties.CustomButtons.Buttons = <>
|
|
Properties.Style = 9
|
|
Properties.TabIndex = 0
|
|
Properties.Tabs.Strings = (
|
|
#26410#20316#24223
|
|
#24050#20316#24223
|
|
#20840#37096)
|
|
OnChange = cxTabControl1Change
|
|
ClientRectRight = 0
|
|
ClientRectTop = 0
|
|
end
|
|
object cxGrid2: TcxGrid
|
|
Left = 560
|
|
Top = 147
|
|
Width = 584
|
|
Height = 314
|
|
Align = alRight
|
|
PopupMenu = PopupMenu1
|
|
TabOrder = 4
|
|
object TvMX: TcxGridDBTableView
|
|
Navigator.Buttons.CustomButtons = <>
|
|
Navigator.Buttons.Delete.Enabled = False
|
|
Navigator.Buttons.Delete.Visible = False
|
|
DataController.DataSource = DataSource2
|
|
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
|
|
DataController.Summary.DefaultGroupSummaryItems = <
|
|
item
|
|
Kind = skCount
|
|
Position = spFooter
|
|
end
|
|
item
|
|
Kind = skSum
|
|
Position = spFooter
|
|
Column = cxGridDBColumn8
|
|
end
|
|
item
|
|
Kind = skCount
|
|
end
|
|
item
|
|
Kind = skSum
|
|
Column = cxGridDBColumn8
|
|
end>
|
|
DataController.Summary.FooterSummaryItems = <
|
|
item
|
|
Kind = skCount
|
|
end
|
|
item
|
|
Kind = skSum
|
|
Column = cxGridDBColumn8
|
|
end
|
|
item
|
|
Kind = skCount
|
|
Column = vMXColumn3
|
|
end
|
|
item
|
|
Kind = skSum
|
|
Column = vMXColumn2
|
|
end>
|
|
DataController.Summary.SummaryGroups = <>
|
|
OptionsCustomize.ColumnFiltering = False
|
|
OptionsView.Footer = True
|
|
OptionsView.GroupByBox = False
|
|
OptionsView.Indicator = True
|
|
OptionsView.IndicatorWidth = 33
|
|
object TvMXColumn1: TcxGridDBColumn
|
|
Tag = 9
|
|
Caption = #36873#25321
|
|
DataBinding.FieldName = 'SSEL'
|
|
PropertiesClassName = 'TcxCheckBoxProperties'
|
|
Properties.ImmediatePost = True
|
|
Properties.NullStyle = nssUnchecked
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 52
|
|
end
|
|
object vMXColumn3: TcxGridDBColumn
|
|
Caption = #21367#21495
|
|
DataBinding.FieldName = 'MXMJXH'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Options.Focusing = False
|
|
Options.Sorting = False
|
|
Width = 51
|
|
end
|
|
object cxGridDBColumn8: TcxGridDBColumn
|
|
Caption = #37325#37327
|
|
DataBinding.FieldName = 'MXQty'
|
|
PropertiesClassName = 'TcxTextEditProperties'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Options.Focusing = False
|
|
Options.Sorting = False
|
|
Width = 79
|
|
end
|
|
object vMXColumn2: TcxGridDBColumn
|
|
Caption = #38271#24230
|
|
DataBinding.FieldName = 'MXQTY2'
|
|
PropertiesClassName = 'TcxTextEditProperties'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Options.Focusing = False
|
|
Options.Sorting = False
|
|
Width = 80
|
|
end
|
|
object vMXColumn4: TcxGridDBColumn
|
|
Caption = #38271#24230#21333#20301
|
|
DataBinding.FieldName = 'QtyUnit'
|
|
PropertiesClassName = 'TcxComboBoxProperties'
|
|
Properties.Items.Strings = (
|
|
'M'
|
|
'Y')
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Options.Focusing = False
|
|
Options.Sorting = False
|
|
Width = 65
|
|
end
|
|
end
|
|
object cxGridLevel2: TcxGridLevel
|
|
GridView = TvMX
|
|
end
|
|
end
|
|
object ADOQueryCmd: TADOQuery
|
|
Connection = BPCK_DataLink.ADOLink
|
|
Parameters = <>
|
|
Left = 680
|
|
Top = 40
|
|
end
|
|
object ADOQueryTmp: TADOQuery
|
|
Connection = BPCK_DataLink.ADOLink
|
|
Parameters = <>
|
|
Left = 608
|
|
Top = 40
|
|
end
|
|
object DataSource1: TDataSource
|
|
DataSet = CDS_Main
|
|
Left = 628
|
|
Top = 33
|
|
end
|
|
object CDS_Main: TClientDataSet
|
|
Aggregates = <>
|
|
Params = <>
|
|
Left = 664
|
|
Top = 41
|
|
end
|
|
object cxGridPopupMenu1: TcxGridPopupMenu
|
|
Grid = cxGrid1
|
|
PopupMenus = <>
|
|
Left = 500
|
|
Top = 92
|
|
end
|
|
object RMGridReport1: TRMGridReport
|
|
ThreadPrepareReport = True
|
|
InitialZoom = pzDefault
|
|
PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbPageSetup, pbExit, pbSaveToXLS, pbExport, pbNavigator]
|
|
DefaultCollate = False
|
|
SaveReportOptions.RegistryPath = 'Software\ReportMachine\ReportSettings\'
|
|
PreviewOptions.RulerUnit = rmutScreenPixels
|
|
PreviewOptions.RulerVisible = False
|
|
PreviewOptions.DrawBorder = False
|
|
PreviewOptions.BorderPen.Color = clGray
|
|
PreviewOptions.BorderPen.Style = psDash
|
|
CompressLevel = rmzcFastest
|
|
CompressThread = False
|
|
LaterBuildEvents = True
|
|
OnlyOwnerDataSet = False
|
|
Left = 788
|
|
Top = 36
|
|
ReportData = {}
|
|
end
|
|
object RMXLSExport2: TRMXLSExport
|
|
ShowAfterExport = True
|
|
ExportPrecision = 1
|
|
PagesOfSheet = 1
|
|
ExportImages = True
|
|
ExportFrames = True
|
|
ExportImageFormat = ifBMP
|
|
JPEGQuality = 0
|
|
ScaleX = 1.000000000000000000
|
|
ScaleY = 1.000000000000000000
|
|
CompressFile = False
|
|
Left = 864
|
|
Top = 37
|
|
end
|
|
object ADOPrint: TADOQuery
|
|
Connection = BPCK_DataLink.ADOLink
|
|
Parameters = <>
|
|
Left = 716
|
|
Top = 40
|
|
end
|
|
object RMDB_MD: TRMDBDataSet
|
|
Visible = True
|
|
DataSet = ADOPrint
|
|
Left = 752
|
|
Top = 40
|
|
end
|
|
object ADOPrint1: TADOQuery
|
|
Connection = BPCK_DataLink.ADOLink
|
|
Parameters = <>
|
|
Left = 824
|
|
Top = 36
|
|
end
|
|
object RMDB_Sub: TRMDBDataSet
|
|
Visible = True
|
|
DataSet = ADOPrint1
|
|
Left = 632
|
|
Top = 160
|
|
end
|
|
object ADOQuerySub: TADOQuery
|
|
Connection = BPCK_DataLink.ADOLink
|
|
Parameters = <>
|
|
Left = 608
|
|
Top = 244
|
|
end
|
|
object DataSource2: TDataSource
|
|
DataSet = CDS_Sub
|
|
Left = 644
|
|
Top = 245
|
|
end
|
|
object CDS_Sub: TClientDataSet
|
|
Aggregates = <>
|
|
Params = <>
|
|
Left = 680
|
|
Top = 245
|
|
end
|
|
object ADOQueryPrint: TADOQuery
|
|
Connection = BPCK_DataLink.ADOLink
|
|
Parameters = <>
|
|
Left = 401
|
|
Top = 279
|
|
end
|
|
object RMDB_Main: TRMDBDataSet
|
|
Visible = True
|
|
DataSet = ADOQueryPrint
|
|
Left = 439
|
|
Top = 278
|
|
end
|
|
object RMXLSExport1: TRMXLSExport
|
|
ShowAfterExport = True
|
|
ExportPrecision = 1
|
|
PagesOfSheet = 1
|
|
ExportImages = True
|
|
ExportFrames = True
|
|
ExportImageFormat = ifBMP
|
|
JPEGQuality = 0
|
|
ScaleX = 1.000000000000000000
|
|
ScaleY = 1.000000000000000000
|
|
CompressFile = False
|
|
Left = 508
|
|
Top = 277
|
|
end
|
|
object PopupMenu1: TPopupMenu
|
|
Left = 726
|
|
Top = 193
|
|
object N1: TMenuItem
|
|
Caption = #20840#36873
|
|
OnClick = N1Click
|
|
end
|
|
object N2: TMenuItem
|
|
Caption = #20840#24323
|
|
OnClick = N2Click
|
|
end
|
|
end
|
|
object RM1: TRMGridReport
|
|
ThreadPrepareReport = True
|
|
InitialZoom = pzDefault
|
|
PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbPageSetup, pbExit, pbSaveToXLS, pbExport, pbNavigator]
|
|
DefaultCollate = False
|
|
ShowPrintDialog = False
|
|
SaveReportOptions.RegistryPath = 'Software\ReportMachine\ReportSettings\'
|
|
PreviewOptions.RulerUnit = rmutScreenPixels
|
|
PreviewOptions.RulerVisible = False
|
|
PreviewOptions.DrawBorder = False
|
|
PreviewOptions.BorderPen.Color = clGray
|
|
PreviewOptions.BorderPen.Style = psDash
|
|
CompressLevel = rmzcFastest
|
|
CompressThread = False
|
|
LaterBuildEvents = True
|
|
OnlyOwnerDataSet = False
|
|
Left = 476
|
|
Top = 280
|
|
ReportData = {}
|
|
end
|
|
end
|