📄 mrp_qry_halfrunmrp.dfm
字号:
inherited Frm_Mrp_Qry_HalfRunMrp: TFrm_Mrp_Qry_HalfRunMrp
Left = 108
Top = 91
Caption = '产品制造件毛需求--库存分析'
ClientHeight = 468
ClientWidth = 790
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 790
inherited ToolBar: TToolBar
inherited TlBtn_New: TToolButton
Visible = False
end
inherited TlBtn_Modify: TToolButton
Visible = False
end
inherited TlBtn_Delete: TToolButton
Visible = False
end
end
end
inherited Pnl_Title: TPanel
Width = 790
Caption = '产品制造件毛需求--库存分析'
end
inherited Pnl_Head: TPanel
Width = 790
inherited Lbl_Condition: TLabel
Width = 36
Caption = '非关闭'
end
inherited Lbl_Order: TLabel
Width = 78
Caption = '月份/物料代码'
end
end
inherited Pnl_Hint: TPanel
Top = 435
Width = 790
Height = 33
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 = 790
Height = 338
inherited DBGridEh: TDBGridEh
Width = 790
Height = 338
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
ReadOnly = False
OnTitleClick = DBGridEhTitleClick
FrozenCols = 3
Columns = <
Item
FieldName = 'MpScheck'
PickList.Strings = (
'1'
'0')
Title.Font.ChArset = GB2312_CHArSET
Title.Font.Color = clBlue
Title.Font.Height = -12
Title.Font.Name = '宋体'
Title.Font.Style = []
Width = 40
KeyList.Strings = (
'1'
'0')
Checkboxes = True
end
Item
FieldName = 'MpsMonth'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '月份'
Width = 61
KeyList.Strings = ()
end
Item
FieldName = 'Itemflag'
PickList.Strings = ()
Width = 200
KeyList.Strings = ()
end
Item
FieldName = 'ItemCode'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '物料代码'
Width = 90
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '物料描述'
Width = 200
Visible = False
KeyList.Strings = ()
end
Item
Alignment = taCenter
FieldName = 'UomName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '单位'
Width = 38
KeyList.Strings = ()
end
Item
FieldName = 'MpsStatus'
PickList.Strings = (
'2 准备'
'3 下达'
'4 关闭')
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '行状态'
Width = 45
KeyList.Strings = (
'2'
'3'
'4')
end
Item
FieldName = 'MpsQTY'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '生产订货量'
KeyList.Strings = ()
end
Item
FieldName = 'MpsnoFinishqty'
PickList.Strings = ()
Width = 50
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'MpsDATE'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '需用日期'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'MpsRemArk'
PickList.Strings = ()
ReadOnly = True
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
Left = 264
Top = 242
inherited Act_Look: TAction
Caption = '统计分析'
Enabled = True
Hint = '统计分析(Enter)'
Visible = True
end
end
inherited AdoQry_Main: TAdoQuery
CurSorType = ctDynamic
SQL.Strings = (
'select m.*,i.ItemName,u.UomName,'
'Itemflag=m.ItemCode+'#39' '#39'+i.ItemName,'
'MpsnoFinishqty=Mpsqty-MpsFinishqty '
'from Mps m '
'join Item i on m.ItemCode=i.ItemCode '
'left outer join Uom u on i.UomCode=u.UomCode')
Left = 189
Top = 256
object AdoQry_MainMpsId: TBCDField
FieldName = 'MpsId'
Precision = 18
Size = 0
end
object AdoQry_MainMpsMonth: TStringField
FieldName = 'MpsMonth'
Origin = '#tmPmpsMain'
FixedChAr = True
Size = 7
end
object AdoQry_MainItemCode: TStringField
FieldName = 'ItemCode'
Origin = '#tmPmpsMain'
Size = 16
end
object AdoQry_MainMpsDATE: TDateTimeField
FieldName = 'MpsDATE'
Origin = '#tmPmpsMain'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_MainMpsStatus: TIntegerField
FieldName = 'MpsStatus'
Origin = '#tmPmpsMain'
end
object AdoQry_MainMpsRemArk: TStringField
FieldName = 'MpsRemArk'
Origin = '#tmPmpsMain'
Size = 150
end
object AdoQry_MainItemName: TStringField
FieldName = 'ItemName'
Origin = '#tmPmpsMain'
Size = 60
end
object AdoQry_MainUomName: TStringField
FieldName = 'UomName'
Origin = '#tmPmpsMain'
Size = 10
end
object AdoQry_MainMpsQTY: TFloatField
FieldName = 'MpsQTY'
Origin = '#tmPmpsMain'
DisplayFormat = '#,##0.##'
end
object AdoQry_MainMpScheck: TIntegerField
DisplayLabel = '标识'
FieldName = 'MpScheck'
Origin = '#tmPmpsMain'
end
object AdoQry_MainItemflag: TStringField
DisplayLabel = '物料标识'
FieldName = 'Itemflag'
Origin = '#tmPmpsMain'
ReadOnly = True
Size = 77
end
object AdoQry_MainMpsnoFinishqty: TFloatField
DisplayLabel = '未结量'
FieldName = 'MpsnoFinishqty'
Origin = '#tmPmpsMain'
ReadOnly = True
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 + -