📄 pieceh.h
字号:
//---------------------------------------------------------------------------
#ifndef PiecehH
#define PiecehH
//---------------------------------------------------------------------------
#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 "SDGrid.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
class PACKAGE TfrmPieceh;
//---------------------------------------------------------------------------
class TfrmPieceh : public TBillBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label28;
TLabel *Label6;
TLabel *Label4;
TLabel *Label7;
TSDEdit *sePiecehCode;
TMemo *memPiecehDesc;
TSDComboBox *scPiecehShop;
TDateEdit *dePiecehDate;
TSDComboBox *scPiecehFmon;
TSDComboBox *scPiecehState;
TFloatPanel *FloatPanel2;
TLabel *Label15;
TLabel *Label18;
TLabel *Label9;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TMemo *memPiecedDesc;
TSDEdit *sePiecedLine;
TPanel *Panel1;
TLabel *Label11;
TLabel *Label14;
TLabel *Label26;
TSDEdit *seEmployeeName;
TSDEdit *seEmployeeTow;
TFloatPanel *FloatPanel3;
TLabel *labUserCode;
TLabel *Label36;
TLabel *labChecker;
TLabel *Label16;
TLabel *labCheckDate;
TLabel *Label5;
TCheckBox *chePiecehCheck;
TSDGrid *sgPieceh;
TPanel *Panel2;
TLabel *Label31;
TSDEdit *sePiecedQty6;
TLabel *Label32;
TSDEdit *sePiecedPrice6;
TSDEdit *sePiecedPrice7;
TLabel *Label33;
TSDEdit *sePiecedPrice8;
TLabel *Label34;
TSDEdit *sePiecedPrice9;
TLabel *Label35;
TSDEdit *sePiecedPrice10;
TLabel *Label37;
TSDEdit *sePiecedQty7;
TSDEdit *sePiecedQty8;
TSDEdit *sePiecedQty9;
TSDEdit *sePiecedQty10;
TLabel *Label38;
TLabel *Label39;
TLabel *Label40;
TLabel *Label41;
TPanel *Panel3;
TLabel *Label20;
TLabel *Label8;
TLabel *Label21;
TSDEdit *sePiecedQty;
TSDEdit *sePiecedQty1;
TLabel *Label10;
TLabel *Label17;
TSDEdit *sePiecedQty2;
TSDEdit *sePiecedQty3;
TLabel *Label22;
TLabel *Label24;
TSDEdit *sePiecedQty4;
TSDEdit *sePiecedQty5;
TLabel *Label29;
TSDEdit *sePiecedPrice2;
TLabel *Label30;
TLabel *Label27;
TLabel *Label23;
TLabel *Label19;
TLabel *Label13;
TLabel *Label25;
TSDEdit *sePiecedPrice;
TSDEdit *sePiecedPrice1;
TSDEdit *sePiecedPrice3;
TSDEdit *sePiecedPrice4;
TSDEdit *sePiecedPrice5;
TSDEdit *sePiecehTeam;
TSDEdit *sePiecedEmployee;
TSDEdit *sePiecedWo;
TSDEdit *sePiecedProcess;
TSDEdit *seEmployeeSex;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormShow(TObject *Sender);
void __fastcall sgPiecehSelectCell(TObject *Sender, int ACol, int ARow,
bool &CanSelect);
void __fastcall sgPiecehDblClick(TObject *Sender);
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall sePiecehCodeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall sePiecehTeamButtonClick(TObject *Sender);
void __fastcall sePiecedEmployeeButtonClick(TObject *Sender);
void __fastcall sePiecedWoButtonClick(TObject *Sender);
void __fastcall sePiecedProcessButtonClick(TObject *Sender);
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=true);
public: // User declarations
__fastcall TfrmPieceh(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPieceh *frmPieceh;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -