📄 pm_enter_dynamicsspoinfo.dfm
字号:
inherited Frm_Pm_Enter_DynamicSsPoInfo: TFrm_Pm_Enter_DynamicSsPoInfo
Left = 5
Top = 115
Caption = '采购建议-全部列示'
ClientWidth = 804
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
Width = 804
inherited ToolBar: TToolBar
inherited TlBtn_Copy: TToolButton
Hint = '全选'
Caption = '全选'
end
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 = 804
Caption = '采购建议-全部列示'
inherited Image2: TImage
Width = 804
end
end
inherited Pnl_Head: TPanel
Width = 804
inherited Image1: TImage
Width = 804
end
inherited Lbl_Order: TLabel
Width = 48
Caption = '物料代码'
end
end
inherited Pnl_Hint: TPanel
Top = 392
Width = 804
Height = 37
inherited Image4: TImage
Width = 804
Height = 37
end
object Label1: TLabel
Left = 3
Top = 23
Width = 60
Height = 12
Caption = '物料标识:'
end
object DBText1: TDBText
Left = 81
Top = 23
Width = 42
Height = 12
AutoSize = True
DataField = 'Itemflag'
DataSource = DataSource
end
object DBText2: TDBText
Left = 711
Top = 8
Width = 42
Height = 12
AutoSize = True
DataField = 'SSQty'
DataSource = DataSource
end
object Label2: TLabel
Left = 637
Top = 8
Width = 72
Height = 12
Caption = '约定交货量:'
end
object Label3: TLabel
Left = 638
Top = 24
Width = 72
Height = 12
Caption = '约定交货日:'
end
object DBText3: TDBText
Left = 710
Top = 24
Width = 42
Height = 12
AutoSize = True
DataField = 'SSDate'
DataSource = DataSource
end
object Label4: TLabel
Left = 3
Top = 5
Width = 72
Height = 12
Caption = '采购员标识:'
end
object DBText4: TDBText
Left = 80
Top = 6
Width = 42
Height = 12
AutoSize = True
DataField = 'EmployeeFlag'
DataSource = DataSource
end
end
inherited Pnl_Body: TPanel
Width = 804
Height = 295
inherited Image3: TImage
Width = 804
Height = 295
end
inherited DBGridEh: TDBGridEh
Width = 804
Height = 295
ReadOnly = False
OnDblClick = Act_LookExecute
OnTitleClick = DBGridEhTitleClick
FrozenCols = 6
Columns = <
Item
FieldName = 'SScheck'
PickList.Strings = (
'1'
'0')
Title.Alignment = taCenter
Title.Caption = '标记'
Title.Font.ChArset = GB2312_CHArSET
Title.Font.Color = clBlue
Title.Font.Height = -12
Title.Font.Name = '宋体'
Title.Font.Style = []
Width = 30
KeyList.Strings = (
'1'
'0')
NotInKeyListIndex = 0
Checkboxes = True
end
Item
FieldName = 'EmployeeCode'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '采购员代码'
Width = 65
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '采购员姓名'
Width = 65
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeFlag'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '采购员ID'
Width = 55
KeyList.Strings = ()
end
Item
FieldName = 'PcNo'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '合同号'
Width = 55
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
FieldName = 'Itemflag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料标识'
Width = 200
KeyList.Strings = ()
end
Item
Alignment = taCenter
FieldName = 'UomName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '单位'
Width = 27
KeyList.Strings = ()
end
Item
FieldName = 'SSSysInfoFlag'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '建议信息 '
Width = 30
Visible = False
KeyList.Strings = ()
end
Item
Alignment = taCenter
FieldName = 'SsName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '建议信息'
Width = 55
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 = 'SSQty'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定交货量'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'ssreMainqty'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '系统建议余量'
Width = 80
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'SSDate'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定交货日'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'duedate'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定开工日'
Width = 70
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 349
Top = 259
end
inherited ActionList: TActionList
Left = 258
Top = 259
inherited Act_Look: TAction
Caption = '主生产计划查询'
Enabled = True
Hint = '主生产计划查询(Enter)'
Visible = True
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;Data Source=NT2'
CurSorType = ctStatic
MaxRecords = 500
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',ssr' +
'eMainqty=reMainQty'
' 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 = 184
Top = 226
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_MainSSDate: TDateTimeField
FieldName = 'SSDate'
Origin = '#Ss'
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_MainSSQty: TFloatField
FieldName = 'SSQty'
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_MaInPlanInvQty: TFloatField
FieldName = 'PlanInvQty'
Origin = '#Ss'
end
object AdoQry_MainItemName: TStringField
FieldName = 'ItemName'
Origin = 'Item'
Size = 60
end
object AdoQry_MainUomCode: TStringField
FieldName = 'UomCode'
Origin = 'Item'
Size = 4
end
object AdoQry_MainUomName: TStringField
FieldName = 'UomName'
Origin = 'Uom'
Size = 10
end
object AdoQry_MaInOrderLineStatus: TIntegerField
FieldName = 'OrderLineStatus'
Origin = '#Ss'
end
object AdoQry_MainItemflag: TStringField
FieldName = 'Itemflag'
ReadOnly = True
Size = 77
end
object AdoQry_MainSsName: TStringField
FieldName = 'SsName'
Size = 60
end
object AdoQry_MainDeptVendorCode: TStringField
FieldName = 'DeptVendorCode'
Origin = '#Ss'
Size = 12
end
object AdoQry_MainPcNo: TStringField
FieldName = 'PcNo'
ReadOnly = True
Size = 15
end
object AdoQry_MainPmCode: TIntegerField
FieldName = 'PmCode'
Origin = 'Item'
end
object AdoQry_MainEmployeeCode: TStringField
FieldName = 'EmployeeCode'
Origin = 'Employee'
end
object AdoQry_MainEmployeeName: TStringField
FieldName = 'EmployeeName'
Origin = 'Employee'
end
object AdoQry_MainEmployeeFlag: TStringField
FieldName = 'EmployeeFlag'
Size = 40
end
object AdoQry_Mainduedate: TDateTimeField
FieldName = 'duedate'
Origin = '#Ss'
DisplayFormat = 'yy.mm.dd'
end
object AdoQry_MainReMainQty: TFloatField
DisplayLabel = 'ssReMainQty'
FieldName = 'ReMainQty'
end
object AdoQry_MainQclt: TIntegerField
FieldName = 'Qclt'
end
object AdoQry_MainssreMainqty: TFloatField
FieldName = 'ssreMainqty'
end
end
inherited DataSource: TDataSource
Left = 392
Top = 257
end
inherited ExtPrintReport: TExtPrintReport
Left = 119
Top = 256
end
inherited PopuPmenu: TPopuPmenu
Left = 251
Top = 231
end
object AdoQry_Loop: TAdoQuery
Parameters = <>
Left = 304
Top = 257
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -