📄 ulh.h
字号:
//---------------------------------------------------------------------------
#ifndef UlhH
#define UlhH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "GenBaseForm.h"
#include "fpanel.h"
#include "SDGrid.h"
#include <ComCtrls.hpp>
#include <Grids.hpp>
#include <ImgList.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include "DateEdit.hpp"
#include "SDComboBox.h"
#include "SDEdit.h"
#include <Mask.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmUlh ;
class TfrmUlh : public TGenBaseForm
{
__published: // IDE-managed Components
TFloatPanel *FloatPanel3;
TLabel *Label17;
TLabel *labUserCode;
TFloatPanel *FloatPanel1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label4;
TLabel *Label5;
TSDEdit *seUlhCode;
TSDComboBox *scUlhSupply;
TDateEdit *deUlhDate;
TSDGrid *sgUlh;
TFloatPanel *FloatPanel2;
TGroupBox *GroupBox1;
TLabel *Label6;
TLabel *Label7;
TLabel *Label8;
TLabel *Label9;
TLabel *Label10;
TLabel *Label11;
TSDEdit *seUldLine;
TSDEdit *seUldGoodsName;
TGroupBox *GroupBox2;
TLabel *Label14;
TLabel *Label15;
TLabel *Label16;
TLabel *Label19;
TSDEdit *seUldUrQty;
TDateEdit *deUldSendDate;
TSDEdit *seUldDelay;
TBitBtn *btnOK;
TBitBtn *btnCancel;
TSDEdit *seUldPoQty;
TLabel *Label13;
TSDComboBox *scUldStatus;
TLabel *Label18;
TLabel *Label12;
TDateEdit *deUldRecDate;
TLabel *labSystemDate;
TSDEdit *seUldUnit;
TSDEdit *seUldPsite;
TSDEdit *seUldGoods;
TSDEdit *seUldPoCode;
TSDEdit *seUldPodLine;
void __fastcall FormShow(TObject *Sender);
void __fastcall sgUlhDblClick(TObject *Sender);
void __fastcall sgUlhSelectCell(TObject *Sender, int ACol,
int ARow, bool &CanSelect);
void __fastcall btnOKClick(TObject *Sender);
void __fastcall btnCancelClick(TObject *Sender);
void __fastcall seUldPoCodeButtonClick(TObject *Sender);
void __fastcall seUldUrQtyButtonClick(TObject *Sender);
void __fastcall seUlhCodeExit(TObject *Sender);
private: // User declarations
void __fastcall GetGoodsInfoByPod(AnsiString sPodCode,AnsiString sPodLine);
AnsiString __fastcall GetDataToGrid();
void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
void __fastcall UnDoChange();
public: // User declarations
AnsiString FormIniFile;
AnsiString __fastcall GetDetailValue(int FieldIndex);
AnsiString __fastcall GetHeadValue(int Index);
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 Browse=false);
//
void __fastcall GenrateBill();
__fastcall TfrmUlh(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmUlh *frmUlh;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -