540 lines
14 KiB
Plaintext
540 lines
14 KiB
Plaintext
inherited frmYarnPurchasePlanPut: TfrmYarnPurchasePlanPut
|
|
Left = 219
|
|
Top = 76
|
|
Caption = #37319#36141#35745#21010#24405#20837
|
|
ClientHeight = 658
|
|
ClientWidth = 1541
|
|
Color = clWhite
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Height = -16
|
|
Font.Name = #24494#36719#38597#40657
|
|
OldCreateOrder = True
|
|
Position = poScreenCenter
|
|
WindowState = wsMaximized
|
|
ExplicitWidth = 1557
|
|
ExplicitHeight = 697
|
|
PixelsPerInch = 96
|
|
TextHeight = 21
|
|
object ToolBar1: TToolBar [0]
|
|
Tag = 1
|
|
Left = 0
|
|
Top = 0
|
|
Width = 1541
|
|
Height = 30
|
|
AutoSize = True
|
|
ButtonHeight = 30
|
|
ButtonWidth = 99
|
|
Caption = 'ToolBar1'
|
|
Color = clWhite
|
|
DisabledImages = DataLink_PurchasePlan.cxImageList_bar
|
|
Images = DataLink_PurchasePlan.cxImageList_bar
|
|
List = True
|
|
ParentColor = False
|
|
ShowCaptions = True
|
|
TabOrder = 0
|
|
object TBSave: TToolButton
|
|
Left = 0
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20445#23384
|
|
ImageIndex = 16
|
|
OnClick = TBSaveClick
|
|
end
|
|
object ToolButton3: TToolButton
|
|
Left = 71
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20445#23384#26684#24335
|
|
ImageIndex = 16
|
|
OnClick = ToolButton3Click
|
|
end
|
|
object TBClose: TToolButton
|
|
Left = 174
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20851#38381
|
|
ImageIndex = 7
|
|
OnClick = TBCloseClick
|
|
end
|
|
end
|
|
object ToolBar2: TToolBar [1]
|
|
Tag = 1
|
|
Left = 0
|
|
Top = 113
|
|
Width = 1541
|
|
Height = 30
|
|
AutoSize = True
|
|
ButtonHeight = 30
|
|
ButtonWidth = 67
|
|
Caption = 'ToolBar1'
|
|
Color = clBtnFace
|
|
DisabledImages = DataLink_PurchasePlan.cxImageList_bar
|
|
EdgeInner = esNone
|
|
EdgeOuter = esNone
|
|
Images = DataLink_PurchasePlan.cxImageList_bar
|
|
List = True
|
|
ParentColor = False
|
|
ShowCaptions = True
|
|
TabOrder = 1
|
|
ExplicitTop = 153
|
|
object ToolButton1: TToolButton
|
|
Left = 0
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #22686#34892
|
|
ImageIndex = 2
|
|
OnClick = ToolButton1Click
|
|
end
|
|
object ToolButton2: TToolButton
|
|
Left = 71
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #21024#34892
|
|
ImageIndex = 6
|
|
OnClick = ToolButton2Click
|
|
end
|
|
end
|
|
object cxGrid1: TcxGrid [2]
|
|
Left = 0
|
|
Top = 143
|
|
Width = 1541
|
|
Height = 515
|
|
Align = alClient
|
|
BorderStyle = cxcbsNone
|
|
PopupMenu = pm_sub
|
|
TabOrder = 2
|
|
ExplicitTop = 183
|
|
ExplicitHeight = 475
|
|
object Tv1: TcxGridDBTableView
|
|
Navigator.Buttons.CustomButtons = <>
|
|
ScrollbarAnnotations.CustomAnnotations = <>
|
|
DataController.DataSource = DS_1
|
|
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
|
|
Column = v1PRTPrice
|
|
end>
|
|
DataController.Summary.FooterSummaryItems = <
|
|
item
|
|
Kind = skSum
|
|
Column = v1PRTOrderQty
|
|
end
|
|
item
|
|
Kind = skSum
|
|
end
|
|
item
|
|
Kind = skSum
|
|
Column = Tv1Column9
|
|
end>
|
|
DataController.Summary.SummaryGroups = <>
|
|
OptionsBehavior.FocusCellOnTab = True
|
|
OptionsBehavior.GoToNextCellOnEnter = True
|
|
OptionsBehavior.FocusCellOnCycle = True
|
|
OptionsCustomize.ColumnFiltering = False
|
|
OptionsData.Deleting = False
|
|
OptionsData.DeletingConfirmation = False
|
|
OptionsView.Footer = True
|
|
OptionsView.GroupByBox = False
|
|
object Tv1Column7: TcxGridDBColumn
|
|
Tag = 9
|
|
Caption = #36873#25321
|
|
DataBinding.FieldName = 'SSel'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxCheckBoxProperties'
|
|
Properties.ImmediatePost = True
|
|
Properties.NullStyle = nssUnchecked
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 41
|
|
end
|
|
object v1XHNo: TcxGridDBColumn
|
|
Caption = #24207#21495
|
|
DataBinding.FieldName = 'SerialNo'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
SortIndex = 0
|
|
SortOrder = soAscending
|
|
Styles.Header = DataLink_PurchasePlan.Default
|
|
Width = 59
|
|
end
|
|
object VC_SCSCode: TcxGridDBColumn
|
|
Caption = #21697#29260
|
|
DataBinding.FieldName = 'Brand'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxButtonEditProperties'
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.ReadOnly = False
|
|
Properties.OnButtonClick = v1Column10PropertiesButtonClick
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 77
|
|
end
|
|
object Tv1Column2: TcxGridDBColumn
|
|
Caption = #32534#21495
|
|
DataBinding.FieldName = 'Y_Code'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 67
|
|
end
|
|
object v1Column4: TcxGridDBColumn
|
|
Caption = #21697#21517
|
|
DataBinding.FieldName = 'Y_Name'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 70
|
|
end
|
|
object v1Column5: TcxGridDBColumn
|
|
Caption = #35268#26684
|
|
DataBinding.FieldName = 'Y_Spec'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 60
|
|
end
|
|
object v1Column1: TcxGridDBColumn
|
|
Caption = #25104#20998
|
|
DataBinding.FieldName = 'Y_Composition'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 70
|
|
end
|
|
object Tv1Column5: TcxGridDBColumn
|
|
Caption = #39068#33394
|
|
DataBinding.FieldName = 'Y_Color'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 70
|
|
end
|
|
object Tv1Column1: TcxGridDBColumn
|
|
Caption = 'D'#25968
|
|
DataBinding.FieldName = 'Denier'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 80
|
|
end
|
|
object v1PRTOrderQty: TcxGridDBColumn
|
|
Caption = #25968#37327
|
|
DataBinding.FieldName = 'Qty'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxTextEditProperties'
|
|
Properties.OnEditValueChanged = v1PRTOrderQtyPropertiesEditValueChanged
|
|
HeaderAlignmentHorz = taCenter
|
|
Styles.Header = DataLink_PurchasePlan.Default
|
|
Width = 70
|
|
end
|
|
object v1OrderUnit: TcxGridDBColumn
|
|
Caption = #21333#20301
|
|
DataBinding.FieldName = 'QtyUnit'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxComboBoxProperties'
|
|
Properties.DropDownListStyle = lsEditFixedList
|
|
Properties.Items.Strings = (
|
|
'Kg'
|
|
'M'
|
|
'Y')
|
|
HeaderAlignmentHorz = taCenter
|
|
Styles.Header = DataLink_PurchasePlan.Default
|
|
Width = 58
|
|
end
|
|
object v1PRTPrice: TcxGridDBColumn
|
|
Caption = #21333#20215
|
|
DataBinding.FieldName = 'Price'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxTextEditProperties'
|
|
Properties.OnEditValueChanged = v1PRTOrderQtyPropertiesEditValueChanged
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Sorting = False
|
|
Styles.Header = DataLink_PurchasePlan.handBlack
|
|
Width = 70
|
|
end
|
|
object Tv1Column9: TcxGridDBColumn
|
|
Caption = #37329#39069
|
|
DataBinding.FieldName = 'Amount'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxTextEditProperties'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 84
|
|
end
|
|
object v1Column2: TcxGridDBColumn
|
|
Caption = #22791#27880
|
|
DataBinding.FieldName = 'SNote'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 70
|
|
end
|
|
object Tv1Column3: TcxGridDBColumn
|
|
Caption = #20132#36135#26085#26399
|
|
DataBinding.FieldName = 'SDlyDate'
|
|
DataBinding.IsNullValueType = True
|
|
PropertiesClassName = 'TcxDateEditProperties'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 109
|
|
end
|
|
object Tv1Column4: TcxGridDBColumn
|
|
Caption = #35823#24046
|
|
DataBinding.FieldName = 'Tolerance'
|
|
DataBinding.IsNullValueType = True
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 95
|
|
end
|
|
end
|
|
object cxGrid1Level1: TcxGridLevel
|
|
GridView = Tv1
|
|
end
|
|
end
|
|
object ScrollBox1: TScrollBox [3]
|
|
Left = 0
|
|
Top = 30
|
|
Width = 1541
|
|
Height = 83
|
|
Align = alTop
|
|
BevelInner = bvNone
|
|
BevelOuter = bvNone
|
|
BorderStyle = bsNone
|
|
Color = clWhite
|
|
Ctl3D = False
|
|
ParentColor = False
|
|
ParentCtl3D = False
|
|
TabOrder = 3
|
|
object lbl5: TLabel
|
|
Left = 904
|
|
Top = 10
|
|
Width = 80
|
|
Height = 21
|
|
Caption = #19979#21333#26085#26399#65306
|
|
end
|
|
object lbl6: TLabel
|
|
Left = 40
|
|
Top = 10
|
|
Width = 80
|
|
Height = 21
|
|
Caption = #37319#36141#21333#21495#65306
|
|
end
|
|
object lbl7: TLabel
|
|
Left = 616
|
|
Top = 10
|
|
Width = 80
|
|
Height = 21
|
|
Caption = #25105#26041#21333#20301#65306
|
|
end
|
|
object lbl8: TLabel
|
|
Left = 328
|
|
Top = 10
|
|
Width = 80
|
|
Height = 21
|
|
AutoSize = False
|
|
Caption = #20379#24212#21830#65306
|
|
end
|
|
object lbl1: TLabel
|
|
Left = 328
|
|
Top = 49
|
|
Width = 80
|
|
Height = 21
|
|
Caption = #20184#27454#26041#24335#65306
|
|
end
|
|
object lbl3: TLabel
|
|
Left = 40
|
|
Top = 49
|
|
Width = 80
|
|
Height = 21
|
|
Caption = #36816#36755#26041#24335#65306
|
|
end
|
|
object lbl4: TLabel
|
|
Left = 616
|
|
Top = 49
|
|
Width = 80
|
|
Height = 21
|
|
Caption = #26159#21542#21547#31246#65306
|
|
end
|
|
object Label23: TLabel
|
|
Left = 904
|
|
Top = 49
|
|
Width = 80
|
|
Height = 21
|
|
AutoSize = False
|
|
Caption = #31867#22411#65306
|
|
end
|
|
object PurNo: TcxTextEdit
|
|
Tag = 2
|
|
Left = 124
|
|
Top = 4
|
|
ParentFont = False
|
|
TabOrder = 0
|
|
Text = #33258#21160#29983#25104
|
|
Width = 200
|
|
end
|
|
object Sellname: TcxButtonEdit
|
|
Tag = 2
|
|
Left = 412
|
|
Top = 4
|
|
ParentFont = False
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.ReadOnly = True
|
|
Properties.OnButtonClick = SellnamePropertiesButtonClick
|
|
Style.ButtonStyle = btsDefault
|
|
TabOrder = 1
|
|
OnDblClick = BuyNameDblClick
|
|
Width = 200
|
|
end
|
|
object BuyName: TcxButtonEdit
|
|
Tag = 2
|
|
Left = 700
|
|
Top = 4
|
|
ParentFont = False
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.ReadOnly = True
|
|
Properties.OnButtonClick = BuyNamePropertiesButtonClick
|
|
Style.ButtonStyle = btsDefault
|
|
TabOrder = 2
|
|
OnDblClick = BuyNameDblClick
|
|
Width = 200
|
|
end
|
|
object PurDate: TcxDateEdit
|
|
Tag = 2
|
|
Left = 988
|
|
Top = 4
|
|
ParentFont = False
|
|
Properties.ShowTime = False
|
|
TabOrder = 3
|
|
Width = 200
|
|
end
|
|
object Payment: TcxButtonEdit
|
|
Tag = 2
|
|
Left = 412
|
|
Top = 43
|
|
Hint = 'Payment/'#20184#27454#26041#24335
|
|
ParentFont = False
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.ReadOnly = False
|
|
Properties.OnButtonClick = ShipMentPropertiesButtonClick
|
|
Style.ButtonStyle = btsDefault
|
|
TabOrder = 4
|
|
OnDblClick = BuyNameDblClick
|
|
Width = 200
|
|
end
|
|
object ShipMent: TcxButtonEdit
|
|
Tag = 2
|
|
Left = 124
|
|
Top = 43
|
|
Hint = 'ShipMent/'#36816#36755#26041#24335
|
|
ParentFont = False
|
|
Properties.Buttons = <
|
|
item
|
|
Default = True
|
|
Kind = bkEllipsis
|
|
end>
|
|
Properties.ReadOnly = False
|
|
Properties.OnButtonClick = ShipMentPropertiesButtonClick
|
|
Style.ButtonStyle = btsDefault
|
|
TabOrder = 5
|
|
OnDblClick = BuyNameDblClick
|
|
Width = 200
|
|
end
|
|
object IsTax: TcxComboBox
|
|
Tag = 2
|
|
Left = 700
|
|
Top = 43
|
|
ParentFont = False
|
|
Properties.Items.Strings = (
|
|
#26159
|
|
#21542)
|
|
TabOrder = 6
|
|
Text = #26159
|
|
Width = 200
|
|
end
|
|
object PurType: TcxComboBox
|
|
Tag = 2
|
|
Left = 988
|
|
Top = 43
|
|
ParentFont = False
|
|
Properties.Items.Strings = (
|
|
#37319#36141
|
|
#21152#24037)
|
|
TabOrder = 7
|
|
Width = 200
|
|
end
|
|
end
|
|
inherited ADOQueryBaseCmd: TADOQuery
|
|
Connection = DataLink_PurchasePlan.ADOLink
|
|
Left = 1185
|
|
Top = 328
|
|
end
|
|
inherited ADOQueryBaseTemp: TADOQuery
|
|
Connection = DataLink_PurchasePlan.ADOLink
|
|
Left = 1057
|
|
Top = 289
|
|
end
|
|
inherited ImageList_new32: TImageList
|
|
Left = 968
|
|
Top = 360
|
|
end
|
|
object ADOTemp: TADOQuery
|
|
Connection = DataLink_PurchasePlan.ADOLink
|
|
LockType = ltReadOnly
|
|
Parameters = <>
|
|
Left = 792
|
|
Top = 293
|
|
end
|
|
object ADOCmd: TADOQuery
|
|
Connection = DataLink_PurchasePlan.ADOLink
|
|
Parameters = <>
|
|
Left = 952
|
|
Top = 341
|
|
end
|
|
object DS_1: TDataSource
|
|
DataSet = Order_Sub
|
|
Left = 860
|
|
Top = 404
|
|
end
|
|
object Order_Sub: TClientDataSet
|
|
Aggregates = <>
|
|
IndexFieldNames = 'SerialNo'
|
|
Params = <>
|
|
Left = 716
|
|
Top = 404
|
|
end
|
|
object cxgrdpmn1: TcxGridPopupMenu
|
|
Grid = cxGrid1
|
|
PopupMenus = <>
|
|
Left = 464
|
|
Top = 348
|
|
end
|
|
object pm_sub: TPopupMenu
|
|
Left = 624
|
|
Top = 536
|
|
object N1: TMenuItem
|
|
Caption = #26222#36890#26367#25442
|
|
OnClick = N1Click
|
|
end
|
|
object N2: TMenuItem
|
|
Caption = #20135#21697#26367#25442
|
|
OnClick = N2Click
|
|
end
|
|
end
|
|
end
|