📄 pm_qry_chginfopo.dfm
字号:
inherited Frm_Pm_Qry_ChgInfoPo: TFrm_Pm_Qry_ChgInfoPo
Left = 130
Top = 74
Caption = '采购订单表体操作日志'
PixelsPerInch = 96
TextHeight = 12
inherited Pnl_Title: TPanel
Caption = '采购订单表体操作日志'
end
inherited Pnl_Head: TPanel
inherited Lbl_Condition: TLabel
Width = 24
Caption = '全部'
end
inherited Lbl_Order: TLabel
Width = 168
Caption = '采购订单号/订单行号/操作时间'
end
end
inherited Pnl_Hint: TPanel
Top = 376
Height = 53
object dbtxtpono: TDBText
Left = 108
Top = 8
Width = 54
Height = 12
AutoSize = True
DataField = 'PONO'
DataSource = DataSource
end
object Label2: TLabel
Left = 12
Top = 8
Width = 96
Height = 12
Caption = '当前采购订单号:'
end
object Label1: TLabel
Left = 24
Top = 24
Width = 84
Height = 12
Caption = '当前物料标识:'
end
object dbtxtItemflag: TDBText
Left = 108
Top = 24
Width = 78
Height = 12
AutoSize = True
DataField = 'Itemflag'
DataSource = DataSource
end
object dbtxTEmployeeflag: TDBText
Left = 108
Top = 40
Width = 102
Height = 12
AutoSize = True
DataField = 'Employeeflag'
DataSource = DataSource
end
object Label3: TLabel
Left = 12
Top = 40
Width = 96
Height = 12
Caption = '当前操作员标识:'
end
end
inherited Pnl_Body: TPanel
Height = 279
inherited DBGridEh: TDBGridEh
Height = 279
FrozenCols = 3
Columns = <
Item
FieldName = 'PONO'
PickList.Strings = ()
Title.Caption = '采购订单号'
KeyList.Strings = ()
end
Item
FieldName = 'POLINENo'
PickList.Strings = ()
Title.Caption = '订单行号'
Width = 50
KeyList.Strings = ()
end
Item
FieldName = 'Itemflag'
PickList.Strings = ()
Width = 200
KeyList.Strings = ()
end
Item
FieldName = 'ItemCode'
PickList.Strings = ()
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
Width = 200
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'POLINESTATUS'
PickList.Strings = (
'5 准备'
'6 下达'
'7 关闭'
'8 永久关闭')
Width = 46
KeyList.Strings = (
'5'
'6'
'7'
'8')
end
Item
FieldName = 'POQTY'
PickList.Strings = ()
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'POStArtWorkDate'
PickList.Strings = ()
Title.Caption = '约定开工日'
Width = 66
KeyList.Strings = ()
end
Item
FieldName = 'POLineDATE'
PickList.Strings = ()
Title.Caption = '约定交货日'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'POLChgType'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'Employeeflag'
PickList.Strings = ()
Width = 80
KeyList.Strings = ()
end
Item
FieldName = 'POLChgEmployeeCode'
PickList.Strings = ()
Width = 81
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeName'
PickList.Strings = ()
Width = 115
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'POLChgTime'
PickList.Strings = ()
Width = 120
KeyList.Strings = ()
end
Item
FieldName = 'PoTaxPrice'
PickList.Strings = ()
Title.Caption = '含税价'
Width = 45
KeyList.Strings = ()
end
Item
FieldName = 'PoNoTaxPrice'
PickList.Strings = ()
Title.Caption = '未税价'
Width = 41
KeyList.Strings = ()
end>
end
end
inherited ActionList: TActionList
Left = 184
Top = 176
end
inherited AdoQry_Main: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdrcmrm;Data Source=NT2'
CurSorType = ctStatic
SQL.Strings = (
'Select PoLineHistory.*,Employee.EmployeeName,'
' Employeeflag=poLineHistory.polchgEmployeeCode+'#39' '#39'+employ' +
'ee.EmployeeName, '
'Item.ItemName,'
'Itemflag=poLineHistory.ItemCode+'#39' '#39'+Item.ItemName,'
'Item.UomCode,Uom.UomName'
'From PoLineHistory '
'Join Item On PoLineHistory.ItemCode=Item.ItemCode'
'Join Uom On Item.UomCode=Uom.UomCode'
'Join Employee On PoLineHistory.PolChgEmployeeCode='
'Employee.EmployeeCode'
'Order By PoNo,PoLineNo,PolChgTime')
Left = 312
Top = 193
object AdoQry_MainItemName: TStringField
DisplayLabel = '物料描述'
FieldName = 'ItemName'
Origin = '#poLineHistoryQry'
Size = 30
end
object AdoQry_MainPOLChgId: TAutoIncField
FieldName = 'POLChgId'
Origin = '#poLineHistoryQry'
ReadOnly = True
end
object AdoQry_MainPONO: TStringField
DisplayLabel = '采购单号'
FieldName = 'PONO'
Origin = '#poLineHistoryQry'
Size = 16
end
object AdoQry_MainPOLINENo: TIntegerField
DisplayLabel = '行号'
FieldName = 'POLINENo'
Origin = '#poLineHistoryQry'
end
object AdoQry_MainItemCode: TStringField
DisplayLabel = '物料代码'
FieldName = 'ItemCode'
Origin = '#poLineHistoryQry'
Size = 16
end
object AdoQry_MainPOLineDATE: TDateTimeField
DisplayLabel = '约定交货期'
FieldName = 'POLineDATE'
Origin = '#poLineHistoryQry'
end
object AdoQry_MainPOQTY: TFloatField
DisplayLabel = '约定交货量'
FieldName = 'POQTY'
Origin = '#poLineHistoryQry'
end
object AdoQry_MainPONoFinishQty: TFloatField
FieldName = 'PONoFinishQty'
Origin = '#poLineHistoryQry'
end
object AdoQry_MainPOREFERENCEDPRICE: TIntegerField
FieldName = 'POREFERENCEDPRICE'
Origin = '#poLineHistoryQry'
end
object AdoQry_MainPOLINESTATUS: TIntegerField
DisplayLabel = '行状态'
FieldName = 'POLINESTATUS'
Origin = '#poLineHistoryQry'
end
object AdoQry_MainPoNoTaxPrice: TFloatField
DisplayLabel = '未税单价'
FieldName = 'PoNoTaxPrice'
Origin = '#poLineHistoryQry'
DisplayFormat = '#00.00'
end
object AdoQry_MainPONoTaxAmount: TBCDField
FieldName = 'PONoTaxAmount'
Origin = '#poLineHistoryQry'
Precision = 18
Size = 2
end
object AdoQry_MainPoTaxPrice: TFloatField
DisplayLabel = '含税单价'
FieldName = 'PoTaxPrice'
Origin = '#poLineHistoryQry'
end
object AdoQry_MainPoTaxAmount: TBCDField
FieldName = 'PoTaxAmount'
Origin = '#poLineHistoryQry'
Precision = 18
Size = 2
end
object AdoQry_MainPOStArtWorkDate: TDateTimeField
DisplayLabel = '开工日期'
FieldName = 'POStArtWorkDate'
Origin = '#poLineHistoryQry'
end
object AdoQry_MainPOLChgEmployeeCode: TStringField
DisplayLabel = '操作员代码'
FieldName = 'POLChgEmployeeCode'
Origin = '#poLineHistoryQry'
Size = 30
end
object AdoQry_MainPOLChgTime: TDateTimeField
DisplayLabel = '操作时间'
FieldName = 'POLChgTime'
Origin = '#poLineHistoryQry'
end
object AdoQry_MainPOLChgType: TStringField
DisplayLabel = '操作类型'
FieldName = 'POLChgType'
Origin = '#poLineHistoryQry'
Size = 10
end
object AdoQry_MainEmployeeName: TStringField
DisplayLabel = '操作员名称'
FieldName = 'EmployeeName'
Origin = '#poLineHistoryQry'
Size = 60
end
object AdoQry_MainUomCode: TStringField
FieldName = 'UomCode'
Origin = '#poLineHistoryQry'
Size = 4
end
object AdoQry_MainUomName: TStringField
FieldName = 'UomName'
Origin = '#poLineHistoryQry'
Size = 10
end
object AdoQry_MainEmployeeflag: TStringField
DisplayLabel = '操作员标识'
FieldName = 'Employeeflag'
Origin = '#poLineHistoryQry'
ReadOnly = True
Size = 91
end
object AdoQry_MainItemflag: TStringField
DisplayLabel = '物料标识'
FieldName = 'Itemflag'
Origin = '#poLineHistoryQry'
ReadOnly = True
Size = 77
end
end
inherited DataSource: TDataSource
Left = 376
Top = 145
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -