mrp_qry_uprightmrp_d_parentmo.dfm
来自「一个MRPII系统源代码版本」· DFM 代码 · 共 218 行
DFM
218 行
inherited Frm_Mrp_Qry_UpRightMrp_D_ParentMo: TFrm_Mrp_Qry_UpRightMrp_D_ParentMo
Left = 196
Top = 149
Caption = '父项生产订单对应表'
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
inherited ToolBar: TToolBar
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
Height = 5
end
inherited Pnl_Body: TPanel
Top = 62
Height = 341
inherited DBGridEh: TDBGridEh
Height = 341
FrozenCols = 4
Columns = <
Item
FieldName = 'Itemflag'
PickList.Strings = ()
Width = 172
KeyList.Strings = ()
end
Item
FieldName = 'UomName'
PickList.Strings = ()
Width = 52
KeyList.Strings = ()
end
Item
FieldName = 'Bomqty'
PickList.Strings = ()
Width = 36
KeyList.Strings = ()
end
Item
FieldName = 'ScrAprate'
PickList.Strings = ()
Width = 45
KeyList.Strings = ()
end
Item
FieldName = 'OrderNo'
PickList.Strings = ()
Width = 76
KeyList.Strings = ()
end
Item
FieldName = 'OrderLineno'
PickList.Strings = ()
Width = 53
KeyList.Strings = ()
end
Item
FieldName = 'OrderLineStatus'
PickList.Strings = (
'5 准备'
'6 下达'
'7 关闭')
Width = 45
KeyList.Strings = (
'5'
'6'
'7')
end
Item
FieldName = 'DueDate'
PickList.Strings = ()
Width = 67
KeyList.Strings = ()
end
Item
FieldName = 'Mrpqty'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'ReleaseDate'
PickList.Strings = ()
Width = 70
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Top = 99
end
inherited ActionList: TActionList
Left = 200
Top = 152
end
inherited AdoQry_Main: TAdoQuery
CurSorType = ctStatic
SQL.Strings = (
'select MrpResult.*,'
' Bom.Bomqty,'
' ScrAprate='#39'dfssssssssdfsfddsfds'#39','
' Mrpqty=case ordinal'
' when 2 then Orderqty'
' when 5 then netqty'
' end,'
' Itemflag=MrpResult.ItemCode+'#39' '#39'+Item.ItemName,'
' 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 = 272
Top = 169
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_MainItemflag: TStringField
DisplayLabel = '物料标识'
FieldName = 'Itemflag'
ReadOnly = True
Size = 77
end
object AdoQry_MainUomName: TStringField
DisplayLabel = '计量单位'
FieldName = 'UomName'
Size = 10
end
object AdoQry_MainMrpqty: TFloatField
DisplayLabel = '约定交货量'
FieldName = 'Mrpqty'
ReadOnly = True
end
object AdoQry_MainBomqty: TFloatField
DisplayLabel = '定额'
FieldName = 'Bomqty'
end
object AdoQry_MainScrAprate: TStringField
DisplayLabel = '损耗率'
FieldName = 'ScrAprate'
ReadOnly = True
end
end
inherited DataSource: TDataSource
Left = 336
Top = 153
end
inherited PopuPmenu: TPopuPmenu
Left = 216
Top = 193
end
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?