📄 pm_enter_foreverclosepo.dfm
字号:
inherited Frm_Pm_Enter_ForeverClosePo: TFrm_Pm_Enter_ForeverClosePo
Left = 228
Top = 127
Caption = '普通采购订单结算'
ClientHeight = 407
ClientWidth = 732
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 732
inherited ToolBar: TToolBar
inherited TlBtn_Check: TToolButton
Hint = '关闭'
Caption = '关闭'
end
inherited TlBtn_CancelCheck: TToolButton
Hint = '结算'
Caption = '结算'
end
end
end
inherited Pnl_Title: TPanel
Width = 732
Caption = '普通采购订单结算'
inherited Image2: TImage
Width = 732
end
end
inherited Pnl_Head: TPanel
Width = 732
inherited Image1: TImage
Width = 732
end
inherited Lbl_Condition: TLabel
Width = 24
Caption = '全部'
end
inherited Lbl_Order: TLabel
Width = 126
Caption = '采购员代码/采购订单号'
end
end
inherited Pnl_Hint: TPanel
Top = 376
Width = 732
Height = 31
inherited Image4: TImage
Width = 732
Height = 31
end
object Label2: TLabel
Left = 8
Top = 3
Width = 60
Height = 12
Caption = '物料标识:'
end
object DBText2: TDBText
Left = 76
Top = 3
Width = 42
Height = 12
AutoSize = True
DataField = 'ItemFlag'
DataSource = DataSource
WordWrAp = True
end
object Label1: TLabel
Left = 6
Top = 18
Width = 72
Height = 12
Caption = '约定交货量:'
end
object DBText1: TDBText
Left = 76
Top = 18
Width = 42
Height = 12
AutoSize = True
DataField = 'POQTY'
DataSource = DataSource
end
object Label3: TLabel
Left = 606
Top = 19
Width = 72
Height = 12
Caption = '约定开工日:'
end
object DBText3: TDBText
Left = 674
Top = 18
Width = 42
Height = 12
AutoSize = True
DataField = 'POStArtWorkDate'
DataSource = DataSource
end
end
inherited Pnl_Body: TPanel
Width = 732
Height = 279
inherited Image3: TImage
Width = 732
Height = 279
end
inherited DBGridEh: TDBGridEh
Width = 732
Height = 279
OnDblClick = DBGridEhDblClick
FrozenCols = 5
Columns = <
Item
FieldName = 'EmployeeCode'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '采购员代码'
Width = 70
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '采购员姓名'
Width = 80
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeFlag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '采购员标识'
Width = 100
KeyList.Strings = ()
end
Item
FieldName = 'PONO'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '采购单号'
Width = 80
KeyList.Strings = ()
end
Item
FieldName = 'POLINENo'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '订单行号'
Width = 55
KeyList.Strings = ()
end
Item
FieldName = 'POLINESTATUS'
PickList.Strings = (
'7 关闭'
'8 已结算'
'')
Title.Alignment = taCenter
Title.Caption = '行状态'
Width = 60
KeyList.Strings = (
'7'
'8')
end
Item
Alignment = tArightJustify
FieldName = 'PoDate'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '下单日期'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'ItemCode'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料代码'
Width = 90
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料描述'
Width = 200
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemFlag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料标识'
Width = 200
KeyList.Strings = ()
end
Item
Alignment = taCenter
FieldName = 'UomName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '计量单位'
Width = 55
KeyList.Strings = ()
end
Item
FieldName = 'POQTY'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '约定交货量'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'PONoFinishQty'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '未结量'
Width = 70
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'POStArtWorkDate'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '约定开工日'
Width = 70
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'POLineDATE'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '约定交货日'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'VendorCode'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '供应商代码'
Width = 70
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'VendorName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '供应商名称'
Width = 120
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'VendorFlag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '供应商标识'
Width = 150
KeyList.Strings = ()
end>
end
end
inherited ActionList: TActionList
inherited Act_CancelCheck: TAction
Enabled = False
Visible = False
end
inherited Act_Check: TAction
OnExecute = Act_CheckExecute
end
end
inherited AdoQry_Head: TAdoQuery
ConnectionString = ''
SQL.Strings = (
'Select PoLine.*,Po.*,Vendor.VendorName,Item.ItemName,Employee.em' +
'ployeeName,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 Uom.UomCode=Item.UomCode')
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 = 'PoLine'
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'
end
object AdoQry_HeadEmployeeCode: TStringField
FieldName = 'EmployeeCode'
Origin = 'Po'
Size = 30
end
object AdoQry_HeadEmployeeName: TStringField
FieldName = 'EmployeeName'
Origin = 'Employee'
Size = 60
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
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -