📄 sfc_qry_mounitmnrequestauditingh.dfm
字号:
inherited Frm_Sfc_Qry_MoUnitMnRequestAuditingH: TFrm_Sfc_Qry_MoUnitMnRequestAuditingH
Left = 303
Top = 137
Caption = 'Mo合并领料查询'
Windowstate = wsMaximized
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
inherited ToolBar: TToolBar
inherited TlBtn_New: TToolButton
Visible = False
end
inherited TlBtn_Modify: TToolButton
Visible = False
end
inherited TlBtn_Delete: TToolButton
Visible = False
end
end
end
inherited Pnl_Head: TPanel
inherited Lbl_Condition: TLabel
Width = 36
Caption = '未核定'
end
inherited Lbl_Order: TLabel
Width = 150
Caption = '受单部门代码/生产领料单号'
end
end
inherited Pnl_Body: TPanel
inherited DBGridEh: TDBGridEh
Columns = <
Item
FieldName = 'InvBillWHChck'
PickList.Strings = (
'未核定'
'已核定')
Title.Caption = '核定否'
KeyList.Strings = (
'0'
'1')
end
Item
FieldName = 'InvBillNo'
PickList.Strings = ()
Title.Caption = '生产领料单号'
Width = 113
KeyList.Strings = ()
end
Item
FieldName = 'DeptCodeName'
PickList.Strings = ()
Title.Caption = '受单部门标识'
Width = 136
KeyList.Strings = ()
end
Item
FieldName = 'WHCodeName'
PickList.Strings = ()
Title.Caption = '仓库'
Width = 90
KeyList.Strings = ()
end
Item
FieldName = 'WHPCodeName'
PickList.Strings = ()
Title.Caption = '货位'
Width = 78
KeyList.Strings = ()
end
Item
FieldName = 'WH_EmployeeCode2'
PickList.Strings = ()
Title.Caption = '仓管员'
Width = 86
KeyList.Strings = ()
end
Item
FieldName = 'ShiftType'
PickList.Strings = ()
Title.Caption = '班别'
Width = 82
KeyList.Strings = ()
end
Item
FieldName = 'RemArk'
PickList.Strings = ()
Title.Caption = '备注'
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Head: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=Mrpii_kelong;Data Source=192.168' +
'.0.100;Use procedure for Prepare=1;Auto Translate=True;Packet Si' +
'ze=4096;Workstation ID=XYB'
SQL.Strings = (
'select InvOutBill.InvBillWHChck,InvOutBill.InvBillNo,InvOutBill.' +
'InvBillId,InvOutBill.DeptCode,Dept.DeptName,'
' InvOutBill.DeptCode+'#39' '#39'+Dept.DeptName DeptCodeName,InvOut' +
'Bill.WHCode,Warehouse.WHName ,'
' InvOutBill.WHCode+'#39' '#39'+Warehouse.WHName WHCodeName,InvOutB' +
'ill.WhPositionCode,WhPosition.WhPositionName,'
' InvOutBill.WhPositionCode+'#39' '#39'+WhPosition.WhPositionName W' +
'HPCodeName,InvOutBill.WH_EmployeeCode2,Employee.EmployeeName,'
' InvOutBill.WH_EmployeeCode2+'#39' '#39'+Employee.EmployeeName Emp' +
'CodeName,InvOutBill.ShiftType,InvOutBill.RemArk'
'from InvOutBill left join Dept on Dept.DeptCode=InvOutBill.DeptC' +
'ode'
' left join Warehouse on Warehouse.WHCode=InvOutBi' +
'll.WHCode'
' left join WhPosition on Warehouse.WHCode=WHPosit' +
'ion.WHCode and WhPosition.WhPositionCode=InvOutBill.WhPositionCo' +
'de'
' left join Employee on Employee.EmployeeCode=InvO' +
'utBill.WH_EmployeeCode2'
'where InvOutBill.InvBillWHChck=0 and ISMoUnitRequest=1')
object AdoQry_HeadInvBillWHChck: TIntegerField
FieldName = 'InvBillWHChck'
Origin = 'InvOutBill'
end
object AdoQry_HeadInvBillNo: TStringField
FieldName = 'InvBillNo'
Origin = 'InvOutBill'
Size = 10
end
object AdoQry_HeadInvBillId: TFloatField
FieldName = 'InvBillId'
ReadOnly = True
end
object AdoQry_HeadDeptCode: TStringField
FieldName = 'DeptCode'
Origin = 'InvOutBill'
Size = 8
end
object AdoQry_HeadDeptName: TStringField
FieldName = 'DeptName'
Size = 40
end
object AdoQry_HeadDeptCodeName: TStringField
FieldName = 'DeptCodeName'
ReadOnly = True
Size = 49
end
object AdoQry_HeadWHCode: TStringField
FieldName = 'WHCode'
Origin = 'InvOutBill'
Size = 4
end
object AdoQry_HeadWHName: TStringField
FieldName = 'WHName'
Size = 40
end
object AdoQry_HeadWHCodeName: TStringField
FieldName = 'WHCodeName'
ReadOnly = True
Size = 45
end
object AdoQry_HeadWhPositionCode: TStringField
FieldName = 'WhPositionCode'
Origin = 'InvOutBill'
Size = 4
end
object AdoQry_HeadWhPositionName: TStringField
FieldName = 'WhPositionName'
Size = 40
end
object AdoQry_HeadWHPCodeName: TStringField
FieldName = 'WHPCodeName'
ReadOnly = True
Size = 45
end
object AdoQry_HeadWH_EmployeeCode2: TStringField
FieldName = 'WH_EmployeeCode2'
Origin = 'InvOutBill'
Size = 30
end
object AdoQry_HeadEmployeeName: TStringField
FieldName = 'EmployeeName'
Size = 60
end
object AdoQry_HeadEmpCodeName: TStringField
FieldName = 'EmpCodeName'
ReadOnly = True
Size = 91
end
object AdoQry_HeadShiftType: TStringField
FieldName = 'ShiftType'
Origin = 'InvOutBill'
end
object AdoQry_HeadRemArk: TStringField
FieldName = 'RemArk'
Size = 60
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -