📄 pm_enter_newpasspo.dfm
字号:
Item
FieldName = 'PONoFinishQty'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '未结量'
Width = 56
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'POStArtWorkDate'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定开工日'
Width = 66
KeyList.Strings = ()
end
Item
Alignment = tArightJustify
FieldName = 'POLineDATE'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '约定交货日'
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'VendorCode'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '供应商代码'
Width = 70
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'VendorName'
PickList.Strings = ()
ReadOnly = True
Title.Alignment = taCenter
Title.Caption = '供应商名称'
Width = 120
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'VendorFlag'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '供应标识'
Width = 150
KeyList.Strings = ()
end
Item
FieldName = 'PoInQty'
PickList.Strings = ()
Title.Alignment = taCenter
Title.Caption = '待检量'
KeyList.Strings = ()
end
Item
FieldName = 'ReferenceNo'
PickList.Strings = ()
Width = 55
KeyList.Strings = ()
end>
end
end
inherited AdoQry_Tmp: TAdoQuery
Left = 477
Top = 155
end
inherited ActionList: TActionList
inherited Act_Modify: TAction
OnExecute = Act_ModifyExecute
end
inherited Act_Delete: TAction
OnExecute = Act_DeleteExecute
end
inherited Act_CancelCheck: TAction
OnExecute = Act_CancelCheckExecute
end
inherited Act_Look: TAction
Caption = '反查父项物料'
Enabled = True
Hint = '反查父项物料'
Visible = True
OnExecute = Act_LookExecute
end
inherited Act_Check: TAction
OnExecute = Act_CheckExecute
end
inherited Act_Expend: TAction
Caption = '上级物料'
Hint = '上级物料'
end
end
inherited AdoQry_Head: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=Mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=mdrcmrm;Data Source=192.168.0.15' +
'1'
BeforeInsert = AdoQry_HeadBeforeInsert
SQL.Strings = (
'Select PoLine.*,Po.*,Vendor.VendorName,Item.ItemName,Item.PmCode' +
',Item.Qclt,Employee.EmployeeName,Uom.UomName,'
'Employee.EmployeeCode+'#39' '#39'+Employee.EmployeeName As EmployeeFlag,'
'Item.ItemCode+'#39' '#39'+Item.ItemName As ItemFlag,'
'Vendor.VendorCode+'#39' '#39'+Vendor.VendorName As VendorFlag'
'From PoLine '
'Join Po On Po.PoNo=PoLine.PoNo '
'Join Item On PoLine.ItemCode=Item.ItemCode'
'And (POLineStatus=5 Or POLineStatus=6)'
'Left Outer Join Vendor On Po.VendorCode=Vendor.VendorCode'
'join Employee on Employee.EmployeeCode=po.EmployeeCode'
'Join Uom On Item.UomCode=Uom.UomCode'
' ')
Left = 371
Top = 153
object AdoQry_HeadPONO: TStringField
FieldName = 'PONO'
Origin = 'PoLine'
Size = 16
end
object AdoQry_HeadPOLINENo: TIntegerField
FieldName = 'POLINENo'
Origin = 'PoLine'
end
object AdoQry_HeadItemCode: TStringField
FieldName = 'ItemCode'
Origin = 'PoLine'
Size = 16
end
object AdoQry_HeadPOLineDATE: TDateTimeField
FieldName = 'POLineDATE'
Origin = 'PoLine'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_HeadPOQTY: TFloatField
FieldName = 'POQTY'
Origin = 'PoLine'
DisplayFormat = '#,##0'
end
object AdoQry_HeadPONoFinishQty: TFloatField
FieldName = 'PONoFinishQty'
Origin = 'PoLine'
DisplayFormat = '#,##0'
end
object AdoQry_HeadPOREFERENCEDPRICE: TIntegerField
FieldName = 'POREFERENCEDPRICE'
Origin = 'PoLine'
end
object AdoQry_HeadPOLINESTATUS: TIntegerField
FieldName = 'POLINESTATUS'
Origin = 'PoLine'
end
object AdoQry_HeadPoNoTaxPrice: TFloatField
FieldName = 'PoNoTaxPrice'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
end
object AdoQry_HeadPONoTaxAmount: TBCDField
FieldName = 'PONoTaxAmount'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
Precision = 18
Size = 2
end
object AdoQry_HeadPoTaxPrice: TFloatField
FieldName = 'PoTaxPrice'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
end
object AdoQry_HeadPoTaxAmount: TBCDField
FieldName = 'PoTaxAmount'
Origin = 'PoLine'
DisplayFormat = '#,##0.00'
Precision = 18
Size = 2
end
object AdoQry_HeadPOStArtWorkDate: TDateTimeField
FieldName = 'POStArtWorkDate'
Origin = 'PoLine'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_HeadVendorCode: TStringField
FieldName = 'VendorCode'
Origin = 'Po'
Size = 12
end
object AdoQry_HeadVendorName: TStringField
FieldName = 'VendorName'
Origin = 'Vendor'
Size = 60
end
object AdoQry_HeadItemName: TStringField
FieldName = 'ItemName'
Origin = 'Item'
Size = 60
end
object AdoQry_HeadPoDate: TDateTimeField
FieldName = 'PoDate'
Origin = 'Po'
DisplayFormat = 'yyyy.mm.dd'
end
object AdoQry_HeadEmployeeCode: TStringField
FieldName = 'EmployeeCode'
Origin = 'po'
Size = 30
end
object AdoQry_HeadUomName: TStringField
FieldName = 'UomName'
Origin = 'Uom'
Size = 10
end
object AdoQry_HeadEmployeeFlag: TStringField
FieldName = 'EmployeeFlag'
ReadOnly = True
Size = 91
end
object AdoQry_HeadItemFlag: TStringField
FieldName = 'ItemFlag'
ReadOnly = True
Size = 77
end
object AdoQry_HeadVendorFlag: TStringField
FieldName = 'VendorFlag'
ReadOnly = True
Size = 73
end
object AdoQry_HeadPoLineCheck: TIntegerField
FieldName = 'PoLineCheck'
Origin = 'PoLine'
end
object AdoQry_HeadSsQty: TFloatField
FieldName = 'SsQty'
Origin = 'PoLine'
end
object AdoQry_HeadPoRealInQty: TFloatField
FieldName = 'PoRealInQty'
end
object AdoQry_HeadPoInQty: TFloatField
FieldName = 'PoInQty'
end
object AdoQry_HeadCloseRemArk: TStringField
FieldName = 'CloseRemArk'
Size = 60
end
object AdoQry_HeadPmCode: TIntegerField
FieldName = 'PmCode'
end
object AdoQry_HeadQclt: TIntegerField
FieldName = 'Qclt'
end
object AdoQry_HeadEmployeeName2: TStringField
FieldName = 'EmployeeName'
Origin = 'Employee'
Size = 60
end
object AdoQry_HeadPOType: TIntegerField
FieldName = 'POType'
end
object AdoQry_HeadPassEmployeeCode: TStringField
FieldName = 'PassEmployeeCode'
Size = 30
end
object AdoQry_HeadVendorOrdinal: TIntegerField
FieldName = 'VendorOrdinal'
end
object AdoQry_HeadReferenceNo: TStringField
DisplayLabel = '参考号'
FieldName = 'ReferenceNo'
Size = 30
end
end
inherited DataSource: TDataSource
Left = 400
Top = 209
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -