📄 inv_opsumout_b.dfm
字号:
inherited Frm_Inv_OpSumOut_B: TFrm_Inv_OpSumOut_B
Left = 10
Top = 120
Caption = '委外加工合并领料'
PixelsPerInch = 96
TextHeight = 12
inherited ControlBar: TControlBar
inherited ToolBar: TToolBar
inherited TlBtn_Preview: TToolButton
Hint = '打印预览(不计打印次数)'
end
end
end
inherited Pnl_Title: TPanel
Height = 43
Caption = '委外加工合并领料'
object Btn_QryOpCurrentInv: TBitBtn
Left = 602
Top = 8
Width = 137
Height = 31
Caption = '相应供应商月结存'
Font.ChArset = GB2312_CHArSET
Font.Color = clBlue
Font.Height = -14
Font.Name = '宋体'
Font.Style = []
ParentFont = False
TabOrder = 0
OnClick = Btn_QryOpCurrentInvClick
end
end
inherited Pnl_Head: TPanel
Top = 73
Height = 73
object Lbl_PoNo: TLabel
Left = 479
Top = 10
Width = 6
Height = 12
end
object Lbl_VendorCodeName: TLabel
Left = 60
Top = 33
Width = 6
Height = 12
end
object Label1: TLabel
Left = 12
Top = 33
Width = 48
Height = 12
Caption = '供应商:'
end
object Label2: TLabel
Left = 24
Top = 11
Width = 36
Height = 12
Caption = '仓库:'
end
object Label5: TLabel
Left = 216
Top = 11
Width = 36
Height = 12
Caption = '货位:'
end
object Label9: TLabel
Left = 408
Top = 11
Width = 72
Height = 12
Caption = '采购订单号:'
end
object Label7: TLabel
Left = 594
Top = 11
Width = 48
Height = 12
Caption = '单据号:'
end
object Label10: TLabel
Left = 606
Top = 34
Width = 36
Height = 12
Caption = '日期:'
end
object Label4: TLabel
Left = 24
Top = 56
Width = 36
Height = 12
Caption = '备注:'
end
object Cmbx_WhCodeName: TComboBox
Left = 58
Top = 4
Width = 121
Height = 20
Style = csDropDownList
ItemHeight = 12
TabOrder = 0
OnChange = Cmbx_WhCodeNameChange
OnExit = Cmbx_WhCodeNameExit
end
object Cmbx_Position: TComboBox
Left = 249
Top = 4
Width = 121
Height = 20
Style = csDropDownList
ItemHeight = 12
TabOrder = 1
OnChange = Cmbx_PositionChange
OnExit = Cmbx_PositionExit
end
object Edt_BillNo: TEdit
Left = 639
Top = 4
Width = 105
Height = 20
ReadOnly = True
TabOrder = 2
end
object Medt_Date: TMaskEdit
Left = 639
Top = 27
Width = 76
Height = 20
EditMask = '9999.99.99;1;_'
MaxLength = 10
TabOrder = 3
Text = ' . . '
OnExit = Medt_DateExit
end
object Edt_Memo: TEdit
Left = 58
Top = 50
Width = 625
Height = 20
TabOrder = 4
end
end
inherited Pnl_Hint: TPanel
object Label6: TLabel
Left = 14
Top = 8
Width = 96
Height = 12
Caption = '当前行物料描述:'
end
object DBText1: TDBText
Left = 114
Top = 8
Width = 42
Height = 12
AutoSize = True
DataField = 'ItemName'
DataSource = DataSource
end
end
inherited Pnl_Body: TPanel
Top = 146
Height = 296
inherited DBGridEh: TDBGridEh
Height = 296
OnEnter = DBGridEhEnter
OnKeyDown = DBGridEhKeyDown
Columns = <
Item
FieldName = 'ItemCode'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料代码'
Width = 125
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '物料描述'
Width = 250
KeyList.Strings = ()
end
Item
FieldName = 'UomName'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '计量单位'
Width = 53
KeyList.Strings = ()
end
Item
FieldName = 'PoCtrlQty'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '限额领料'
Width = 76
KeyList.Strings = ()
end
Item
FieldName = 'PoRealQty'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '累计领料数量'
Width = 76
KeyList.Strings = ()
end
Item
FieldName = 'UseableStore'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '可用库存'
KeyList.Strings = ()
end
Item
FieldName = 'POOutQty'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '本次领料数量'
Width = 76
KeyList.Strings = ()
end
Item
FieldName = 'BatchNo'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '批次号'
Width = 73
KeyList.Strings = ()
end
Item
FieldName = 'BillLineRemArk'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '备注'
Width = 70
KeyList.Strings = ()
end>
end
end
inherited ActionList: TActionList
inherited Act_New: TAction
Visible = False
end
inherited Act_Modify: TAction
Enabled = False
Visible = False
end
inherited Act_InsertLine: TAction
Enabled = False
Visible = False
end
inherited Act_DeleteLine: TAction
Enabled = False
Visible = False
end
inherited Act_auto: TAction
OnExecute = Act_autoExecute
end
end
inherited AdoQry_Body: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdrcmrm_B;Data Source=192.168.0.' +
'151;Use procedure for Prepare=1;Auto Translate=True;Packet Size=' +
'4096;Workstation ID=XYB'
BeforePost = AdoQry_BodyBeforePost
AfterScroll = AdoQry_BodyAfterScroll
SQL.Strings = (
'select op.pono,'
' Op.ItemCode,'
' Item.ItemName,'
' Uom.UomName,'
' Sum(round(Op.PoCtrlQty,0)) PoCtrlQty,'
' Sum(round(Op.PoRealQty,0)) PoRealQty,'
' Op.POOutQty,'
' op.BillLineReMArk BatchNo,'
' c.OnHandInv as UseableStore,'
' op.BillLineRemArk'
' from OpItemList OP'
' right join CurrentInv c'
' on (c.whCode='#39'01'#39') and'
' (c.WhPositionCode='#39'0101'#39') and'
' (c.OnHandInv>0) and'
' (c.ItemCode=op.ItemCode)'
' left Join Item'
' on Item.ItemCode=Op.ItemCode join'
' Uom on Uom.UomCode=Item.UomCode and Op.PoNo='#39'P0106001' +
'2'#39' and'
' Op.PoCtrlQty>0'
' Group By op.pono,Op.ItemCode,Item.ItemName,Uom.UomName,op.Bi' +
'llLineReMArk,c.OnHandInv,'
' op.BillLineRemArk,Op.POOutQty,op.BomQty,op.ite_Item' +
'Code,op.ItemListid,op.BomScrAp_Percent'
''
''
' '
' ')
end
object AdoQry_tmp2: TAdoQuery
Parameters = <>
Left = 440
Top = 217
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -