📄 mrp_qry_informaluprightmrp_d_newmps.dfm
字号:
inherited Frm_Mrp_Qry_InformalUpRightMrp_D_NewMps: TFrm_Mrp_Qry_InformalUpRightMrp_D_NewMps
Left = 111
Top = 133
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
inherited TlBtn_SetColumn: 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 = 1
Columns = <
Item
FieldName = 'MpsMonth'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'Itemflag'
PickList.Strings = ()
Width = 171
KeyList.Strings = ()
end
Item
FieldName = 'UomName'
PickList.Strings = ()
KeyList.Strings = ()
end
Item
FieldName = 'Mpsstatus'
PickList.Strings = (
'2 准备'
'3 下达'
'4 关闭')
Width = 47
KeyList.Strings = (
'2'
'3'
'4')
end
Item
FieldName = 'GrossQty'
PickList.Strings = ()
Title.Caption = '生产订货量'
KeyList.Strings = ()
end
Item
FieldName = 'MpsnoFinishqty'
PickList.Strings = ()
Width = 48
KeyList.Strings = ()
end
Item
FieldName = 'ReleaseDate'
PickList.Strings = ()
Title.Caption = '需用日期'
Width = 69
KeyList.Strings = ()
end
Item
FieldName = 'MpsremArk'
PickList.Strings = ()
Width = 100
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 245
Top = 99
end
inherited ActionList: TActionList
Left = 192
Top = 128
end
inherited AdoQry_Main: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdrcmrm_B_old;Data Source=192.16' +
'8.0.151;Use procedure for Prepare=1;Auto Translate=True;Packet S' +
'ize=4096;Workstation ID=XYB'
CurSorType = ctStatic
SQL.Strings = (
'select InformalMrpResult.*,UomName,Bomqty=convert(float,0),'
' Mpsstatus=0,MpsremArk='#39'dsffffffffffffffffffffffffffffffffffff' +
'dsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss' +
'ssssssssssssss'#39','
' MpsMonth='#39'fdssssssssdsf'#39','
' ScrAprate='#39'fdssssssssssssssss'#39','
' MpsnoFinishqty=convert(float,0),'
' Mps.Mpsdate,'
' Itemflag=InformalMrpResult.ItemCode+'#39' '#39'+Item.ItemName'
' from InformalMrpResult,Item,Uom,Mps'
'where InformalMrpResult.ItemCode=Item.ItemCode'
' and Uom.UomCode=Item.UomCode')
Left = 200
Top = 225
object AdoQry_MainReleaseDate: TDateTimeField
DisplayLabel = '约定交货日'
FieldName = 'ReleaseDate'
end
object AdoQry_MainGrossQty: TFloatField
DisplayLabel = '约定交货量'
FieldName = 'GrossQty'
end
object AdoQry_MainUomName: TStringField
DisplayLabel = '计量单位'
FieldName = 'UomName'
Size = 10
end
object AdoQry_MainItemflag: TStringField
DisplayLabel = '物料标识'
FieldName = 'Itemflag'
ReadOnly = True
Size = 77
end
object AdoQry_MainMpsstatus: TIntegerField
DisplayLabel = '行状态'
FieldName = 'Mpsstatus'
ReadOnly = True
end
object AdoQry_MainMpsremArk: TStringField
DisplayLabel = '备注'
FieldName = 'MpsremArk'
ReadOnly = True
Size = 116
end
object AdoQry_MainMpsMonth: TStringField
DisplayLabel = '月份'
FieldName = 'MpsMonth'
ReadOnly = True
Size = 13
end
object AdoQry_MainMpsnoFinishqty: TFloatField
DisplayLabel = '未结量'
FieldName = 'MpsnoFinishqty'
ReadOnly = True
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -