📄 sredworkschedule.dfm
字号:
DataSet = ClientName
Left = 153
Top = 78
end
object DSEmployeeName: TDataSource
DataSet = EmployeeName
Left = 192
Top = 78
end
object TempAds: TADODataSet
Connection = CommonData.acnConnection
Parameters = <>
Left = 280
Top = 259
end
object adsMaster: TADODataSet
Tag = 11
Connection = CommonData.acnConnection
CursorType = ctStatic
Filtered = True
CommandText =
'select *'#13#10'from SRWorkScheduleMaster'#13#10'where RecordState<>'#39#21024#38500#39' and' +
' ID=:ID'
IndexFieldNames = 'ID'
Parameters = <
item
Name = 'ID'
Attributes = [paSigned]
DataType = ftInteger
Precision = 10
Size = 4
Value = Null
end>
Left = 115
Top = 38
object adsMasterID: TAutoIncField
FieldName = 'ID'
ReadOnly = True
Visible = False
end
object adsMasterCreateDate: TDateTimeField
FieldName = 'CreateDate'
Visible = False
end
object adsMasterCreateUserID: TIntegerField
FieldName = 'CreateUserID'
Visible = False
end
object adsMasterRecordState: TStringField
FieldName = 'RecordState'
Visible = False
Size = 12
end
object adsMasterClientID: TIntegerField
FieldName = 'ClientID'
Visible = False
end
object adsMasterPeriodID: TIntegerField
FieldName = 'PeriodID'
Visible = False
end
object adsMasterWarehouseID: TIntegerField
FieldName = 'WarehouseID'
end
object adsMasterEmployeeID: TIntegerField
FieldName = 'EmployeeID'
Visible = False
end
object adsMasterOriginID: TIntegerField
FieldName = 'OriginID'
Visible = False
end
object adsMasterOriginTable: TStringField
FieldName = 'OriginTable'
Visible = False
Size = 30
end
object adsMasterBillAffix: TBytesField
FieldName = 'BillAffix'
Visible = False
Size = 50
end
object adsMasterCode: TStringField
DisplayLabel = #32534#21495
FieldName = 'Code'
end
object adsMasterDate: TDateTimeField
DisplayLabel = #26085#26399
FieldName = 'Date'
end
object adsMasterBillMode: TStringField
DisplayLabel = #19994#21153#31867#21035
FieldName = 'BillMode'
Size = 16
end
object adsMasterBrief: TStringField
DisplayLabel = #19994#21153#25688#35201
FieldName = 'Brief'
Size = 30
end
object adsMasterClearDate: TDateTimeField
DisplayLabel = #32467#31639#26085#26399
FieldName = 'ClearDate'
end
object adsMasterSundryFee: TBCDField
FieldName = 'SundryFee'
DisplayFormat = '#,#.00'
Precision = 19
Size = 5
end
object adsMasterClientName: TStringField
DisplayLabel = #23458#25143#21517#31216
FieldKind = fkLookup
FieldName = 'ClientName'
LookupDataSet = ClientName
LookupKeyFields = 'ID'
LookupResultField = 'Name'
KeyFields = 'ClientID'
Lookup = True
end
object adsMasterApportion: TStringField
DisplayLabel = #20998#25674#35828#26126
FieldName = 'Apportion'
Size = 12
end
object adsMasterDeliver: TStringField
DisplayLabel = #36865#36135
FieldName = 'Deliver'
Size = 30
end
object adsMasterMemo: TStringField
DisplayLabel = #22791#27880
FieldName = 'Memo'
Size = 60
end
object adsMasterEmployee: TStringField
FieldKind = fkLookup
FieldName = 'Employee'
LookupDataSet = EmployeeName
LookupKeyFields = 'ID'
LookupResultField = 'Name'
KeyFields = 'EmployeeID'
Lookup = True
end
object adsMasterModeDC: TIntegerField
FieldName = 'ModeDC'
Visible = False
end
object adsMasterModeC: TIntegerField
FieldName = 'ModeC'
Visible = False
end
end
object adsDetail: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
LockType = ltBatchOptimistic
CommandText = 'select *'#13#10'from SRWorkScheduleDetail'#13#10'where MasterID = :ID'
IndexFieldNames = 'ID'
Parameters = <
item
Name = 'ID'
Attributes = [paSigned, paNullable]
DataType = ftInteger
Precision = 10
Size = 4
Value = Null
end>
Left = 34
Top = 259
object adsDetailID: TAutoIncField
FieldName = 'ID'
ReadOnly = True
Visible = False
end
object adsDetailGoodsID: TIntegerField
FieldName = 'GoodsID'
Visible = False
end
object adsDetailPackUnitID: TIntegerField
FieldName = 'PackUnitID'
Visible = False
end
object adsDetailGoalUnitID: TIntegerField
FieldName = 'GoalUnitID'
Visible = False
end
object adsDetailEndTime: TDateTimeField
DisplayLabel = #32467#26463#26102#38388
FieldName = 'EndTime'
Visible = False
DisplayFormat = 'hh:mm'
EditMask = '!90:00;1;_'
end
object adsDetailMasterID: TIntegerField
FieldName = 'MasterID'
Visible = False
end
object adsDetailQuantity: TBCDField
FieldName = 'Quantity'
Visible = False
Precision = 19
Size = 5
end
object adsDetailQuantityPcs: TBCDField
FieldName = 'QuantityPcs'
Visible = False
Precision = 19
Size = 5
end
object adsDetailPriceBase: TBCDField
FieldName = 'PriceBase'
Visible = False
Precision = 19
Size = 5
end
object adsDetailAmount: TBCDField
FieldName = 'Amount'
Visible = False
Precision = 19
Size = 5
end
object adsDetailTaxAmount: TBCDField
FieldName = 'TaxAmount'
Visible = False
Precision = 19
end
object adsDetailDiscount: TBCDField
FieldName = 'Discount'
Visible = False
Precision = 19
end
object adsDetailSundryFee: TBCDField
FieldName = 'SundryFee'
Visible = False
Precision = 19
Size = 5
end
object adsDetailGoalQuantity: TBCDField
FieldName = 'GoalQuantity'
Visible = False
Precision = 19
Size = 5
end
object adsDetailWtMemo2: TStringField
DisplayLabel = #24037#20316#26102#27573'[C]'
FieldKind = fkLookup
FieldName = 'WtMemo2'
LookupDataSet = Worktime2
LookupKeyFields = 'ID'
LookupResultField = 'Memo'
KeyFields = 'GoalUnitID'
Lookup = True
end
object adsDetailWtMemo1: TStringField
DisplayLabel = #24037#20316#26102#27573'[B]'
FieldKind = fkLookup
FieldName = 'WtMemo1'
LookupDataSet = Worktime1
LookupKeyFields = 'ID'
LookupResultField = 'Memo'
KeyFields = 'PackUnitID'
Lookup = True
end
object adsDetailWtMemo0: TStringField
DisplayLabel = #24037#20316#26102#27573'[A]'
FieldKind = fkLookup
FieldName = 'WtMemo0'
LookupDataSet = Worktime0
LookupKeyFields = 'ID'
LookupResultField = 'Memo'
KeyFields = 'GoodsID'
Lookup = True
end
object adsDetailStartTime: TDateTimeField
DisplayLabel = #20316#24687#26085#26399
FieldName = 'StartTime'
DisplayFormat = 'yyyy-mm-dd dddd'
end
object adsDetailMemo: TStringField
DisplayLabel = #22791#27880
FieldName = 'Memo'
Size = 30
end
end
object Worktime1: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
CommandText =
'select a.ID, b.Memo from SRWorkTimeDetail a'#13#10'left outer join SR' +
'WorkTimeMaster b on b.id=A.masterID'#13#10'where b.recordstate<>'#39#21024#38500#39
Parameters = <>
Left = 168
Top = 259
end
object DsWorktime1: TDataSource
DataSet = Worktime1
Left = 168
Top = 290
end
object Worktime2: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
CommandText =
'select a.ID, b.Memo from SRWorkTimeDetail a'#13#10'left outer join SR' +
'WorkTimeMaster b on b.id=A.masterID'#13#10'where b.recordstate<>'#39#21024#38500#39
Parameters = <>
Left = 208
Top = 259
end
object DsWorktime2: TDataSource
DataSet = Worktime2
Left = 208
Top = 290
end
object ADOQuery: TADOQuery
Connection = CommonData.acnConnection
Parameters = <>
Left = 344
Top = 264
end
object Worktime0: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
CommandText =
'select a.ID, b.Memo from SRWorkTimeDetail a'#13#10'left outer join SR' +
'WorkTimeMaster b on b.id=A.masterID'#13#10'where b.recordstate<>'#39#21024#38500#39
Parameters = <>
Left = 88
Top = 259
end
object DsWorktime0: TDataSource
DataSet = Worktime0
Left = 88
Top = 298
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -