📄 pm_qry_newnormalsspoinfo.dfm
字号:
KeyList.Strings = ()
end
Item
Alignment = taCenter
FieldName = 'UomName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '单位'
Width = 27
KeyList.Strings = ()
end
Item
FieldName = 'SsName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '建议信息'
Width = 54
KeyList.Strings = ()
end
Item
FieldName = 'SSQty'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '系统建议量'
KeyList.Strings = ()
end
Item
FieldName = 'ssReMainQty'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '系统建议余量'
Width = 75
KeyList.Strings = ()
end
Item
FieldName = 'duedate'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定开工日'
Width = 65
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'SSDate'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定交货日'
Width = 67
KeyList.Strings = ()
end
Item
FieldName = 'poqty'
PickList.Strings = ()
Title.Caption = '约定交货量'
KeyList.Strings = ()
end
Item
FieldName = 'OrderNo'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '采购订单号'
Width = 78
KeyList.Strings = ()
end
Item
FieldName = 'OrderLineNo'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '订单行号'
Width = 55
KeyList.Strings = ()
end
Item
FieldName = 'OrderLineStatus'
PickList.Strings = (
'1 系统建议'
'5 准备'
'6 下达'
'7 关闭'
'8 永久关闭')
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '行状态'
Width = 46
KeyList.Strings = (
'1'
'5'
'6'
'7'
'8')
end
Item
FieldName = 'VendorName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '供应商名称'
Visible = False
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 405
Top = 251
end
inherited ActionList: TActionList
Left = 266
Top = 203
inherited Act_Copy: TAction
Caption = '合并下单'
Hint = '合并下单'
end
inherited Act_Sum: TAction
Caption = '汇总下单'
Hint = '汇总下单'
end
inherited Act_Look: TAction
Caption = '主生产计划查询'
Hint = '主生产计划查询(Enter)'
end
inherited Act_Check: TAction
Hint = '全选'
OnExecute = Act_CheckExecute
end
end
inherited AdoQry_Main: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdrcmrm_B;Data Source=192.168.15' +
'1'
CurSorType = ctStatic
BeforeInsert = AdoQry_MainBeforeInsert
BeforeEdit = AdoQry_MainBeforeEdit
AfterPost = AdoQry_MainAfterPost
SQL.Strings = (
'Select SS.*,Item.ItemName,Item.PmCode,Item.Qclt,Item.UomCode,Uom' +
'.UomName,SysSsInfo.SsName,'
' Item.ItemCode+'#39' '#39'+Item.ItemName As Itemflag,PcNo='#39'待分配 ' +
' '#39
' From SS'
'Join Item On SS.ItemCode=Item.ItemCode'
'Join Uom On Item.UomCode=Uom.UomCode'
'And (PmType=1 Or PmType=2)'
'And (SScheck=0)'
'Join SysSsInfo On Ss.SSSysInfoFlag=SysSsInfo.SSCode'
'Order By Ss.ItemCode,ss.SSDate')
Left = 456
Top = 186
object AdoQry_MainSSId: TAutoIncField
FieldName = 'SSId'
Origin = '#Ss'
ReadOnly = True
end
object AdoQry_MainItemCode: TStringField
FieldName = 'ItemCode'
Origin = '#Ss'
Size = 16
end
object AdoQry_MainSSSysInfoFlag: TIntegerField
FieldName = 'SSSysInfoFlag'
Origin = '#Ss'
end
object AdoQry_MaInOrderNo: TStringField
FieldName = 'OrderNo'
Origin = '#Ss'
Size = 16
end
object AdoQry_MaInOrderLineNo: TIntegerField
FieldName = 'OrderLineNo'
Origin = '#Ss'
end
object AdoQry_MainSSDate2: TDateTimeField
FieldName = 'SSDate'
Origin = '#Ss'
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_MainSSDate: TDateTimeField
FieldName = 'realreleasedate'
Origin = '#Ss'
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_Mainpoinqty: TFloatField
FieldName = 'poinqty'
Origin = '#Ss'
DisplayFormat = '#,##0'
end
object AdoQry_MainSSQty: TFloatField
FieldName = 'poqty'
Origin = '#Ss'
DisplayFormat = '#,##0'
end
object AdoQry_MainPmType: TIntegerField
FieldName = 'PmType'
Origin = '#Ss'
end
object AdoQry_MainSScheck: TIntegerField
FieldName = 'SScheck'
Origin = '#Ss'
end
object AdoQry_MainGrossRequireQty: TFloatField
FieldName = 'GrossRequireQty'
Origin = '#Ss'
DisplayFormat = '#,##0'
end
object AdoQry_MainItemName: TStringField
FieldName = 'ItemName'
Origin = '#Ss'
Size = 60
end
object AdoQry_MainUomCode: TStringField
FieldName = 'UomCode'
Origin = '#Ss'
Size = 4
end
object AdoQry_MainUomName: TStringField
FieldName = 'UomName'
Origin = '#Ss'
Size = 10
end
object AdoQry_MaInOrderLineStatus: TIntegerField
FieldName = 'OrderLineStatus'
Origin = '#Ss'
end
object AdoQry_MainItemflag: TStringField
FieldName = 'Itemflag'
Origin = '#Ss'
ReadOnly = True
Size = 77
end
object AdoQry_MainSsName: TStringField
FieldName = 'SsName'
Origin = '#Ss'
Size = 60
end
object AdoQry_MainDeptVendorCode: TStringField
FieldName = 'VendorName'
Origin = '#Ss'
Size = 12
end
object AdoQry_MainDeptVendorCode2: TStringField
FieldName = 'DeptVendorCode'
Origin = '#Ss'
Size = 12
end
object AdoQry_MainPcNo: TStringField
FieldName = 'PcNo'
Origin = '#Ss'
ReadOnly = True
Size = 15
end
object AdoQry_MainPmCode: TIntegerField
FieldName = 'PmCode'
Origin = '#Ss'
end
object AdoQry_MainEmployeeCode: TStringField
FieldName = 'EmployeeCode'
Origin = '#Ss'
end
object AdoQry_MainEmployeeName: TStringField
FieldName = 'EmployeeName'
Origin = '#Ss'
end
object AdoQry_MainEmployeeFlag: TStringField
FieldName = 'EmployeeFlag'
Origin = '#Ss'
Size = 40
end
object AdoQry_Mainduedate: TDateTimeField
FieldName = 'duedate'
Origin = '#Ss'
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_MainReMainQty: TFloatField
FieldName = 'ssReMainQty'
Origin = '#Ss'
end
object AdoQry_MainReMainQty2: TFloatField
FieldName = 'ReMainQty'
Origin = '#Ss'
end
object AdoQry_MainCanUseOnHand2: TFloatField
FieldName = 'CanUseOnHand'
end
object AdoQry_MainCanUseOnHand: TFloatField
FieldName = 'SSQty'
end
object AdoQry_MainQclt: TIntegerField
FieldName = 'Qclt'
Origin = '#Ss'
end
end
inherited DataSource: TDataSource
OnDataChange = DataSourceDataChange
Left = 496
Top = 241
end
inherited ExtPrintReport: TExtPrintReport
Left = 119
Top = 256
end
inherited PopuPmenu: TPopuPmenu
Left = 195
Top = 247
end
object AdoQry_Loop: TAdoQuery
Parameters = <>
Left = 328
Top = 217
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -