📄 mrp_enter_mps1.dfm
字号:
inherited Frm_Mrp_Enter_Mps1: TFrm_Mrp_Enter_Mps1
Left = 65
Top = 92
Caption = '主生产计划导入'
ClientHeight = 423
ClientWidth = 804
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 804
end
inherited Pnl_Title: TPanel
Width = 804
Caption = '主生产计划导入'
end
inherited Pnl_Head: TPanel
Width = 804
inherited Lbl_Condition: TLabel
Width = 24
Caption = '全部'
end
inherited Lbl_Order: TLabel
Width = 132
Caption = '月份/物料代码/需用日期'
end
end
inherited Pnl_Hint: TPanel
Top = 390
Width = 804
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 = 804
Height = 293
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
inherited Act_New: TAction
Enabled = False
Visible = False
end
inherited Act_Delete: TAction
Enabled = False
Visible = False
end
inherited Act_Save: TAction
Caption = '保存'
Hint = '保存'
OnExecute = Act_SaveExecute
end
end
inherited AdoQry_Main: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdysjmrm;Data Source=192.168.0.1' +
'51;Use procedure for Prepare=1;Auto Translate=True;Packet Size=4' +
'096;Workstation ID=XYB'
CurSorType = ctDynamic
SQL.Strings = (
'select MpsMonth='#39'dfsdsfdfdfds'#39','
' ItemCode='#39' '#39','
' ItemName='#39' ' +
' '#39','
' UomName='#39' '#39','
' Mpsstatus=2,'
' Mpsqty=convert(float,0),'
' Mpsdate=getdate(),'
' MpsremArk='#39' ' +
' '#39
' from Mps ')
Left = 189
Top = 168
object AdoQry_MainMpsMonth: TStringField
FieldName = 'MpsMonth'
Origin = '#Mps'
Size = 12
end
object AdoQry_MainItemCode: TStringField
FieldName = 'ItemCode'
Origin = '#Mps'
Size = 14
end
object AdoQry_MainItemName: TStringField
FieldName = 'ItemName'
Origin = '#Mps'
Size = 89
end
object AdoQry_MainUomName: TStringField
FieldName = 'UomName'
Origin = '#Mps'
Size = 3
end
object AdoQry_MainMpsstatus: TIntegerField
FieldName = 'Mpsstatus'
Origin = '#Mps'
end
object AdoQry_MainMpsqty: TFloatField
FieldName = 'Mpsqty'
Origin = '#Mps'
end
object AdoQry_MainMpsdate: TDateTimeField
FieldName = 'Mpsdate'
Origin = '#Mps'
end
object AdoQry_MainMpsremArk: TStringField
FieldName = 'MpsremArk'
Origin = '#Mps'
Size = 85
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 + -