📄 mrp_qry_informaluprightmrp_d_parentmo.dfm
字号:
inherited Frm_Mrp_Qry_InformalUpRightMrp_D_ParentMo: TFrm_Mrp_Qry_InformalUpRightMrp_D_ParentMo
Left = 90
Top = 104
Caption = '父项需求追溯'
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
inherited ToolBar: TToolBar
inherited TlBtn_Look: TToolButton
Action = Action1
end
inherited TlBtn_Sum: TToolButton
Action = Action2
end
inherited TlBtn_Filter: TToolButton
Visible = False
end
inherited TlBtn_Locate: TToolButton
Visible = False
end
inherited TlBtn_Order: TToolButton
Visible = False
end
end
end
inherited Pnl_Title: TPanel
Caption = '父项需求追溯'
end
inherited Pnl_Head: TPanel
inherited Lbl_Condition: TLabel
Width = 24
Caption = '全部'
end
inherited Lbl_Order: TLabel
Width = 114
Caption = '物料代码/约定开工日'
end
end
inherited Pnl_Body: TPanel
inherited DBGridEh: TDBGridEh
FrozenCols = 4
Columns = <
Item
FieldName = 'Itemflag'
PickList.Strings = ()
Width = 184
KeyList.Strings = ()
end
Item
FieldName = 'UomName'
PickList.Strings = ()
Width = 31
KeyList.Strings = ()
end
Item
FieldName = 'Bomqty'
PickList.Strings = ()
Width = 52
KeyList.Strings = ()
end
Item
FieldName = 'ScrAprate'
PickList.Strings = ()
Width = 67
KeyList.Strings = ()
end
Item
FieldName = 'OrderNo'
PickList.Strings = ()
Title.Caption = '订单号'
Width = 71
KeyList.Strings = ()
end
Item
FieldName = 'OrderLineno'
PickList.Strings = ()
Width = 52
KeyList.Strings = ()
end
Item
FieldName = 'OrderLineStatus'
PickList.Strings = (
'5 准备'
'6 下达'
'7 关闭'
'8 永久关闭')
Width = 47
KeyList.Strings = (
'5'
'6'
'7'
'8')
end
Item
FieldName = 'DueDate'
PickList.Strings = ()
Width = 74
KeyList.Strings = ()
end
Item
FieldName = 'InformalMrpqty'
PickList.Strings = ()
Title.Caption = '约定交货量'
KeyList.Strings = ()
end
Item
FieldName = 'ReleaseDate'
PickList.Strings = ()
Width = 73
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 261
Top = 123
end
inherited ActionList: TActionList
Left = 176
Top = 224
inherited Action1: TAction [23]
Caption = '返回下级'
Hint = '返回下级'
OnExecute = Action1Execute
end
inherited Action2: TAction [24]
Caption = '反查上级'
Hint = '反查上级'
OnExecute = Action2Execute
end
inherited Act_Look: TAction [25]
end
inherited Act_Check: TAction [26]
end
inherited Act_error: TAction [27]
end
inherited Act_auto: TAction [28]
end
inherited Act_all: TAction [29]
end
inherited Act_CheckDebt: TAction [30]
end
inherited Act_Print: TAction [31]
end
inherited Act_Preview: TAction [32]
end
inherited Act_Expend: TAction [33]
end
inherited Act_CollApse: TAction [34]
end
end
inherited AdoQry_Main: TAdoQuery
CurSorType = ctStatic
SQL.Strings = (
'select MrpResult.*,'
' Bom.Bomqty,'
' ScrAprate='#39'dfssssssssdfsfddsfds'#39','
' InformalMrpqty=case ordinal'
' when 2 then Orderqty'
' when 5 then netqty'
' end,'
' '
' Itemflag=MrpResult.ItemCode+'#39' '#39'+Item.ItemName,'
' Item.Qclt,Item.Preparelt,'
' Uom.UomName'
'from MrpResult,Uom,Item,Bom'
'where MrpResult.ItemCode=Item.ItemCode'
' and Item.UomCode*=Uom.UomCode'
' and (ordinal=2 or ordinal=5)'
' and MrpResult.ItemCode=Bom.ite_ItemCode'
'')
Left = 376
Top = 209
object AdoQry_MainItemCode: TStringField
FieldName = 'ItemCode'
Size = 16
end
object AdoQry_MainDueDate: TDateTimeField
DisplayLabel = '约定开工日'
FieldName = 'DueDate'
end
object AdoQry_MainReleaseDate: TDateTimeField
DisplayLabel = '约定交货日'
FieldName = 'ReleaseDate'
end
object AdoQry_MaInOrderNo: TStringField
DisplayLabel = '生产订单号'
FieldName = 'OrderNo'
Size = 16
end
object AdoQry_MainGrossQty: TFloatField
FieldName = 'GrossQty'
end
object AdoQry_MaInOrderQty: TFloatField
DisplayLabel = '约定交货量'
FieldName = 'OrderQty'
end
object AdoQry_MainOnHand: TFloatField
FieldName = 'OnHand'
end
object AdoQry_MainCanUseOnHand: TFloatField
FieldName = 'CanUseOnHand'
end
object AdoQry_MainNetQty: TFloatField
DisplayLabel = '约定交货量'
FieldName = 'NetQty'
end
object AdoQry_MainOrdinal: TIntegerField
FieldName = 'Ordinal'
end
object AdoQry_MainSSCode: TIntegerField
FieldName = 'SSCode'
end
object AdoQry_MainPmCode: TIntegerField
FieldName = 'PmCode'
end
object AdoQry_MaInOrderLineStatus: TIntegerField
DisplayLabel = '行状态'
FieldName = 'OrderLineStatus'
end
object AdoQry_MaInOrderLineno: TIntegerField
DisplayLabel = '订单行号'
FieldName = 'OrderLineno'
end
object AdoQry_Mainpegging: TStringField
FieldName = 'pegging'
end
object AdoQry_Mainoncheck: TFloatField
FieldName = 'oncheck'
end
object AdoQry_MainBomqty: TFloatField
DisplayLabel = '子项定额'
FieldName = 'Bomqty'
end
object AdoQry_MainScrAprate: TStringField
DisplayLabel = '子项损耗率'
FieldName = 'ScrAprate'
ReadOnly = True
end
object AdoQry_MainItemflag: TStringField
DisplayLabel = '物料标识'
FieldName = 'Itemflag'
ReadOnly = True
Size = 77
end
object AdoQry_MainUomName: TStringField
DisplayLabel = '单位'
FieldName = 'UomName'
Size = 10
end
object AdoQry_MainQclt: TIntegerField
FieldName = 'Qclt'
end
object AdoQry_MainPreparelt: TIntegerField
FieldName = 'Preparelt'
end
object AdoQry_MainInformalMrpqty: TFloatField
FieldName = 'InformalMrpqty'
ReadOnly = True
end
end
inherited DataSource: TDataSource
Top = 129
end
inherited PopuPmenu: TPopuPmenu
Left = 424
Top = 121
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -