604 lines
14 KiB
Plaintext
604 lines
14 KiB
Plaintext
object frmCPAddPN: TfrmCPAddPN
|
|
Left = 383
|
|
Top = 42
|
|
Width = 1056
|
|
Height = 782
|
|
Anchors = []
|
|
Caption = #26679#21697#24405#20837
|
|
Color = clBtnFace
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = #23435#20307
|
|
Font.Style = []
|
|
OldCreateOrder = False
|
|
Position = poScreenCenter
|
|
OnShow = FormShow
|
|
PixelsPerInch = 96
|
|
TextHeight = 12
|
|
object ToolBar1: TToolBar
|
|
Left = 0
|
|
Top = 0
|
|
Width = 1040
|
|
Height = 33
|
|
ButtonHeight = 30
|
|
ButtonWidth = 59
|
|
Caption = 'ToolBar1'
|
|
Color = clSkyBlue
|
|
DisabledImages = DataLink_YPGL.ThreeImgList
|
|
Flat = True
|
|
Images = DataLink_YPGL.ThreeImgList
|
|
List = True
|
|
ParentColor = False
|
|
ShowCaptions = True
|
|
TabOrder = 0
|
|
object ToolButton1: TToolButton
|
|
Left = 0
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20445#23384
|
|
ImageIndex = 5
|
|
OnClick = ToolButton1Click
|
|
end
|
|
object TBClose: TToolButton
|
|
Left = 63
|
|
Top = 0
|
|
AutoSize = True
|
|
Caption = #20851#38381
|
|
ImageIndex = 21
|
|
OnClick = TBCloseClick
|
|
end
|
|
end
|
|
object ScrollBox1: TScrollBox
|
|
Left = 0
|
|
Top = 33
|
|
Width = 1040
|
|
Height = 711
|
|
Align = alClient
|
|
BevelInner = bvNone
|
|
BevelOuter = bvNone
|
|
Color = clBtnFace
|
|
Ctl3D = False
|
|
ParentColor = False
|
|
ParentCtl3D = False
|
|
TabOrder = 1
|
|
object Label1: TLabel
|
|
Left = 50
|
|
Top = 16
|
|
Width = 51
|
|
Height = 16
|
|
Caption = #32534#21495#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label7: TLabel
|
|
Left = 50
|
|
Top = 604
|
|
Width = 51
|
|
Height = 16
|
|
Caption = #22791#27880#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label5: TLabel
|
|
Left = 50
|
|
Top = 46
|
|
Width = 51
|
|
Height = 16
|
|
Caption = #21697#21517#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label11: TLabel
|
|
Left = 50
|
|
Top = 136
|
|
Width = 51
|
|
Height = 16
|
|
Caption = #25104#20998#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label15: TLabel
|
|
Left = 362
|
|
Top = 75
|
|
Width = 51
|
|
Height = 16
|
|
Caption = #38376#24133#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label22: TLabel
|
|
Left = 50
|
|
Top = 75
|
|
Width = 51
|
|
Height = 16
|
|
Caption = #20811#37325#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label23: TLabel
|
|
Left = 50
|
|
Top = 545
|
|
Width = 51
|
|
Height = 16
|
|
Caption = #35268#26684#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label2: TLabel
|
|
Left = 50
|
|
Top = 104
|
|
Width = 51
|
|
Height = 16
|
|
Caption = #39068#33394#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label10: TLabel
|
|
Left = 345
|
|
Top = 104
|
|
Width = 68
|
|
Height = 16
|
|
Caption = #25104#26412#20215#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label3: TLabel
|
|
Left = 362
|
|
Top = 16
|
|
Width = 51
|
|
Height = 16
|
|
Caption = #26465#30721#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clRed
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label4: TLabel
|
|
Left = 16
|
|
Top = 166
|
|
Width = 85
|
|
Height = 16
|
|
Caption = #32463#19997#32452#21512#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label6: TLabel
|
|
Left = 16
|
|
Top = 359
|
|
Width = 85
|
|
Height = 16
|
|
Caption = #32428#19997#32452#21512#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label8: TLabel
|
|
Left = 640
|
|
Top = 13
|
|
Width = 68
|
|
Height = 16
|
|
Caption = #32463#25490#21015#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object Label9: TLabel
|
|
Left = 640
|
|
Top = 367
|
|
Width = 68
|
|
Height = 16
|
|
Caption = #32428#25490#21015#65306
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
end
|
|
object CYNo: TEdit
|
|
Tag = 2
|
|
Left = 93
|
|
Top = 13
|
|
Width = 218
|
|
Height = 22
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 2
|
|
end
|
|
object CYNote: TMemo
|
|
Tag = 2
|
|
Left = 93
|
|
Top = 604
|
|
Width = 533
|
|
Height = 93
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
ScrollBars = ssVertical
|
|
TabOrder = 8
|
|
end
|
|
object CYName: TEdit
|
|
Tag = 2
|
|
Left = 93
|
|
Top = 43
|
|
Width = 530
|
|
Height = 22
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 1
|
|
end
|
|
object CYCF: TEdit
|
|
Tag = 2
|
|
Left = 93
|
|
Top = 133
|
|
Width = 530
|
|
Height = 22
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 4
|
|
end
|
|
object CYMF: TEdit
|
|
Tag = 2
|
|
Left = 405
|
|
Top = 72
|
|
Width = 218
|
|
Height = 22
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 6
|
|
OnExit = CYMFExit
|
|
end
|
|
object CYKZ: TEdit
|
|
Tag = 2
|
|
Left = 93
|
|
Top = 72
|
|
Width = 218
|
|
Height = 22
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 5
|
|
OnExit = CYKZExit
|
|
end
|
|
object CYColor: TEdit
|
|
Tag = 2
|
|
Left = 93
|
|
Top = 101
|
|
Width = 218
|
|
Height = 22
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 7
|
|
end
|
|
object CYID: TEdit
|
|
Left = 405
|
|
Top = 13
|
|
Width = 218
|
|
Height = 22
|
|
Enabled = False
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 0
|
|
end
|
|
object CYSpec: TMemo
|
|
Tag = 2
|
|
Left = 93
|
|
Top = 545
|
|
Width = 533
|
|
Height = 48
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
ScrollBars = ssVertical
|
|
TabOrder = 3
|
|
end
|
|
object CYPrice: TEdit
|
|
Tag = 2
|
|
Left = 405
|
|
Top = 101
|
|
Width = 218
|
|
Height = 22
|
|
Font.Charset = GB2312_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -16
|
|
Font.Name = #23435#20307
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 9
|
|
OnKeyPress = CYColorKeyPress
|
|
end
|
|
object cxGrid1: TcxGrid
|
|
Left = 92
|
|
Top = 163
|
|
Width = 531
|
|
Height = 183
|
|
TabOrder = 10
|
|
object TV1: TcxGridDBTableView
|
|
NavigatorButtons.ConfirmDelete = False
|
|
DataController.DataSource = DS_YarnJX
|
|
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
|
|
DataController.Summary.DefaultGroupSummaryItems = <
|
|
item
|
|
Format = 'C_Code'
|
|
end>
|
|
DataController.Summary.FooterSummaryItems = <
|
|
item
|
|
Kind = skSum
|
|
end
|
|
item
|
|
Kind = skSum
|
|
end
|
|
item
|
|
Kind = skSum
|
|
end
|
|
item
|
|
Kind = skSum
|
|
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
|
|
object cxGridDBColumn1: TcxGridDBColumn
|
|
Caption = #24207#21495
|
|
DataBinding.FieldName = 'PYXH'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 56
|
|
end
|
|
object cxGridDBColumn2: TcxGridDBColumn
|
|
Caption = #21517#31216
|
|
DataBinding.FieldName = 'Y_Name'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Moving = False
|
|
Options.Sorting = False
|
|
Width = 277
|
|
end
|
|
object cxGridDBColumn3: TcxGridDBColumn
|
|
Caption = #20811#25968
|
|
DataBinding.FieldName = 'Y_Qty'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 143
|
|
end
|
|
object cxGridDBColumn4: TcxGridDBColumn
|
|
Caption = #22791#27880
|
|
DataBinding.FieldName = 'Y_Note'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Moving = False
|
|
Options.Sorting = False
|
|
Width = 253
|
|
end
|
|
end
|
|
object cxGridLevel2: TcxGridLevel
|
|
GridView = TV1
|
|
end
|
|
end
|
|
object cxGrid2: TcxGrid
|
|
Left = 92
|
|
Top = 355
|
|
Width = 531
|
|
Height = 183
|
|
TabOrder = 11
|
|
object TV2: TcxGridDBTableView
|
|
NavigatorButtons.ConfirmDelete = False
|
|
DataController.DataSource = DS_YarnWX
|
|
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
|
|
DataController.Summary.DefaultGroupSummaryItems = <
|
|
item
|
|
Format = 'C_Code'
|
|
end>
|
|
DataController.Summary.FooterSummaryItems = <
|
|
item
|
|
Kind = skSum
|
|
end
|
|
item
|
|
Kind = skSum
|
|
end
|
|
item
|
|
Kind = skSum
|
|
end
|
|
item
|
|
Kind = skSum
|
|
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
|
|
object cxGridDBColumn5: TcxGridDBColumn
|
|
Caption = #24207#21495
|
|
DataBinding.FieldName = 'PYXH'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Editing = False
|
|
Width = 56
|
|
end
|
|
object cxGridDBColumn6: TcxGridDBColumn
|
|
Caption = #21517#31216
|
|
DataBinding.FieldName = 'Y_Name'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Moving = False
|
|
Options.Sorting = False
|
|
Width = 277
|
|
end
|
|
object cxGridDBColumn7: TcxGridDBColumn
|
|
Caption = #20811#25968
|
|
DataBinding.FieldName = 'Y_Qty'
|
|
HeaderAlignmentHorz = taCenter
|
|
Width = 143
|
|
end
|
|
object cxGridDBColumn8: TcxGridDBColumn
|
|
Caption = #22791#27880
|
|
DataBinding.FieldName = 'Y_Note'
|
|
HeaderAlignmentHorz = taCenter
|
|
Options.Moving = False
|
|
Options.Sorting = False
|
|
Width = 253
|
|
end
|
|
end
|
|
object cxGridLevel1: TcxGridLevel
|
|
GridView = TV2
|
|
end
|
|
end
|
|
object Y_Note_PLJ: TMemo
|
|
Tag = 1
|
|
Left = 640
|
|
Top = 36
|
|
Width = 381
|
|
Height = 308
|
|
TabOrder = 12
|
|
end
|
|
object Y_Note_PLW: TMemo
|
|
Tag = 1
|
|
Left = 640
|
|
Top = 390
|
|
Width = 381
|
|
Height = 308
|
|
TabOrder = 13
|
|
end
|
|
end
|
|
object CDS_Sub: TClientDataSet
|
|
Aggregates = <>
|
|
Params = <>
|
|
Left = 424
|
|
end
|
|
object ADOQueryMain: TADOQuery
|
|
Connection = DataLink_YPGL.ADOLink
|
|
LockType = ltReadOnly
|
|
Parameters = <>
|
|
Left = 477
|
|
Top = 1
|
|
end
|
|
object DataSource2: TDataSource
|
|
DataSet = CDS_Sub
|
|
Left = 539
|
|
Top = 3
|
|
end
|
|
object ADOQueryCmd: TADOQuery
|
|
Connection = DataLink_YPGL.ADOLink
|
|
Parameters = <>
|
|
Left = 309
|
|
Top = 1
|
|
end
|
|
object ADOQueryTemp: TADOQuery
|
|
Connection = DataLink_YPGL.ADOLink
|
|
LockType = ltReadOnly
|
|
Parameters = <>
|
|
Left = 373
|
|
Top = 1
|
|
end
|
|
object DS_YarnJX: TDataSource
|
|
DataSet = CDS_YarnJX
|
|
Left = 224
|
|
Top = 283
|
|
end
|
|
object CDS_YarnJX: TClientDataSet
|
|
Aggregates = <>
|
|
Params = <>
|
|
Left = 151
|
|
Top = 281
|
|
end
|
|
object CDS_YarnWX: TClientDataSet
|
|
Aggregates = <>
|
|
Params = <>
|
|
Left = 115
|
|
Top = 405
|
|
end
|
|
object DS_YarnWX: TDataSource
|
|
DataSet = CDS_YarnWX
|
|
Left = 152
|
|
Top = 405
|
|
end
|
|
end
|