⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pbomh.h

📁 速达开源ERP系统
💻 H
字号:
//---------------------------------------------------------------------------
#ifndef PbomhH
#define PbomhH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "BillBaseForm.h"
#include "DateEdit.hpp"
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "SDGrid.h"
#include <Grids.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
class PACKAGE TfrmPbomh;
//---------------------------------------------------------------------------
class TfrmPbomh : public TBillBaseForm
{
__published:	// IDE-managed Components
    TFloatPanel *FloatPanel1;
    TLabel *Label1;
    TLabel *Label2;
    TLabel *Label6;
    TLabel *Label7;
    TLabel *Label9;
    TLabel *Label13;
    TLabel *Label8;
    TSDEdit *sePbomhEoq;
    TSDEdit *sePbomhRlt;
    TSDComboBox *scPbomhOp;
    TSDComboBox *scPbomhPp;
    TSDComboBox *scPbomhProducter;
    TMemo *memPbomhDesc;
    TFloatPanel *FloatPanel2;
    TBitBtn *btnOK;
    TBitBtn *btnCancel;
    TSDGrid *sgPbomh;
    TLabel *Label27;
    TLabel *Label26;
    TDateEdit *dePbomhIdate;
    TDateEdit *dePbomhEdate;
    TSDEdit *sePbomhGoods;
    TFloatPanel *FloatPanel3;
    TLabel *Label36;
    TLabel *labPbomhUser;
    TPanel *Panel2;
    TLabel *Label34;
    TLabel *Label3;
    TLabel *Label4;
    TLabel *Label14;
    TLabel *Label12;
    TSDComboBox *scPbomhUnit;
    TSDComboBox *scPbomhType;
    TSDEdit *sePbomhModel;
    TSDEdit *sePbomhVer;
    TSDEdit *sePbomhGoodsName;
    TLabel *Label10;
    TLabel *labSysDate;
    TLabel *Label11;
    TSDEdit *sePbomhFpr;
    TLabel *Label17;
    TSDEdit *sePbomdQty;
    TSDEdit *sePbomdShl;
    TLabel *Label20;
    TPanel *Panel1;
    TLabel *Label23;
    TLabel *Label24;
    TLabel *Label18;
    TLabel *Label22;
    TLabel *Label19;
    TLabel *Label5;
    TSDComboBox *scPbomdUnit;
    TSDComboBox *scPbomdFrom;
    TSDComboBox *scPbomdType;
    TSDEdit *sePbomdModel;
    TSDEdit *sePbomdVer;
    TSDEdit *sePbomdGoodsName;
    TLabel *Label15;
    TLabel *Label16;
    TSDEdit *sePbomdGoods;
    TSDEdit *sePbomdSn;
    TLabel *Label28;
    TLabel *Label29;
    TSDComboBox *scPbomdPp;
    TSDComboBox *scPbomdOp;
    TCheckBox *chePbomdOption;
    TLabel *Label31;
    TSDEdit *sePbomdFcp;
    TSDEdit *sePbomdOptNo;
    TLabel *Label32;
    TSDEdit *sePbomdLot;
    TLabel *Label33;
    TLabel *Label21;
    TMemo *memPbomdDesc;
    TSDComboBox *scPbomdProcess;
    TLabel *Label25;
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall sgPbomhSelectCell(TObject *Sender, int ACol, int ARow,
           bool &CanSelect);
    void __fastcall sgPbomhDblClick(TObject *Sender);
    void __fastcall btnOKClick(TObject *Sender);
    void __fastcall btnCancelClick(TObject *Sender);
    void __fastcall sePbomhGoodsButtonClick(TObject *Sender);
    void __fastcall sePbomdGoodsButtonClick(TObject *Sender);
    void __fastcall sePbomhGoodsExit(TObject *Sender);
    void __fastcall sePbomdGoodsExit(TObject *Sender);
    void __fastcall sePbomhGoodsKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
private:	// User declarations
    AnsiString FormIniFile;
    AnsiString __fastcall GetDetailValue(int FieldIndex);
    AnsiString __fastcall GetHeadValue(int Index);
    AnsiString __fastcall GetItemStringToGrid();
    void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall SetHeadValue(int Index ,AnsiString Value);
    void __fastcall SetDetailValue(int Index, AnsiString Value);
    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);
public:		// User declarations
    __fastcall TfrmPbomh(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPbomh *frmPbomh;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -