📄 ecoh.h
字号:
//---------------------------------------------------------------------------
#ifndef EcohH
#define EcohH
//---------------------------------------------------------------------------
#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 TfrmEcoh;
//---------------------------------------------------------------------------
class TfrmEcoh : public TBillBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TLabel *Label8;
TSDEdit *seEcohCode;
TSDEdit *seEcohVer;
TSDEdit *seEcohFileNo;
TMemo *memEcohDesc;
TFloatPanel *FloatPanel2;
TGroupBox *GroupBox1;
TGroupBox *GroupBox2;
TLabel *Label20;
TLabel *Label17;
TLabel *Label16;
TLabel *Label15;
TSDEdit *seEcodShl;
TSDEdit *seEcodQty;
TSDEdit *seEcodLine;
TGroupBox *GroupBox3;
TLabel *Label21;
TLabel *Label33;
TLabel *Label25;
TMemo *memEcodDesc;
TSDEdit *seEcodLot;
TSDComboBox *scEcodProcess;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TLabel *Label14;
TDateEdit *deEcohDate;
TLabel *Label11;
TLabel *Label13;
TSDEdit *seEcodBgoodsName;
TLabel *Label19;
TSDComboBox *scEcodCfg;
TSDGrid *sgEcoh;
TSDComboBox *scEcohGoods;
TLabel *Label27;
TLabel *Label26;
TDateEdit *deEcohEdate;
TDateEdit *deEcohIdate;
TLabel *Label6;
TSDEdit *seEcohGoodsName;
TSDComboBox *scEcodBgoods;
TLabel *Label28;
TLabel *Label29;
TSDComboBox *scEcodPp;
TSDComboBox *scEcodOp;
TSDEdit *seEcodAgoods;
TFloatPanel *FloatPanel3;
TLabel *Label36;
TLabel *Label7;
TLabel *labEcohUser;
TLabel *labEcohChecker;
TCheckBox *cheEcohCheck;
TMemo *memEcodReason;
TLabel *Label9;
TPanel *Panel1;
TLabel *Label5;
TSDEdit *seEcodAgoodsName;
TSDEdit *seEcodModel;
TLabel *Label22;
TLabel *Label18;
TSDComboBox *scEcodType;
TSDComboBox *scEcodFrom;
TLabel *Label24;
TLabel *Label23;
TSDComboBox *scEcodUnit;
TLabel *Label10;
TLabel *labCheckDate;
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall FormShow(TObject *Sender);
void __fastcall sgEcohSelectCell(TObject *Sender, int ACol, int ARow,
bool &CanSelect);
void __fastcall sgEcohDblClick(TObject *Sender);
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall scEcodBgoodsClick(TObject *Sender);
void __fastcall seEcodAgoodsButtonClick(TObject *Sender);
void __fastcall scEcohGoodsClick(TObject *Sender);
void __fastcall seEcodAgoodsExit(TObject *Sender);
void __fastcall seEcohCodeKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
private: // User declarations
AnsiString __fastcall GetHeadValue(int Index);
AnsiString __fastcall GetDetailValue(int FieldIndex);
AnsiString __fastcall GetItemStringToGrid();
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);
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
void __fastcall SetHeadValue(int Index ,AnsiString Value);
void __fastcall SetDetailValue(int Index, AnsiString Value);
public: // User declarations
AnsiString FormIniFile;
__fastcall TfrmEcoh(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmEcoh *frmEcoh;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -