573 lines
14 KiB
Plaintext
573 lines
14 KiB
Plaintext
object frmPieceSampleRk: TfrmPieceSampleRk
|
|
Left = 262
|
|
Top = 146
|
|
Width = 1292
|
|
Height = 658
|
|
BorderIcons = [biSystemMenu]
|
|
Caption = #26679#24067#20837#24211
|
|
Color = clBtnFace
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = []
|
|
OldCreateOrder = False
|
|
Position = poScreenCenter
|
|
OnClose = FormClose
|
|
OnCreate = FormCreate
|
|
OnDestroy = FormDestroy
|
|
OnShow = FormShow
|
|
PixelsPerInch = 96
|
|
TextHeight = 12
|
|
object Label6: TLabel
|
|
Left = 756
|
|
Top = 332
|
|
Width = 36
|
|
Height = 12
|
|
Caption = 'Label6'
|
|
end
|
|
object ToolBar1: TToolBar
|
|
Left = 0
|
|
Top = 0
|
|
Width = 1284
|
|
Height = 29
|
|
ButtonHeight = 30
|
|
ButtonWidth = 59
|
|
Caption = 'ToolBar1'
|
|
Color = clBtnFace
|
|
EdgeInner = esNone
|
|
EdgeOuter = esNone
|
|
Flat = True
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = []
|
|
Images = DataLink_SampleWarehouse.ThreeImgList
|
|
List = True
|
|
ParentColor = False
|
|
ParentFont = False
|
|
ShowCaptions = True
|
|
TabOrder = 0
|
|
object TBSave: TToolButton
|
|
Left = 0
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20445#23384
|
|
ImageIndex = 15
|
|
OnClick = TBSaveClick
|
|
end
|
|
object TBClose: TToolButton
|
|
Left = 63
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20851#38381
|
|
ImageIndex = 21
|
|
OnClick = TBCloseClick
|
|
end
|
|
end
|
|
object Panel1: TPanel
|
|
Left = 0
|
|
Top = 29
|
|
Width = 1284
|
|
Height = 60
|
|
Align = alTop
|
|
BevelInner = bvRaised
|
|
BevelOuter = bvLowered
|
|
TabOrder = 1
|
|
object Label1: TLabel
|
|
Left = 73
|
|
Top = 20
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #20837#24211#26085#26399
|
|
end
|
|
object Label2: TLabel
|
|
Left = 727
|
|
Top = 20
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #20837#24211#31867#22411
|
|
Visible = False
|
|
end
|
|
object Label8: TLabel
|
|
Left = 249
|
|
Top = 20
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #20837#24211#21333#21495
|
|
end
|
|
object Label9: TLabel
|
|
Left = 1158
|
|
Top = 22
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #23384#25918#24037#21378
|
|
Visible = False
|
|
end
|
|
object Label3: TLabel
|
|
Left = 1005
|
|
Top = 22
|
|
Width = 24
|
|
Height = 12
|
|
Caption = #26469#28304
|
|
Visible = False
|
|
end
|
|
object lbl1: TLabel
|
|
Left = 402
|
|
Top = 21
|
|
Width = 24
|
|
Height = 12
|
|
Caption = #31867#22411
|
|
end
|
|
object CRTime: TDateTimePicker
|
|
Left = 125
|
|
Top = 16
|
|
Width = 100
|
|
Height = 20
|
|
Date = 41509.970132187500000000
|
|
Format = 'yyyy-MM-dd'
|
|
Time = 41509.970132187500000000
|
|
TabOrder = 0
|
|
end
|
|
object CRType: TComboBox
|
|
Left = 780
|
|
Top = 16
|
|
Width = 100
|
|
Height = 20
|
|
Style = csDropDownList
|
|
ItemHeight = 12
|
|
TabOrder = 2
|
|
Visible = False
|
|
Items.Strings = (
|
|
#37319#36141#20837#24211
|
|
#29983#20135#20837#24211
|
|
#26399#21021#20837#24211
|
|
#23458#25143#36864#26679)
|
|
end
|
|
object InoutNo: TEdit
|
|
Left = 297
|
|
Top = 16
|
|
Width = 100
|
|
Height = 20
|
|
TabOrder = 1
|
|
end
|
|
object FactoryName: TBtnEditA
|
|
Left = 1207
|
|
Top = 18
|
|
Width = 100
|
|
Height = 20
|
|
ReadOnly = True
|
|
TabOrder = 4
|
|
Visible = False
|
|
OnBtnClick = FactoryNameBtnClick
|
|
end
|
|
object fromFactoryName: TBtnEditA
|
|
Left = 1033
|
|
Top = 18
|
|
Width = 100
|
|
Height = 20
|
|
ReadOnly = True
|
|
TabOrder = 3
|
|
Visible = False
|
|
OnBtnClick = fromFactoryNameBtnClick
|
|
end
|
|
object yptype: TBtnEditA
|
|
Left = 429
|
|
Top = 15
|
|
Width = 100
|
|
Height = 20
|
|
Enabled = False
|
|
ReadOnly = True
|
|
TabOrder = 5
|
|
OnBtnClick = yptypeBtnClick
|
|
end
|
|
end
|
|
object cxGrid1: TcxGrid
|
|
Left = 0
|
|
Top = 119
|
|
Width = 1284
|
|
Height = 508
|
|
Align = alClient
|
|
TabOrder = 2
|
|
object Tv1: TcxGridDBTableView
|
|
Navigator.Buttons.CustomButtons = <>
|
|
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
|
|
end
|
|
item
|
|
Kind = skSum
|
|
Column = v1Qty
|
|
end
|
|
item
|
|
Kind = skSum
|
|
end
|
|
item
|
|
Kind = skCount
|
|
Column = v1Column5
|
|
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 = DataLink_SampleWarehouse.Default
|
|
OnCustomDrawIndicatorCell = Tv1CustomDrawIndicatorCell
|
|
object v1Column5: TcxGridDBColumn
|
|
Caption = #25351#31034#21333#21495
|
|
DataBinding.FieldName = 'orderNo'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.OnButtonClick = v1Column5PropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 105
|
|
end
|
|
object v1P_Code: TcxGridDBColumn
|
|
Caption = #20135#21697#32534#21495
|
|
DataBinding.FieldName = 'P_Code'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.OnButtonClick = v1P_CodePropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 93
|
|
end
|
|
object v1P_CodeName: TcxGridDBColumn
|
|
Caption = #20135#21697#21517#31216
|
|
DataBinding.FieldName = 'P_CodeName'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 90
|
|
end
|
|
object v1PRTSpec: TcxGridDBColumn
|
|
Caption = #35268#26684
|
|
DataBinding.FieldName = 'P_SPEC'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 89
|
|
end
|
|
object Tv1Column3: TcxGridDBColumn
|
|
Caption = #21697#36136
|
|
DataBinding.FieldName = 'PINGZHI'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 68
|
|
end
|
|
object v1Column6: TcxGridDBColumn
|
|
Caption = #20811#37325
|
|
DataBinding.FieldName = 'P_KZ'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 83
|
|
end
|
|
object v1Column2: TcxGridDBColumn
|
|
Caption = #38376#24133
|
|
DataBinding.FieldName = 'P_MF'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 75
|
|
end
|
|
object v1Column3: TcxGridDBColumn
|
|
Caption = #39068#33394
|
|
DataBinding.FieldName = 'P_Color'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 64
|
|
end
|
|
object Tv1Column2: TcxGridDBColumn
|
|
Caption = #39068#33394#33521#25991
|
|
DataBinding.FieldName = 'p_ecolor'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 72
|
|
end
|
|
object v1Column4: TcxGridDBColumn
|
|
Caption = #33457#22411
|
|
DataBinding.FieldName = 'P_HX'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 76
|
|
end
|
|
object v1Column7: TcxGridDBColumn
|
|
Caption = #25104#20998
|
|
DataBinding.FieldName = 'P_CF'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 63
|
|
end
|
|
object v1Qty: TcxGridDBColumn
|
|
Caption = #23454#25910#25968#37327
|
|
DataBinding.FieldName = 'qty'
|
|
PropertiesClassName = 'TcxTextEditProperties'
|
|
Properties.OnEditValueChanged = v1QtyPropertiesEditValueChanged
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Styles.Header = DataLink_SampleWarehouse.FontBlue
|
|
Width = 91
|
|
end
|
|
object Tv1Column1: TcxGridDBColumn
|
|
Caption = #26174#31034#24211#23384
|
|
DataBinding.FieldName = 'XSKCQTY'
|
|
HeaderAlignmentHorz = taCenter
|
|
Styles.Header = DataLink_SampleWarehouse.FontBlue
|
|
Width = 70
|
|
end
|
|
object v1QtyUnit: TcxGridDBColumn
|
|
Caption = #25968#37327#21333#20301
|
|
DataBinding.FieldName = 'qtyUnit'
|
|
PropertiesClassName = 'TcxComboBoxProperties'
|
|
Properties.DropDownListStyle = lsFixedList
|
|
Properties.Items.Strings = (
|
|
'M'
|
|
#20010)
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Styles.Header = DataLink_SampleWarehouse.FontBlue
|
|
Width = 86
|
|
end
|
|
object v1Column1: TcxGridDBColumn
|
|
Caption = #24211#20301
|
|
DataBinding.FieldName = 'kuwei'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.OnButtonClick = v1Column1PropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 86
|
|
end
|
|
object v1Note: TcxGridDBColumn
|
|
Caption = #22791#27880
|
|
DataBinding.FieldName = 'Note'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 179
|
|
end
|
|
object cv1Column9: TcxGridDBColumn
|
|
DataBinding.FieldName = 'fromFactoryName'
|
|
Visible = False
|
|
end
|
|
end
|
|
object cxGrid1Level1: TcxGridLevel
|
|
GridView = Tv1
|
|
end
|
|
end
|
|
object cxGrid4: TcxGrid
|
|
Left = 484
|
|
Top = 138
|
|
Width = 457
|
|
Height = 261
|
|
TabOrder = 3
|
|
Visible = False
|
|
object TV4: TcxGridDBTableView
|
|
OnDblClick = TV4DblClick
|
|
OnKeyPress = TV4KeyPress
|
|
Navigator.Buttons.CustomButtons = <>
|
|
DataController.DataSource = DS_YPXZ
|
|
DataController.Summary.DefaultGroupSummaryItems = <>
|
|
DataController.Summary.FooterSummaryItems = <>
|
|
DataController.Summary.SummaryGroups = <>
|
|
OptionsCustomize.ColumnFiltering = False
|
|
OptionsData.Deleting = False
|
|
OptionsData.Editing = False
|
|
OptionsView.GroupByBox = False
|
|
object V4Column3: TcxGridDBColumn
|
|
Caption = #32534#21495
|
|
DataBinding.FieldName = 'CYNo'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 70
|
|
end
|
|
object V4Column2: TcxGridDBColumn
|
|
Caption = #21697#21517
|
|
DataBinding.FieldName = 'CYName'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 105
|
|
end
|
|
object V4Column1: TcxGridDBColumn
|
|
Caption = #38376#24133
|
|
DataBinding.FieldName = 'CYMF'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 59
|
|
end
|
|
object V4Column5: TcxGridDBColumn
|
|
Caption = #20811#37325
|
|
DataBinding.FieldName = 'CYKZ'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 65
|
|
end
|
|
object V4Column4: TcxGridDBColumn
|
|
Caption = #39068#33394
|
|
DataBinding.FieldName = 'CYColor'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 146
|
|
end
|
|
end
|
|
object cxGrid4Level1: TcxGridLevel
|
|
GridView = TV4
|
|
end
|
|
end
|
|
object Panel4: TPanel
|
|
Left = 0
|
|
Top = 89
|
|
Width = 1284
|
|
Height = 30
|
|
Align = alTop
|
|
BevelOuter = bvNone
|
|
TabOrder = 4
|
|
object Panel5: TPanel
|
|
Left = 424
|
|
Top = 0
|
|
Width = 860
|
|
Height = 30
|
|
Align = alRight
|
|
BevelOuter = bvNone
|
|
TabOrder = 0
|
|
object Label15: TLabel
|
|
Left = 16
|
|
Top = 9
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #25195#25551#20837#21475
|
|
end
|
|
object CYNO: TEdit
|
|
Left = 70
|
|
Top = 3
|
|
Width = 152
|
|
Height = 27
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clRed
|
|
Font.Height = -19
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 0
|
|
OnKeyPress = CYNOKeyPress
|
|
end
|
|
end
|
|
object ToolBar2: TToolBar
|
|
Left = 0
|
|
Top = 0
|
|
Width = 535
|
|
Height = 30
|
|
Align = alLeft
|
|
AutoSize = True
|
|
ButtonHeight = 30
|
|
ButtonWidth = 107
|
|
Caption = 'ToolBar1'
|
|
Color = clBtnFace
|
|
EdgeInner = esNone
|
|
EdgeOuter = esNone
|
|
Flat = True
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = []
|
|
Images = DataLink_SampleWarehouse.ThreeImgList
|
|
List = True
|
|
ParentColor = False
|
|
ParentFont = False
|
|
ShowCaptions = True
|
|
TabOrder = 1
|
|
object ToolButton1: TToolButton
|
|
Left = 0
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #22686#34892
|
|
ImageIndex = 57
|
|
OnClick = ToolButton1Click
|
|
end
|
|
object ToolButton4: TToolButton
|
|
Left = 63
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #26080#25351#31034#21333
|
|
ImageIndex = 57
|
|
OnClick = ToolButton4Click
|
|
end
|
|
object ToolButton2: TToolButton
|
|
Left = 150
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #21024#34892
|
|
ImageIndex = 113
|
|
OnClick = ToolButton2Click
|
|
end
|
|
object ToolButton3: TToolButton
|
|
Left = 213
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #19968#38190#26367#25442
|
|
ImageIndex = 86
|
|
OnClick = ToolButton3Click
|
|
end
|
|
object btn1: TToolButton
|
|
Left = 300
|
|
Top = 0
|
|
Caption = #24341#29992#38144#21806#20986#24211
|
|
ImageIndex = 87
|
|
Visible = False
|
|
OnClick = btn1Click
|
|
end
|
|
end
|
|
end
|
|
object ADOQueryCmd: TADOQuery
|
|
Connection = DataLink_SampleWarehouse.ADOLink
|
|
Parameters = <>
|
|
Left = 292
|
|
end
|
|
object ADOQueryTmp: TADOQuery
|
|
Connection = DataLink_SampleWarehouse.ADOLink
|
|
Parameters = <>
|
|
Left = 344
|
|
Top = 4
|
|
end
|
|
object DataSource1: TDataSource
|
|
DataSet = CDS_Main
|
|
Left = 400
|
|
Top = 1
|
|
end
|
|
object CDS_Main: TClientDataSet
|
|
Aggregates = <>
|
|
Params = <>
|
|
Left = 464
|
|
Top = 1
|
|
end
|
|
object cxGridPopupMenu1: TcxGridPopupMenu
|
|
Grid = cxGrid1
|
|
PopupMenus = <>
|
|
Left = 556
|
|
Top = 9
|
|
end
|
|
object DS_YPXZ: TDataSource
|
|
DataSet = CDS_YPXZ
|
|
Left = 1036
|
|
Top = 356
|
|
end
|
|
object CDS_YPXZ: TClientDataSet
|
|
Aggregates = <>
|
|
Params = <>
|
|
Left = 904
|
|
Top = 319
|
|
end
|
|
end
|