📄 pickup.h
字号:
//---------------------------------------------------------------------------
#ifndef PickupH
#define PickupH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "BillBaseForm.h"
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "fpanel.h"
#include "DateEdit.hpp"
#include "SDComboBox.h"
#include "SDEdit.h"
#include <Mask.hpp>
#include "SDGrid.h"
#include <Grids.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TfrmPickup : public TBillBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel1;
TFloatPanel *FloatPanel2;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TLabel *Label5;
TLabel *Label6;
TLabel *Label7;
TCheckBox *cbPickuphCheck;
TLabel *Label8;
TLabel *Label9;
TSDEdit *sePickuphCode;
TSDEdit *sePickuphDesc;
TSDComboBox *scPickuphType;
TSDComboBox *scPickuphSoCode;
TSDComboBox *scPickuphStockupCode;
TDateEdit *dePickuphDate;
TDateEdit *dePickuphSysDate;
TSDComboBox *scPickuphUserCode;
TSDComboBox *scPickuphChecker;
TLabel *Label10;
TLabel *Label11;
TLabel *Label12;
TLabel *Label13;
TLabel *Label14;
TLabel *Label15;
TLabel *Label16;
TLabel *Label17;
TLabel *Label18;
TLabel *Label19;
TLabel *Label20;
TSDEdit *sePickupdLine;
TSDEdit *sePickupdBatchCode;
TSDEdit *sePickupdGoodsName;
TSDEdit *sePickupdEnrate;
TSDEdit *sePickupdQty;
TSDComboBox *scPickupdLocCode;
TSDComboBox *scPickupdTransCode;
TSDComboBox *scPickupdSettleCode;
TSDGrid *sgPickup;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TLabel *Label21;
TSDEdit *sePickupdSodLine;
TSDEdit *sePickupdStockupLine;
TSDEdit *sePickupdUnitCode;
TSDEdit *sePickupdGoodsCode;
TSDGrid *sgStockupd;
TLabel *Label22;
TSDEdit *seStockupdQty;
TLabel *Label23;
TSDEdit *seStockupdPickupQty;
void __fastcall FormShow(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall sgPickupClick(TObject *Sender);
void __fastcall sgPickupDblClick(TObject *Sender);
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall muEditDetailClick(TObject *Sender);
void __fastcall sgStockupdDblClick(TObject *Sender);
void __fastcall scPickuphStockupCodeExit(TObject *Sender);
void __fastcall sePickupdQtyExit(TObject *Sender);
private:
AnsiString __fastcall GetDetailValue(int FieldIndex);
AnsiString __fastcall GetHeadValue(int Index);
void __fastcall SetHeadValue(int Index, AnsiString Value);
void __fastcall SetDetailValue(int Index, AnsiString Value); // User declarations
public: // User declarations
AnsiString FormIniFile;
__fastcall TfrmPickup(TComponent* Owner);
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();
void __fastcall RefreshStockupdGrid(AnsiString WhereStr);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPickup *frmPickup;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -