📄 sreth.h
字号:
//---------------------------------------------------------------------------
#ifndef SrethH
#define SrethH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "GenBaseForm.h"
#include "DateEdit.hpp"
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmSreth;
class TfrmSreth : public TGenBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TLabel *Label6;
TLabel *Label7;
TLabel *Label8;
TLabel *Label9;
TLabel *Label15;
TLabel *Label43;
TLabel *Label42;
TLabel *Label10;
TLabel *Label22;
TLabel *Label5;
TLabel *Label11;
TLabel *Label13;
TSDEdit *seSrethCode;
TDateEdit *deSrethDate;
TSDComboBox *scSrethTaxCode;
TSDComboBox *scSrethSettleMode;
TMemo *memSrethDesc;
TSDComboBox *scSrethType;
TSDComboBox *scSrethTransMode;
TSDEdit *seSrethEnrate;
TSDComboBox *scSrethDeliver;
TSDComboBox *scSrethFmonth;
TSDComboBox *scSrethPosType;
TSDComboBox *scSrethRr;
TSDGrid *sgSretd;
TFloatPanel *FloatPanel2;
TGroupBox *GroupBox2;
TLabel *Label24;
TLabel *Label25;
TLabel *Label30;
TLabel *Label31;
TLabel *Label26;
TLabel *Label19;
TLabel *Label23;
TSDEdit *seSretdConv;
TSDEdit *seSretdLine;
TSDEdit *seSretdGoodsName;
TSDEdit *seSretdQty;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TGroupBox *GroupBox4;
TLabel *Label33;
TSDComboBox *scSretdState;
TGroupBox *GroupBox5;
TLabel *Label36;
TLabel *Label39;
TMemo *memSretdDesc;
TFloatPanel *FloatPanel3;
TLabel *Label17;
TCheckBox *cheSrethCheck;
TCheckBox *cheSrethCancel;
TLabel *Label14;
TSDEdit *seSretdGoods;
TLabel *lbSrethSysDate;
TLabel *Label16;
TCheckBox *cheSretdClose;
TCheckBox *cheSrethClose;
TLabel *Label12;
TSDEdit *seSretdCloseDate;
TLabel *Label18;
TSDComboBox *scSrethSaler;
TSDEdit *seSrethClient;
TSDEdit *seSrethCurrency;
TSDEdit *seSrethSsite;
TSDEdit *seSretdSogCode;
TSDEdit *seSretdSogdLine;
TLabel *Label20;
TLabel *Label21;
TLabel *Label27;
TSDEdit *seSretdUnit;
TSDEdit *seSretdPrice;
TSDEdit *seSretdAmt;
TSDEdit *seSretdTaxAmt;
TLabel *Label28;
TSDEdit *seSretdLoc;
TLabel *Label34;
TSDEdit *seSretdExes;
TLabel *Label29;
TLabel *Label32;
TLabel *Label35;
TSDEdit *seSretdOQty;
TSDEdit *seSretdFQty;
TSDEdit *seSretdEQty;
TSDEdit *seSretdBatch;
TSDEdit *seSrethChecker;
TSDEdit *seSrethUser;
void __fastcall FormShow(TObject *Sender);
void __fastcall sgSretdSelectCell(TObject *Sender, int ACol, int ARow,
bool &CanSelect);
void __fastcall sgSretdDblClick(TObject *Sender);
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall seSrethCodeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall seSrethClientButtonClick(TObject *Sender);
void __fastcall seSrethCurrencyButtonClick(TObject *Sender);
void __fastcall seSrethSsiteButtonClick(TObject *Sender);
void __fastcall seSretdSogCodeButtonClick(TObject *Sender);
void __fastcall scSrethTypeClick(TObject *Sender);
void __fastcall seSretdGoodsButtonClick(TObject *Sender);
void __fastcall seSretdUnitButtonClick(TObject *Sender);
void __fastcall seSretdLocButtonClick(TObject *Sender);
void __fastcall seSretdQtyButtonClick(TObject *Sender);
void __fastcall seSretdQtyExit(TObject *Sender);
void __fastcall seSretdPriceExit(TObject *Sender);
void __fastcall seSretdBatchButtonClick(TObject *Sender);
private: // User declarations
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
void __fastcall SetRelativeState(AnsiString GoodsCode);
void __fastcall CalculateAmt();
void __fastcall DynamicSetControlState();
public: // User declarations
AnsiString __fastcall GetDetailValue(int FieldIndex);
AnsiString __fastcall GetHeadValue(int Index);
void __fastcall SetHeadValue(int Index ,AnsiString Value);
void __fastcall SetDetailValue(int Index, AnsiString Value);
AnsiString FormIniFile;
void __fastcall InitEditControl();
void __fastcall ClearControl(int Section,bool BringToNext);
void __fastcall GetDataFromComObject(int Section);
void __fastcall SendDataToComObject(int Section);
void __fastcall WaitUserInput(int Section);
void __fastcall RefreshGridData(int mAction);
void __fastcall DisplayBill();
void __fastcall GetBill(AnsiString BillID);
void __fastcall FillGridWithData();
void __fastcall ChangeToBrowseState(bool Browse);
__fastcall TfrmSreth(TComponent* Owner);
void __fastcall GenrateBill();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmSreth *frmSreth;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -