📄 pm_enter_editpasspo1.dfm
字号:
inherited Frm_Pm_Enter_EditPassPo1: TFrm_Pm_Enter_EditPassPo1
Left = 8
Top = 126
Caption = #37319#36141#35746#21333#34892#20462#25913
ClientHeight = 383
ClientWidth = 758
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 758
inherited ToolBar: TToolBar
inherited ToolButton6: TToolButton
Hint = #21453#26597#29238#39033#29289#26009'(Enter)'
end
end
end
inherited Pnl_Title: TPanel
Width = 758
Caption = #37319#36141#35746#21333#34892#20462#25913
inherited Image2: TImage
Width = 758
end
end
inherited Pnl_Head: TPanel
Width = 758
inherited Image1: TImage
Width = 758
end
inherited Lbl_OrderTitle: TLabel
Left = 22
end
inherited Lbl_ConditionTitle: TLabel
Left = 22
end
inherited Lbl_Condition: TLabel
Width = 42
Caption = #26410#19979#36798' '
end
inherited Lbl_Order: TLabel
Width = 114
Caption = #29289#26009#20195#30721'/'#32422#23450#20132#36135#26085
end
object btn_uPMrp: TButton
Left = 334
Top = 7
Width = 102
Height = 25
Caption = 'Mrp'#31446#24335#25253#34920
TabOrder = 0
OnClick = btn_uPMrpClick
end
end
inherited Pnl_Hint: TPanel
Top = 352
Width = 758
Height = 31
inherited Image4: TImage
Width = 758
Height = 31
end
object Label2: TLabel
Left = 8
Top = 3
Width = 72
Height = 12
Caption = #29289#26009#26631#35782' '#65306
end
object DBText2: TDBText
Left = 78
Top = 3
Width = 42
Height = 12
AutoSize = True
DataField = 'ItemFlag'
DataSource = DataSource
end
object Label1: TLabel
Left = 638
Top = 2
Width = 72
Height = 12
Caption = #32422#23450#20132#36135#37327#65306
end
object DBText1: TDBText
Left = 707
Top = 2
Width = 42
Height = 12
AutoSize = True
DataField = 'POQTY'
DataSource = DataSource
end
object Label3: TLabel
Left = 638
Top = 18
Width = 72
Height = 12
Caption = #32422#23450#20132#36135#26085#65306
end
object DBText3: TDBText
Left = 707
Top = 18
Width = 42
Height = 12
AutoSize = True
DataField = 'POLineDATE'
DataSource = DataSource
end
object Label4: TLabel
Left = 7
Top = 18
Width = 72
Height = 12
Caption = #20379#24212#21830#26631#35782#65306
end
object DBText4: TDBText
Left = 78
Top = 18
Width = 42
Height = 12
AutoSize = True
DataField = 'VendorFlag'
DataSource = DataSource
end
end
inherited Pnl_Body: TPanel
Width = 758
Height = 255
inherited Image3: TImage
Width = 758
Height = 255
end
inherited DBGridEh: TDBGridEh
Width = 758
Height = 255
FrozenCols = 5
ReadOnly = False
OnDblClick = Act_LookExecute
OnTitleClick = DBGridEhTitleClick
Columns = <
Item
EditButtons = <>
FieldName = 'EmployeeCode'
Footers = <>
Title.Caption = #37319#36141#21592#20195#30721
Visible = False
Width = 70
end
Item
EditButtons = <>
FieldName = 'EmployeeName'
Footers = <>
Title.Caption = #37319#36141#22995#21517
Visible = False
Width = 80
end
Item
EditButtons = <>
FieldName = 'EmployeeFlag'
Footers = <>
Title.Caption = #37319#36141#21592#26631#35782
Width = 62
end
Item
EditButtons = <>
FieldName = 'PONO'
Footers = <>
ReadOnly = True
Title.Caption = #37319#36141#35746#21333#21495
Width = 67
end
Item
EditButtons = <>
FieldName = 'POLINENo'
Footers = <>
ReadOnly = True
Title.Caption = #35746#21333#34892#21495
Width = 55
end
Item
EditButtons = <>
FieldName = 'POLINESTATUS'
Footers = <>
KeyList.Strings = (
'5'
'6')
PickList.Strings = (
'5 '#20934#22791
'6 '#19979#36798
'')
ReadOnly = True
Title.Caption = #34892#29366#24577
Width = 43
end
Item
Alignment = tArightJustify
EditButtons = <>
FieldName = 'PoDate'
Footers = <>
ReadOnly = True
Title.Caption = #19979#21333#26085#26399
Width = 69
end
Item
EditButtons = <>
FieldName = 'ItemCode'
Footers = <>
ReadOnly = True
Title.Caption = #29289#26009#20195#30721
Visible = False
Width = 90
end
Item
EditButtons = <>
FieldName = 'ItemName'
Footers = <>
ReadOnly = True
Title.Caption = #29289#26009#25551#36848
Visible = False
Width = 200
end
Item
EditButtons = <>
FieldName = 'ItemFlag'
Footers = <>
Title.Caption = #29289#26009#26631#35782
Width = 153
end
Item
Alignment = taCenter
EditButtons = <>
FieldName = 'UomName'
Footers = <>
ReadOnly = True
Title.Caption = #21333#20301
Width = 26
end
Item
EditButtons = <>
FieldName = 'SsQty'
Footers = <>
ReadOnly = True
Title.Caption = #31995#32479#24314#35758#37327
Width = 63
end
Item
EditButtons = <>
FieldName = 'POQTY'
Footers = <>
ReadOnly = True
Title.Caption = #32422#23450#20132#36135#37327
Width = 65
end
Item
EditButtons = <>
FieldName = 'PONoFinishQty'
Footers = <>
ReadOnly = True
Title.Caption = #26410#32467#37327
Width = 56
end
Item
Alignment = tArightJustify
EditButtons = <>
FieldName = 'POStArtWorkDate'
Footers = <>
ReadOnly = True
Title.Caption = #32422#23450#24320#24037#26085
Width = 66
end
Item
Alignment = tArightJustify
EditButtons = <>
FieldName = 'POLineDATE'
Footers = <>
ReadOnly = True
Title.Caption = #32422#23450#20132#36135#26085
Width = 70
end
Item
EditButtons = <>
FieldName = 'VendorCode'
Footers = <>
ReadOnly = True
Title.Caption = #20379#24212#21830#20195#30721
Visible = False
Width = 70
end
Item
EditButtons = <>
FieldName = 'VendorName'
Footers = <>
ReadOnly = True
Title.Caption = #20379#24212#21830#21517#31216
Visible = False
Width = 120
end
Item
EditButtons = <>
FieldName = 'VendorFlag'
Footers = <>
Title.Caption = #20379#24212#26631#35782
Width = 150
end
Item
EditButtons = <>
FieldName = 'PoInQty'
Footers = <>
Title.Caption = #24453#26816#37327
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 477
Top = 155
end
inherited ActionList: TActionList
inherited Act_Modify: TAction
OnExecute = Act_ModifyExecute
end
inherited Act_Delete: TAction
Enabled = True
Visible = True
OnExecute = Act_DeleteExecute
end
inherited Act_CancelCheck: TAction
Enabled = False
Visible = False
end
inherited Act_Look: TAction
Caption = #21453#26597#29238#39033#29289#26009
Enabled = True
Hint = #21453#26597#29238#39033#29289#26009
Visible = True
OnExecute = Act_LookExecute
end
inherited Act_Check: TAction
Enabled = False
Visible = False
end
inherited Act_Expend: TAction
Caption = #19978#32423#29289#26009
Hint = #19978#32423#29289#26009
end
end
inherited AdoQry_Head: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=Mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdysjmrm;Data Source=192.168.0.1' +
'51'
BeforeInsert = AdoQry_HeadBeforeInsert
SQL.Strings = (
'Select PoLine.*,Po.*,Vendor.VendorName,Item.ItemName,Item.PmCode' +
',Item.Qclt,Employee.EmployeeName,Uom.UomName,'
'Employee.EmployeeCode+'#39' '#39'+Employee.EmployeeName As EmployeeFlag,'
'Item.ItemCode+'#39' '#39'+Item.ItemName As ItemFlag,'
'Vendor.VendorCode+'#39' '#39'+Vendor.VendorName As VendorFlag'
'From PoLine '
'Join Po On Po.PoNo=PoLine.PoNo '
'Join Item On PoLine.ItemCode=Item.ItemCode'
'And (POLineStatus=5 Or POLineStatus=6)'
'Left Outer Join Vendor On Po.VendorCode=Vendor.VendorCode'
'join Employee on Employee.EmployeeCode=po.EmployeeCode'
'Join Uom On Item.UomCode=Uom.UomCode'
' ')
Left = 371
Top = 153
object AdoQry_HeadPONO: TStringField
FieldName = 'PONO'
Origin = 'PoLine'
Size = 16
end
object AdoQry_HeadPOLINENo: TIntegerField
FieldName = 'POLINENo'
Origin = 'PoLine'
end
object AdoQry_HeadItemCode: TStringField
FieldName = 'ItemCode'
Origin = 'PoLine'
Size = 16
end
object AdoQry_HeadPOLineDATE: TDateTimeField
FieldName = 'POLineDATE'
Origin = 'PoLine'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_HeadPOQTY: TFloatField
FieldName = 'POQTY'
Origin = 'PoLine'
DisplayFormat = '#,##0'
end
object AdoQry_HeadPONoFinishQty: TFloatField
FieldName = 'PONoFinishQty'
Origin = 'PoLine'
DisplayFormat = '#,##0'
end
object AdoQry_HeadPOREFERENCEDPRICE: TIntegerField
FieldName = 'POREFERENCEDPRICE'
Origin = 'PoLine'
end
object AdoQry_HeadPOLINESTATUS: TIntegerField
FieldName = 'POLINESTATUS'
Origin = 'PoLine'
end
object AdoQry_HeadPoNoTaxPrice: TFloatField
FieldName = 'PoNoTaxPrice'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
end
object AdoQry_HeadPONoTaxAmount: TBCDField
FieldName = 'PONoTaxAmount'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
Precision = 18
Size = 2
end
object AdoQry_HeadPoTaxPrice: TFloatField
FieldName = 'PoTaxPrice'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
end
object AdoQry_HeadPoTaxAmount: TBCDField
FieldName = 'PoTaxAmount'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
Precision = 18
Size = 2
end
object AdoQry_HeadPOStArtWorkDate: TDateTimeField
FieldName = 'POStArtWorkDate'
Origin = 'PoLine'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_HeadVendorCode: TStringField
FieldName = 'VendorCode'
Origin = 'Po'
Size = 12
end
object AdoQry_HeadVendorName: TStringField
FieldName = 'VendorName'
Origin = 'Vendor'
Size = 60
end
object AdoQry_HeadItemName: TStringField
FieldName = 'ItemName'
Origin = 'Item'
Size = 60
end
object AdoQry_HeadPoDate: TDateTimeField
FieldName = 'PoDate'
Origin = 'Po'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_HeadEmployeeCode: TStringField
FieldName = 'EmployeeCode'
Origin = 'po'
Size = 30
end
object AdoQry_HeadUomName: TStringField
FieldName = 'UomName'
Origin = 'Uom'
Size = 10
end
object AdoQry_HeadEmployeeFlag: TStringField
FieldName = 'EmployeeFlag'
ReadOnly = True
Size = 91
end
object AdoQry_HeadItemFlag: TStringField
FieldName = 'ItemFlag'
ReadOnly = True
Size = 77
end
object AdoQry_HeadVendorFlag: TStringField
FieldName = 'VendorFlag'
ReadOnly = True
Size = 73
end
object AdoQry_HeadPoLineCheck: TIntegerField
FieldName = 'PoLineCheck'
Origin = 'PoLine'
end
object AdoQry_HeadSsQty: TFloatField
FieldName = 'SsQty'
Origin = 'PoLine'
end
object AdoQry_HeadPoRealInQty: TFloatField
FieldName = 'PoRealInQty'
end
object AdoQry_HeadPoInQty: TFloatField
FieldName = 'PoInQty'
end
object AdoQry_HeadCloseRemArk: TStringField
FieldName = 'CloseRemArk'
Size = 60
end
object AdoQry_HeadPmCode: TIntegerField
FieldName = 'PmCode'
end
object AdoQry_HeadQclt: TIntegerField
FieldName = 'Qclt'
end
object AdoQry_HeadEmployeeName2: TStringField
FieldName = 'EmployeeName'
Origin = 'Employee'
Size = 60
end
object AdoQry_HeadPOType: TIntegerField
FieldName = 'POType'
end
end
inherited DataSource: TDataSource
Left = 400
Top = 209
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -