inherited frmTradePlanList: TfrmTradePlanList Left = 165 Top = 13 Caption = #29983#20135#35745#21010#21333#31649#29702 ClientHeight = 758 ClientWidth = 1587 Font.Height = -16 FormStyle = fsMDIChild Position = poScreenCenter Visible = True ExplicitWidth = 1603 ExplicitHeight = 797 PixelsPerInch = 96 TextHeight = 21 object ToolBar1: TToolBar [0] Tag = 1 Left = 0 Top = 0 Width = 1587 Height = 30 AutoSize = True ButtonHeight = 30 ButtonWidth = 83 Caption = 'ToolBar1' Color = clBtnFace Font.Charset = GB2312_CHARSET Font.Color = clWindowText Font.Height = -12 Font.Name = #23435#20307 Font.Style = [] Images = DataLink_TradePlan.cxImageList_bar List = True ParentColor = False ParentFont = False ShowCaptions = True TabOrder = 0 object TBRafresh: TToolButton Left = 0 Top = 0 AutoSize = True Caption = #21047#26032 ImageIndex = 1 OnClick = TBRafreshClick end object TBAdd: TToolButton Left = 63 Top = 0 AutoSize = True Caption = #26032#22686 ImageIndex = 9 OnClick = TBAddClick end object btnCopy: TToolButton Left = 126 Top = 0 AutoSize = True Caption = #22797#21046 ImageIndex = 13 OnClick = btnCopyClick end object ToolButton5: TToolButton Left = 189 Top = 0 AutoSize = True Caption = #21512#24182#29983#20135 ImageIndex = 3 OnClick = ToolButton5Click end object TBEdit: TToolButton Left = 276 Top = 0 AutoSize = True Caption = #20462#25913 ImageIndex = 3 OnClick = TBEditClick end object TBDel: TToolButton Left = 339 Top = 0 AutoSize = True Caption = #21024#38500 ImageIndex = 5 OnClick = TBDelClick end object ToolButton1: TToolButton Left = 402 Top = 0 AutoSize = True Caption = #25171#21367#35774#32622 ImageIndex = 3 Visible = False OnClick = ToolButton1Click end object TBPrint: TToolButton Left = 489 Top = 0 AutoSize = True Caption = #25171#21360 ImageIndex = 21 OnClick = TBPrintClick end object TBCK: TToolButton Left = 552 Top = 0 AutoSize = True Caption = #26597#30475 ImageIndex = 8 OnClick = TBCKClick end object ToolButton4: TToolButton Left = 615 Top = 0 AutoSize = True Caption = #38468#20214 ImageIndex = 22 OnClick = ToolButton4Click end object TBTJ: TToolButton Left = 678 Top = 0 AutoSize = True Caption = #25552#20132 ImageIndex = 12 OnClick = TBTJClick end object TBTJCX: TToolButton Left = 741 Top = 0 AutoSize = True Caption = #25552#20132#25764#38144 ImageIndex = 11 OnClick = TBTJCXClick end object Tchk: TToolButton Left = 828 Top = 0 AutoSize = True Caption = #23457#26680 ImageIndex = 12 OnClick = TchkClick end object Tnochk: TToolButton Left = 891 Top = 0 AutoSize = True Caption = #25764#38144#23457#26680 ImageIndex = 11 OnClick = TnochkClick end object TWC: TToolButton Left = 978 Top = 0 AutoSize = True Caption = #23436#25104 ImageIndex = 12 OnClick = TWCClick end object TNowc: TToolButton Left = 1041 Top = 0 AutoSize = True Caption = #25764#38144#23436#25104 ImageIndex = 11 OnClick = TNowcClick end object ToolButton3: TToolButton Left = 1128 Top = 0 AutoSize = True Caption = #26085#24535 ImageIndex = 15 OnClick = ToolButton3Click end object ToolButton2: TToolButton Left = 1191 Top = 0 AutoSize = True Caption = #20445#23384#26684#24335 ImageIndex = 16 OnClick = ToolButton2Click end object TBClose: TToolButton Left = 1278 Top = 0 AutoSize = True Caption = #20851#38381 ImageIndex = 7 OnClick = TBCloseClick end end object Panel1: TPanel [1] Left = 0 Top = 30 Width = 1587 Height = 79 Align = alTop BevelInner = bvRaised BevelOuter = bvLowered Color = clWhite ParentBackground = False TabOrder = 1 object Label3: TLabel Left = 25 Top = 46 Width = 64 Height = 21 Caption = #35745#21010#21333#21495 end object Label1: TLabel Left = 409 Top = 46 Width = 32 Height = 21 Caption = #23458#25143 end object Label2: TLabel Left = 217 Top = 46 Width = 64 Height = 21 Caption = #20135#21697#21517#31216 end object Label4: TLabel Left = 569 Top = 46 Width = 48 Height = 21 AutoSize = False Caption = #21512#21516#21495 end object OrderNo: TcxTextEdit Tag = 2 Left = 93 Top = 40 ParentFont = False TabOrder = 0 OnKeyPress = OrderNoKeyPress Width = 120 end object CustName: TcxTextEdit Tag = 2 Left = 445 Top = 40 ParentFont = False TabOrder = 1 OnKeyPress = OrderNoKeyPress Width = 120 end object C_Name: TcxTextEdit Tag = 2 Left = 285 Top = 40 ParentFont = False TabOrder = 2 OnKeyPress = OrderNoKeyPress Width = 120 end object ConNo: TcxTextEdit Tag = 2 Left = 621 Top = 40 ParentFont = False TabOrder = 3 OnKeyPress = OrderNoKeyPress Width = 120 end inline frmFrameDateSel1: TfrmFrameDateSel Left = 2 Top = 2 Width = 1583 Height = 37 Align = alTop Color = clWhite ParentBackground = False ParentColor = False TabOrder = 4 ExplicitLeft = 2 ExplicitTop = 2 ExplicitWidth = 1583 inherited BegDate: TcxDateEdit ExplicitHeight = 33 end inherited EndDate: TcxDateEdit ExplicitHeight = 33 end inherited cbbType: TcxComboBox ExplicitHeight = 33 end end end object cxGrid1: TcxGrid [2] Left = 0 Top = 137 Width = 1587 Height = 425 Align = alClient PopupMenu = PM_1 TabOrder = 3 object Tv1: TcxGridDBTableView Navigator.Buttons.CustomButtons = <> ScrollbarAnnotations.CustomAnnotations = <> OnCellDblClick = Tv1CellDblClick OnFocusedRecordChanged = Tv1FocusedRecordChanged DataController.DataSource = DataSource1 DataController.Filter.AutoDataSetFilter = True DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost] DataController.Summary.DefaultGroupSummaryItems = <> DataController.Summary.FooterSummaryItems = < item Kind = skSum Column = Tv1Column11 end item Kind = skSum Column = Tv1Column10 end> DataController.Summary.SummaryGroups = <> OptionsCustomize.ColumnFiltering = False OptionsView.Footer = True OptionsView.GroupByBox = False OptionsView.IndicatorWidth = 30 object v1Column16: TcxGridDBColumn Caption = #36873#25321 DataBinding.FieldName = 'SSel' DataBinding.IsNullValueType = True PropertiesClassName = 'TcxCheckBoxProperties' Properties.ImmediatePost = True HeaderAlignmentHorz = taCenter Width = 50 end object v1OrdDate: TcxGridDBColumn Caption = #21046#21333#26085#26399 DataBinding.FieldName = 'OrdDate' DataBinding.IsNullValueType = True PropertiesClassName = 'TcxDateEditProperties' Properties.ShowTime = False HeaderAlignmentHorz = taCenter Options.Editing = False Width = 92 end object Tv1Column2: TcxGridDBColumn Caption = #32463#33829#21333#20301 DataBinding.FieldName = 'OurCoName' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 102 end object Tv1Column4: TcxGridDBColumn Caption = #23458#25143 DataBinding.FieldName = 'CustName' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column19: TcxGridDBColumn Caption = #21512#24182#21333#21495 DataBinding.FieldName = 'MasterOrderNo' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 90 end object v1OrderNo: TcxGridDBColumn Caption = #35746#21333#21495 DataBinding.FieldName = 'OrderNo' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 127 end object v1DeliveryDate: TcxGridDBColumn Caption = #20132#36135#26085#26399 DataBinding.FieldName = 'DlyDate' DataBinding.IsNullValueType = True PropertiesClassName = 'TcxDateEditProperties' Properties.ShowTime = False OnCustomDrawCell = v1DeliveryDateCustomDrawCell HeaderAlignmentHorz = taCenter Options.Editing = False Width = 110 end object Tv1Column3: TcxGridDBColumn Caption = #20135#21697#32534#21495 DataBinding.FieldName = 'C_Code' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 105 end object Tv1Column22: TcxGridDBColumn Caption = #20013#25991#21697#21517 DataBinding.FieldName = 'C_Name' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 129 end object Tv1Column12: TcxGridDBColumn Caption = #21512#21516#21495 DataBinding.FieldName = 'ConNo' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column7: TcxGridDBColumn Caption = #24067#31181 DataBinding.FieldName = 'GC_Name' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 93 end object Tv1Column20: TcxGridDBColumn Caption = #21152#24037#21035 DataBinding.FieldName = 'CraftCode' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 111 end object Tv1Column21: TcxGridDBColumn Caption = #21518#25972#29702#20013#25991 DataBinding.FieldName = 'CraftName' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 127 end object Tv1Column13: TcxGridDBColumn Caption = #38376#24133 DataBinding.FieldName = 'C_Width' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column14: TcxGridDBColumn Caption = #20811#37325 DataBinding.FieldName = 'C_GramWeight' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column15: TcxGridDBColumn Caption = #35268#26684 DataBinding.FieldName = 'C_Spec' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column16: TcxGridDBColumn Caption = #25104#20998 DataBinding.FieldName = 'C_Composition' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column11: TcxGridDBColumn Caption = #21305#25968 DataBinding.FieldName = 'OrdPiece' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column10: TcxGridDBColumn Caption = #25968#37327 DataBinding.FieldName = 'OrdQty' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter HeaderGlyphAlignmentHorz = taCenter Options.Editing = False Width = 66 end object v1Column11: TcxGridDBColumn Caption = #21333#20301 DataBinding.FieldName = 'OrdUnit' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter HeaderGlyphAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column6: TcxGridDBColumn Caption = #21046#21333#20154 DataBinding.FieldName = 'FILLER' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column1: TcxGridDBColumn Caption = #22791#27880 DataBinding.FieldName = 'Note' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column5: TcxGridDBColumn Caption = #24037#33402 DataBinding.FieldName = 'Technics' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 88 end object Tv1Column8: TcxGridDBColumn Caption = #24037#21378#21517#31216 DataBinding.FieldName = 'FtyName' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 86 end object Tv1Column9: TcxGridDBColumn Caption = #36319#21333#21592 DataBinding.FieldName = 'Follower' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column17: TcxGridDBColumn Caption = #21367#26631#31614 DataBinding.FieldName = 'LabVolume' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end object Tv1Column18: TcxGridDBColumn Caption = #21253#26631#31614 DataBinding.FieldName = 'LabPackage' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end end object cxGrid1Level1: TcxGridLevel GridView = Tv1 end end object cxTabControl1: TcxTabControl [3] Left = 0 Top = 109 Width = 1587 Height = 28 Align = alTop TabOrder = 2 Properties.CustomButtons.Buttons = <> Properties.Style = 9 Properties.TabIndex = 0 Properties.Tabs.Strings = ( ' '#24453#25552#20132' ' ' '#24453#23457#26680' ' ' '#24050#23457#26680' ' ' '#24050#23436#25104' ' ' '#20840#37096' ') OnChange = cxTabControl1Change ClientRectRight = 0 ClientRectTop = 0 end object Panel2: TPanel [4] Left = 0 Top = 562 Width = 1587 Height = 196 Align = alBottom BevelOuter = bvNone Caption = 'Panel2' TabOrder = 4 object cxGrid2: TcxGrid Left = 0 Top = 0 Width = 1587 Height = 196 Align = alClient PopupMenu = PopupMenu2 TabOrder = 0 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 = v1PRTOrderQty end item Format = '0' Position = spFooter end> DataController.Summary.FooterSummaryItems = < item Kind = skSum Column = v1PRTOrderQty end item Kind = skSum end item Kind = skSum end item Kind = skSum Column = VC_PRTPs 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 object cxGridDBColumn1: 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 TV2Column2: TcxGridDBColumn Caption = #24207#21495 DataBinding.FieldName = 'SerialNo' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 57 end object v1PRTColor: TcxGridDBColumn Caption = #20013#25991#39068#33394 DataBinding.FieldName = 'C_Color' DataBinding.IsNullValueType = True PropertiesClassName = 'TcxButtonEditProperties' Properties.Buttons = < item Default = True Kind = bkEllipsis end> Properties.ReadOnly = False HeaderAlignmentHorz = taCenter Options.Editing = False Styles.Header = DataLink_TradePlan.handBlack Width = 105 end object TV2Column4: TcxGridDBColumn Caption = #33521#25991#39068#33394 DataBinding.FieldName = 'C_EColor' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 98 end object TV2Column3: TcxGridDBColumn Caption = #24037#21378#33394#21495 DataBinding.FieldName = 'C_FtyColorNo' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 95 end object cxGridDBColumn4: TcxGridDBColumn Caption = #33394#21495 DataBinding.FieldName = 'C_ColorNo' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 79 end object TV2Column1: TcxGridDBColumn Caption = #27454#21495 DataBinding.FieldName = 'C_StyleNo' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Width = 84 end object v1Column5: TcxGridDBColumn Caption = #33457#22411#32534#21495 DataBinding.FieldName = 'C_Pattern' DataBinding.IsNullValueType = True PropertiesClassName = 'TcxButtonEditProperties' Properties.Buttons = < item Default = True Kind = bkEllipsis end> HeaderAlignmentHorz = taCenter Options.Editing = False Width = 123 end object VC_PRTPs: TcxGridDBColumn Caption = #21305#25968 DataBinding.FieldName = 'OrdPiece' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 92 end object v1PRTOrderQty: TcxGridDBColumn Caption = #25968#37327 DataBinding.FieldName = 'OrdQty' DataBinding.IsNullValueType = True PropertiesClassName = 'TcxTextEditProperties' HeaderAlignmentHorz = taCenter Options.Editing = False Styles.Header = DataLink_TradePlan.Default Width = 91 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 Styles.Header = DataLink_TradePlan.Default Width = 83 end object cxGridDBColumn7: TcxGridDBColumn Caption = #22791#27880 DataBinding.FieldName = 'OrdSNote' DataBinding.IsNullValueType = True HeaderAlignmentHorz = taCenter Options.Editing = False Width = 66 end end object cxGridLevel1: TcxGridLevel GridView = TV2 end end end inherited ADOQueryBaseCmd: TADOQuery Connection = DataLink_TradePlan.ADOLink Left = 361 Top = 192 end inherited ADOQueryBaseTemp: TADOQuery Connection = DataLink_TradePlan.ADOLink Left = 97 Top = 185 end object cxgrdpmn1: TcxGridPopupMenu Grid = cxGrid1 PopupMenus = <> Left = 660 Top = 428 end object ADOQueryCmd: TADOQuery Connection = DataLink_TradePlan.ADOLink Parameters = <> Left = 302 Top = 375 end object ADOQueryMain: TADOQuery Connection = DataLink_TradePlan.ADOLink LockType = ltReadOnly Parameters = <> Left = 199 Top = 259 end object ADOQueryTemp: TADOQuery Connection = DataLink_TradePlan.ADOLink LockType = ltReadOnly Parameters = <> Left = 136 Top = 352 end object DataSource1: TDataSource DataSet = Order_Main Left = 812 Top = 440 end object Order_Main: TClientDataSet Aggregates = <> Params = <> Left = 724 Top = 432 end object ADOQuerySub: TADOQuery Connection = DataLink_TradePlan.ADOLink Parameters = <> Left = 312 Top = 600 end object DataSource2: TDataSource DataSet = ORDER_SUB Left = 408 Top = 604 end object ADOQueryImage: TADOQuery Connection = DataLink_TradePlan.ADOLink EnableBCD = False Parameters = <> Left = 206 Top = 188 end object DSImage: TDataSource DataSet = ADOQueryImage Left = 352 Top = 272 end object IdFTP1: TIdFTP ConnectTimeout = 0 NATKeepAlive.UseKeepAlive = False NATKeepAlive.IdleTimeMS = 0 NATKeepAlive.IntervalMS = 0 ProxySettings.ProxyType = fpcmNone ProxySettings.Port = 0 ReadTimeout = 0 Left = 92 Top = 258 end object ORDER_SUB: TClientDataSet Aggregates = <> Params = <> Left = 212 Top = 608 end object PopupMenu2: TPopupMenu Left = 532 Top = 636 object N3: TMenuItem Caption = #20840#36873 OnClick = N3Click end object N4: TMenuItem Caption = #20840#24323 OnClick = N4Click end object N2: TMenuItem Caption = #22797#21046 OnClick = N2Click end end object cxgrdpmn2: TcxGridPopupMenu Grid = cxGrid2 PopupMenus = <> Left = 660 Top = 636 end object CDS_WXTS: TClientDataSet Aggregates = <> Params = <> Left = 412 Top = 424 end object PM_1: TPopupMenu Left = 671 Top = 277 object N5: TMenuItem Caption = #20840#36873 OnClick = N5Click end object N6: TMenuItem Caption = #20840#24323 OnClick = N6Click end object N1: TMenuItem Caption = #22797#21046 OnClick = N1Click end end object GPM_3: TcxGridPopupMenu PopupMenus = <> Left = 860 Top = 228 end end