📄 rpoh.h
字号:
//---------------------------------------------------------------------------
#ifndef RpohH
#define RpohH
//---------------------------------------------------------------------------
#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 TfrmRpoh ;
class TfrmRpoh : public TGenBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel1;
TSDGrid *sgRpoh;
TFloatPanel *FloatPanel2;
TLabel *Label20;
TLabel *Label21;
TLabel *Label22;
TLabel *Label23;
TLabel *Label18;
TLabel *Label19;
TSDEdit *seRpodConvRate;
TSDEdit *seRpodQty;
TSDEdit *seRpodPrice;
TSDEdit *seRpodLine;
TLabel *Label30;
TCheckBox *ChkRpodClose;
TSDEdit *seRpodCloseDate;
TGroupBox *GroupBox3;
TLabel *Label31;
TLabel *Label32;
TLabel *Label28;
TSDComboBox *scRpodDeptCode;
TDateEdit *deRpodReqDate;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TLabel *Label1;
TSDEdit *seRpohCode;
TLabel *Label2;
TSDComboBox *scRpohSupplyCode;
TLabel *Label3;
TSDComboBox *scRpohSettleMode;
TLabel *Label4;
TLabel *Label5;
TSDComboBox *scRpohTaxCode;
TLabel *Label7;
TDateEdit *deRpohDate;
TLabel *Label8;
TLabel *Label34;
TLabel *Label33;
TSDComboBox *scRpohDeliver;
TSDComboBox *scRpohTransMode;
TLabel *Label9;
TLabel *Label6;
TLabel *Label35;
TMemo *memRpodDesc;
TGroupBox *GroupBox1;
TGroupBox *GroupBox2;
TLabel *labRpohSysDate;
TLabel *Label12;
TLabel *Label10;
TLabel *labRpodPQty;
TLabel *Label27;
TSDComboBox *scRpodStatus;
TLabel *Label26;
TSDComboBox *scRpodFrom;
TLabel *Label11;
TSDEdit *seRpodAmt;
TLabel *labRpodGoodsName;
TFloatPanel *FloatPanel3;
TLabel *Label13;
TLabel *labRpohChecker;
TCheckBox *cbxRpohCheck;
TCheckBox *cbxRpohCancel;
TSDEdit *seRpodGoodsCode;
TCheckBox *cbxRpohClose;
TLabel *Label29;
TDateEdit *deRpodRecDate;
TSDEdit *seRpodLocCode;
TSDEdit *seRpodUnitCode;
TSDEdit *seRpohCurrencyCode;
TSDEdit *seRpohPsiteCode;
TSDComboBox *scRpohBuyerCode;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormShow(TObject *Sender);
void __fastcall sgRpohSelectCell(TObject *Sender, int ACol, int ARow,
bool &CanSelect);
void __fastcall sgRpohDblClick(TObject *Sender);
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall seRpodQtyExit(TObject *Sender);
void __fastcall seRpodGoodsCodeButtonClick(TObject *Sender);
void __fastcall seRpodGoodsCodeExit(TObject *Sender);
void __fastcall scRpodDeptCodeExit(TObject *Sender);
void __fastcall scRpohTaxCodeExit(TObject *Sender);
void __fastcall seRpodLocCodeButtonClick(TObject *Sender);
void __fastcall seRpodUnitCodeButtonClick(TObject *Sender);
void __fastcall seRpohCurrencyCodeButtonClick(TObject *Sender);
void __fastcall seRpohPsiteCodeButtonClick(TObject *Sender);
void __fastcall scRpohSupplyCodeClick(TObject *Sender);
void __fastcall scRpohSupplyCodeChange(TObject *Sender);
void __fastcall seRpohCodeExit(TObject *Sender);
private: // User declarations
AnsiString pv_GoodsCode;
AnsiString __fastcall GetDetailValue(int FieldIndex);
AnsiString __fastcall GetHeadValue(int Index);
AnsiString __fastcall GetItemStringToGrid();
void __fastcall SetHeadValue(int Index ,AnsiString Value);
void __fastcall SetDetailValue(int Index, AnsiString Value);
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
void __fastcall SetDetail(AnsiString gc);
void __fastcall UnDoChange();
public: // User declarations
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 agree=false);
void __fastcall AutoCalculation();
void __fastcall GenrateBill();
__fastcall TfrmRpoh(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmRpoh *frmRpoh;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -