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

📄 bomhcopy.h

📁 速达开源ERP系统
💻 H
字号:
//---------------------------------------------------------------------------
#ifndef BomhCopyH
#define BomhCopyH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "DateEdit.hpp"
#include "fpanel.h"
#include "GenBaseForm.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>
#include <ExtCtrls.hpp>

class PACKAGE TfrmBomhCopy;
//---------------------------------------------------------------------------
class TfrmBomhCopy : public TGenBaseForm
{
__published:	// IDE-managed Components
    TFloatPanel *FloatPanel3;
    TLabel *Label36;
    TLabel *labBomhUser;
    TLabel *Label10;
    TLabel *labSysDate;
    TFloatPanel *FloatPanel1;
    TLabel *Label1;
    TLabel *Label6;
    TLabel *Label7;
    TLabel *Label9;
    TLabel *Label13;
    TLabel *Label8;
    TLabel *Label27;
    TLabel *Label26;
    TLabel *Label11;
    TLabel *Label2;
    TSDEdit *seBomhRlt;
    TSDComboBox *scBomhOp;
    TSDComboBox *scBomhPp;
    TSDComboBox *scBomhProducter;
    TMemo *memBomhDesc;
    TSDEdit *seBomhGoods;
    TDateEdit *deBomhIdate;
    TDateEdit *deBomhEdate;
    TPanel *Panel1;
    TLabel *Label34;
    TLabel *Label3;
    TLabel *Label4;
    TLabel *Label14;
    TLabel *Label12;
    TSDEdit *seBomhGoodsName;
    TSDEdit *seBomhVer;
    TSDEdit *seBomhModel;
    TSDComboBox *scBomhType;
    TSDComboBox *scBomhUnit;
    TSDEdit *seBomhFpr;
    TSDEdit *seBomhEoq;
    TFloatPanel *FloatPanel2;
    TLabel *Label15;
    TLabel *Label16;
    TLabel *Label17;
    TLabel *Label20;
    TLabel *Label28;
    TLabel *Label29;
    TLabel *Label30;
    TLabel *Label32;
    TLabel *Label21;
    TLabel *Label31;
    TLabel *Label25;
    TBitBtn *btnOK;
    TBitBtn *btnCancel;
    TSDEdit *seBomdSn;
    TSDEdit *seBomdGoods;
    TPanel *Panel2;
    TLabel *Label5;
    TLabel *Label19;
    TLabel *Label22;
    TLabel *Label24;
    TLabel *Label18;
    TLabel *Label23;
    TSDEdit *seBomdGoodsName;
    TSDEdit *seBomdVer;
    TSDEdit *seBomdModel;
    TSDComboBox *scBomdType;
    TSDComboBox *scBomdFrom;
    TSDComboBox *scBomdUnit;
    TSDEdit *seBomdQty;
    TSDEdit *seBomdShl;
    TCheckBox *cheBomdRepFlg;
    TSDComboBox *scBomdPp;
    TSDComboBox *scBomdOp;
    TSDComboBox *scBomdCfg;
    TSDEdit *seBomdLot;
    TMemo *memBomdDesc;
    TSDEdit *seBomdEco;
    TSDComboBox *scBomdProcess;
    TSDGrid *sgBomhCopy;
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall sgBomhCopySelectCell(TObject *Sender, int ACol, int ARow,
        bool &CanSelect);
    void __fastcall sgBomhCopyDblClick(TObject *Sender);
    void __fastcall btnOKClick(TObject *Sender);
    void __fastcall btnCancelClick(TObject *Sender);
    void __fastcall seBomhGoodsButtonClick(TObject *Sender);
    void __fastcall seBomdGoodsButtonClick(TObject *Sender);
    void __fastcall GenrateBill();
    void __fastcall SetDetailValue(int Index, AnsiString Value);
    void __fastcall seBomhGoodsExit(TObject *Sender);
    void __fastcall seBomdGoodsExit(TObject *Sender);
    void __fastcall seBomhGoodsKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);

private:	// User declarations
    AnsiString FormIniFile;
    AnsiString __fastcall GetHeadValue(int Index);
    AnsiString __fastcall GetItemStringToGrid();
    void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall SetHeadValue(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
    AnsiString __fastcall GetDetailValue(int FieldIndex);
    __fastcall TfrmBomhCopy(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmBomhCopy *frmBomhCopy;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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