592 lines
15 KiB
Plaintext
592 lines
15 KiB
Plaintext
object frmbpRk: TfrmbpRk
|
|
Left = 198
|
|
Top = 177
|
|
Width = 1166
|
|
Height = 555
|
|
BorderIcons = [biSystemMenu]
|
|
Caption = #26679#21697#20837#24211#20449#24687#24405#20837
|
|
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 ToolBar1: TToolBar
|
|
Left = 0
|
|
Top = 0
|
|
Width = 1150
|
|
Height = 29
|
|
ButtonHeight = 30
|
|
ButtonWidth = 59
|
|
Caption = 'ToolBar1'
|
|
Color = clSkyBlue
|
|
EdgeInner = esNone
|
|
EdgeOuter = esNone
|
|
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 TBSave: TToolButton
|
|
Left = 0
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20445#23384
|
|
ImageIndex = 14
|
|
OnClick = TBSaveClick
|
|
end
|
|
object TBClose: TToolButton
|
|
Left = 63
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20851#38381
|
|
ImageIndex = 55
|
|
OnClick = TBCloseClick
|
|
end
|
|
end
|
|
object Panel1: TPanel
|
|
Left = 0
|
|
Top = 29
|
|
Width = 1150
|
|
Height = 64
|
|
Align = alTop
|
|
BevelInner = bvRaised
|
|
BevelOuter = bvLowered
|
|
Color = clSkyBlue
|
|
TabOrder = 1
|
|
object Label1: TLabel
|
|
Left = 32
|
|
Top = 12
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #20837#24211#26085#26399
|
|
end
|
|
object Label2: TLabel
|
|
Left = 32
|
|
Top = 40
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #20837#24211#26041#24335
|
|
end
|
|
object Label3: TLabel
|
|
Left = 36
|
|
Top = 124
|
|
Width = 24
|
|
Height = 12
|
|
Caption = #20179#24211
|
|
end
|
|
object Label8: TLabel
|
|
Left = 40
|
|
Top = 68
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #20837#24211#21333#21495
|
|
Visible = False
|
|
end
|
|
object Label4: TLabel
|
|
Left = 240
|
|
Top = 68
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #19994' '#21153' '#21592
|
|
Visible = False
|
|
end
|
|
object Label9: TLabel
|
|
Left = 386
|
|
Top = 12
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #26469#26679#24037#21378
|
|
end
|
|
object Label5: TLabel
|
|
Left = 220
|
|
Top = 12
|
|
Width = 48
|
|
Height = 12
|
|
Caption = #20837#24211#20179#24211
|
|
end
|
|
object Label7: TLabel
|
|
Left = 232
|
|
Top = 40
|
|
Width = 36
|
|
Height = 12
|
|
Caption = #24635#22791#27880
|
|
end
|
|
object CRTime: TDateTimePicker
|
|
Left = 84
|
|
Top = 8
|
|
Width = 100
|
|
Height = 20
|
|
Date = 41509.970132187500000000
|
|
Format = 'yyyy-MM-dd'
|
|
Time = 41509.970132187500000000
|
|
Enabled = False
|
|
TabOrder = 0
|
|
end
|
|
object CRType: TComboBox
|
|
Left = 84
|
|
Top = 36
|
|
Width = 100
|
|
Height = 20
|
|
Style = csDropDownList
|
|
ItemHeight = 12
|
|
TabOrder = 1
|
|
Items.Strings = (
|
|
#36141#26679#20837#24211
|
|
#23458#25143#26469#26679#20837#24211
|
|
#24037#21378#35843#25320
|
|
#24037#21378#26469#26679#20837#24211
|
|
#22823#36135#21097#20313
|
|
#20869#37096#35843#25320#20837#24211)
|
|
end
|
|
object ckName: TComboBox
|
|
Left = 68
|
|
Top = 120
|
|
Width = 100
|
|
Height = 20
|
|
Style = csDropDownList
|
|
ItemHeight = 12
|
|
ItemIndex = 0
|
|
TabOrder = 2
|
|
Text = #26679#21697#20179#24211
|
|
Items.Strings = (
|
|
#26679#21697#20179#24211)
|
|
end
|
|
object CRNo: TEdit
|
|
Left = 88
|
|
Top = 64
|
|
Width = 100
|
|
Height = 20
|
|
TabOrder = 3
|
|
Visible = False
|
|
end
|
|
object ywy: TBtnEditA
|
|
Left = 292
|
|
Top = 64
|
|
Width = 100
|
|
Height = 20
|
|
TabOrder = 4
|
|
Visible = False
|
|
OnBtnClick = ywyBtnClick
|
|
end
|
|
object factoryName: TBtnEditA
|
|
Left = 434
|
|
Top = 8
|
|
Width = 333
|
|
Height = 20
|
|
ReadOnly = True
|
|
TabOrder = 5
|
|
OnBtnClick = factoryNameBtnClick
|
|
end
|
|
object ZNote: TEdit
|
|
Left = 270
|
|
Top = 36
|
|
Width = 709
|
|
Height = 20
|
|
TabOrder = 6
|
|
end
|
|
object YPCFD: TComboBox
|
|
Left = 270
|
|
Top = 8
|
|
Width = 100
|
|
Height = 20
|
|
Style = csDropDownList
|
|
ItemHeight = 12
|
|
ItemIndex = 0
|
|
TabOrder = 7
|
|
Text = #23637#31034#38388
|
|
Items.Strings = (
|
|
#23637#31034#38388)
|
|
end
|
|
end
|
|
object cxGrid1: TcxGrid
|
|
Left = 0
|
|
Top = 122
|
|
Width = 1150
|
|
Height = 390
|
|
Align = alTop
|
|
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>
|
|
DataController.Summary.SummaryGroups = <>
|
|
OptionsBehavior.FocusCellOnTab = True
|
|
OptionsBehavior.GoToNextCellOnEnter = True
|
|
OptionsBehavior.FocusCellOnCycle = True
|
|
OptionsCustomize.ColumnFiltering = False
|
|
OptionsView.Footer = True
|
|
OptionsView.GroupByBox = False
|
|
OptionsView.Indicator = True
|
|
OptionsView.IndicatorWidth = 20
|
|
Styles.Header = YPCK_DataLink.Default
|
|
OnCustomDrawIndicatorCell = Tv1CustomDrawIndicatorCell
|
|
object v1Column8: TcxGridDBColumn
|
|
Caption = #25351#31034#21333#21495
|
|
DataBinding.FieldName = 'FromOrderNo'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.ReadOnly = False
|
|
Properties.OnButtonClick = v1Column8PropertiesButtonClick
|
|
Visible = False
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 66
|
|
end
|
|
object v1Column3: TcxGridDBColumn
|
|
Caption = #24211#20301
|
|
DataBinding.FieldName = 'Kuwei'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.OnButtonClick = v1Column3PropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 90
|
|
end
|
|
object Tv1Column5: TcxGridDBColumn
|
|
Caption = #31867#22411
|
|
DataBinding.FieldName = 'YPLX'
|
|
PropertiesClassName = 'TcxComboBoxProperties'
|
|
Properties.Items.Strings = (
|
|
#26679#21697
|
|
#22823#36135)
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 80
|
|
end
|
|
object Tv1Column8: TcxGridDBColumn
|
|
Caption = #20135#21697#31867#22411
|
|
DataBinding.FieldName = 'XZLX'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 80
|
|
end
|
|
object v1P_Code: TcxGridDBColumn
|
|
Caption = #26679#21697#32534#21495
|
|
DataBinding.FieldName = 'P_Code'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.CharCase = ecUpperCase
|
|
Properties.OnButtonClick = v1P_CodePropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Options.Sorting = False
|
|
Width = 100
|
|
end
|
|
object v1P_CodeName: TcxGridDBColumn
|
|
Caption = #20844#21496#20135#21697#21517#31216
|
|
DataBinding.FieldName = 'P_CodeName'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.OnButtonClick = v1P_CodeNamePropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 90
|
|
end
|
|
object Tv1Column3: TcxGridDBColumn
|
|
Caption = #23458#25143#20135#21697#21517#31216
|
|
DataBinding.FieldName = 'KHCPName'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.OnButtonClick = Tv1Column3PropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 90
|
|
end
|
|
object v1PRTSpec: TcxGridDBColumn
|
|
Caption = #24037#33402
|
|
DataBinding.FieldName = 'P_SPEC'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 104
|
|
end
|
|
object v1Column5: TcxGridDBColumn
|
|
Caption = #25104#20998
|
|
DataBinding.FieldName = 'P_CF'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 80
|
|
end
|
|
object v1Column6: TcxGridDBColumn
|
|
Caption = #32433#25903
|
|
DataBinding.FieldName = 'ShaZhi'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 70
|
|
end
|
|
object v1P_MF: TcxGridDBColumn
|
|
Caption = #38376#24133
|
|
DataBinding.FieldName = 'P_SMF'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 80
|
|
end
|
|
object v1P_KZ: TcxGridDBColumn
|
|
Caption = #20811#37325
|
|
DataBinding.FieldName = 'P_SKZ'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 70
|
|
end
|
|
object v1P_Color: TcxGridDBColumn
|
|
Caption = #20844#21496#39068#33394
|
|
DataBinding.FieldName = 'P_Color'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.OnButtonClick = v1P_ColorPropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 80
|
|
end
|
|
object Tv1Column4: TcxGridDBColumn
|
|
Caption = #20844#21496#33394#21495
|
|
DataBinding.FieldName = 'sehao'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.OnButtonClick = Tv1Column4PropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 80
|
|
end
|
|
object Tv1Column1: TcxGridDBColumn
|
|
Caption = #23458#25143#39068#33394
|
|
DataBinding.FieldName = 'KHColor'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.OnButtonClick = Tv1Column1PropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 80
|
|
end
|
|
object Tv1Column2: TcxGridDBColumn
|
|
Caption = #23458#25143#33394#21495
|
|
DataBinding.FieldName = 'KHSeHao'
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.OnButtonClick = Tv1Column2PropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 80
|
|
end
|
|
object v1Qty: TcxGridDBColumn
|
|
Caption = #31859#25968
|
|
DataBinding.FieldName = 'qty'
|
|
PropertiesClassName = 'TcxTextEditProperties'
|
|
Properties.OnEditValueChanged = v1QtyPropertiesEditValueChanged
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Styles.Content = YPCK_DataLink.FontBlue
|
|
Styles.Footer = YPCK_DataLink.FontBlue
|
|
Styles.Header = YPCK_DataLink.FontBlue
|
|
Width = 69
|
|
end
|
|
object Tv1Column6: TcxGridDBColumn
|
|
Caption = #25104#26412#20215
|
|
DataBinding.FieldName = 'Price'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 70
|
|
end
|
|
object v1QtyUnit: TcxGridDBColumn
|
|
Caption = #25968#37327#21333#20301
|
|
DataBinding.FieldName = 'qtyUnit'
|
|
PropertiesClassName = 'TcxComboBoxProperties'
|
|
Properties.DropDownListStyle = lsFixedList
|
|
Properties.Items.Strings = (
|
|
'M'
|
|
'Y'
|
|
'KG'
|
|
#20010)
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 60
|
|
end
|
|
object v1Note: TcxGridDBColumn
|
|
Caption = #22791#27880
|
|
DataBinding.FieldName = 'Note'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Width = 132
|
|
end
|
|
end
|
|
object cxGrid1Level1: TcxGridLevel
|
|
GridView = Tv1
|
|
end
|
|
end
|
|
object ToolBar2: TToolBar
|
|
Left = 0
|
|
Top = 93
|
|
Width = 1150
|
|
Height = 29
|
|
ButtonHeight = 30
|
|
ButtonWidth = 131
|
|
Caption = 'ToolBar1'
|
|
Color = clSkyBlue
|
|
EdgeInner = esNone
|
|
EdgeOuter = esNone
|
|
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 = 3
|
|
object ToolButton1: TToolButton
|
|
Left = 0
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #36873#25321#20844#21496#20135#21697
|
|
ImageIndex = 103
|
|
OnClick = ToolButton1Click
|
|
end
|
|
object ToolButton5: TToolButton
|
|
Left = 111
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #36873#25321#21360#33457#26579#33394#28907#37329
|
|
ImageIndex = 103
|
|
OnClick = ToolButton5Click
|
|
end
|
|
object ToolButton4: TToolButton
|
|
Left = 246
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #22686#34892
|
|
ImageIndex = 103
|
|
OnClick = ToolButton4Click
|
|
end
|
|
object ToolButton6: TToolButton
|
|
Left = 309
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #36873#25321#24211#23384#26679#21697
|
|
ImageIndex = 103
|
|
OnClick = ToolButton6Click
|
|
end
|
|
object edtScan: TEdit
|
|
Left = 420
|
|
Top = 0
|
|
Width = 151
|
|
Height = 30
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -19
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 0
|
|
OnKeyPress = edtScanKeyPress
|
|
end
|
|
object ToolButton3: TToolButton
|
|
Left = 571
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #22797#21046
|
|
ImageIndex = 57
|
|
OnClick = ToolButton3Click
|
|
end
|
|
object ToolButton2: TToolButton
|
|
Left = 634
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #21024#34892
|
|
ImageIndex = 107
|
|
OnClick = ToolButton2Click
|
|
end
|
|
end
|
|
object ADOQueryCmd: TADOQuery
|
|
Connection = YPCK_DataLink.ADOLink
|
|
Parameters = <>
|
|
Left = 292
|
|
end
|
|
object ADOQueryTmp: TADOQuery
|
|
Connection = YPCK_DataLink.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 = 1052
|
|
Top = 193
|
|
end
|
|
end
|