📄 yp_rkfh.dfm
字号:
inherited Frm_YP_RKFH: TFrm_YP_RKFH
Tag = 63100
Left = -5
Top = 59
Caption = '邮资票品管理信息系统——库房管理'
ClientHeight = 509
ClientWidth = 748
OldCreateOrder = True
PixelsPerInch = 96
TextHeight = 12
object ModiPanel1: TModiPanel
Left = 0
Top = 478
Width = 748
Height = 31
Align = alBottom
BevelOuter = bvLowered
TabOrder = 0
DisButton = [bnEdit, bnSave, bnCancel, bnClose]
BtnWidth = 65
OnBtnClick = ModiPanel1BtnClick
object BitBtn5: TBitBtn
Left = 198
Top = 3
Width = 65
Height = 25
Caption = '复核(&H)'
TabOrder = 7
OnClick = BitBtn5Click
Glyph.Data = {
DE010000424DDE01000000000000760000002800000024000000120000000100
0400000000006801000000000000000000001000000000000000000000000000
80000080000000808000800000008000800080800000C0C0C000808080000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
3333333333333333333333330000333333333333333333333333F33333333333
00003333344333333333333333388F3333333333000033334224333333333333
338338F3333333330000333422224333333333333833338F3333333300003342
222224333333333383333338F3333333000034222A22224333333338F338F333
8F33333300003222A3A2224333333338F3838F338F33333300003A2A333A2224
33333338F83338F338F33333000033A33333A222433333338333338F338F3333
0000333333333A222433333333333338F338F33300003333333333A222433333
333333338F338F33000033333333333A222433333333333338F338F300003333
33333333A222433333333333338F338F00003333333333333A22433333333333
3338F38F000033333333333333A223333333333333338F830000333333333333
333A333333333333333338330000333333333333333333333333333333333333
0000}
NumGlyphs = 2
end
object BitBtn6: TBitBtn
Left = 263
Top = 3
Width = 97
Height = 25
Caption = '全部复核(&A)'
TabOrder = 8
OnClick = BitBtn6Click
Glyph.Data = {
DE010000424DDE01000000000000760000002800000024000000120000000100
0400000000006801000000000000000000001000000000000000000000000000
80000080000000808000800000008000800080800000C0C0C000808080000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
3333333333333333333333330000333333333333333333333333F33333333333
00003333344333333333333333388F3333333333000033334224333333333333
338338F3333333330000333422224333333333333833338F3333333300003342
222224333333333383333338F3333333000034222A22224333333338F338F333
8F33333300003222A3A2224333333338F3838F338F33333300003A2A333A2224
33333338F83338F338F33333000033A33333A222433333338333338F338F3333
0000333333333A222433333333333338F338F33300003333333333A222433333
333333338F338F33000033333333333A222433333333333338F338F300003333
33333333A222433333333333338F338F00003333333333333A22433333333333
3338F38F000033333333333333A223333333333333338F830000333333333333
333A333333333333333338330000333333333333333333333333333333333333
0000}
NumGlyphs = 2
end
end
object Panel1: TPanel
Left = 0
Top = 38
Width = 218
Height = 440
Align = alLeft
BevelOuter = bvLowered
TabOrder = 1
object Label8: TLabel
Left = 5
Top = 15
Width = 48
Height = 12
Caption = '查询日期'
end
object DBGrid2: TDBGrid
Left = 1
Top = 40
Width = 216
Height = 399
Align = alBottom
DataSource = DataSource2
Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
TabOrder = 0
TitleFont.Charset = GB2312_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -12
TitleFont.Name = '宋体'
TitleFont.Style = []
OnDrawColumnCell = DBGrid2DrawColumnCell
Columns = <
item
Expanded = False
FieldName = 'KDRQ'
Title.Caption = '开单日期'
Width = 68
Visible = True
end
item
Expanded = False
FieldName = 'DWMC'
Title.Caption = '来源单位'
Width = 113
Visible = True
end>
end
object BitBtn7: TBitBtn
Left = 155
Top = 9
Width = 50
Height = 25
Caption = '查询'
TabOrder = 1
OnClick = BitBtn7Click
end
object DateEdit1: TDateEdit
Left = 59
Top = 11
Width = 91
Height = 21
ButtonWidth = 16
NumGlyphs = 2
PopupFont.Charset = DEFAULT_CHARSET
PopupFont.Color = clWindowText
PopupFont.Height = -11
PopupFont.Name = 'MS Sans Serif'
PopupFont.Style = []
YearDigits = dyFour
TabOrder = 2
end
end
object Panel2: TPanel
Left = 218
Top = 38
Width = 530
Height = 440
Align = alClient
BevelInner = bvLowered
BevelOuter = bvNone
TabOrder = 2
object Label2: TLabel
Left = 11
Top = 17
Width = 48
Height = 12
Caption = '入库单号'
end
object Label3: TLabel
Left = 11
Top = 44
Width = 48
Height = 12
Caption = '开单日期'
end
object Label4: TLabel
Left = 361
Top = 17
Width = 48
Height = 12
Caption = '入库性质'
end
object Label5: TLabel
Left = 200
Top = 44
Width = 36
Height = 12
Caption = '制表人'
end
object Label10: TLabel
Left = 362
Top = 44
Width = 48
Height = 12
Caption = '入库日期'
end
object Label12: TLabel
Left = 24
Top = 72
Width = 36
Height = 12
Caption = '库管员'
end
object DBEdit2: TDBEdit
Left = 63
Top = 40
Width = 106
Height = 20
Color = clMenu
DataField = 'KDRQ'
DataSource = DataSource2
ReadOnly = True
TabOrder = 0
end
object DBEdit3: TDBEdit
Left = 414
Top = 13
Width = 104
Height = 20
Color = clMenu
DataField = 'RCKXZMC'
DataSource = DataSource2
ReadOnly = True
TabOrder = 1
end
object DBEdit4: TDBEdit
Left = 240
Top = 39
Width = 104
Height = 20
Color = clMenu
DataField = 'ZBR'
DataSource = DataSource2
ReadOnly = True
TabOrder = 2
end
object DBEdit6: TDBEdit
Left = 63
Top = 13
Width = 280
Height = 20
Color = clMenu
DataField = 'RKDH'
DataSource = DataSource2
ReadOnly = True
TabOrder = 3
end
object DBDateEdit1: TDBDateEdit
Left = 414
Top = 39
Width = 105
Height = 21
DataField = 'RKRQ'
DataSource = DataSource2
ButtonWidth = 16
NumGlyphs = 2
TabOrder = 4
YearDigits = dyFour
end
object DBGrid3: TDBGrid
Left = 5
Top = 93
Width = 521
Height = 340
DataSource = DataSource3
Options = [dgEditing, dgTitles, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
TabOrder = 5
TitleFont.Charset = GB2312_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -12
TitleFont.Name = '宋体'
TitleFont.Style = []
Columns = <
item
Color = cl3DLight
Expanded = False
FieldName = 'ZH'
ReadOnly = True
Title.Caption = '志号'
Width = 68
Visible = True
end
item
Color = cl3DLight
Expanded = False
FieldName = 'MC'
ReadOnly = True
Title.Caption = '名称'
Width = 100
Visible = True
end
item
Color = cl3DLight
Expanded = False
FieldName = 'JJ'
ReadOnly = True
Title.Caption = '进价'
Width = 60
Visible = True
end
item
Color = cl3DLight
Expanded = False
FieldName = 'PPDW'
ReadOnly = True
Title.Caption = '单位'
Width = 30
Visible = True
end
item
Color = cl3DLight
Expanded = False
FieldName = 'SL'
ReadOnly = True
Title.Caption = '数量'
Width = 58
Visible = True
end
item
Color = cl3DLight
Expanded = False
FieldName = 'KFMC'
ReadOnly = True
Title.Caption = '库房'
Width = 66
Visible = True
end
item
Expanded = False
FieldName = 'KWH'
Title.Caption = '库位'
Width = 41
Visible = True
end
item
Expanded = False
FieldName = 'BZ'
Title.Caption = '备注'
Width = 67
Visible = True
end>
end
object DBEdit1: TDBEdit
Left = 64
Top = 68
Width = 105
Height = 20
Color = cl3DLight
DataField = 'JZY'
DataSource = DataSource2
TabOrder = 6
end
end
object Panel3: TPanel
Left = 0
Top = 0
Width = 748
Height = 38
Align = alTop
BevelInner = bvLowered
BevelOuter = bvNone
TabOrder = 3
object XttxTitle: TRxLabel
Left = 1
Top = 1
Width = 746
Height = 24
Align = alTop
Alignment = taCenter
Caption = '集邮品入库单复核'
Font.Charset = GB2312_CHARSET
Font.Color = clGreen
Font.Height = -24
Font.Name = '楷体_GB2312'
Font.Style = [fsBold, fsUnderline]
ParentFont = False
end
object DWMC: TLabel
Left = 20
Top = 19
Width = 60
Height = 12
Caption = '使用单位:'
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -12
Font.Name = '宋体'
Font.Style = []
ParentFont = False
end
end
object UpdateSQL1: TUpdateSQL
ModifySQL.Strings = (
'update TKS_YPRKD'
'set'
' RKRQ = :RKRQ,'
' SHR = :SHR,'
' JZY = :JZY,'
' KGY = :KGY'
'where'
' RKDH = :OLD_RKDH')
InsertSQL.Strings = (
'insert into TKS_YPRKD'
' (RKRQ, SHR, JZY, KGY)'
'values'
' (:RKRQ, :SHR, :JZY, :KGY)')
DeleteSQL.Strings = (
'delete from TKS_YPRKD'
'where'
' RKDH = :OLD_RKDH')
Left = 72
Top = 142
end
object DataSource2: TDataSource
DataSet = qryRKD
Left = 103
Top = 142
end
object qryRKDPP: TQuery
CachedUpdates = True
OnUpdateError = qryRKDPPUpdateError
DatabaseName = 'YZPP'
DataSource = DataSource2
RequestLive = True
SQL.Strings = (
'SELECT J.RKDH, J.PPDM, J.JJ, J.KFDM, J.KWH, J.SL, J.BZ, Y.ZH, Y.' +
'MC, K.KFMC, '#39'套'#39' as ppdw'
' FROM TKS_YPRKPP J, TB_JYPTXXB Y, TGS_KFB K'
' WHERE J.PPDM = Y.TDM AND J.KFDM = K.KFDM'
' AND J.RKDH = :RKDH')
UpdateObject = UpdateSQL2
Left = 41
Top = 173
ParamData = <
item
DataType = ftUnknown
Name = 'RKDH'
ParamType = ptUnknown
end>
object qryRKDPPRKDH: TStringField
FieldName = 'RKDH'
end
object qryRKDPPPPDM: TStringField
FieldName = 'PPDM'
Size = 15
end
object qryRKDPPJJ: TFloatField
FieldName = 'JJ'
OnGetText = qryRKDPPJJGetText
OnSetText = qryRKDPPJJSetText
end
object qryRKDPPKFDM: TStringField
FieldName = 'KFDM'
Size = 3
end
object qryRKDPPKWH: TStringField
FieldName = 'KWH'
Size = 30
end
object qryRKDPPSL: TFloatField
FieldName = 'SL'
DisplayFormat = '#,##'
end
object qryRKDPPBZ: TStringField
FieldName = 'BZ'
Size = 60
end
object qryRKDPPZH: TStringField
FieldName = 'ZH'
Size = 11
end
object qryRKDPPMC: TStringField
FieldName = 'MC'
Size = 60
end
object qryRKDPPKFMC: TStringField
FieldName = 'KFMC'
Size = 30
end
object qryRKDPPPPDW: TStringField
FieldName = 'PPDW'
FixedChar = True
Size = 2
end
end
object UpdateSQL2: TUpdateSQL
ModifySQL.Strings = (
'update TKS_YPRKPP'
'set'
' KWH = :KWH,'
' BZ = :BZ'
'where'
' RKDH = :OLD_RKDH and'
' PPDM = :OLD_PPDM and'
' JJ = :OLD_JJ and'
' KFDM = :OLD_KFDM')
InsertSQL.Strings = (
'insert into TKS_YPRKPP'
' (KWH, BZ)'
'values'
' (:KWH, :BZ)')
DeleteSQL.Strings = (
'delete from TKS_YPRKPP'
'where'
' RKDH = :OLD_RKDH and'
' PPDM = :OLD_PPDM and'
' JJ = :OLD_JJ and'
' KFDM = :OLD_KFDM')
Left = 72
Top = 173
end
object DataSource3: TDataSource
DataSet = qryRKDPP
Left = 103
Top = 173
end
object qryRKD: TRxQuery
CachedUpdates = True
AfterScroll = qryRKDAfterScroll
DatabaseName = 'YZPP'
RequestLive = True
SQL.Strings = (
'SELECT J.RKDH, J.RKXZ, RKRQ, KDRQ, DJRQ, SHR, ZBR, JZY, KGY, G.D' +
'WJC DWMC, X.RCKXZMC'
' FROM TKS_YPRKD J, TGS_GXDWSJB G, TGS_JRCKXZDM X'
' WHERE J.LYDW = G.DWDM AND J.RKXZ=X.RCKXZDM AND %CON'
' and J.RKDH not in'
' (select RKDH from TKS_YPRKPP where KFDM not in'
' (select KFDM from TGS_KFRYDZB where YGDM=%YGDM))'
'ORDER BY KDRQ,PXM')
UpdateObject = UpdateSQL1
Macros = <
item
DataType = ftString
Name = 'CON'
ParamType = ptInput
Value = '0=0'
end
item
DataType = ftString
Name = 'YGDM'
ParamType = ptInput
Value = '0=0'
end>
Left = 41
Top = 143
end
object StoredProc1: TStoredProc
DatabaseName = 'YZPP'
StoredProcName = 'YP_RKD_JZ'
Left = 41
Top = 244
ParamData = <
item
DataType = ftFloat
Name = 'Result'
ParamType = ptResult
end
item
DataType = ftString
Name = 'PC_RKDH'
ParamType = ptInput
end
item
DataType = ftString
Name = 'PC_USERID'
ParamType = ptInput
end>
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -