📄 wo.h
字号:
//---------------------------------------------------------------------------
#ifndef WoH
#define WoH
//---------------------------------------------------------------------------
#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 "SDGrid.h"
#include "Wo.h"
#include "Wo.h"
#include "Wo.h"
#include "Wo.h"
#include <Grids.hpp>
#include <Mask.hpp>
#include "DateEdit.hpp"
#include "fpanel.h"
#include "SDComboBox.h"
#include "SDEdit.h"
#include <Dialogs.hpp>
#include <Buttons.hpp>
class PACKAGE TfrmWo;
//---------------------------------------------------------------------------
class TfrmWo : public TRecBaseForm
{
__published: // IDE-managed Components
TSDGrid *sgWo;
TPageControl *PageControl1;
TTabSheet *BaseInfo;
TTabSheet *QtyDate;
TFloatPanel *FloatPanel1;
TLabel *Label1;
TLabel *Label3;
TLabel *Label4;
TLabel *Label5;
TLabel *Label6;
TLabel *Label7;
TLabel *Label9;
TLabel *Label10;
TLabel *Label24;
TLabel *Label26;
TSDEdit *seWoCode;
TSDComboBox *scWoType;
TSDComboBox *scWoConsume;
TSDComboBox *scWoTrace;
TSDEdit *seWoGoods;
TSDEdit *seWoGoodsName;
TSDComboBox *scWoProducter;
TFloatPanel *FloatPanel2;
TGroupBox *GroupBox3;
TLabel *Label44;
TLabel *Label45;
TLabel *Label46;
TLabel *Label47;
TLabel *Label48;
TLabel *Label12;
TSDComboBox *scWoUnit;
TCheckBox *cheWoChkFlg;
TGroupBox *GroupBox1;
TLabel *Label13;
TLabel *Label14;
TLabel *Label15;
TLabel *Label25;
TMemo *memWoDesc;
TLabel *Label11;
TSDComboBox *scWoBatch;
TFloatPanel *FloatPanel3;
TLabel *Label36;
TLabel *Label17;
TLabel *labUserCode;
TLabel *labChecker;
TSDEdit *seWoSoCode;
TGroupBox *GroupBox2;
TLabel *labWoCqty;
TLabel *labWoEqty;
TLabel *labWoWqty;
TLabel *labWoRqty;
TLabel *labWoSqty;
TLabel *labWoPamt;
TLabel *labWoMamt;
TLabel *labWoTwt;
TSpeedButton *sbtWrg;
TSpeedButton *sbtWsgm;
TLabel *Label18;
TLabel *labCheckDate;
TLabel *Label16;
TLabel *labCancelDate;
TLabel *labCloseDate;
TLabel *Label21;
TSpeedButton *sbtWn;
TSDEdit *seWoRoute;
TSDEdit *seWoSodLine;
TLabel *Label43;
TSDEdit *seWoQty;
TLabel *Label49;
TDateEdit *deWoDate;
TLabel *Label50;
TDateEdit *deWoRdate;
TLabel *Label51;
TDateEdit *deWoSdate;
TLabel *Label2;
TSDComboBox *scWoStatus;
TLabel *Label8;
TSDComboBox *scWoFrom;
TLabel *Label52;
TLabel *labWoMdate;
TLabel *Label54;
TLabel *labWoSysDate;
TCheckBox *cheWoCancel;
TCheckBox *cheWoCheck;
TCheckBox *cheWoClose;
TLabel *Label19;
TSDComboBox *scWoShop;
void __fastcall FormShow(TObject *Sender);
void __fastcall seWoGoodsButtonClick(TObject *Sender);
void __fastcall sbtWsgmClick(TObject *Sender);
void __fastcall sbtWrgClick(TObject *Sender);
void __fastcall sbtWnClick(TObject *Sender);
void __fastcall sgWoClick(TObject *Sender);
void __fastcall seWoGoodsExit(TObject *Sender);
void __fastcall seWoCodeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall seWoSoCodeButtonClick(TObject *Sender);
void __fastcall seWoRouteButtonClick(TObject *Sender);
void __fastcall scWoTraceClick(TObject *Sender);
private: // User declarations
AnsiString t_WoCode;
AnsiString t_WoGoods;
AnsiString t_WoRoute;
int t_WoCheck;
int t_WoCancel;
int t_WoFrom;
AnsiString __fastcall GetDataToGrid();
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
void __fastcall ClearControl(bool BringToNext);
void __fastcall GetDataFromComObject();
void __fastcall SendDataToComObject();
void __fastcall WaitUserInput();
void __fastcall FillGridWithData();
void __fastcall InitEditControl();
void __fastcall GenrateDoc();
bool __fastcall BeforeCheck();
bool __fastcall BeforeUnCheck();
public: // User declarations
void __fastcall RefreshGridData(int mAction);
__fastcall TfrmWo(TComponent* Owner, HWND chWnd, AnsiString MidCode,AnsiString WhereStr);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmWo *frmWo;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -