inherited frmTradePack: TfrmTradePack Left = 122 Top = 71 Caption = #25171#21253#31383#21475 ClientHeight = 634 ClientWidth = 1430 WindowState = wsMaximized ExplicitWidth = 1446 ExplicitHeight = 673 PixelsPerInch = 96 TextHeight = 12 object Panel1: TPanel [0] Left = 0 Top = 0 Width = 1430 Height = 85 Align = alTop BevelInner = bvRaised BevelOuter = bvLowered Color = clWhite ParentBackground = False TabOrder = 0 object Label1: TLabel Left = 32 Top = 15 Width = 100 Height = 24 Caption = #25195#25551#20837#21475 Font.Charset = GB2312_CHARSET Font.Color = clBlue Font.Height = -24 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False end object Label4: TLabel Left = 20 Top = 55 Width = 500 Height = 24 Caption = #33258#21160#25171#21253#35831#22312#25764#38144#25171#21253#25110#31227#38500#25171#21253#21518#21047#26032#25968#25454 Font.Charset = GB2312_CHARSET Font.Color = clRed Font.Height = -24 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False end object Label5: TLabel Left = 540 Top = 15 Width = 50 Height = 24 Caption = #21253#21495 Font.Charset = GB2312_CHARSET Font.Color = clRed Font.Height = -24 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False end object SmNO: TEdit Left = 138 Top = 11 Width = 213 Height = 32 Font.Charset = GB2312_CHARSET Font.Color = clBlue Font.Height = -24 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False TabOrder = 0 OnKeyPress = SmNOKeyPress end object btnClose: TcxButton Left = 966 Top = 10 Width = 77 Height = 33 Hint = 'Filesother' Caption = #20851#38381 LookAndFeel.Kind = lfOffice11 TabOrder = 1 Font.Charset = GB2312_CHARSET Font.Color = clRed Font.Height = -12 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False OnClick = btnCloseClick end object cxButton2: TcxButton Left = 404 Top = 10 Width = 77 Height = 33 Hint = 'Filesother' Caption = #21047#26032 LookAndFeel.Kind = lfOffice11 TabOrder = 2 Font.Charset = GB2312_CHARSET Font.Color = clRed Font.Height = -12 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False OnClick = cxButton2Click end object edtPacketNo: TEdit Left = 594 Top = 11 Width = 93 Height = 32 Font.Charset = GB2312_CHARSET Font.Color = clBlue Font.Height = -24 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False ReadOnly = True TabOrder = 3 OnClick = edtPacketNoClick OnKeyPress = SmNOKeyPress end object cxButton3: TcxButton Left = 696 Top = 10 Width = 77 Height = 33 Hint = 'Filesother' Caption = #20462#25913 LookAndFeel.Kind = lfOffice11 TabOrder = 4 Font.Charset = GB2312_CHARSET Font.Color = clRed Font.Height = -12 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False OnClick = cxButton3Click end object Edit1: TEdit Left = 774 Top = 11 Width = 93 Height = 32 Font.Charset = GB2312_CHARSET Font.Color = clBlue Font.Height = -24 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False TabOrder = 5 OnClick = edtPacketNoClick OnKeyPress = SmNOKeyPress end end object Panel2: TPanel [1] Left = 625 Top = 85 Width = 805 Height = 549 Align = alClient Caption = 'Panel2' TabOrder = 1 object cxGrid2: TcxGrid Left = 1 Top = 1 Width = 803 Height = 284 Align = alTop Font.Charset = GB2312_CHARSET Font.Color = clWindowText Font.Height = -12 Font.Name = #23435#20307 Font.Style = [] ParentFont = False PopupMenu = PM_DDB TabOrder = 0 object TV2: TcxGridDBTableView Navigator.Buttons.CustomButtons = <> DataController.DataSource = DS_DDB DataController.Filter.AutoDataSetFilter = True DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost] DataController.Summary.DefaultGroupSummaryItems = < item Format = 'C_Code' end> DataController.Summary.FooterSummaryItems = < item Kind = skSum end item Kind = skSum Column = cxGridDBColumn6 end item Kind = skSum end item Kind = skSum Column = V2Column2 end item Kind = skSum Column = V2Column3 end item Kind = skSum end item Kind = skSum end item Kind = skCount Column = cxGridDBColumn2 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 Styles.Header = DataLink_TradeInsp.Default object cxGridDBColumn2: TcxGridDBColumn Caption = #26465#30721#21495 DataBinding.FieldName = 'CIID' HeaderAlignmentHorz = taCenter Options.Editing = False Width = 113 end object V2Column6: TcxGridDBColumn Caption = #21367#21495 DataBinding.FieldName = 'PieceNo' HeaderAlignmentHorz = taCenter Width = 59 end object cxGridDBColumn4: TcxGridDBColumn Caption = #21697#21517 DataBinding.FieldName = 'C_Name' HeaderAlignmentHorz = taCenter Options.Editing = False Width = 116 end object cxGridDBColumn3: TcxGridDBColumn Caption = #39068#33394 DataBinding.FieldName = 'C_Color' HeaderAlignmentHorz = taCenter Width = 94 end object V2Column4: TcxGridDBColumn Caption = #25209#21495 DataBinding.FieldName = 'BatchNO' HeaderAlignmentHorz = taCenter Width = 60 end object V2Column1: TcxGridDBColumn Caption = #32568#21495 DataBinding.FieldName = 'BCGangNO' Visible = False HeaderAlignmentHorz = taCenter Width = 120 end object V2BaooID: TcxGridDBColumn Caption = #21253#26465#30721 DataBinding.FieldName = 'PacketId' HeaderAlignmentHorz = taCenter Width = 91 end object V2BaooNO: TcxGridDBColumn Caption = #21253#21495 DataBinding.FieldName = 'PacketNo' HeaderAlignmentHorz = taCenter Width = 51 end object cxGridDBColumn6: TcxGridDBColumn Caption = #31859#25968 DataBinding.FieldName = 'Meter' HeaderAlignmentHorz = taCenter Styles.Content = DataLink_TradeInsp.FontBlue Styles.Footer = DataLink_TradeInsp.FontBlue Styles.Header = DataLink_TradeInsp.FontBlue Width = 60 end object V2Column2: TcxGridDBColumn Caption = #27611#37325 DataBinding.FieldName = 'MJMaoZ' HeaderAlignmentHorz = taCenter Styles.Content = DataLink_TradeInsp.FontBlue Styles.Footer = DataLink_TradeInsp.FontBlue Styles.Header = DataLink_TradeInsp.FontBlue Width = 60 end object V2Column3: TcxGridDBColumn Caption = #20928#37325 DataBinding.FieldName = 'MJQty4' HeaderAlignmentHorz = taCenter Styles.Content = DataLink_TradeInsp.FontBlue Styles.Footer = DataLink_TradeInsp.FontBlue Styles.Header = DataLink_TradeInsp.FontBlue Width = 60 end end object cxGridLevel1: TcxGridLevel GridView = TV2 end end object cxGrid1: TcxGrid Left = 1 Top = 285 Width = 803 Height = 263 Align = alClient PopupMenu = PM_YDB TabOrder = 1 object TV1: TcxGridDBTableView Navigator.Buttons.CustomButtons = <> DataController.DataSource = DS_YDB DataController.Filter.AutoDataSetFilter = True DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost] DataController.Summary.DefaultGroupSummaryItems = < item Format = 'C_Code' end> DataController.Summary.FooterSummaryItems = < item Kind = skSum end item Kind = skSum Column = cxGridDBColumn17 end item Kind = skSum end item Kind = skSum Column = cxGridDBColumn18 end item Kind = skSum Column = cxGridDBColumn19 end item Kind = skSum end item Kind = skSum end item Kind = skCount Column = cxGridDBColumn9 end> DataController.Summary.SummaryGroups = <> OptionsBehavior.FocusCellOnTab = True OptionsBehavior.GoToNextCellOnEnter = True OptionsBehavior.FocusCellOnCycle = True OptionsView.Footer = True OptionsView.GroupByBox = False Styles.Header = DataLink_TradeInsp.Default object cxGridDBColumn8: TcxGridDBColumn Caption = #36873#25321 DataBinding.FieldName = 'Ssel' PropertiesClassName = 'TcxCheckBoxProperties' Properties.ImmediatePost = True Properties.NullStyle = nssUnchecked Visible = False HeaderAlignmentHorz = taCenter Styles.Content = DataLink_TradeInsp.FoneRed Styles.Footer = DataLink_TradeInsp.FoneRed Styles.Header = DataLink_TradeInsp.FoneRed VisibleForCustomization = False Width = 53 end object V1Column1: TcxGridDBColumn Caption = #36873#25321 DataBinding.FieldName = 'SSel' PropertiesClassName = 'TcxCheckBoxProperties' Properties.ImmediatePost = True HeaderAlignmentHorz = taCenter Width = 39 end object cxGridDBColumn9: TcxGridDBColumn Caption = #26465#30721#21495 DataBinding.FieldName = 'CIID' HeaderAlignmentHorz = taCenter Options.Editing = False Width = 113 end object V4Column3: TcxGridDBColumn Caption = #21367#21495 DataBinding.FieldName = 'PieceNo' HeaderAlignmentHorz = taCenter Width = 70 end object cxGridDBColumn10: TcxGridDBColumn Caption = #21697#21517 DataBinding.FieldName = 'C_Name' HeaderAlignmentHorz = taCenter Options.Editing = False Width = 116 end object cxGridDBColumn11: TcxGridDBColumn Caption = #39068#33394 DataBinding.FieldName = 'C_Color' HeaderAlignmentHorz = taCenter Options.Editing = False Width = 94 end object cxGridDBColumn12: TcxGridDBColumn Caption = #32568#21495 DataBinding.FieldName = 'BCGangNO' Visible = False HeaderAlignmentHorz = taCenter Options.Editing = False Width = 120 end object V4Column2: TcxGridDBColumn Caption = #25209#21495 DataBinding.FieldName = 'BatchNO' HeaderAlignmentHorz = taCenter Width = 70 end object cxGridDBColumn14: TcxGridDBColumn Caption = #21253#26465#30721 DataBinding.FieldName = 'PacketId' HeaderAlignmentHorz = taCenter Options.Editing = False Width = 94 end object cxGridDBColumn15: TcxGridDBColumn Caption = #21253#21495 DataBinding.FieldName = 'PacketNo' HeaderAlignmentHorz = taCenter Options.Editing = False Width = 51 end object cxGridDBColumn17: TcxGridDBColumn Caption = #31859#25968 DataBinding.FieldName = 'Meter' HeaderAlignmentHorz = taCenter Options.Editing = False Styles.Content = DataLink_TradeInsp.FontBlue Styles.Footer = DataLink_TradeInsp.FontBlue Styles.Header = DataLink_TradeInsp.FontBlue Width = 60 end object cxGridDBColumn18: TcxGridDBColumn Caption = #27611#37325 DataBinding.FieldName = 'MJMaoZ' HeaderAlignmentHorz = taCenter Options.Editing = False Styles.Content = DataLink_TradeInsp.FontBlue Styles.Footer = DataLink_TradeInsp.FontBlue Styles.Header = DataLink_TradeInsp.FontBlue Width = 60 end object cxGridDBColumn19: TcxGridDBColumn Caption = #20928#37325 DataBinding.FieldName = 'MJQty4' HeaderAlignmentHorz = taCenter Options.Editing = False Styles.Content = DataLink_TradeInsp.FontBlue Styles.Footer = DataLink_TradeInsp.FontBlue Styles.Header = DataLink_TradeInsp.FontBlue Width = 60 end end object cxGridLevel3: TcxGridLevel GridView = TV1 end end end object Panel4: TPanel [2] Left = 0 Top = 85 Width = 625 Height = 549 Align = alLeft BevelInner = bvRaised BevelOuter = bvLowered Caption = 'Panel4' TabOrder = 2 object cxGrid3: TcxGrid Left = 2 Top = 94 Width = 621 Height = 453 Align = alClient PopupMenu = PM_KDB TabOrder = 0 object Tv3: TcxGridDBTableView Navigator.Buttons.CustomButtons = <> DataController.DataSource = DS_KDB DataController.Filter.AutoDataSetFilter = True DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost] DataController.Summary.DefaultGroupSummaryItems = <> DataController.Summary.FooterSummaryItems = < item Kind = skSum end item Kind = skSum end item Kind = skSum end item Kind = skSum end item Kind = skSum end item Kind = skSum end item Kind = skSum end item Kind = skSum end item Kind = skSum end item Kind = skSum end item Kind = skSum end item Kind = skSum end item Kind = skCount Column = Tv3Column1 end item Kind = skSum Column = v3Column3 end> DataController.Summary.SummaryGroups = <> OptionsBehavior.FocusCellOnTab = True OptionsBehavior.GoToNextCellOnEnter = True OptionsBehavior.FocusCellOnCycle = True OptionsCustomize.ColumnFiltering = False OptionsView.Footer = True OptionsView.GroupByBox = False Styles.Header = DataLink_TradeInsp.Default object v3Column5: TcxGridDBColumn Caption = #36873#25321 DataBinding.FieldName = 'Ssel' PropertiesClassName = 'TcxCheckBoxProperties' Properties.ImmediatePost = True Properties.NullStyle = nssUnchecked HeaderAlignmentHorz = taCenter Options.Sorting = False Width = 42 end object Tv3Column1: TcxGridDBColumn Caption = #26465#30721 DataBinding.FieldName = 'CIID' HeaderAlignmentHorz = taCenter Options.Editing = False Options.Sorting = False Styles.Content = DataLink_TradeInsp.FontBlue Styles.Footer = DataLink_TradeInsp.FontBlue Width = 88 end object v3Column6: TcxGridDBColumn Caption = #21367#21495 DataBinding.FieldName = 'PieceNo' HeaderAlignmentHorz = taCenter Options.Editing = False Options.Sorting = False Width = 50 end object v3Column1: TcxGridDBColumn Caption = #21697#21517 DataBinding.FieldName = 'C_Name' HeaderAlignmentHorz = taCenter Options.Editing = False Options.Sorting = False Width = 72 end object v3Column2: TcxGridDBColumn Tag = 1 Caption = #39068#33394 DataBinding.FieldName = 'C_Color' HeaderAlignmentHorz = taCenter Options.Editing = False Options.Sorting = False Width = 44 end object v3Column7: TcxGridDBColumn Caption = #25209#21495 DataBinding.FieldName = 'BatchNO' HeaderAlignmentHorz = taCenter Options.Editing = False Options.Sorting = False Width = 50 end object v3Column3: TcxGridDBColumn Caption = #31859#25968 DataBinding.FieldName = 'Meter' HeaderAlignmentHorz = taCenter Options.Editing = False Options.Sorting = False Styles.Content = DataLink_TradeInsp.FontBlue Styles.Footer = DataLink_TradeInsp.FontBlue Styles.Header = DataLink_TradeInsp.FontBlue Width = 47 end object v3Column4: TcxGridDBColumn Caption = #27611#37325 DataBinding.FieldName = 'MJMaoZ' HeaderAlignmentHorz = taCenter Options.Editing = False Options.Sorting = False Styles.Content = DataLink_TradeInsp.FontBlue Styles.Footer = DataLink_TradeInsp.FontBlue Styles.Header = DataLink_TradeInsp.FontBlue Width = 56 end object v3Column11: TcxGridDBColumn Caption = #20928#37325 DataBinding.FieldName = 'MJQty4' HeaderAlignmentHorz = taCenter Options.Editing = False Options.Sorting = False Styles.Content = DataLink_TradeInsp.FontBlue Styles.Footer = DataLink_TradeInsp.FontBlue Styles.Header = DataLink_TradeInsp.FontBlue Width = 58 end end object cxGridLevel2: TcxGridLevel GridView = Tv3 end end object Panel5: TPanel Left = 2 Top = 2 Width = 621 Height = 92 Align = alTop BevelOuter = bvNone Color = clWhite ParentBackground = False TabOrder = 1 object Label6: TLabel Left = 36 Top = 16 Width = 84 Height = 20 Caption = #35745#21010#21333#21495 Font.Charset = GB2312_CHARSET Font.Color = clWindowText Font.Height = -20 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False end object Label2: TLabel Left = 30 Top = 53 Width = 84 Height = 20 Caption = #27599#21253#21367#25968 Font.Charset = GB2312_CHARSET Font.Color = clWindowText Font.Height = -20 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False end object edtOrder: TBtnEditA Left = 122 Top = 11 Width = 241 Height = 29 Font.Charset = GB2312_CHARSET Font.Color = clWindowText Font.Height = -20 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False TabOrder = 0 OnBtnClick = edtOrderBtnClick end object ComboBox1: TComboBox Left = 314 Top = 47 Width = 49 Height = 32 Style = csDropDownList Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -21 Font.Name = 'Times New Roman' Font.Style = [fsBold] ItemIndex = 0 ParentFont = False TabOrder = 1 Text = '1' Items.Strings = ( '1' '2' '3' '4') end object chkBBQ: TCheckBox Left = 205 Top = 50 Width = 101 Height = 27 Caption = #21253' '#26631' '#31614 Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -21 Font.Name = 'Times New Roman' Font.Style = [fsBold] ParentFont = False TabOrder = 2 end object ComboBox3: TComboBox Left = 122 Top = 47 Width = 49 Height = 32 Style = csDropDownList Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -21 Font.Name = 'Times New Roman' Font.Style = [fsBold] ItemIndex = 1 ParentFont = False TabOrder = 3 Text = '2' Items.Strings = ( '1' '2' '3' '4' '5' '6' '7' '8' '9' '10' '11' '12' '13' '14' '15' '16' '17' '18' '19' '20' '21' '22' '23' '24' '25') end object btnOK: TcxButton Left = 433 Top = 12 Width = 136 Height = 62 Hint = 'Filesother' Caption = #33258#21160#25171#21253 LookAndFeel.Kind = lfOffice11 TabOrder = 4 Font.Charset = GB2312_CHARSET Font.Color = clBlack Font.Height = -29 Font.Name = #23435#20307 Font.Style = [fsBold] ParentFont = False OnClick = btnOKClick end end end inherited ADOQueryBaseCmd: TADOQuery Connection = DataLink_TradeInsp.ADOLink Left = 105 Top = 264 end inherited ADOQueryBaseTemp: TADOQuery Connection = DataLink_TradeInsp.ADOLink Left = 97 Top = 369 end object ADOQueryMain: TADOQuery Connection = DataLink_TradeInsp.ADOLink Parameters = <> Left = 336 Top = 252 end object ADOQueryCmd: TADOQuery Connection = DataLink_TradeInsp.ADOLink Parameters = <> Left = 373 Top = 252 end object CDS_DDB: TClientDataSet Aggregates = <> Params = <> Left = 200 Top = 460 end object DS_DDB: TDataSource DataSet = CDS_DDB Left = 236 Top = 460 end object ADOQueryTmp: TADOQuery Connection = DataLink_TradeInsp.ADOLink Parameters = <> Left = 300 Top = 252 end object DataSource1: TDataSource Left = 448 Top = 356 end object DS_KDB: TDataSource DataSet = CDS_KDB Left = 236 Top = 428 end object RMDB_1: TRMDBDataSet Visible = True DataSet = ADOQueryPrint Left = 692 Top = 236 end object RM2: TRMGridReport ThreadPrepareReport = True InitialZoom = pzDefault PreviewButtons = [rmpbZoom, rmpbLoad, rmpbSave, rmpbPrint, rmpbFind, rmpbPageSetup, rmpbExit, rmpbExport, rmpbNavigator] 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 Dataset = RMDB_1 CompressLevel = rmzcFastest CompressThread = False LaterBuildEvents = True OnlyOwnerDataSet = False Left = 764 Top = 236 ReportData = {} end object ADOQueryPrint: TADOQuery Connection = DataLink_TradeInsp.ADOLink LockType = ltReadOnly Parameters = <> Left = 612 Top = 220 end object CDS_KDB: TClientDataSet Aggregates = <> Params = <> Left = 201 Top = 427 end object CDS_YDB: TClientDataSet Aggregates = <> Params = <> Left = 201 Top = 493 end object DS_YDB: TDataSource DataSet = CDS_YDB Left = 232 Top = 492 end object PM_KDB: TPopupMenu Left = 273 Top = 427 object N1: TMenuItem Caption = #20840#36873 OnClick = N1Click end object N2: TMenuItem Caption = #20840#24323 OnClick = N2Click end object N5: TMenuItem Caption = #30830#35748 OnClick = N5Click end end object PM_YDB: TPopupMenu Left = 272 Top = 496 object N3: TMenuItem Caption = #25171#21360#26631#31614 OnClick = N3Click end object N4: TMenuItem Caption = #25764#38144#25171#21253 OnClick = N4Click end object N13: TMenuItem Caption = #20840#36873 OnClick = N13Click end object N8: TMenuItem Caption = #20840#24323 OnClick = N8Click end end object PM_DDB: TPopupMenu Left = 272 Top = 464 object N6: TMenuItem Caption = #31227#38500 OnClick = N6Click end object N7: TMenuItem Caption = #25171#21253 OnClick = N7Click end end object CDS_DDY: TClientDataSet Aggregates = <> Params = <> Left = 452 Top = 424 end object cxGridPopupMenu2: TcxGridPopupMenu Grid = cxGrid2 PopupMenus = <> Left = 304 Top = 464 end object cxGridPopupMenu1: TcxGridPopupMenu Grid = cxGrid1 PopupMenus = <> Left = 305 Top = 428 end object cxGridPopupMenu3: TcxGridPopupMenu Grid = cxGrid3 PopupMenus = <> Left = 304 Top = 496 end object CDS_PacketId: TClientDataSet Aggregates = <> Params = <> Left = 524 Top = 284 end end