📄 mrp_enter_ssalternativeinfo1.dfm
字号:
inherited Frm_Mrp_Enter_SsAlterNativeInfo1: TFrm_Mrp_Enter_SsAlterNativeInfo1
Left = 63
Top = 123
Caption = '替代件建议分配'
ClientWidth = 695
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 695
inherited ToolBar: TToolBar
inherited TlBtn_Modify: TToolButton
Visible = False
end
inherited TlBtn_Delete: TToolButton
Visible = False
end
inherited ToolButton6: TToolButton
Hint = '分配建议(Enter)'
Caption = '分配建议'
end
end
end
inherited Pnl_Title: TPanel
Width = 695
Caption = '替代件建议分配'
end
inherited Pnl_Head: TPanel
Width = 695
Height = 54
inherited Lbl_Order: TLabel
Width = 48
Caption = '物料标识'
end
object Label1: TLabel
Left = 17
Top = 35
Width = 126
Height = 12
Caption = 'Mrp展开运算开始时间:'
end
object lbl_RunMrpdate: TLabel
Left = 147
Top = 35
Width = 6
Height = 12
end
end
inherited Pnl_Hint: TPanel
Width = 695
end
inherited Pnl_Body: TPanel
Top = 111
Width = 695
Height = 292
inherited DBGridEh: TDBGridEh
Width = 695
Height = 292
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
ReadOnly = False
OnDblClick = Act_LookExecute
FrozenCols = 3
Columns = <
Item
FieldName = 'ItemCode'
PickList.Strings = ()
Title.Caption = '物料代码'
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
Title.Caption = '物料名称'
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemFlag'
PickList.Strings = ()
Title.Caption = '物料标识'
Width = 165
KeyList.Strings = ()
end
Item
FieldName = 'UomName'
PickList.Strings = ()
Title.Caption = '单位'
Width = 32
KeyList.Strings = ()
end
Item
FieldName = 'ssflag'
PickList.Strings = ()
Title.Caption = '建议信息'
Width = 68
KeyList.Strings = ()
end
Item
FieldName = 'SSDate'
PickList.Strings = ()
Title.Caption = '约定交货日'
Width = 65
KeyList.Strings = ()
end
Item
FieldName = 'Sysqty'
PickList.Strings = ()
Title.Caption = '约定交货量'
KeyList.Strings = ()
end
Item
FieldName = 'tMpssreMainqty'
PickList.Strings = ()
ReadOnly = True
Title.Caption = '系统建议余量 '
Width = 78
KeyList.Strings = ()
end
Item
FieldName = 'duedate'
PickList.Strings = ()
Title.Caption = '约定开工日'
Width = 65
Visible = False
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 197
Top = 147
end
inherited ActionList: TActionList
Left = 176
Top = 208
inherited Act_Look: TAction
Enabled = True
Visible = True
end
inherited Act_auto: TAction
Caption = '分配建议'
Hint = '分配建议(Enter)'
ShortCut = 0
OnExecute = Act_LookExecute
end
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'
BeforeInsert = AdoQry_MainBeforeInsert
SQL.Strings = (
'select ss.*,Item.ItemName,Employee.EmployeeCode,'
' Item.PmCode,'
' Employee.EmployeeName,'
' Dept.DeptCode,Dept.DeptName,'
' Uom.UomName,'
' SysSsInfo.SSName,'
' tMpssreMainqty=convert(float,0),'
' Sysqty=ssqty,'
' ssflag=convert(varchAr,ss.ssSysInfoflag)+'#39' '#39'+SysssInfo.ssn' +
'ame,'
' Item.mnldtime,'#39' '#39'As EmployeeFlag,ss.DeptVendorCode+'#39' '#39 +
'+DeptName As DeptFlag,Item.ItemCode+'#39' '#39'+Item.ItemName As ItemFla' +
'g'
' from ss left outer join Item On ss.ItemCode=Item.ItemCode '
' left outer join Dept On ss.DeptVendorCode=Dept.Deptco' +
'de'
' left outer join Uom on Item.UomCode=Uom.UomCode '
' Join Employee On Employee.EmployeeCode=Item.Pla_Employ' +
'eeCode'
' Join SysSsInfo On Ss.SSSysInfoFlag=SysSsInfo.SSCode'
' ')
Left = 232
Top = 233
object AdoQry_MainSSId: TAutoIncField
FieldName = 'SSId'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
end
object AdoQry_MainItemCode: TStringField
FieldName = 'ItemCode'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 16
end
object AdoQry_MainSSDate: TDateTimeField
Alignment = tArightJustify
FieldName = 'SSDate'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_MainSSQty: TFloatField
FieldName = 'SSQty'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
end
object AdoQry_MainDeptVendorCode: TStringField
FieldName = 'DeptVendorCode'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 12
end
object AdoQry_Mainduedate: TDateTimeField
Alignment = tArightJustify
FieldName = 'duedate'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_MainItemName: TStringField
FieldName = 'ItemName'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 60
end
object AdoQry_MainDeptCode: TStringField
FieldName = 'DeptCode'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 8
end
object AdoQry_MainDeptName: TStringField
FieldName = 'DeptName'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 40
end
object AdoQry_MainUomName: TStringField
FieldName = 'UomName'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 10
end
object AdoQry_MainDeptFlag: TStringField
FieldName = 'DeptFlag'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 53
end
object AdoQry_MainItemFlag: TStringField
FieldName = 'ItemFlag'
Origin = '#tmpalterssInfoResult'
ReadOnly = True
Size = 77
end
object AdoQry_MaintMpssreMainqty: TFloatField
FieldName = 'tMpssreMainqty'
end
object AdoQry_MainPmCode: TIntegerField
FieldName = 'PmCode'
end
object AdoQry_MainSysqty: TFloatField
FieldName = 'Sysqty'
end
object AdoQry_MainReMainQty: TFloatField
FieldName = 'ReMainQty'
end
object AdoQry_Mainssflag: TStringField
FieldName = 'ssflag'
ReadOnly = True
Size = 91
end
end
inherited DataSource: TDataSource
Left = 368
Top = 241
end
object AdOCommand: TAdOCommand
CommandTimeout = 0
Parameters = <>
Left = 112
Top = 243
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -