📄 sal_enter_passsaleorder.dfm
字号:
inherited Frm_Sal_Enter_PassSaleOrder: TFrm_Sal_Enter_PassSaleOrder
Left = 14
Top = 91
Caption = '销售订单批准'
ClientHeight = 438
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 12
inherited Pnl_Title: TPanel
Caption = '销售订单批准'
end
inherited Pnl_Head: TPanel
Height = 53
inherited Image1: TImage
Height = 53
end
inherited Lbl_Condition: TLabel
Width = 36
Caption = '未批准'
end
inherited Lbl_Order: TLabel
Width = 168
Caption = '下单日期/销售订单号/订单行号'
end
object Label3: TLabel
Left = 40
Top = 39
Width = 84
Height = 12
Caption = '是否消耗主计划'
Enabled = False
TransParent = True
end
object chb_isMergeMps: TCheckBox
Left = 24
Top = 37
Width = 12
Height = 13
Enabled = False
TabOrder = 0
end
end
inherited Pnl_Hint: TPanel
Top = 405
Height = 33
inherited Image4: TImage
Height = 33
end
object DBText2: TDBText
Left = 69
Top = 4
Width = 42
Height = 12
AutoSize = True
DataField = 'Itemflag'
DataSource = DataSource
TransParent = True
end
object Label2: TLabel
Left = 3
Top = 4
Width = 60
Height = 12
Caption = '物料标识:'
TransParent = True
end
object Label1: TLabel
Left = 3
Top = 20
Width = 84
Height = 12
Caption = '销售客户标识:'
TransParent = True
end
object DBText1: TDBText
Left = 85
Top = 20
Width = 42
Height = 12
AutoSize = True
DataField = 'customerflag'
DataSource = DataSource
TransParent = True
end
end
inherited Pnl_Body: TPanel
Top = 110
Height = 295
inherited Image3: TImage
Height = 295
end
inherited DBGridEh: TDBGridEh
Height = 295
ReadOnly = False
OnTitleClick = DBGridEhTitleClick
FrozenCols = 6
Columns = <
Item
FieldName = 'slocheck'
PickList.Strings = (
'1'
'0')
Title.Font.ChArset = GB2312_CHArSET
Title.Font.Color = clBlue
Title.Font.Height = -12
Title.Font.Name = '宋体'
Title.Font.Style = []
Width = 30
KeyList.Strings = (
'1'
'0')
Checkboxes = True
end
Item
FieldName = 'createdate'
PickList.Strings = ()
ReadOnly = True
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'slono'
PickList.Strings = ()
ReadOnly = True
Width = 80
KeyList.Strings = ()
end
Item
FieldName = 'slolineno'
PickList.Strings = ()
ReadOnly = True
Width = 53
KeyList.Strings = ()
end
Item
FieldName = 'ItemCode'
PickList.Strings = ()
ReadOnly = True
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'ItemName'
PickList.Strings = ()
ReadOnly = True
Width = 100
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'Itemflag'
PickList.Strings = ()
Width = 169
KeyList.Strings = ()
end
Item
FieldName = 'slolinestatus'
PickList.Strings = (
'5 准备'
'6 下达')
ReadOnly = True
Width = 44
KeyList.Strings = (
'5'
'6')
end
Item
FieldName = 'slolinedate'
PickList.Strings = ()
ReadOnly = True
Width = 70
KeyList.Strings = ()
end
Item
FieldName = 'sloqty'
PickList.Strings = ()
ReadOnly = True
KeyList.Strings = ()
end
Item
FieldName = 'Shipqty'
PickList.Strings = ()
ReadOnly = True
Width = 57
KeyList.Strings = ()
end
Item
FieldName = 'TaxPrice'
PickList.Strings = ()
Width = 52
KeyList.Strings = ()
end
Item
FieldName = 'customerCode'
PickList.Strings = ()
ReadOnly = True
Title.Caption = '销售客户代码'
Width = 80
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'customerName'
PickList.Strings = ()
ReadOnly = True
Title.Caption = '销售客户名称'
Width = 150
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'customerflag'
PickList.Strings = ()
Title.Caption = '销售客户标识'
Width = 180
KeyList.Strings = ()
end
Item
FieldName = 'SaleTypeCode'
PickList.Strings = ()
ReadOnly = True
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'SaleTypeName'
PickList.Strings = ()
ReadOnly = True
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'SaleTypeflag'
PickList.Strings = ()
Width = 100
KeyList.Strings = ()
end
Item
FieldName = 'SaleDeptCode'
PickList.Strings = ()
ReadOnly = True
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'DeptName'
PickList.Strings = ()
ReadOnly = True
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'Deptflag'
PickList.Strings = ()
Width = 95
KeyList.Strings = ()
end
Item
FieldName = 'SaleEmployeeCode'
PickList.Strings = ()
ReadOnly = True
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'EmployeeName'
PickList.Strings = ()
ReadOnly = True
Visible = False
KeyList.Strings = ()
end
Item
FieldName = 'Employeeflag'
PickList.Strings = ()
Width = 94
KeyList.Strings = ()
end
Item
FieldName = 'slolineremArk'
PickList.Strings = ()
ReadOnly = True
Width = 150
KeyList.Strings = ()
end
Item
FieldName = 'customerPmno'
PickList.Strings = ()
Title.Caption = '客户采购订单号'
Width = 72
KeyList.Strings = ()
end
Item
FieldName = 'referenceno'
PickList.Strings = ()
Width = 76
KeyList.Strings = ()
end>
end
end
inherited ActionList: TActionList
Top = 176
inherited Act_CancelCheck: TAction
OnExecute = Act_CancelCheckExecute
end
inherited Act_Check: TAction
OnExecute = Act_CheckExecute
end
end
inherited AdoQry_Head: TAdoQuery
ConnectionString =
'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
'User ID=mdrcmrm;Initial Catalog=Mrpii_Standard;Data Source=ExtDAT' +
'ASERVER'
BeforeInsert = AdoQry_HeadBeforeInsert
SQL.Strings = (
''
'select t2.slocheck,'
' t1.Createdate,'
' t1.customerPmno,'
' t1.referenceno,'
' t2.slono,'
' t2.slolineno,'
' t2.ItemCode,'
' Item.ItemName,'
' t2.ItemCode+'#39' '#39'+Item.ItemName as Itemflag,'
' t2.slolinestatus,'
' t2.slolinedate,'
' t2.sloqty,'
' t2.Shipqty,'
' t2.TaxPrice,'
' -- t2.noFinishsloqty,'
' t1.customerCode,'
' customer.customerName,'
' t1.customerCode+'#39' '#39'+customer.customerName as customerflag' +
','
' t1.SaleTypeCode,'
' SaleType.SaleTypeName,'
' t1.SaleTypeCode+'#39' '#39'+SaleType.SaleTypeName as SaleTypeflag' +
','
' t1.SaleDeptCode,'
' Dept.DeptName,'
' t1.SaleDeptCode+'#39' '#39'+Dept.DeptName as Deptflag,'
' t1.SaleEmployeeCode,'
' Employee.EmployeeName,'
' t1.SaleEmployeeCode+'#39' '#39'+Employee.EmployeeName as Employee' +
'flag,'
' t2.lastoperationtime,'
' t2.slolineremArk'
'from sa_SaleOrderline t2'
'join sa_SaleOrder t1 on t2.slono=t2.slono'
'left outer join Item on t2.ItemCode=Item.ItemCode'
'left outer join customer on t1.customerCode=customer.customercod' +
'e'
'left outer join SaleType on t1.SaleTypeCode=SaleType.SaleTypecod' +
'e'
'left outer join Dept on t1.SaleDeptCode=Dept.DeptCode'
'left outer join Employee on t1.SaleEmployeeCode=Employee.employe' +
'eCode')
Left = 472
Top = 294
object AdoQry_Headslocheck: TIntegerField
DisplayLabel = '标记'
FieldName = 'slocheck'
Origin = '#tMpSaleOrderPass'
end
object AdoQry_Headcreatedate: TDateTimeField
DisplayLabel = '下单日期'
FieldName = 'createdate'
Origin = '#tMpSaleOrderPass'
end
object AdoQry_Headslono: TStringField
DisplayLabel = '销售订单号'
FieldName = 'slono'
Origin = '#tMpSaleOrderPass'
Size = 16
end
object AdoQry_Headslolineno: TIntegerField
DisplayLabel = '订单行号'
FieldName = 'slolineno'
Origin = '#tMpSaleOrderPass'
end
object AdoQry_HeadItemCode: TStringField
DisplayLabel = '物料代码'
FieldName = 'ItemCode'
Origin = '#tMpSaleOrderPass'
Size = 16
end
object AdoQry_HeadItemName: TStringField
DisplayLabel = '物料描述'
FieldName = 'ItemName'
Origin = '#tMpSaleOrderPass'
Size = 80
end
object AdoQry_HeadItemflag: TStringField
DisplayLabel = '物料标识'
FieldName = 'Itemflag'
Origin = '#tMpSaleOrderPass'
ReadOnly = True
Size = 97
end
object AdoQry_Headslolinestatus: TIntegerField
DisplayLabel = '行状态'
FieldName = 'slolinestatus'
Origin = '#tMpSaleOrderPass'
end
object AdoQry_Headslolinedate: TDateTimeField
DisplayLabel = '约定交货日'
FieldName = 'slolinedate'
Origin = '#tMpSaleOrderPass'
end
object AdoQry_Headsloqty: TFloatField
DisplayLabel = '约定交货量'
FieldName = 'sloqty'
Origin = '#tMpSaleOrderPass'
end
object AdoQry_HeadcustomerCode: TStringField
DisplayLabel = '客户代码'
FieldName = 'customerCode'
Origin = '#tMpSaleOrderPass'
Size = 12
end
object AdoQry_HeadcustomerName: TStringField
DisplayLabel = '客户名称'
FieldName = 'customerName'
Origin = '#tMpSaleOrderPass'
Size = 60
end
object AdoQry_Headcustomerflag: TStringField
DisplayLabel = '客户标识'
FieldName = 'customerflag'
Origin = '#tMpSaleOrderPass'
ReadOnly = True
Size = 73
end
object AdoQry_HeadSaleTypeName: TStringField
DisplayLabel = '销售类型名称'
FieldName = 'SaleTypeName'
Origin = '#tMpSaleOrderPass'
Size = 30
end
object AdoQry_HeadSaleTypeflag: TStringField
DisplayLabel = '销售类型标识'
FieldName = 'SaleTypeflag'
Origin = '#tMpSaleOrderPass'
ReadOnly = True
Size = 51
end
object AdoQry_HeadSaleDeptCode: TStringField
DisplayLabel = '销售部门代码'
FieldName = 'SaleDeptCode'
Origin = '#tMpSaleOrderPass'
Size = 8
end
object AdoQry_HeadDeptName: TStringField
DisplayLabel = '销售部门名称'
FieldName = 'DeptName'
Origin = '#tMpSaleOrderPass'
Size = 40
end
object AdoQry_HeadDeptflag: TStringField
DisplayLabel = '销售部门标识'
FieldName = 'Deptflag'
Origin = '#tMpSaleOrderPass'
ReadOnly = True
Size = 49
end
object AdoQry_HeadSaleEmployeeCode: TStringField
DisplayLabel = '营销业务员代码'
FieldName = 'SaleEmployeeCode'
Origin = '#tMpSaleOrderPass'
Size = 30
end
object AdoQry_HeadEmployeeName: TStringField
DisplayLabel = '营销业务员名称'
FieldName = 'EmployeeName'
Origin = '#tMpSaleOrderPass'
Size = 60
end
object AdoQry_HeadEmployeeflag: TStringField
DisplayLabel = '营销业务员标识'
FieldName = 'Employeeflag'
Origin = '#tMpSaleOrderPass'
ReadOnly = True
Size = 91
end
object AdoQry_HeadslolineremArk: TStringField
DisplayLabel = '备注'
FieldName = 'slolineremArk'
Origin = '#tMpSaleOrderPass'
Size = 60
end
object AdoQry_Headlastoperationtime: TDateTimeField
FieldName = 'lastoperationtime'
end
object AdoQry_HeadSaleTypeCode: TStringField
DisplayLabel = '销售类型代码'
FieldName = 'SaleTypeCode'
Origin = '#tMpSaleOrderPass'
Size = 6
end
object AdoQry_HeadShipqty: TFloatField
DisplayLabel = '已发货量'
FieldName = 'Shipqty'
Origin = '#tMpSaleOrderPass'
end
object AdoQry_HeadcustomerPmno: TStringField
DisplayLabel = '采购订单号'
FieldName = 'customerPmno'
Origin = '#tMpSaleOrderPass'
Size = 16
end
object AdoQry_Headreferenceno: TStringField
DisplayLabel = '参考号'
FieldName = 'referenceno'
Origin = '#tMpSaleOrderPass'
Size = 16
end
object AdoQry_HeadTaxPrice: TFloatField
DisplayLabel = '含税价'
FieldName = 'TaxPrice'
Origin = '#tMpSaleOrderPass'
end
end
inherited DataSource: TDataSource
Left = 376
Top = 225
end
inherited PopuPmenu: TPopuPmenu
Left = 444
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -