📄 uvadgsoomedicinedetailapproving.pas
字号:
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 := '医药出库单明细';
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.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -