📄 mrp_enter_normalmps.dfm
字号:
inherited Frm_Mrp_Enter_NormalMps: TFrm_Mrp_Enter_NormalMps
Left = 39
Top = 86
Caption = '主生产计划准备'
ClientHeight = 423
ClientWidth = 804
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 804
end
inherited Pnl_Title: TPanel
Width = 804
Caption = '主生产计划准备'
inherited Image2: TImage
Width = 804
end
end
inherited Pnl_Head: TPanel
Width = 804
inherited Image1: TImage
Width = 804
end
inherited Lbl_Condition: TLabel
Width = 78
Caption = '行状态=2 准备'
end
inherited Lbl_Order: TLabel
Width = 132
Caption = '月份/物料代码/需用日期'
end
end
inherited Pnl_Hint: TPanel
Top = 390
Width = 804
Height = 33
inherited Image4: TImage
Width = 804
Height = 33
end
object Label1: TLabel
Left = 7
Top = 6
Width = 60
Height = 12
Caption = '物料标识:'
end
object Label2: TLabel
Left = 5
Top = 20
Width = 72
Height = 12
Caption = '生产订货量:'
end
object Label3: TLabel
Left = 609
Top = 20
Width = 60
Height = 12
Caption = '需用日期:'
end
object DBText2: TDBText
Left = 78
Top = 19
Width = 42
Height = 12
AutoSize = True
DataField = 'MpsQTY'
DataSource = DataSource
end
object DBText3: TDBText
Left = 669
Top = 19
Width = 42
Height = 12
AutoSize = True
DataField = 'MpsDATE'
DataSource = DataSource
end
object Lbl_ItemFlag: TLabel
Left = 78
Top = 6
Width = 6
Height = 12
end
end
inherited Pnl_Body: TPanel
Width = 804
Height = 293
inherited Image3: TImage
Width = 804
Height = 293
end
inherited DBGridEh: TDBGridEh
Width = 804
Height = 293
FrozenCols = 5
Columns = <
Item
FieldName = 'MpsMonth'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '月份'
Width = 61
KeyList.Strings = ()
end
Item
FieldName = 'ItemCode'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料代码'
Width = 125
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料描述'
Width = 250
KeyList.Strings = ()
end
Item
Alignment = taCenter
FieldName = 'UomName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '单位'
Width = 38
KeyList.Strings = ()
end
Item
FieldName = 'MpsStatus'
PickList.Strings = (
'2 准备'
'3 下达'
'4 关闭')
Title.Alignment = taCenter
Title.Caption = '行状态'
Width = 45
KeyList.Strings = (
'2'
'3'
'4')
end
Item
FieldName = 'MpsQTY'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '生产订货量'
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'MpsDATE'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '需用日期'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'MpsRemArk'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '备注'
Width = 121
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
CurSorType = ctStatic
SQL.Strings = (
'select max(Mpsid) from Mps with(index(pk_Mps))')
Left = 334
Top = 146
end
inherited ActionList: TActionList
Top = 226
end
inherited AdoQry_Main: TAdoQuery
CurSorType = ctDynamic
SQL.Strings = (
'select m.*,i.ItemName,u.UomName from Mps m join Item i on m.Item' +
'Code=i.ItemCode left outer join Uom u on i.UomCode=u.UomCode')
Left = 189
Top = 168
object AdoQry_MainMpsId: TBCDField
FieldName = 'MpsId'
Origin = 'Mps'
Precision = 18
Size = 0
end
object AdoQry_MainMpsMonth: TStringField
FieldName = 'MpsMonth'
Origin = 'Mps'
FixedChAr = True
Size = 7
end
object AdoQry_MainItemCode: TStringField
FieldName = 'ItemCode'
Origin = 'Mps'
Size = 16
end
object AdoQry_MainMpsDATE: TDateTimeField
FieldName = 'MpsDATE'
Origin = 'Mps'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_MainMpsStatus: TIntegerField
FieldName = 'MpsStatus'
Origin = 'Mps'
end
object AdoQry_MainMpsRemArk: TStringField
FieldName = 'MpsRemArk'
Origin = 'Mps'
Size = 150
end
object AdoQry_MainItemName: TStringField
FieldName = 'ItemName'
Origin = 'Item'
Size = 60
end
object AdoQry_MainUomName: TStringField
FieldName = 'UomName'
Origin = 'Uom'
Size = 10
end
object AdoQry_MainMpsQTY: TFloatField
FieldName = 'MpsQTY'
Origin = 'Mps'
DisplayFormat = '#,##0.##'
end
end
inherited DataSource: TDataSource
OnDataChange = DataSourceDataChange
Left = 346
Top = 210
end
inherited ExtPrintReport: TExtPrintReport
DataSet = AdoQry_Main
Title1 = '主生产计划表'
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -