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

📄 wsgm.h

📁 速达开源ERP系统
💻 H
字号:
//---------------------------------------------------------------------------
#ifndef WsgmH
#define WsgmH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RecBaseForm.h"
#include <ComCtrls.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "DateEdit.hpp"
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Grids.hpp>
#include <Mask.hpp>
#include <Dialogs.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>

class PACKAGE TfrmWsgm;
//---------------------------------------------------------------------------
class TfrmWsgm : public TRecBaseForm
{
__published:	// IDE-managed Components
    TPageControl *PageControl1;
    TTabSheet *BaseInfo;
    TFloatPanel *FloatPanel1;
    TLabel *Label22;
    TLabel *Label1;
    TLabel *Label2;
    TLabel *Label3;
    TLabel *Label6;
    TLabel *Label8;
    TLabel *Label9;
    TSDEdit *seWsgmGoodsName;
    TSDComboBox *scWsgmLoc;
    TSDComboBox *scWsgmBatch;
    TSDComboBox *scWsgmProcess;
    TSDEdit *seWsgmShl;
    TSDEdit *seWsgmGoods;
    TTabSheet *LtInfo;
    TFloatPanel *FloatPanel2;
    TSDGrid *sgWsgm;
    TLabel *Label4;
    TSDEdit *seWsgmQty;
    TLabel *Label7;
    TSDComboBox *scWsgmUnit;
    TLabel *Label10;
    TSDEdit *seWsgmSn;
    TLabel *labWsgmWo;
    TLabel *Label12;
    TLabel *labWsgmPgoods;
    TFloatPanel *FloatPanel3;
    TLabel *Label36;
    TLabel *labUserCode;
    TSpeedButton *sbtWsgmCopy;
    TCheckBox *cheWsgmClose;
    TLabel *Label5;
    TLabel *labCloseDate;
    TLabel *Label20;
    TSDEdit *seWsgmOoq;
    TPanel *PanelQty;
    TLabel *Label11;
    TSDEdit *seWsgmPQty;
    TSDEdit *seWsgmGQty;
    TLabel *Label13;
    TLabel *Label14;
    TSDEdit *seWsgmLQty;
    TSDEdit *seWsgmDQty;
    TLabel *Label15;
    TLabel *Label16;
    TSDEdit *seWsgmUQty;
    TSDEdit *seWsgmRQty;
    TLabel *Label17;
    TLabel *Label18;
    TLabel *Label19;
    TSDEdit *seWsgmTQty;
    TSDEdit *seWsgmAQty;
    void __fastcall FormShow(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall seWsgmGoodsButtonClick(TObject *Sender);
    void __fastcall muCancelClick(TObject *Sender);
    void __fastcall muSaveClick(TObject *Sender);
    void __fastcall sgWsgmClick(TObject *Sender);
    void __fastcall sbtWsgmCopyClick(TObject *Sender);
    void __fastcall seWsgmGoodsKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
private:	// User declarations
    AnsiString  FormIniFile;
    AnsiString  FWsgmWoCode;
    AnsiString  FWsgmWoGoods;
    int         FWsgmFrom;
    int         FWsgmCheck;
    int         FWsgmCancel;
    AnsiString __fastcall GetDataToGrid();
    void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall InitEditControl();
    void __fastcall SetToolBarEnable();
    void __fastcall ClearControl(bool BringToNext);
    void __fastcall GetDataFromComObject();
    void __fastcall SendDataToComObject();
    void __fastcall WaitUserInput();
    void __fastcall RefreshGridData(int mAction);
    void __fastcall FillGridWithData();
    void __fastcall SetFieldValue(int FieldIndex,AnsiString Value);
    void __fastcall GenrateDoc();
public:		// User declarations
    AnsiString __fastcall GetFieldValue(int FieldIndex);
    __fastcall TfrmWsgm(TComponent* Owner);
    __fastcall TfrmWsgm(TComponent* Owner,AnsiString FWoCode,AnsiString FWoGoods,
                        int FWoCheck,int FWoCancel,int FWoFrom);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmWsgm *frmWsgm;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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