D7gmYushang/样品仓库old/U_Bpkcsumlist.dfm

876 lines
22 KiB
Plaintext
Raw Normal View History

2025-09-24 13:13:14 +08:00
object frmBpkcsumlist: TfrmBpkcsumlist
Left = 130
Top = 29
Width = 1382
Height = 754
Caption = #26679#21697#24211#23384#20449#24687#34920
Color = clBtnFace
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
WindowState = wsMaximized
OnClose = FormClose
OnCreate = FormCreate
OnDestroy = FormDestroy
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 12
object ToolBar1: TToolBar
Left = 0
Top = 0
Width = 1366
AutoSize = True
ButtonHeight = 30
ButtonWidth = 107
Caption = 'ToolBar1'
Color = clSkyBlue
Flat = True
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = []
Images = YPCK_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 TOk: TToolButton
Left = 63
Top = 0
AutoSize = True
Caption = #30830#23450
ImageIndex = 41
Visible = False
OnClick = TOkClick
end
object ToolButton1: TToolButton
Left = 126
Top = 0
AutoSize = True
Caption = #35774#32622#39044#35686#25968#37327
ImageIndex = 52
OnClick = ToolButton1Click
end
object TBExport: TToolButton
Left = 237
Top = 0
AutoSize = True
Caption = #23548#20986
ImageIndex = 75
OnClick = TBExportClick
end
object TBPrint: TToolButton
Left = 300
Top = 0
AutoSize = True
Caption = #25171#21360
ImageIndex = 12
Visible = False
OnClick = TBPrintClick
end
object ToolButton2: TToolButton
Left = 363
Top = 0
AutoSize = True
Caption = #24211#23384#35843#25972
ImageIndex = 56
OnClick = ToolButton2Click
end
object TBClose: TToolButton
Left = 450
Top = 0
AutoSize = True
Caption = #20851#38381
ImageIndex = 55
OnClick = TBCloseClick
end
end
object Panel1: TPanel
Left = 0
Top = 32
Width = 1366
Height = 57
Align = alTop
BevelInner = bvRaised
BevelOuter = bvLowered
Color = clSkyBlue
TabOrder = 1
object Label1: TLabel
Left = 23
Top = 83
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 = 64
Top = 108
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 = 36
Top = 20
Width = 52
Height = 12
Caption = #26679#21697#32534#21495
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = [fsBold]
ParentFont = False
end
object Label5: TLabel
Left = 172
Top = 108
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 = 72
Width = 24
Height = 12
Caption = #20179#24211
end
object Label8: TLabel
Left = 620
Top = 64
Width = 26
Height = 12
Caption = #24211#20301
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = [fsBold]
ParentFont = False
end
object Label9: TLabel
Left = 819
Top = 20
Width = 52
Height = 12
Caption = #39044#35686#25968#37327
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = [fsBold]
ParentFont = False
end
object Label10: TLabel
Left = 871
Top = 40
Width = 144
Height = 12
Caption = #25913#21464#39044#35686#25968#37327#21518#35831#28857#20987#26597#35810
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -12
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Label11: TLabel
Left = 177
Top = 20
Width = 26
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 Label4: TLabel
Left = 303
Top = 20
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 ywy1: TLabel
Left = 445
Top = 21
Width = 39
Height = 12
Caption = #19994#21153#21592
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = [fsBold]
ParentFont = False
end
object Label12: TLabel
Left = 577
Top = 21
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 BegDate: TDateTimePicker
Left = 76
Top = 79
Width = 100
Height = 20
Date = 40675.464742650460000000
Format = 'yyyy-MM-dd'
Time = 40675.464742650460000000
ShowCheckbox = True
TabOrder = 0
end
object EndDate: TDateTimePicker
Left = 76
Top = 103
Width = 100
Height = 20
Date = 40675.464761099540000000
Format = 'yyyy-MM-dd'
Time = 40675.464761099540000000
ShowCheckbox = True
TabOrder = 1
end
object P_Code: TEdit
Tag = 2
Left = 92
Top = 16
Width = 80
Height = 20
TabOrder = 2
OnChange = P_CodeChange
end
object CRType: TComboBox
Tag = 2
Left = 228
Top = 104
Width = 100
Height = 20
Style = csDropDownList
ItemHeight = 12
ItemIndex = 0
TabOrder = 3
OnChange = P_CodeChange
Items.Strings = (
''
#29983#20135#20837#24211)
end
object CheckBox1: TCheckBox
Left = 723
Top = 16
Width = 97
Height = 17
Caption = #21547#24211#23384#20026#38646
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -12
Font.Name = #23435#20307
Font.Style = [fsBold]
ParentFont = False
TabOrder = 4
OnClick = CheckBox1Click
end
object ckName: TComboBox
Left = 320
Top = 68
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 kuwei: TEdit
Tag = 2
Left = 648
Top = 60
Width = 100
Height = 20
TabOrder = 6
OnChange = P_CodeChange
end
object Edit1: TEdit
Left = 871
Top = 16
Width = 53
Height = 20
TabOrder = 7
Text = '5'
end
object CheckBox2: TCheckBox
Left = 975
Top = 16
Width = 129
Height = 17
Caption = #21482#26174#31034#39044#35686#35760#24405
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -12
Font.Name = #23435#20307
Font.Style = [fsBold]
ParentFont = False
TabOrder = 8
OnClick = CheckBox2Click
end
object P_Color: TEdit
Tag = 2
Left = 204
Top = 15
Width = 80
Height = 20
TabOrder = 9
OnChange = P_CodeChange
end
object RKTYPE: TComboBox
Tag = 1
Left = 361
Top = 17
Width = 77
Height = 20
ItemHeight = 12
TabOrder = 10
OnChange = P_CodeChange
end
object ywy: TEdit
Tag = 2
Left = 490
Top = 16
Width = 80
Height = 20
TabOrder = 11
OnChange = P_CodeChange
end
object factoryName: TEdit
Tag = 2
Left = 622
Top = 16
Width = 80
Height = 20
TabOrder = 12
OnChange = P_CodeChange
end
end
object cxGrid1: TcxGrid
Left = 0
Top = 89
Width = 1366
Height = 319
Align = alClient
TabOrder = 2
object Tv1: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
OnCustomDrawCell = Tv1CustomDrawCell
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
item
Kind = skSum
end
item
Kind = skSum
Column = v1Column3
end
item
Kind = skSum
Column = v1Column4
end
item
Kind = skSum
Column = v1Column5
end
item
Kind = skSum
Column = v1Column6
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.Content = YPCK_DataLink.Default
Styles.Header = YPCK_DataLink.Default
object v1Ssel: TcxGridDBColumn
Caption = #36873#25321
DataBinding.FieldName = 'Ssel'
PropertiesClassName = 'TcxCheckBoxProperties'
Properties.ImmediatePost = True
Properties.NullStyle = nssUnchecked
Visible = False
HeaderAlignmentHorz = taCenter
end
object v1kuwei: TcxGridDBColumn
Caption = #24211#20301
DataBinding.FieldName = 'kuwei'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 111
end
object v1factoryName: TcxGridDBColumn
Caption = #20379#24212#21830
DataBinding.FieldName = 'factoryName'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 130
end
object v1P_Code: TcxGridDBColumn
Caption = #26679#21697#32534#21495
DataBinding.FieldName = 'P_Code'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 70
end
object v1P_CodeName: TcxGridDBColumn
Caption = #20013#25991#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 Tv1Column1: TcxGridDBColumn
Caption = #20837#24211#31867#22411
DataBinding.FieldName = 'RKTYPE'
HeaderAlignmentHorz = taCenter
Width = 73
end
object v1P_SPEC: TcxGridDBColumn
Caption = #35268#26684
DataBinding.FieldName = 'P_SPEC'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Options.Sorting = False
Width = 90
end
object v1Column1: TcxGridDBColumn
Caption = #39068#33394
DataBinding.FieldName = 'P_Color'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1RollNum: TcxGridDBColumn
Caption = #20837#24211#21305#25968
DataBinding.FieldName = 'RKRollNum'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = YPCK_DataLink.FontBlue
Styles.Footer = YPCK_DataLink.FontBlue
Styles.Header = YPCK_DataLink.FontBlue
Width = 60
end
object v1Qty: TcxGridDBColumn
Caption = #20837#24211#25968#37327
DataBinding.FieldName = 'RKQty'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = YPCK_DataLink.FontBlue
Styles.Footer = YPCK_DataLink.FontBlue
Styles.Header = YPCK_DataLink.FontBlue
Width = 60
end
object v1Column3: TcxGridDBColumn
Caption = #20986#24211#21305#25968
DataBinding.FieldName = 'ckRollnum'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = YPCK_DataLink.cxStyle_fontclGreen
Styles.Footer = YPCK_DataLink.cxStyle_fontclGreen
Styles.Header = YPCK_DataLink.cxStyle_fontclGreen
Width = 60
end
object v1Column4: TcxGridDBColumn
Caption = #20986#24211#25968#37327
DataBinding.FieldName = 'ckQty'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = YPCK_DataLink.cxStyle_fontclGreen
Styles.Footer = YPCK_DataLink.cxStyle_fontclGreen
Styles.Header = YPCK_DataLink.cxStyle_fontclGreen
Width = 60
end
object v1Column5: TcxGridDBColumn
Caption = #24211#23384#21305#25968
DataBinding.FieldName = 'kcRollNum'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = YPCK_DataLink.cxStyle_fontclFuchsia
Styles.Footer = YPCK_DataLink.cxStyle_fontclFuchsia
Styles.Header = YPCK_DataLink.cxStyle_fontclFuchsia
Width = 60
end
object v1Column6: TcxGridDBColumn
Caption = #24211#23384#25968#37327
DataBinding.FieldName = 'kcQty'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = YPCK_DataLink.cxStyle_fontclFuchsia
Styles.Footer = YPCK_DataLink.cxStyle_fontclFuchsia
Styles.Header = YPCK_DataLink.cxStyle_fontclFuchsia
Width = 60
end
object v1QtyUnit: TcxGridDBColumn
Caption = #25968#37327#21333#20301
DataBinding.FieldName = 'QtyUnit'
PropertiesClassName = 'TcxComboBoxProperties'
Properties.DropDownListStyle = lsFixedList
Properties.Items.Strings = (
'M'
'Kg')
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 62
end
end
object cxGrid1Level1: TcxGridLevel
GridView = Tv1
end
end
object cxSplitter1: TcxSplitter
Left = 0
Top = 408
Width = 1366
Height = 8
HotZoneClassName = 'TcxMediaPlayer9Style'
AlignSplitter = salBottom
Visible = False
end
object cxGrid2: TcxGrid
Left = 0
Top = 416
Width = 1366
Height = 299
Align = alBottom
TabOrder = 4
object TV2: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
DataController.DataSource = DataSource2
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
DataController.Summary.DefaultGroupSummaryItems = <
item
Format = 'C_Code'
end>
DataController.Summary.FooterSummaryItems = <
item
Kind = skSum
Column = cxGridDBColumn6
end
item
Kind = skSum
Column = cxGridDBColumn7
end
item
Kind = skSum
Column = cxGridDBColumn10
end>
DataController.Summary.SummaryGroups = <>
OptionsBehavior.FocusCellOnTab = True
OptionsBehavior.GoToNextCellOnEnter = True
OptionsBehavior.FocusCellOnCycle = True
OptionsCustomize.ColumnFiltering = False
OptionsData.Editing = False
OptionsView.Footer = True
OptionsView.GroupByBox = False
OptionsView.Indicator = True
Styles.Content = YPCK_DataLink.Default
Styles.Header = YPCK_DataLink.Default
object TV2Column2: TcxGridDBColumn
Caption = #31867#21035
DataBinding.FieldName = 'CRFLAG'
HeaderAlignmentHorz = taCenter
Width = 62
end
object TV2Column1: TcxGridDBColumn
Caption = #20986#20837#24211#31867#22411
DataBinding.FieldName = 'CRTYPE'
HeaderAlignmentHorz = taCenter
Width = 97
end
object v1INoutNo: TcxGridDBColumn
Caption = #20986#20837#24211#21333#21495
DataBinding.FieldName = 'CRNo'
HeaderAlignmentHorz = taCenter
Width = 90
end
object v1DefStr6: TcxGridDBColumn
Caption = #20379#24212#21830
DataBinding.FieldName = 'factoryName'
HeaderAlignmentHorz = taCenter
Width = 66
end
object v1CRTime: TcxGridDBColumn
Caption = #20837#24211#26085#26399
DataBinding.FieldName = 'CRTime'
PropertiesClassName = 'TcxDateEditProperties'
Properties.ShowTime = False
Width = 66
end
object v1CRType: TcxGridDBColumn
Caption = #20837#24211#31867#22411
DataBinding.FieldName = 'CRType'
HeaderAlignmentHorz = taCenter
Width = 66
end
object cxGridDBColumn1: TcxGridDBColumn
Caption = #24211#20301
DataBinding.FieldName = 'kuwei'
HeaderAlignmentHorz = taCenter
Width = 66
end
object v1ywy: TcxGridDBColumn
Caption = #19994#21153#21592
DataBinding.FieldName = 'ywy'
HeaderAlignmentHorz = taCenter
Width = 66
end
object cxGridDBColumn2: TcxGridDBColumn
Caption = #26679#21697#32534#21495
DataBinding.FieldName = 'P_Code'
HeaderAlignmentHorz = taCenter
Width = 66
end
object v1CPType: TcxGridDBColumn
Caption = #31561#32423
DataBinding.FieldName = 'CPType'
Visible = False
HeaderAlignmentHorz = taCenter
VisibleForCustomization = False
Width = 66
end
object v1P_Color: TcxGridDBColumn
Caption = #39068#33394
DataBinding.FieldName = 'P_Color'
HeaderAlignmentHorz = taCenter
Width = 66
end
object cxGridDBColumn6: TcxGridDBColumn
Caption = #21305#25968
DataBinding.FieldName = 'RollNum'
HeaderAlignmentHorz = taCenter
Styles.Content = YPCK_DataLink.FontBlue
Styles.Footer = YPCK_DataLink.FontBlue
Styles.Header = YPCK_DataLink.FontBlue
Width = 66
end
object cxGridDBColumn7: TcxGridDBColumn
Caption = #25968#37327
DataBinding.FieldName = 'QTY1'
HeaderAlignmentHorz = taCenter
Styles.Content = YPCK_DataLink.FontBlue
Styles.Footer = YPCK_DataLink.FontBlue
Styles.Header = YPCK_DataLink.FontBlue
Width = 66
end
object cxGridDBColumn8: TcxGridDBColumn
Caption = #25968#37327#21333#20301
DataBinding.FieldName = 'QtyUnit'
PropertiesClassName = 'TcxComboBoxProperties'
Properties.DropDownListStyle = lsFixedList
Properties.Items.Strings = (
'M'
'Kg')
HeaderAlignmentHorz = taCenter
Width = 66
end
object cxGridDBColumn9: TcxGridDBColumn
Caption = #21333#20215
DataBinding.FieldName = 'Price'
HeaderAlignmentHorz = taCenter
Width = 66
end
object cxGridDBColumn10: TcxGridDBColumn
Caption = #37329#39069
DataBinding.FieldName = 'money'
HeaderAlignmentHorz = taCenter
Styles.Content = YPCK_DataLink.cxStyle_fontclFuchsia
Styles.Footer = YPCK_DataLink.cxStyle_fontclFuchsia
Styles.Header = YPCK_DataLink.cxStyle_fontclFuchsia
Width = 66
end
object v1Note: TcxGridDBColumn
Caption = #22791#27880
DataBinding.FieldName = 'Note'
HeaderAlignmentHorz = taCenter
Width = 66
end
object v1Filler: TcxGridDBColumn
Caption = #25805#20316#21592
DataBinding.FieldName = 'Filler'
HeaderAlignmentHorz = taCenter
Width = 66
end
object v1FillTime: TcxGridDBColumn
Caption = #25805#20316#26102#38388
DataBinding.FieldName = 'FillTime'
HeaderAlignmentHorz = taCenter
Width = 66
end
end
object cxGridLevel1: TcxGridLevel
GridView = TV2
end
end
object Panel5: TPanel
Left = 324
Top = 172
Width = 261
Height = 121
Color = clSkyBlue
TabOrder = 5
Visible = False
object Label7: TLabel
Left = 25
Top = 18
Width = 48
Height = 12
Caption = #24211#23384#25968#37327
end
object Button5: TButton
Left = 38
Top = 55
Width = 60
Height = 21
Caption = #30830#23450
TabOrder = 0
OnClick = Button5Click
end
object Button6: TButton
Left = 182
Top = 59
Width = 60
Height = 21
Caption = #20851#38381
TabOrder = 1
OnClick = Button6Click
end
object Edit2: TEdit
Tag = 2
Left = 75
Top = 14
Width = 118
Height = 20
TabOrder = 2
end
end
object ADOQueryCmd: TADOQuery
Connection = YPCK_DataLink.ADOLink
Parameters = <>
Left = 680
Top = 8
end
object ADOQueryTmp: TADOQuery
Connection = YPCK_DataLink.ADOLink
Parameters = <>
Left = 536
Top = 4
end
object DataSource1: TDataSource
DataSet = CDS_Main
Left = 576
Top = 1
end
object CDS_Main: TClientDataSet
Aggregates = <>
Params = <>
Left = 612
Top = 5
end
object cxGridPopupMenu1: TcxGridPopupMenu
Grid = cxGrid1
PopupMenus = <>
Left = 504
Top = 12
end
object ADOQuery1: TADOQuery
Connection = YPCK_DataLink.ADOLink
Parameters = <>
Left = 532
Top = 472
end
object DataSource2: TDataSource
DataSet = CDS_SUB
Left = 620
Top = 457
end
object CDS_SUB: TClientDataSet
Aggregates = <>
Params = <>
Left = 756
Top = 433
end
end