新余发货和格美界面分开
This commit is contained in:
parent
32d50dcf81
commit
61c4ec4ace
|
|
@ -37,7 +37,7 @@ uses
|
|||
U_FormDesign in '..\..\..\public10\design\U_FormDesign.pas',
|
||||
U_FormLayOutDesign in '..\..\..\public10\design\U_FormLayOutDesign.pas',
|
||||
U_printPdf in '..\..\..\public10\ThreeFun\Fun\U_printPdf.pas',
|
||||
U_TradeMarketList in 'U_TradeMarketList.pas' {frmTradeMarketList},
|
||||
U_TradeMarketList_XY in 'U_TradeMarketList_XY.pas' {frmTradeMarketList_XY},
|
||||
U_TradeDispatchedList in 'U_TradeDispatchedList.pas' {frmTradeDispatchedList},
|
||||
U_TradeMarketDisSel in 'U_TradeMarketDisSel.pas' {frmTradeMarketDisSel},
|
||||
U_ComContactSel in '..\A00ͨÓô°Ìå\U_ComContactSel.pas' {frmComContactSel},
|
||||
|
|
|
|||
|
|
@ -216,8 +216,8 @@
|
|||
<DCCReference Include="..\..\..\public10\design\U_FormDesign.pas"/>
|
||||
<DCCReference Include="..\..\..\public10\design\U_FormLayOutDesign.pas"/>
|
||||
<DCCReference Include="..\..\..\public10\ThreeFun\Fun\U_printPdf.pas"/>
|
||||
<DCCReference Include="U_TradeMarketList.pas">
|
||||
<Form>frmTradeMarketList</Form>
|
||||
<DCCReference Include="U_TradeMarketList_XY.pas">
|
||||
<Form>frmTradeMarketList_XY</Form>
|
||||
<FormType>dfm</FormType>
|
||||
</DCCReference>
|
||||
<DCCReference Include="U_TradeDispatchedList.pas">
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ implementation
|
|||
|
||||
uses
|
||||
U_DataLink, U_iniParam, U_TradeMarketList, U_TradeDispatchedList,
|
||||
U_TradeMarketList_JD;
|
||||
U_TradeMarketList_JD, U_TradeMarketList_XY;
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
// 功能说明:取Dll中得窗体 //
|
||||
|
|
@ -142,6 +142,18 @@ begin
|
|||
mnewHandle := Handle;
|
||||
end;
|
||||
end;
|
||||
211: //ÐÂÓà´ó»õµ¥
|
||||
begin
|
||||
with TfrmTradeMarketList_XY.Create(Application.MainForm, Title, trim(Parameters1), trim(Parameters2), trim(Parameters3), trim(Parameters4), trim(Parameters5), trim(Parameters10), FormID, Title) do //
|
||||
begin
|
||||
fFormID := FormID;
|
||||
FOrdType := 'Õý³£µ¥';
|
||||
FormStyle := mstyle;
|
||||
WindowState := mstate;
|
||||
BorderStyle := mborderstyle;
|
||||
mnewHandle := Handle;
|
||||
end;
|
||||
end;
|
||||
112: //大货单
|
||||
begin
|
||||
with TfrmTradeMarketList_JD.Create(Application.MainForm, Title, trim(Parameters1), trim(Parameters2), trim(Parameters3), trim(Parameters4), trim(Parameters5), trim(Parameters10), FormID, Title) do //
|
||||
|
|
|
|||
|
|
@ -9,8 +9,7 @@ inherited frmTradeMarketInPut: TfrmTradeMarketInPut
|
|||
Position = poMainFormCenter
|
||||
WindowState = wsMaximized
|
||||
OnClose = FormClose
|
||||
ExplicitLeft = -391
|
||||
ExplicitTop = -123
|
||||
ExplicitLeft = -451
|
||||
ExplicitWidth = 1937
|
||||
ExplicitHeight = 775
|
||||
PixelsPerInch = 96
|
||||
|
|
|
|||
|
|
@ -1490,7 +1490,7 @@ begin
|
|||
begin
|
||||
MTMSId := Self.MTMSId;
|
||||
FTMMID := Self.FTMMID;
|
||||
|
||||
canshu4 := self.canshu4;
|
||||
if ShowModal = 1 then
|
||||
begin
|
||||
Self.InitMXGrid(Self.MTMSID);
|
||||
|
|
|
|||
961
T05贸易门市管理/U_TradeMarketInPut_XY.dfm
Normal file
961
T05贸易门市管理/U_TradeMarketInPut_XY.dfm
Normal file
|
|
@ -0,0 +1,961 @@
|
|||
inherited frmTradeMarketInPut_XY: TfrmTradeMarketInPut_XY
|
||||
Left = 143
|
||||
Top = 4
|
||||
Caption = #26032#20313#35746#21333#24405#20837
|
||||
ClientHeight = 736
|
||||
ClientWidth = 1921
|
||||
Font.Charset = GB2312_CHARSET
|
||||
Font.Height = -16
|
||||
Position = poMainFormCenter
|
||||
WindowState = wsMaximized
|
||||
OnClose = FormClose
|
||||
ExplicitLeft = -422
|
||||
ExplicitWidth = 1937
|
||||
ExplicitHeight = 775
|
||||
PixelsPerInch = 96
|
||||
TextHeight = 21
|
||||
object ToolBar1: TToolBar [0]
|
||||
Tag = 1
|
||||
Left = 0
|
||||
Top = 0
|
||||
Width = 1921
|
||||
Height = 38
|
||||
AutoSize = True
|
||||
ButtonHeight = 38
|
||||
ButtonWidth = 105
|
||||
Caption = 'ToolBar1'
|
||||
EdgeInner = esNone
|
||||
EdgeOuter = esNone
|
||||
Images = cxImageList_bar
|
||||
List = True
|
||||
ShowCaptions = True
|
||||
TabOrder = 0
|
||||
object TBSave: TToolButton
|
||||
Left = 0
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20445#23384
|
||||
DropdownMenu = PopupMenu1
|
||||
ImageIndex = 16
|
||||
Style = tbsDropDown
|
||||
OnClick = TBSaveClick
|
||||
end
|
||||
object ToolButton3: TToolButton
|
||||
Left = 94
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20445#23384#26684#24335
|
||||
ImageIndex = 16
|
||||
OnClick = ToolButton3Click
|
||||
end
|
||||
object TBClose: TToolButton
|
||||
Left = 197
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20851#38381
|
||||
ImageIndex = 7
|
||||
OnClick = TBCloseClick
|
||||
end
|
||||
object TBAdd: TToolButton
|
||||
Left = 268
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #26032#22686
|
||||
ImageIndex = 2
|
||||
OnClick = TBAddClick
|
||||
end
|
||||
object ToolButton6: TToolButton
|
||||
Left = 339
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #21024#38500
|
||||
ImageIndex = 6
|
||||
end
|
||||
object TBEdit: TToolButton
|
||||
Left = 410
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20462#25913
|
||||
ImageIndex = 3
|
||||
OnClick = TBEditClick
|
||||
end
|
||||
end
|
||||
object ToolBar2: TToolBar [1]
|
||||
Tag = 1
|
||||
Left = 0
|
||||
Top = 193
|
||||
Width = 1921
|
||||
Height = 30
|
||||
ButtonHeight = 30
|
||||
ButtonWidth = 99
|
||||
EdgeInner = esNone
|
||||
EdgeOuter = esNone
|
||||
Images = cxImageList_bar
|
||||
List = True
|
||||
ShowCaptions = True
|
||||
TabOrder = 1
|
||||
object ToolButton1: TToolButton
|
||||
Left = 0
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #22686#34892
|
||||
ImageIndex = 2
|
||||
OnClick = ToolButton1Click
|
||||
end
|
||||
object ToolButton2: TToolButton
|
||||
Left = 71
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #21024#34892
|
||||
ImageIndex = 6
|
||||
OnClick = ToolButton2Click
|
||||
end
|
||||
object ToolButton5: TToolButton
|
||||
Left = 142
|
||||
Top = 0
|
||||
Caption = #19968#38190#26367#25442
|
||||
ImageIndex = 30
|
||||
OnClick = ToolButton5Click
|
||||
end
|
||||
end
|
||||
object Panel2: TPanel [2]
|
||||
Left = 0
|
||||
Top = 223
|
||||
Width = 1921
|
||||
Height = 513
|
||||
Align = alClient
|
||||
Caption = 'Panel2'
|
||||
TabOrder = 2
|
||||
object Panel3: TPanel
|
||||
Left = 1
|
||||
Top = 1
|
||||
Width = 1633
|
||||
Height = 511
|
||||
Align = alClient
|
||||
Caption = 'Panel2'
|
||||
TabOrder = 0
|
||||
object cxGrid1: TcxGrid
|
||||
Left = 1
|
||||
Top = 1
|
||||
Width = 1631
|
||||
Height = 509
|
||||
Align = alClient
|
||||
TabOrder = 0
|
||||
object Tv1: TcxGridDBTableView
|
||||
OnDblClick = Tv1DblClick
|
||||
OnMouseDown = Tv1MouseDown
|
||||
Navigator.Buttons.CustomButtons = <>
|
||||
ScrollbarAnnotations.CustomAnnotations = <>
|
||||
OnCellDblClick = Tv1CellDblClick
|
||||
OnFocusedRecordChanged = Tv1FocusedRecordChanged
|
||||
DataController.DataSource = DS_1
|
||||
DataController.Filter.AutoDataSetFilter = True
|
||||
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
|
||||
DataController.Summary.DefaultGroupSummaryItems = <
|
||||
item
|
||||
Format = '0'
|
||||
Position = spFooter
|
||||
end
|
||||
item
|
||||
Format = '0'
|
||||
Position = spFooter
|
||||
end
|
||||
item
|
||||
Format = '0'
|
||||
Position = spFooter
|
||||
end>
|
||||
DataController.Summary.FooterSummaryItems = <
|
||||
item
|
||||
Kind = skSum
|
||||
end
|
||||
item
|
||||
Kind = skSum
|
||||
end
|
||||
item
|
||||
Kind = skSum
|
||||
end
|
||||
item
|
||||
Kind = skSum
|
||||
end>
|
||||
DataController.Summary.SummaryGroups = <>
|
||||
OptionsBehavior.FocusCellOnTab = True
|
||||
OptionsBehavior.GoToNextCellOnEnter = True
|
||||
OptionsBehavior.FocusCellOnCycle = True
|
||||
OptionsData.Deleting = False
|
||||
OptionsView.Footer = True
|
||||
OptionsView.GroupByBox = False
|
||||
object Tv1Column3: TcxGridDBColumn
|
||||
Caption = #24207#21495
|
||||
DataBinding.FieldName = 'SerialNo'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object v1Column11: TcxGridDBColumn
|
||||
Tag = 99
|
||||
Caption = #36873#25321
|
||||
DataBinding.FieldName = 'SSel'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxCheckBoxProperties'
|
||||
Properties.ImmediatePost = True
|
||||
Properties.NullStyle = nssUnchecked
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Sorting = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column1: TcxGridDBColumn
|
||||
Caption = #20135#21697#32534#21495
|
||||
DataBinding.FieldName = 'C_Code'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxButtonEditProperties'
|
||||
Properties.Buttons = <
|
||||
item
|
||||
Default = True
|
||||
Kind = bkEllipsis
|
||||
end>
|
||||
Properties.OnButtonClick = Tv1Column1PropertiesButtonClick
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column7: TcxGridDBColumn
|
||||
Caption = #33394#24067#21517#31216
|
||||
DataBinding.FieldName = 'C_Name'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxLookupComboBoxProperties'
|
||||
Properties.KeyFieldNames = 'C_Name'
|
||||
Properties.ListColumns = <
|
||||
item
|
||||
Caption = #21697#21517
|
||||
HeaderAlignment = taCenter
|
||||
Width = 64
|
||||
FieldName = 'C_Name'
|
||||
end>
|
||||
Properties.ListSource = DS_PM
|
||||
Properties.OnEditValueChanged = Tv1Column7PropertiesEditValueChanged
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 149
|
||||
end
|
||||
object v1PRTColor: TcxGridDBColumn
|
||||
Caption = #39068#33394
|
||||
DataBinding.FieldName = 'C_Color'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxButtonEditProperties'
|
||||
Properties.Buttons = <
|
||||
item
|
||||
Default = True
|
||||
Kind = bkEllipsis
|
||||
end>
|
||||
Properties.ReadOnly = False
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column12: TcxGridDBColumn
|
||||
Caption = #33394#21495
|
||||
DataBinding.FieldName = 'C_ColorNo'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxLookupComboBoxProperties'
|
||||
Properties.KeyFieldNames = 'C_ColorNo'
|
||||
Properties.ListColumns = <
|
||||
item
|
||||
Caption = #33394#21495
|
||||
HeaderAlignment = taCenter
|
||||
FieldName = 'C_ColorNo'
|
||||
end
|
||||
item
|
||||
Caption = #39068#33394
|
||||
HeaderAlignment = taCenter
|
||||
FieldName = 'C_Color'
|
||||
end>
|
||||
Properties.ListSource = DS_YS
|
||||
Properties.OnEditValueChanged = Tv1Column12PropertiesEditValueChanged
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 168
|
||||
end
|
||||
object Tv1Column9: TcxGridDBColumn
|
||||
Caption = #35268#26684
|
||||
DataBinding.FieldName = 'C_Spec'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column11: TcxGridDBColumn
|
||||
Caption = #33457#22411
|
||||
DataBinding.FieldName = 'C_Pattern'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column5: TcxGridDBColumn
|
||||
Caption = #38376#24133
|
||||
DataBinding.FieldName = 'C_Width'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column10: TcxGridDBColumn
|
||||
Caption = #20811#37325
|
||||
DataBinding.FieldName = 'C_GramWeight'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column15: TcxGridDBColumn
|
||||
Caption = #25253#21333#25968#37327
|
||||
DataBinding.FieldName = 'OrderQty'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column16: TcxGridDBColumn
|
||||
Caption = #25253#21333#21333#20301
|
||||
DataBinding.FieldName = 'OrderUnit'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxLookupComboBoxProperties'
|
||||
Properties.KeyFieldNames = 'CICUnit'
|
||||
Properties.ListColumns = <
|
||||
item
|
||||
Caption = #21333#20301
|
||||
FieldName = 'CICUnit'
|
||||
end>
|
||||
Properties.ListSource = DS_DanWei
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column4: TcxGridDBColumn
|
||||
Caption = #21333#20215
|
||||
DataBinding.FieldName = 'Price'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column21: TcxGridDBColumn
|
||||
Caption = #21442#32771#20215#26684
|
||||
DataBinding.FieldName = 'referencePrice'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 98
|
||||
end
|
||||
object Tv1Column22: TcxGridDBColumn
|
||||
Caption = #21382#21490#20215#26684
|
||||
DataBinding.FieldName = 'Lastprice'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 83
|
||||
end
|
||||
object Tv1Column8: TcxGridDBColumn
|
||||
Caption = #22791#36135#21333#20301
|
||||
DataBinding.FieldName = 'TMSUnit'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column20: TcxGridDBColumn
|
||||
Tag = 22
|
||||
Caption = #24403#21069#24211#23384
|
||||
DataBinding.FieldName = 'StkQty'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 98
|
||||
end
|
||||
object Tv1Column6: TcxGridDBColumn
|
||||
Caption = #21253#32568#36153
|
||||
DataBinding.FieldName = 'GangFee'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column13: TcxGridDBColumn
|
||||
Caption = #36816#36153
|
||||
DataBinding.FieldName = 'Transfee'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column14: TcxGridDBColumn
|
||||
Caption = #20854#23427#36153
|
||||
DataBinding.FieldName = 'Otherfee'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column17: TcxGridDBColumn
|
||||
Caption = #32039#24613#31243#24230
|
||||
DataBinding.FieldName = 'Urgent'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxComboBoxProperties'
|
||||
Properties.DropDownListStyle = lsEditFixedList
|
||||
Properties.Items.Strings = (
|
||||
#27491#24120
|
||||
#32039#24613)
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column2: TcxGridDBColumn
|
||||
Caption = #22791#27880
|
||||
DataBinding.FieldName = 'OrdSNote'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column18: TcxGridDBColumn
|
||||
Caption = #22791#36135#29366#24577
|
||||
DataBinding.FieldName = 'StkStatus'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxComboBoxProperties'
|
||||
Properties.DropDownListStyle = lsEditFixedList
|
||||
Properties.Items.Strings = (
|
||||
#26377
|
||||
#23436#25104
|
||||
#27809#36135
|
||||
#27424#21333
|
||||
#21462#28040#21333)
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column19: TcxGridDBColumn
|
||||
Tag = 2
|
||||
Caption = #20986#24211#25968#37327
|
||||
DataBinding.FieldName = 'OutQty'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 89
|
||||
end
|
||||
end
|
||||
object cxGrid1Level1: TcxGridLevel
|
||||
GridView = Tv1
|
||||
end
|
||||
end
|
||||
end
|
||||
object Panel4: TPanel
|
||||
Left = 1634
|
||||
Top = 1
|
||||
Width = 286
|
||||
Height = 511
|
||||
Align = alRight
|
||||
Caption = 'Panel4'
|
||||
TabOrder = 1
|
||||
Visible = False
|
||||
object Panel5: TPanel
|
||||
Left = 1
|
||||
Top = 1
|
||||
Width = 284
|
||||
Height = 41
|
||||
Align = alTop
|
||||
TabOrder = 0
|
||||
object Label33: TLabel
|
||||
Left = 113
|
||||
Top = 10
|
||||
Width = 32
|
||||
Height = 21
|
||||
Caption = #25968#37327
|
||||
end
|
||||
object Label38: TLabel
|
||||
Left = 20
|
||||
Top = 10
|
||||
Width = 32
|
||||
Height = 21
|
||||
Caption = #24207#21495
|
||||
end
|
||||
object QtyMX: TcxTextEdit
|
||||
Left = 163
|
||||
Top = 2
|
||||
TabOrder = 0
|
||||
OnKeyPress = QtyMXKeyPress
|
||||
Width = 89
|
||||
end
|
||||
end
|
||||
object GroupBox2: TGroupBox
|
||||
Left = 1
|
||||
Top = 42
|
||||
Width = 284
|
||||
Height = 468
|
||||
Align = alClient
|
||||
Caption = #21452#20987#21024#38500#26126#32454#20449#24687
|
||||
TabOrder = 1
|
||||
object cxGrid2: TcxGrid
|
||||
Left = 2
|
||||
Top = 23
|
||||
Width = 280
|
||||
Height = 443
|
||||
Align = alClient
|
||||
TabOrder = 0
|
||||
object TvMX: TcxGridDBTableView
|
||||
Navigator.Buttons.CustomButtons = <>
|
||||
Navigator.Buttons.Delete.Enabled = False
|
||||
Navigator.Buttons.Delete.Visible = False
|
||||
ScrollbarAnnotations.CustomAnnotations = <>
|
||||
OnCellDblClick = TvMXCellDblClick
|
||||
DataController.DataSource = DS_MX
|
||||
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
|
||||
DataController.Summary.DefaultGroupSummaryItems = <
|
||||
item
|
||||
Kind = skCount
|
||||
Position = spFooter
|
||||
end
|
||||
item
|
||||
Kind = skSum
|
||||
Position = spFooter
|
||||
Column = cxGridDBColumn8
|
||||
end
|
||||
item
|
||||
Kind = skCount
|
||||
end
|
||||
item
|
||||
Kind = skSum
|
||||
Column = cxGridDBColumn8
|
||||
end>
|
||||
DataController.Summary.FooterSummaryItems = <
|
||||
item
|
||||
Kind = skSum
|
||||
Column = cxGridDBColumn8
|
||||
end
|
||||
item
|
||||
Kind = skCount
|
||||
Column = cxGridDBColumn8
|
||||
end>
|
||||
DataController.Summary.SummaryGroups = <>
|
||||
OptionsCustomize.ColumnFiltering = False
|
||||
OptionsView.Footer = True
|
||||
OptionsView.GroupByBox = False
|
||||
OptionsView.Indicator = True
|
||||
OptionsView.IndicatorWidth = 33
|
||||
object cxGridDBColumn8: TcxGridDBColumn
|
||||
Caption = #25968#37327
|
||||
DataBinding.FieldName = 'Qty'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxTextEditProperties'
|
||||
Properties.Alignment.Horz = taCenter
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Options.Sorting = False
|
||||
Width = 66
|
||||
end
|
||||
end
|
||||
object cxGridLevel2: TcxGridLevel
|
||||
GridView = TvMX
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
object ScrollBox1: TScrollBox [3]
|
||||
Left = 0
|
||||
Top = 38
|
||||
Width = 1921
|
||||
Height = 155
|
||||
Align = alTop
|
||||
BevelInner = bvNone
|
||||
BevelOuter = bvNone
|
||||
BorderStyle = bsNone
|
||||
Ctl3D = False
|
||||
ParentCtl3D = False
|
||||
TabOrder = 3
|
||||
OnClick = ScrollBox1Click
|
||||
object Label3: TLabel
|
||||
Left = 730
|
||||
Top = 70
|
||||
Width = 64
|
||||
Height = 21
|
||||
Caption = #21046#21333#26085#26399
|
||||
end
|
||||
object Label25: TLabel
|
||||
Left = 1112
|
||||
Top = 164
|
||||
Width = 64
|
||||
Height = 21
|
||||
Caption = #20132#36135#26085#26399
|
||||
Visible = False
|
||||
end
|
||||
object Label1: TLabel
|
||||
Left = 29
|
||||
Top = 68
|
||||
Width = 77
|
||||
Height = 21
|
||||
Caption = #22791' '#27880
|
||||
end
|
||||
object Label2: TLabel
|
||||
Left = 730
|
||||
Top = 21
|
||||
Width = 64
|
||||
Height = 21
|
||||
Caption = #21333#25454#32534#21495
|
||||
end
|
||||
object Label14: TLabel
|
||||
Left = 29
|
||||
Top = 21
|
||||
Width = 72
|
||||
Height = 21
|
||||
Caption = #23458' '#25143
|
||||
end
|
||||
object Label20: TLabel
|
||||
Left = 789
|
||||
Top = 164
|
||||
Width = 64
|
||||
Height = 21
|
||||
Caption = #32463#33829#21333#20301
|
||||
Visible = False
|
||||
end
|
||||
object Label37: TLabel
|
||||
Left = 1077
|
||||
Top = 21
|
||||
Width = 64
|
||||
Height = 21
|
||||
Caption = #35746#21333#31867#22411
|
||||
end
|
||||
object Label18: TLabel
|
||||
Left = 730
|
||||
Top = 119
|
||||
Width = 64
|
||||
Height = 21
|
||||
Caption = #21457#36135#22320#22336
|
||||
end
|
||||
object Label4: TLabel
|
||||
Left = 352
|
||||
Top = 21
|
||||
Width = 48
|
||||
Height = 21
|
||||
Caption = #35746#21333#21495
|
||||
end
|
||||
object Label19: TLabel
|
||||
Left = 1077
|
||||
Top = 68
|
||||
Width = 80
|
||||
Height = 21
|
||||
Caption = #32852#31995#26041#24335#65306
|
||||
end
|
||||
object TMMNo: TcxTextEdit
|
||||
Tag = 2
|
||||
Left = 814
|
||||
Top = 15
|
||||
Enabled = False
|
||||
TabOrder = 0
|
||||
Width = 200
|
||||
end
|
||||
object TMMDate: TDateTimePicker
|
||||
Tag = 2
|
||||
Left = 814
|
||||
Top = 66
|
||||
Width = 200
|
||||
Height = 29
|
||||
BevelInner = bvNone
|
||||
Date = 40916.000000000000000000
|
||||
Format = 'yyyy-MM-dd'
|
||||
Time = 0.670856296288548000
|
||||
TabOrder = 1
|
||||
end
|
||||
object DLYDate: TDateTimePicker
|
||||
Tag = 2
|
||||
Left = 1196
|
||||
Top = 160
|
||||
Width = 200
|
||||
Height = 29
|
||||
BevelInner = bvNone
|
||||
Date = 40916.000000000000000000
|
||||
Format = 'yyyy-MM-dd'
|
||||
Time = 0.670856296288548000
|
||||
ShowCheckbox = True
|
||||
TabOrder = 2
|
||||
Visible = False
|
||||
end
|
||||
object OrdNote: TMemo
|
||||
Tag = 2
|
||||
Left = 122
|
||||
Top = 68
|
||||
Width = 511
|
||||
Height = 81
|
||||
Hint = 'OrdNote/'#22791#27880
|
||||
ScrollBars = ssVertical
|
||||
TabOrder = 3
|
||||
OnDblClick = PackNoteDblClick
|
||||
end
|
||||
object OrdType: TComboBox
|
||||
Tag = 2
|
||||
Left = 1164
|
||||
Top = 17
|
||||
Width = 200
|
||||
Height = 29
|
||||
Style = csDropDownList
|
||||
Ctl3D = False
|
||||
Enabled = False
|
||||
ItemIndex = 0
|
||||
ParentCtl3D = False
|
||||
TabOrder = 4
|
||||
Text = #27491#24120#21333
|
||||
Items.Strings = (
|
||||
#27491#24120#21333
|
||||
#21098#26679#21333)
|
||||
end
|
||||
object OurCoName: TcxButtonEdit
|
||||
Tag = 2
|
||||
Left = 882
|
||||
Top = 160
|
||||
Properties.Buttons = <
|
||||
item
|
||||
Default = True
|
||||
Kind = bkEllipsis
|
||||
end>
|
||||
Properties.ReadOnly = True
|
||||
Properties.OnButtonClick = OurCoNamePropertiesButtonClick
|
||||
Style.ButtonStyle = btsDefault
|
||||
TabOrder = 5
|
||||
Visible = False
|
||||
OnDblClick = OurCoNameDblClick
|
||||
Width = 200
|
||||
end
|
||||
object ShippingAddress: TcxButtonEdit
|
||||
Tag = 2
|
||||
Left = 814
|
||||
Top = 115
|
||||
Hint = 'ShippingAddress/'#21457#36135#22320#22336
|
||||
Properties.Buttons = <
|
||||
item
|
||||
Default = True
|
||||
Kind = bkEllipsis
|
||||
end>
|
||||
Properties.ReadOnly = True
|
||||
Properties.OnButtonClick = ShippingAddressPropertiesButtonClick
|
||||
Style.ButtonStyle = btsDefault
|
||||
TabOrder = 6
|
||||
OnDblClick = OurCoNameDblClick
|
||||
Width = 200
|
||||
end
|
||||
object BuyOrdNo: TcxTextEdit
|
||||
Tag = 2
|
||||
Left = 416
|
||||
Top = 15
|
||||
TabOrder = 7
|
||||
Width = 200
|
||||
end
|
||||
object CustName: TcxMRUEdit
|
||||
Tag = 2
|
||||
Left = 122
|
||||
Top = 15
|
||||
Properties.ImmediatePost = True
|
||||
Properties.ReadOnly = False
|
||||
Properties.OnButtonClick = StkPositionPropertiesButtonClick
|
||||
Properties.OnChange = CustNamePropertiesChange
|
||||
Properties.OnCloseUp = CustNamePropertiesCloseUp
|
||||
TabOrder = 8
|
||||
OnMouseDown = CustNameMouseDown
|
||||
Width = 200
|
||||
end
|
||||
object CONTACT: TcxButtonEdit
|
||||
Tag = 2
|
||||
Left = 1164
|
||||
Top = 63
|
||||
Hint = 'CONTACT/'#32852#31995#26041#24335
|
||||
Properties.Buttons = <
|
||||
item
|
||||
Default = True
|
||||
Kind = bkEllipsis
|
||||
end>
|
||||
Properties.OnButtonClick = ShippingAddressPropertiesButtonClick
|
||||
Style.ButtonStyle = btsDefault
|
||||
TabOrder = 9
|
||||
OnDblClick = OurCoNameDblClick
|
||||
Width = 200
|
||||
end
|
||||
end
|
||||
inherited ADOQueryBaseCmd: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
Left = 860
|
||||
Top = 157
|
||||
end
|
||||
inherited ADOQueryBaseTemp: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
Left = 942
|
||||
Top = 157
|
||||
end
|
||||
inherited ImageList_new32: TImageList
|
||||
Left = 1024
|
||||
Top = 467
|
||||
end
|
||||
inherited cxImageList_bar: TcxImageList
|
||||
FormatVersion = 1
|
||||
Left = 1024
|
||||
Top = 343
|
||||
DesignInfo = 22479872
|
||||
end
|
||||
object ADOTemp: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
LockType = ltReadOnly
|
||||
Parameters = <>
|
||||
Left = 1106
|
||||
Top = 157
|
||||
end
|
||||
object ADOCmd: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
Parameters = <>
|
||||
Left = 778
|
||||
Top = 157
|
||||
end
|
||||
object DS_1: TDataSource
|
||||
DataSet = CDS_1
|
||||
Left = 1106
|
||||
Top = 343
|
||||
end
|
||||
object CDS_1: TClientDataSet
|
||||
Aggregates = <>
|
||||
Params = <>
|
||||
Left = 1024
|
||||
Top = 281
|
||||
end
|
||||
object GPM_1: TcxGridPopupMenu
|
||||
Grid = cxGrid1
|
||||
PopupMenus = <>
|
||||
Left = 860
|
||||
Top = 343
|
||||
end
|
||||
object ADOQueryLabel: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
Parameters = <>
|
||||
Left = 1024
|
||||
Top = 157
|
||||
end
|
||||
object ADO_I1: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
Parameters = <>
|
||||
Left = 942
|
||||
Top = 219
|
||||
end
|
||||
object DS_I1: TDataSource
|
||||
DataSet = ADO_I1
|
||||
Left = 860
|
||||
Top = 405
|
||||
end
|
||||
object IdFTP1: TIdFTP
|
||||
ConnectTimeout = 0
|
||||
NATKeepAlive.UseKeepAlive = False
|
||||
NATKeepAlive.IdleTimeMS = 0
|
||||
NATKeepAlive.IntervalMS = 0
|
||||
ProxySettings.ProxyType = fpcmNone
|
||||
ProxySettings.Port = 0
|
||||
ReadTimeout = 0
|
||||
Left = 942
|
||||
Top = 467
|
||||
end
|
||||
object ADO_I2: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
Parameters = <>
|
||||
Left = 1024
|
||||
Top = 219
|
||||
end
|
||||
object DS_I2: TDataSource
|
||||
DataSet = ADO_I2
|
||||
Left = 942
|
||||
Top = 405
|
||||
end
|
||||
object DS_MX: TDataSource
|
||||
DataSet = CDS_MX
|
||||
Left = 1024
|
||||
Top = 405
|
||||
end
|
||||
object CDS_MX: TClientDataSet
|
||||
Aggregates = <>
|
||||
Params = <>
|
||||
Left = 778
|
||||
Top = 343
|
||||
end
|
||||
object ADO_YS: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
LockType = ltReadOnly
|
||||
Parameters = <>
|
||||
Left = 942
|
||||
Top = 281
|
||||
end
|
||||
object DS_YS: TDataSource
|
||||
DataSet = ADO_YS
|
||||
Left = 860
|
||||
Top = 467
|
||||
end
|
||||
object DS_RCPM: TDataSource
|
||||
DataSet = ADO_RCPM
|
||||
Left = 778
|
||||
Top = 467
|
||||
end
|
||||
object ADO_PM: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
LockType = ltReadOnly
|
||||
Parameters = <>
|
||||
Left = 778
|
||||
Top = 281
|
||||
end
|
||||
object ADO_RCPM: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
LockType = ltReadOnly
|
||||
Parameters = <>
|
||||
Left = 860
|
||||
Top = 281
|
||||
end
|
||||
object DS_PM: TDataSource
|
||||
DataSet = ADO_PM
|
||||
Left = 1106
|
||||
Top = 405
|
||||
end
|
||||
object ADO_1: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
LockType = ltReadOnly
|
||||
Parameters = <>
|
||||
Left = 778
|
||||
Top = 219
|
||||
end
|
||||
object CDS_KH: TClientDataSet
|
||||
Aggregates = <>
|
||||
Params = <>
|
||||
Left = 1106
|
||||
Top = 281
|
||||
end
|
||||
object ADO_KH: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
LockType = ltReadOnly
|
||||
Parameters = <>
|
||||
Left = 1106
|
||||
Top = 219
|
||||
end
|
||||
object GPM_2: TcxGridPopupMenu
|
||||
Grid = cxGrid2
|
||||
PopupMenus = <>
|
||||
Left = 942
|
||||
Top = 343
|
||||
end
|
||||
object DS_DanWei: TDataSource
|
||||
DataSet = ADO_DanWei
|
||||
Left = 778
|
||||
Top = 405
|
||||
end
|
||||
object ADO_DanWei: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
LockType = ltReadOnly
|
||||
Parameters = <>
|
||||
Left = 860
|
||||
Top = 219
|
||||
end
|
||||
object PopupMenu1: TPopupMenu
|
||||
Left = 49
|
||||
Top = 74
|
||||
object N5: TMenuItem
|
||||
Caption = #20445#23384#21518#31435#21363#25552#20132
|
||||
OnClick = N5Click
|
||||
end
|
||||
object N1: TMenuItem
|
||||
Caption = #20445#23384#21518#31435#21363#23436#25104#13#10
|
||||
OnClick = N1Click
|
||||
end
|
||||
object N2: TMenuItem
|
||||
Caption = #20445#23384#21518#31435#21363#25171#21360
|
||||
OnClick = N2Click
|
||||
end
|
||||
object N3: TMenuItem
|
||||
Caption = #20445#23384#21518#31435#21363#26032#22686
|
||||
OnClick = N3Click
|
||||
end
|
||||
object N4: TMenuItem
|
||||
Caption = #20445#23384#21518#25171#21360#24182#36864#20986
|
||||
OnClick = N4Click
|
||||
end
|
||||
end
|
||||
end
|
||||
1888
T05贸易门市管理/U_TradeMarketInPut_XY.pas
Normal file
1888
T05贸易门市管理/U_TradeMarketInPut_XY.pas
Normal file
File diff suppressed because it is too large
Load Diff
|
|
@ -21,7 +21,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
Height = 30
|
||||
AutoSize = True
|
||||
ButtonHeight = 30
|
||||
ButtonWidth = 131
|
||||
ButtonWidth = 107
|
||||
Caption = 'ToolBar1'
|
||||
Images = DataLink_TradeMarket.cxImageList_bar
|
||||
List = True
|
||||
|
|
@ -36,7 +36,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TBRafreshClick
|
||||
end
|
||||
object TBAdd: TToolButton
|
||||
Left = 71
|
||||
Left = 63
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #26032#22686
|
||||
|
|
@ -44,7 +44,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TBAddClick
|
||||
end
|
||||
object btnCopy: TToolButton
|
||||
Left = 142
|
||||
Left = 126
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #22797#21046
|
||||
|
|
@ -52,7 +52,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = btnCopyClick
|
||||
end
|
||||
object TBEdit: TToolButton
|
||||
Left = 213
|
||||
Left = 189
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20462#25913
|
||||
|
|
@ -60,7 +60,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TBEditClick
|
||||
end
|
||||
object TBDel: TToolButton
|
||||
Left = 284
|
||||
Left = 252
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #21024#38500
|
||||
|
|
@ -68,7 +68,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TBDelClick
|
||||
end
|
||||
object TBPrint: TToolButton
|
||||
Left = 355
|
||||
Left = 315
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #25171#21360
|
||||
|
|
@ -76,7 +76,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TBPrintClick
|
||||
end
|
||||
object TBCK: TToolButton
|
||||
Left = 426
|
||||
Left = 378
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #26597#30475
|
||||
|
|
@ -84,7 +84,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TBCKClick
|
||||
end
|
||||
object ToolButton4: TToolButton
|
||||
Left = 497
|
||||
Left = 441
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #38468#20214
|
||||
|
|
@ -92,7 +92,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = ToolButton4Click
|
||||
end
|
||||
object TBTJ: TToolButton
|
||||
Left = 568
|
||||
Left = 504
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #37197#36135#23436#25104
|
||||
|
|
@ -100,7 +100,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TBTJClick
|
||||
end
|
||||
object TBTJCX: TToolButton
|
||||
Left = 671
|
||||
Left = 591
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #25764#38144#37197#36135#23436#25104
|
||||
|
|
@ -108,7 +108,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TBTJCXClick
|
||||
end
|
||||
object TWC: TToolButton
|
||||
Left = 806
|
||||
Left = 702
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #24050#35013#36710
|
||||
|
|
@ -116,7 +116,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TWCClick
|
||||
end
|
||||
object TNowc: TToolButton
|
||||
Left = 893
|
||||
Left = 777
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #25764#38144#35013#36710
|
||||
|
|
@ -124,7 +124,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TNowcClick
|
||||
end
|
||||
object ToolButton2: TToolButton
|
||||
Left = 996
|
||||
Left = 864
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20445#23384#26684#24335
|
||||
|
|
@ -132,7 +132,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = ToolButton2Click
|
||||
end
|
||||
object ToolButton1: TToolButton
|
||||
Left = 1099
|
||||
Left = 951
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #23548#20986
|
||||
|
|
@ -140,7 +140,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = ToolButton1Click
|
||||
end
|
||||
object TBClose: TToolButton
|
||||
Left = 1170
|
||||
Left = 1014
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20851#38381
|
||||
|
|
@ -148,7 +148,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TBCloseClick
|
||||
end
|
||||
object TBZF: TToolButton
|
||||
Left = 1241
|
||||
Left = 1077
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20316#24223
|
||||
|
|
@ -156,7 +156,7 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
OnClick = TBZFClick
|
||||
end
|
||||
object TBNOZF: TToolButton
|
||||
Left = 1312
|
||||
Left = 1140
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #25764#38144#20316#24223
|
||||
|
|
@ -264,8 +264,6 @@ inherited frmTradeMarketList: TfrmTradeMarketList
|
|||
Align = alClient
|
||||
PopupMenu = PM_1
|
||||
TabOrder = 3
|
||||
ExplicitLeft = 8
|
||||
ExplicitTop = 158
|
||||
object Tv1: TcxGridDBTableView
|
||||
OnDblClick = Tv1DblClick
|
||||
Navigator.Buttons.CustomButtons = <>
|
||||
|
|
|
|||
683
T05贸易门市管理/U_TradeMarketList_XY.dfm
Normal file
683
T05贸易门市管理/U_TradeMarketList_XY.dfm
Normal file
|
|
@ -0,0 +1,683 @@
|
|||
inherited frmTradeMarketList_XY: TfrmTradeMarketList_XY
|
||||
Left = 165
|
||||
Top = 13
|
||||
Caption = #26032#20313#22823#36135#21333
|
||||
ClientHeight = 594
|
||||
ClientWidth = 1924
|
||||
Color = clBtnFace
|
||||
Font.Height = -16
|
||||
FormStyle = fsMDIChild
|
||||
Position = poScreenCenter
|
||||
Visible = True
|
||||
ExplicitWidth = 1940
|
||||
ExplicitHeight = 633
|
||||
PixelsPerInch = 96
|
||||
TextHeight = 21
|
||||
object ToolBar1: TToolBar [0]
|
||||
Tag = 1
|
||||
Left = 0
|
||||
Top = 0
|
||||
Width = 1924
|
||||
Height = 30
|
||||
AutoSize = True
|
||||
ButtonHeight = 30
|
||||
ButtonWidth = 107
|
||||
Caption = 'ToolBar1'
|
||||
Images = DataLink_TradeMarket.cxImageList_bar
|
||||
List = True
|
||||
ShowCaptions = True
|
||||
TabOrder = 4
|
||||
object TBRafresh: TToolButton
|
||||
Left = 0
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #21047#26032
|
||||
ImageIndex = 1
|
||||
OnClick = TBRafreshClick
|
||||
end
|
||||
object TBAdd: TToolButton
|
||||
Left = 63
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #26032#22686
|
||||
ImageIndex = 9
|
||||
OnClick = TBAddClick
|
||||
end
|
||||
object btnCopy: TToolButton
|
||||
Left = 126
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #22797#21046
|
||||
ImageIndex = 13
|
||||
OnClick = btnCopyClick
|
||||
end
|
||||
object TBEdit: TToolButton
|
||||
Left = 189
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20462#25913
|
||||
ImageIndex = 3
|
||||
OnClick = TBEditClick
|
||||
end
|
||||
object TBDel: TToolButton
|
||||
Left = 252
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #21024#38500
|
||||
ImageIndex = 5
|
||||
OnClick = TBDelClick
|
||||
end
|
||||
object TBPrint: TToolButton
|
||||
Left = 315
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #25171#21360
|
||||
ImageIndex = 21
|
||||
OnClick = TBPrintClick
|
||||
end
|
||||
object TBCK: TToolButton
|
||||
Left = 378
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #26597#30475
|
||||
ImageIndex = 8
|
||||
OnClick = TBCKClick
|
||||
end
|
||||
object ToolButton4: TToolButton
|
||||
Left = 441
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #38468#20214
|
||||
ImageIndex = 22
|
||||
OnClick = ToolButton4Click
|
||||
end
|
||||
object TBTJ: TToolButton
|
||||
Left = 504
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #37197#36135#23436#25104
|
||||
ImageIndex = 12
|
||||
Visible = False
|
||||
OnClick = TBTJClick
|
||||
end
|
||||
object TBTJCX: TToolButton
|
||||
Left = 591
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #25764#38144#37197#36135#23436#25104
|
||||
ImageIndex = 11
|
||||
Visible = False
|
||||
OnClick = TBTJCXClick
|
||||
end
|
||||
object TWC: TToolButton
|
||||
Left = 702
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #24050#23436#25104
|
||||
ImageIndex = 12
|
||||
OnClick = TWCClick
|
||||
end
|
||||
object TNowc: TToolButton
|
||||
Left = 777
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #25764#38144#23436#25104
|
||||
ImageIndex = 11
|
||||
OnClick = TNowcClick
|
||||
end
|
||||
object ToolButton2: TToolButton
|
||||
Left = 864
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20445#23384#26684#24335
|
||||
ImageIndex = 16
|
||||
OnClick = ToolButton2Click
|
||||
end
|
||||
object ToolButton1: TToolButton
|
||||
Left = 951
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #23548#20986
|
||||
ImageIndex = 28
|
||||
OnClick = ToolButton1Click
|
||||
end
|
||||
object TBClose: TToolButton
|
||||
Left = 1014
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20851#38381
|
||||
ImageIndex = 7
|
||||
OnClick = TBCloseClick
|
||||
end
|
||||
object TBZF: TToolButton
|
||||
Left = 1077
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #20316#24223
|
||||
ImageIndex = 31
|
||||
OnClick = TBZFClick
|
||||
end
|
||||
object TBNOZF: TToolButton
|
||||
Left = 1140
|
||||
Top = 0
|
||||
AutoSize = True
|
||||
Caption = #25764#38144#20316#24223
|
||||
ImageIndex = 11
|
||||
OnClick = TBNOZFClick
|
||||
end
|
||||
end
|
||||
object Panel1: TPanel [1]
|
||||
Left = 0
|
||||
Top = 30
|
||||
Width = 1924
|
||||
Height = 91
|
||||
Align = alTop
|
||||
BevelInner = bvRaised
|
||||
BevelOuter = bvLowered
|
||||
ParentBackground = False
|
||||
TabOrder = 5
|
||||
object Label3: TLabel
|
||||
Left = 24
|
||||
Top = 51
|
||||
Width = 64
|
||||
Height = 21
|
||||
Caption = #21333#25454#32534#21495
|
||||
end
|
||||
object Label1: TLabel
|
||||
Left = 408
|
||||
Top = 51
|
||||
Width = 32
|
||||
Height = 21
|
||||
Caption = #23458#25143
|
||||
end
|
||||
object Label2: TLabel
|
||||
Left = 216
|
||||
Top = 51
|
||||
Width = 64
|
||||
Height = 21
|
||||
Caption = #33394#24067#21517#31216
|
||||
end
|
||||
object Label4: TLabel
|
||||
Left = 568
|
||||
Top = 51
|
||||
Width = 48
|
||||
Height = 21
|
||||
Caption = #21512#21516#21495
|
||||
end
|
||||
object TMMNo: TcxTextEdit
|
||||
Tag = 2
|
||||
Left = 92
|
||||
Top = 47
|
||||
TabOrder = 0
|
||||
OnKeyPress = TMMNoKeyPress
|
||||
Width = 120
|
||||
end
|
||||
object CustName: TcxTextEdit
|
||||
Tag = 2
|
||||
Left = 444
|
||||
Top = 47
|
||||
TabOrder = 1
|
||||
OnKeyPress = TMMNoKeyPress
|
||||
Width = 120
|
||||
end
|
||||
object C_Name: TcxTextEdit
|
||||
Tag = 2
|
||||
Left = 284
|
||||
Top = 47
|
||||
TabOrder = 2
|
||||
OnKeyPress = TMMNoKeyPress
|
||||
Width = 120
|
||||
end
|
||||
object ConNo: TcxTextEdit
|
||||
Tag = 2
|
||||
Left = 620
|
||||
Top = 47
|
||||
TabOrder = 3
|
||||
OnKeyPress = TMMNoKeyPress
|
||||
Width = 120
|
||||
end
|
||||
inline frmFrameDateSel1: TfrmFrameDateSel
|
||||
Left = 2
|
||||
Top = 2
|
||||
Width = 1920
|
||||
Height = 37
|
||||
Align = alTop
|
||||
Color = clWhite
|
||||
ParentBackground = False
|
||||
ParentColor = False
|
||||
TabOrder = 4
|
||||
ExplicitLeft = 2
|
||||
ExplicitTop = 2
|
||||
ExplicitWidth = 1920
|
||||
ExplicitHeight = 37
|
||||
inherited lbl2: TLabel
|
||||
Width = 16
|
||||
Height = 21
|
||||
ExplicitWidth = 16
|
||||
ExplicitHeight = 21
|
||||
end
|
||||
end
|
||||
end
|
||||
object cxGrid1: TcxGrid [2]
|
||||
Left = 0
|
||||
Top = 152
|
||||
Width = 1924
|
||||
Height = 442
|
||||
Align = alClient
|
||||
PopupMenu = PM_1
|
||||
TabOrder = 3
|
||||
object Tv1: TcxGridDBTableView
|
||||
OnDblClick = Tv1DblClick
|
||||
Navigator.Buttons.CustomButtons = <>
|
||||
ScrollbarAnnotations.CustomAnnotations = <>
|
||||
OnCellDblClick = Tv1CellDblClick
|
||||
DataController.DataSource = DataSource1
|
||||
DataController.Filter.AutoDataSetFilter = True
|
||||
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
|
||||
DataController.Summary.DefaultGroupSummaryItems = <>
|
||||
DataController.Summary.FooterSummaryItems = <
|
||||
item
|
||||
Kind = skSum
|
||||
end
|
||||
item
|
||||
Kind = skSum
|
||||
end>
|
||||
DataController.Summary.SummaryGroups = <>
|
||||
OptionsBehavior.CellHints = True
|
||||
OptionsCustomize.ColumnFiltering = False
|
||||
OptionsView.Footer = True
|
||||
OptionsView.GroupByBox = False
|
||||
OptionsView.IndicatorWidth = 30
|
||||
object v1Column16: TcxGridDBColumn
|
||||
Caption = #36873#25321
|
||||
DataBinding.FieldName = 'SSel'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxCheckBoxProperties'
|
||||
Properties.ImmediatePost = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column7: TcxGridDBColumn
|
||||
Caption = #21333#25454#32534#21495
|
||||
DataBinding.FieldName = 'TMMNo'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object v1OrdDate: TcxGridDBColumn
|
||||
Caption = #21046#21333#26085#26399
|
||||
DataBinding.FieldName = 'TMMDate'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxDateEditProperties'
|
||||
Properties.ShowTime = False
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column2: TcxGridDBColumn
|
||||
Caption = #32463#33829#21333#20301
|
||||
DataBinding.FieldName = 'OurCoName'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column4: TcxGridDBColumn
|
||||
Caption = #23458#25143
|
||||
DataBinding.FieldName = 'CustName'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object v1DeliveryDate: TcxGridDBColumn
|
||||
Caption = #20132#36135#26085#26399
|
||||
DataBinding.FieldName = 'DlyDate'
|
||||
DataBinding.IsNullValueType = True
|
||||
PropertiesClassName = 'TcxDateEditProperties'
|
||||
Properties.ShowTime = False
|
||||
OnCustomDrawCell = v1DeliveryDateCustomDrawCell
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column6: TcxGridDBColumn
|
||||
Caption = #21046#21333#20154
|
||||
DataBinding.FieldName = 'FILLER'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column1: TcxGridDBColumn
|
||||
Caption = #22791#27880
|
||||
DataBinding.FieldName = 'OrdNote'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column3: TcxGridDBColumn
|
||||
Caption = #21457#36135#22320#22336
|
||||
DataBinding.FieldName = 'ShippingAddress'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column5: TcxGridDBColumn
|
||||
Caption = #32852#31995#26041#24335
|
||||
DataBinding.FieldName = 'CONTACT'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column8: TcxGridDBColumn
|
||||
Caption = #20135#21697#32534#21495
|
||||
DataBinding.FieldName = 'C_Code'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column9: TcxGridDBColumn
|
||||
Caption = #33394#24067#21517#31216
|
||||
DataBinding.FieldName = 'C_Name'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column12: TcxGridDBColumn
|
||||
Caption = #39068#33394
|
||||
DataBinding.FieldName = 'C_Color'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column17: TcxGridDBColumn
|
||||
Caption = #33394#21495
|
||||
DataBinding.FieldName = 'C_ColorNo'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 58
|
||||
end
|
||||
object Tv1Column11: TcxGridDBColumn
|
||||
Caption = #25253#21333#25968#37327
|
||||
DataBinding.FieldName = 'OrderQty'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 104
|
||||
end
|
||||
object Tv1Column22: TcxGridDBColumn
|
||||
Caption = #20986#24211#25968#37327
|
||||
DataBinding.FieldName = 'OutQty'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 84
|
||||
end
|
||||
object Tv1Column23: TcxGridDBColumn
|
||||
Caption = #21333#20215
|
||||
DataBinding.FieldName = 'Price'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 70
|
||||
end
|
||||
object Tv1Column24: TcxGridDBColumn
|
||||
Caption = #37329#39069
|
||||
DataBinding.FieldName = 'Amount'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 70
|
||||
end
|
||||
object Tv1Column13: TcxGridDBColumn
|
||||
Caption = #25253#21333#21333#20301
|
||||
DataBinding.FieldName = 'OrderUnit'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 91
|
||||
end
|
||||
object Tv1Column19: TcxGridDBColumn
|
||||
Caption = #27424#21333#25968
|
||||
DataBinding.FieldName = 'OrderOweQty'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 84
|
||||
end
|
||||
object Tv1Column14: TcxGridDBColumn
|
||||
Caption = #24211#23384#38656#27714
|
||||
DataBinding.FieldName = 'TMSQty'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 95
|
||||
end
|
||||
object Tv1Column18: TcxGridDBColumn
|
||||
Caption = #22791#36135#25968#37327
|
||||
DataBinding.FieldName = 'StkQty'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 111
|
||||
end
|
||||
object Tv1Column15: TcxGridDBColumn
|
||||
Caption = #22791#36135#21333#20301
|
||||
DataBinding.FieldName = 'TMSUnit'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 93
|
||||
end
|
||||
object Tv1Column21: TcxGridDBColumn
|
||||
Caption = #22791#36135#29366#24577
|
||||
DataBinding.FieldName = 'StkStatus'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 92
|
||||
end
|
||||
object Tv1Column10: TcxGridDBColumn
|
||||
Caption = #27004#23618
|
||||
DataBinding.FieldName = 'StkPosition'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 95
|
||||
end
|
||||
object Tv1Column16: TcxGridDBColumn
|
||||
Caption = #22791#27880
|
||||
DataBinding.FieldName = 'OrdSNote'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 77
|
||||
end
|
||||
object Tv1Column20: TcxGridDBColumn
|
||||
Caption = #32039#24613#31243#24230
|
||||
DataBinding.FieldName = 'Urgent'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Options.Editing = False
|
||||
Width = 88
|
||||
end
|
||||
object Tv1Column25: TcxGridDBColumn
|
||||
Caption = #35746#21333#31867#22411
|
||||
DataBinding.FieldName = 'OrdType'
|
||||
DataBinding.IsNullValueType = True
|
||||
HeaderAlignmentHorz = taCenter
|
||||
Width = 60
|
||||
end
|
||||
end
|
||||
object cxGrid1Level1: TcxGridLevel
|
||||
GridView = Tv1
|
||||
end
|
||||
end
|
||||
object cxTabControl1: TcxTabControl [3]
|
||||
Left = 0
|
||||
Top = 121
|
||||
Width = 1924
|
||||
Height = 31
|
||||
Align = alTop
|
||||
TabOrder = 2
|
||||
Properties.CustomButtons.Buttons = <>
|
||||
Properties.Style = 9
|
||||
Properties.TabIndex = 0
|
||||
Properties.Tabs.Strings = (
|
||||
' '#26410#23436#25104' '
|
||||
' '#24050#23436#25104' '
|
||||
' '#20840#37096' ')
|
||||
OnChange = cxTabControl1Change
|
||||
ExplicitTop = 115
|
||||
ClientRectBottom = 31
|
||||
ClientRectRight = 1924
|
||||
ClientRectTop = 28
|
||||
end
|
||||
inherited loadProcess: TPanel
|
||||
Left = 720
|
||||
Top = 354
|
||||
ExplicitLeft = 720
|
||||
ExplicitTop = 354
|
||||
end
|
||||
inherited cxProgressBar2: TcxProgressBar
|
||||
Left = 720
|
||||
Top = 296
|
||||
ExplicitLeft = 720
|
||||
ExplicitTop = 296
|
||||
ExplicitHeight = 29
|
||||
end
|
||||
inherited ADOQueryBaseCmd: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
Left = 255
|
||||
Top = 314
|
||||
end
|
||||
inherited ADOQueryBaseTemp: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
Left = 157
|
||||
Top = 256
|
||||
end
|
||||
object cxgrdpmn1: TcxGridPopupMenu
|
||||
Grid = cxGrid1
|
||||
PopupMenus = <>
|
||||
Left = 660
|
||||
Top = 428
|
||||
end
|
||||
object ADOQueryCmd: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
Parameters = <>
|
||||
Left = 568
|
||||
Top = 240
|
||||
end
|
||||
object ADOQueryMain: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
LockType = ltReadOnly
|
||||
Parameters = <>
|
||||
Left = 420
|
||||
Top = 216
|
||||
end
|
||||
object ADOQueryTemp: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
LockType = ltReadOnly
|
||||
Parameters = <>
|
||||
Left = 320
|
||||
Top = 224
|
||||
end
|
||||
object DataSource1: TDataSource
|
||||
DataSet = Order_Main
|
||||
Left = 812
|
||||
Top = 440
|
||||
end
|
||||
object Order_Main: TClientDataSet
|
||||
Aggregates = <>
|
||||
Params = <>
|
||||
Left = 724
|
||||
Top = 432
|
||||
end
|
||||
object ADOQuerySub: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
Parameters = <>
|
||||
Left = 312
|
||||
Top = 600
|
||||
end
|
||||
object DataSource2: TDataSource
|
||||
DataSet = ORDER_SUB
|
||||
Left = 408
|
||||
Top = 604
|
||||
end
|
||||
object ADOQueryImage: TADOQuery
|
||||
Connection = DataLink_TradeMarket.ADOLink
|
||||
EnableBCD = False
|
||||
Parameters = <>
|
||||
Left = 316
|
||||
Top = 283
|
||||
end
|
||||
object DSImage: TDataSource
|
||||
DataSet = ADOQueryImage
|
||||
Left = 416
|
||||
Top = 288
|
||||
end
|
||||
object IdFTP1: TIdFTP
|
||||
ConnectTimeout = 0
|
||||
NATKeepAlive.UseKeepAlive = False
|
||||
NATKeepAlive.IdleTimeMS = 0
|
||||
NATKeepAlive.IntervalMS = 0
|
||||
ProxySettings.ProxyType = fpcmNone
|
||||
ProxySettings.Port = 0
|
||||
ReadTimeout = 0
|
||||
Left = 92
|
||||
Top = 258
|
||||
end
|
||||
object ORDER_SUB: TClientDataSet
|
||||
Aggregates = <>
|
||||
Params = <>
|
||||
Left = 212
|
||||
Top = 608
|
||||
end
|
||||
object PopupMenu2: TPopupMenu
|
||||
Left = 532
|
||||
Top = 636
|
||||
object N3: TMenuItem
|
||||
Caption = #20840#36873
|
||||
OnClick = N3Click
|
||||
end
|
||||
object N4: TMenuItem
|
||||
Caption = #20840#24323
|
||||
OnClick = N4Click
|
||||
end
|
||||
object N2: TMenuItem
|
||||
Caption = #22797#21046
|
||||
end
|
||||
end
|
||||
object cxgrdpmn2: TcxGridPopupMenu
|
||||
PopupMenus = <>
|
||||
Left = 660
|
||||
Top = 636
|
||||
end
|
||||
object CDS_WXTS: TClientDataSet
|
||||
Aggregates = <>
|
||||
Params = <>
|
||||
Left = 412
|
||||
Top = 424
|
||||
end
|
||||
object PM_1: TPopupMenu
|
||||
Left = 988
|
||||
Top = 356
|
||||
object N1: TMenuItem
|
||||
Caption = #22797#21046
|
||||
OnClick = N1Click
|
||||
end
|
||||
object N5: TMenuItem
|
||||
Caption = #20840#36873
|
||||
OnClick = N5Click
|
||||
end
|
||||
object N6: TMenuItem
|
||||
Caption = #20840#24323
|
||||
OnClick = N6Click
|
||||
end
|
||||
end
|
||||
object GPM_3: TcxGridPopupMenu
|
||||
PopupMenus = <>
|
||||
Left = 860
|
||||
Top = 228
|
||||
end
|
||||
end
|
||||
1158
T05贸易门市管理/U_TradeMarketList_XY.pas
Normal file
1158
T05贸易门市管理/U_TradeMarketList_XY.pas
Normal file
File diff suppressed because it is too large
Load Diff
|
|
@ -112,7 +112,7 @@ inherited frmTradeMarketQtyInPut: TfrmTradeMarketQtyInPut
|
|||
end
|
||||
object inPiece: TcxCurrencyEdit
|
||||
Left = 71
|
||||
Top = 3
|
||||
Top = 6
|
||||
Properties.AssignedValues.DisplayFormat = True
|
||||
TabOrder = 0
|
||||
Width = 98
|
||||
|
|
@ -141,8 +141,6 @@ inherited frmTradeMarketQtyInPut: TfrmTradeMarketQtyInPut
|
|||
Height = 578
|
||||
Align = alClient
|
||||
TabOrder = 0
|
||||
ExplicitLeft = 4
|
||||
ExplicitTop = 22
|
||||
object Tv1: TcxGridDBTableView
|
||||
OnDblClick = Tv1DblClick
|
||||
Navigator.Buttons.CustomButtons = <>
|
||||
|
|
|
|||
|
|
@ -58,6 +58,7 @@ type
|
|||
public
|
||||
{ Public declarations }
|
||||
PMTMSId, PFTMMID: string;
|
||||
canshu4: string;
|
||||
FName, FColor, FColorNo: string;
|
||||
MTMSId, FTMMID: string;
|
||||
end;
|
||||
|
|
@ -204,9 +205,9 @@ begin
|
|||
FieldByName('EditTime').Value := SGetServerDateTime(ADOQueryTemp);
|
||||
end;
|
||||
RTSetSaveDataCDS(ADOQueryCmd, Tv1, CDS_1, 'Trade_Market_Sub_Qty', 0);
|
||||
FieldByName('TMSQID').AsString := FieldByName('TMSQID').AsString;
|
||||
FieldByName('TMSId').AsString := FieldByName('TMSId').AsString;
|
||||
FieldByName('TMMId').AsString := FieldByName('TMMId').AsString;
|
||||
FieldByName('TMSQID').AsString := Trim(Maxno);
|
||||
FieldByName('TMSId').AsString := CDS_1.FieldByName('TMSId').AsString;
|
||||
FieldByName('TMMId').AsString := CDS_1.FieldByName('TMMId').AsString;
|
||||
// FieldByName('Qty').value := StrTofloatDef(inQty.Text, 0);
|
||||
Post;
|
||||
end;
|
||||
|
|
@ -255,6 +256,27 @@ begin
|
|||
end;
|
||||
SCreateCDS(ADOQueryTemp, CDS_1);
|
||||
SInitCDSData(ADOQueryTemp, CDS_1);
|
||||
|
||||
if canshu4 = 'ÐÂÓà' then
|
||||
begin
|
||||
pnl2.Visible := true;
|
||||
btnAdd.Visible := true;
|
||||
TBSave.Visible := true;
|
||||
with ADOQueryTemp do
|
||||
begin
|
||||
Close;
|
||||
SQL.Clear;
|
||||
sql.Add(' select A.* from Trade_Market_Sub_Qty A');
|
||||
sql.Add('where A.TMSId=''' + Trim(PMTMSId) + '''');
|
||||
// sql.Add(' select * from Bs_Cloth_IO A inner join Trade_Market_Sub B on A.TMMID=B.TMMId and A.TMSId=B.TMSId');
|
||||
// sql.Add('where A.TMSId=''' + Trim(MTMSId) + '''');
|
||||
// showmessage(sql.text);
|
||||
Open;
|
||||
end;
|
||||
SCreateCDS(ADOQueryTemp, CDS_1);
|
||||
SInitCDSData(ADOQueryTemp, CDS_1);
|
||||
end;
|
||||
|
||||
end;
|
||||
|
||||
procedure TfrmTradeMarketQtyInPut.FromCoNameDblClick(Sender: TObject);
|
||||
|
|
@ -278,9 +300,9 @@ begin
|
|||
begin
|
||||
Append;
|
||||
FieldByName('Qty').Value := StrTofloatDef(inQty.Text, 0);
|
||||
// FieldByName('TMSQID').Value := MaxNo;
|
||||
// FieldByName('TMSId').Value := PMTMSId;
|
||||
// FieldByName('TMMId').Value := PFTMMId;
|
||||
FieldByName('TMSQID').Value := MaxNo;
|
||||
FieldByName('TMSId').Value := PMTMSId;
|
||||
FieldByName('TMMId').Value := PFTMMId;
|
||||
Post;
|
||||
|
||||
end;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user