📄 datamz.~dfm
字号:
object DataMzf: TDataMzf
OldCreateOrder = False
Left = 319
Top = 128
Height = 450
Width = 631
object XyMzInQuery: TADOQuery
Connection = XyMzValiConnection
CursorType = ctStatic
LockType = ltBatchOptimistic
Parameters = <>
SQL.Strings = (
'select my_id,yp_name,yp_unit,yp_spec,'
' XyMzIn.ls_price,sc_fact,yp_batch,'
' XyMzIn.in_amou,XyMzIn.in_man,'
' XyMzIn.in_date,XyMzIn.qr_man'
'from XyDkInId,XyId,XyMzIn'
'where XyMzIn.in_id=XyDkInId.in_id and'
' XyDkInId.yp_id=XyId.yp_id and'
' XyMzIn.in_man is not null and'
' XyMzIn.qr_man is null'
' ')
Left = 265
Top = 57
object XyMzInQuerymy_id: TAutoIncField
FieldName = 'my_id'
ReadOnly = True
end
object XyMzInQueryyp_name: TStringField
FieldName = 'yp_name'
FixedChar = True
Size = 24
end
object XyMzInQueryyp_unit: TStringField
FieldName = 'yp_unit'
FixedChar = True
Size = 4
end
object XyMzInQueryyp_spec: TStringField
FieldName = 'yp_spec'
FixedChar = True
end
object XyMzInQueryls_price: TBCDField
FieldName = 'ls_price'
DisplayFormat = '###########0.00###'
Precision = 18
Size = 5
end
object XyMzInQuerysc_fact: TStringField
FieldName = 'sc_fact'
FixedChar = True
Size = 36
end
object XyMzInQueryyp_batch: TStringField
FieldName = 'yp_batch'
FixedChar = True
Size = 10
end
object XyMzInQueryin_amou: TIntegerField
FieldName = 'in_amou'
end
object XyMzInQueryin_man: TStringField
FieldName = 'in_man'
FixedChar = True
Size = 8
end
object XyMzInQueryin_date: TDateTimeField
FieldName = 'in_date'
end
object XyMzInQueryqr_man: TStringField
FieldName = 'qr_man'
FixedChar = True
Size = 8
end
end
object XyMzInSource: TDataSource
DataSet = XyMzInQuery
Left = 337
Top = 57
end
object XyMzValiConnection: TADOConnection
ConnectionString =
'Provider=SQLOLEDB.1;Persist Security Info=False;User ID=wh;Initi' +
'al Catalog=qyyfy_run;Data Source=qy_nt;Locale Identifier=2052;Co' +
'nnect Timeout=0;Use Procedure for Prepare=1;Auto Translate=True;' +
'Packet Size=4096;Workstation ID=NEWWH'
ConnectionTimeout = 0
LoginPrompt = False
Provider = 'SQLOLEDB.1'
Left = 38
Top = 56
end
object XyMzValiQuery: TADOQuery
Connection = XyMzValiConnection
CursorType = ctStatic
LockType = ltBatchOptimistic
Parameters = <
item
Name = 'HjId'
Attributes = [paSigned]
DataType = ftInteger
Precision = 10
Size = 4
Value = 0
end>
SQL.Strings = (
'select my_id,'
' yp_name,'
' yp_spec,'
' yp_unit,'
' yp_batch,'
' sc_fact,'
' yp_amou,'
' ls_price'
'from XyMzVali,XyId'
'where XyMzVali.yp_id=XyId.yp_id and'
' XyMzVali.hj_id=:hjid'
' ')
Left = 24
Top = 110
end
object XyMzXmValiQuery: TADOQuery
Connection = XyMzValiConnection
CursorType = ctStatic
LockType = ltBatchOptimistic
Parameters = <
item
Name = 'hjid'
Attributes = [paSigned, paNullable]
DataType = ftInteger
Precision = 10
Size = 4
Value = Null
end>
SQL.Strings = (
'select xm_name,'
' hz_name,'
' sk_man,'
' hj_date,'
' ys_money'
'from MzYpSf,XmId'
'where MzYpSf.xm_id=XmId.xm_id and'
' XmId.Xy_iden=1 and'
' MzYpSf.hj_id=:hjid'
' '
'')
Left = 198
Top = 110
end
object XyMzValiSource: TDataSource
DataSet = XyMzValiQuery
Left = 110
Top = 110
end
object XyMzUser: TADOQuery
Connection = XyMzValiConnection
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select suser_sname()')
Left = 114
Top = 57
end
object XyMzXmValiSource: TDataSource
DataSet = XyMzXmValiQuery
Left = 292
Top = 110
end
object XyMzUserSource: TDataSource
AutoEdit = False
DataSet = XyMzUser
Left = 183
Top = 57
end
object UserQuery: TADOQuery
Connection = AdmiConnection
CursorType = ctStatic
Parameters = <>
SQL.Strings = (
'select uid,'
' name'
'from sysusers'
'where uid<10000 and'
' uid>4 and'
' uid in (select memberuid'
' from sysusers,sysmembers'
' where uid=groupuid and'
' (name='#39#35199#33647#38376#35786#39046#33647#32452#39' or'
' name='#39#35199#33647#38376#35786#31649#29702#32452#39' ))'
' '
'')
Left = 352
Top = 6
end
object UserSource: TDataSource
DataSet = UserQuery
Left = 416
Top = 6
end
object AdmiConnection: TADOConnection
ConnectionString =
'Provider=SQLOLEDB.1;Password=tffw_;Persist Security Info=True;Us' +
'er ID=usergroup;Initial Catalog=qyyfy_run;Data Source=qy_nt;Loca' +
'le Identifier=2052;Connect Timeout=15;Use Procedure for Prepare=' +
'1;Auto Translate=True;Packet Size=4096;Workstation ID=NEWWH'
LoginPrompt = False
Provider = 'SQLOLEDB.1'
Left = 30
Top = 7
end
object XySource: TDataSource
DataSet = XyQuery
Left = 280
Top = 158
end
object XyZjQuery: TADOQuery
Connection = XyMzValiConnection
CursorType = ctStatic
LockType = ltBatchOptimistic
Parameters = <>
SQL.Strings = (
'select XyMzZjIn.my_id,'
' XyMzZjIn.in_id,'
' XyDkInId.yp_id,'
' XyId.yp_code,'
' XyId.yp_name,'
' XyId.yp_spec,'
' XyId.yp_unit,'
' XyDkInId.yp_batch,'
' XyDkInId.ls_price,'
' XyMzZjIn.in_amou'
'from XyMzZjIn,XyId,XyDkInId'
'where XyMzZjIn.in_id=XyDkInId.in_id and'
' XyId.yp_id=XyDkInId.yp_id and'
' XyMzZjIn.my_id=0'
' ')
Left = 32
Top = 164
object XyZjQuerymy_id: TAutoIncField
FieldName = 'my_id'
ReadOnly = True
end
object XyZjQueryin_id: TIntegerField
FieldName = 'in_id'
end
object XyZjQueryyp_id: TSmallintField
FieldName = 'yp_id'
end
object XyZjQueryyp_code: TStringField
FieldName = 'yp_code'
FixedChar = True
Size = 12
end
object XyZjQueryyp_name: TStringField
FieldName = 'yp_name'
FixedChar = True
Size = 24
end
object XyZjQueryyp_spec: TStringField
FieldName = 'yp_spec'
FixedChar = True
end
object XyZjQueryyp_unit: TStringField
FieldName = 'yp_unit'
FixedChar = True
Size = 4
end
object XyZjQueryyp_batch: TStringField
FieldName = 'yp_batch'
FixedChar = True
Size = 10
end
object XyZjQueryls_price: TBCDField
FieldName = 'ls_price'
DisplayFormat = '###########0.00###'
Precision = 18
Size = 5
end
object XyZjQueryin_amou: TIntegerField
FieldName = 'in_amou'
end
end
object XyZjSource: TDataSource
DataSet = XyZjQuery
Left = 88
Top = 163
end
object XyZjInQuery: TADOQuery
Connection = XyMzValiConnection
CursorType = ctStatic
LockType = ltBatchOptimistic
Parameters = <>
SQL.Strings = (
'select my_id,'
' in_id,'
' ls_price,'
' in_amou'
'from XyMzZjIn'
'where XyMzZjIn.my_id=0'
' ')
Left = 160
Top = 163
object XyZjInQuerymy_id: TAutoIncField
FieldName = 'my_id'
ReadOnly = True
end
object XyZjInQueryin_id: TIntegerField
FieldName = 'in_id'
end
object XyZjInQueryls_price: TBCDField
FieldName = 'ls_price'
Precision = 18
Size = 5
end
object XyZjInQueryin_amou: TIntegerField
FieldName = 'in_amou'
end
end
object XyQuery: TADOStoredProc
Connection = XyMzValiConnection
LockType = ltBatchOptimistic
ProcedureName = 'Wh_XyQuery;1'
Parameters = <
item
Name = 'RETURN_VALUE'
DataType = ftInteger
Direction = pdReturnValue
Precision = 10
Value = Null
end
item
Name = '@YpCode'
Attributes = [paNullable]
DataType = ftString
Size = 12
Value = ''
end
item
Name = '@ZjIden'
DataType = ftSmallint
Value = 0
end>
Left = 224
Top = 160
object XyQueryin_id: TAutoIncField
FieldName = 'in_id'
ReadOnly = True
end
object XyQueryyp_name: TStringField
DisplayWidth = 18
FieldName = 'yp_name'
FixedChar = True
Size = 24
end
object XyQueryyp_spec: TStringField
DisplayWidth = 12
FieldName = 'yp_spec'
FixedChar = True
end
object XyQueryyp_unit: TStringField
DisplayWidth = 4
FieldName = 'yp_unit'
FixedChar = True
Size = 4
end
object XyQueryls_price: TBCDField
DisplayWidth = 7
FieldName = 'ls_price'
Precision = 18
Size = 5
end
object XyQueryyp_batch: TStringField
DisplayWidth = 8
FieldName = 'yp_batch'
FixedChar = True
Size = 10
end
end
object ZjValiSource: TDataSource
DataSet = ZjValiQuery
Left = 440
Top = 109
end
object ZjValiQuery: TADOQuery
Connection = XyMzValiConnection
CursorType = ctStatic
LockType = ltBatchOptimistic
Parameters = <>
SQL.Strings = (
'select XyMzZjIn.my_id,'
' XyId.yp_name,'
' XyId.yp_spec,'
' XyId.yp_unit,'
' XyDkInId.yp_batch,'
' XyDkInId.ls_price,'
' XyMzZjIn.in_amou,'
' XyMzZjIn.in_man,'
' XyMzZjIn.in_date,'
' XyMzZjIn.qr_man'
'from XyMzZjIn,XyId,XyDkInId'
'where XyMzZjIn.in_id=XyDkInId.in_id and'
' XyId.yp_id=XyDkInId.yp_id and'
' XyMzZjIn.qr_man is null '
' '
'')
Left = 376
Top = 109
object ZjValiQuerymy_id: TAutoIncField
FieldName = 'my_id'
ReadOnly = True
end
object ZjValiQueryyp_name: TStringField
FieldName = 'yp_name'
FixedChar = True
Size = 24
end
object ZjValiQueryyp_spec: TStringField
FieldName = 'yp_spec'
FixedChar = True
end
object ZjValiQueryyp_unit: TStringField
FieldName = 'yp_unit'
FixedChar = True
Size = 4
end
object ZjValiQueryyp_batch: TStringField
FieldName = 'yp_batch'
FixedChar = True
Size = 10
end
object ZjValiQueryls_price: TBCDField
FieldName = 'ls_price'
DisplayFormat = '###########0.00###'
Precision = 18
Size = 5
end
object ZjValiQueryin_amou: TIntegerField
FieldName = 'in_amou'
end
object ZjValiQueryin_man: TStringField
FieldName = 'in_man'
FixedChar = True
Size = 8
end
object ZjValiQueryin_date: TDateTimeField
FieldName = 'in_date'
end
object ZjValiQueryqr_man: TStringField
FieldName = 'qr_man'
FixedChar = True
Size = 8
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -