?? uvadgsoomedicinedetailapproving.pas
字號(hào):
unit UVADGSOOMedicineDetailApproving;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UVADGSOOMedicineDetail, cxStyles, cxCustomData, cxGraphics,
cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData,
cxDBLookupComboBox, dxPSGlbl, dxPSUtl, dxPSEngn, dxPrnPg, dxBkgnd,
dxWrap, dxPrnDev, dxPSCompsProvider, dxPSFillPatterns, dxPSEdgePatterns,
dxPSCore, RzCommon, cxGridLevel, cxGridCustomTableView, cxGridTableView,
cxGridDBTableView, cxClasses, cxControls, cxGridCustomView, cxGrid, jpeg,
RzBckgnd, ExtCtrls, RzPanel, cxCheckBox, UCloneDataModel, UView,
UPrimaryDataModel, Factory;
type
TVADGSOOMedicineDetailApproving = class(TVADGSOOMedicineDetail)
private
MedicineStockIDModel: TCloneDataModel;
StockoutorderIDModel: TCloneDataModel;
protected
procedure InitModel; override;
public
function GetCaption: string; override;
function GetDetailView: TView; override;
end;
implementation
uses UMADSOOMedicineDetailNOTApprove;
{$R *.dfm}
{ TVADGSOOMedicineDetailApproving }
function TVADGSOOMedicineDetailApproving.GetCaption: string;
begin
Result := '醫(yī)藥出庫(kù)單明細(xì)';
end;
function TVADGSOOMedicineDetailApproving.GetDetailView: TView;
begin
Result := nil;
end;
procedure TVADGSOOMedicineDetailApproving.InitModel;
begin
inherited;
MedicineStockIDModel := TCloneDataModel.Create(Self);
TPrimaryDataModel(MedicineStockFactory.GetModel).Clone(MedicineStockIDModel);
MedicineStockID.DataSet := MedicineStockIDModel.GetDataSet;
StockoutorderIDModel := TCloneDataModel.Create(Self);
TPrimaryDataModel(StockoutorderFactory.GetModel).Clone(StockoutorderIDModel);
StockoutorderID.DataSet := StockoutorderIDModel.GetDataSet;
end;
end.
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -