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

📄 poh.h

📁 速达开源ERP系统
💻 H
字号:
//---------------------------------------------------------------------------
#ifndef PohH
#define PohH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "GenBaseForm.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 "GoodsQuery.h"

//---------------------------------------------------------------------------
class PACKAGE TfrmPoh ;
class TfrmPoh : public TGenBaseForm
{
__published:	// IDE-managed Components
    TFloatPanel *FloatPanel3;
    TLabel *Label36;
    TLabel *Label8;
    TLabel *Label12;
    TLabel *labPohUser;
    TLabel *labPohCanceler;
    TLabel *labPohChecker;
    TFloatPanel *FloatPanel1;
    TLabel *Label17;
    TMemo *memPohDesc;
    TFloatPanel *FloatPanel2;
    TGroupBox *GroupBox7;
    TLabel *Label20;
    TLabel *Label21;
    TLabel *Label22;
    TLabel *Label23;
    TLabel *Label25;
    TLabel *Label26;
    TLabel *Label27;
    TLabel *Label50;
    TSDEdit *sePodConvRate;
    TSDEdit *sePodQty;
    TSDEdit *sePodPrice;
    TSDEdit *sePodLine;
    TSDEdit *sePodGoodsName;
    TGroupBox *GroupBox8;
    TLabel *Label41;
    TLabel *Label40;
    TLabel *Label42;
    TLabel *Label47;
    TLabel *Label48;
    TSDComboBox *scPodStatus;
    TGroupBox *GroupBox10;
    TLabel *Label32;
    TLabel *Label33;
    TLabel *Label35;
    TLabel *Label38;
    TLabel *Label44;
    TLabel *Label45;
    TLabel *Label46;
    TSDComboBox *scPodBatch;
        TDateEdit *dePodSendDate;
        TDateEdit *dePodRecDate;
    TSDEdit *sePodSo;
    TBitBtn *btnOK;
    TBitBtn *btnCancel;
    TLabel *Label28;
    TSDComboBox *scPodType;
  TLabel *labPodDQty;
  TLabel *labPodRQty;
  TLabel *labPodBQty;
  TLabel *labPodFQty;
  TLabel *labPodEQty;
    TSDGrid *sgPoh;
    TSDComboBox *scPodDept;
        TCheckBox *chkPohCheck;
        TCheckBox *chkPohCancel;
        TCheckBox *chkPohStop;
        TCheckBox *chkPohClose;
        TLabel *Label1;
        TSDEdit *sePohCode;
        TLabel *Label9;
        TDateEdit *dePohDate;
        TLabel *Label3;
        TSDComboBox *scPohPmode;
        TLabel *Label6;
        TSDEdit *sePohContract;
        TLabel *Label7;
        TSDComboBox *scPohSupply;
        TLabel *Label13;
        TSDComboBox *scPohSettleMode;
        TLabel *Label43;
        TSDComboBox *scPohDeliver;
        TLabel *Label18;
        TSDComboBox *scPohTransMode;
        TLabel *Label4;
        TLabel *Label10;
        TDateEdit *dePohSugDate;
        TLabel *Label34;
        TLabel *Label11;
        TSDComboBox *scPohTaxCode;
        TLabel *Label2;
        TLabel *Label19;
        TSDEdit *sePohEnrate;
        TLabel *Label15;
        TSDEdit *sePohPrePayAmt;
        TLabel *Label16;
        TSDEdit *sePohPayTerm;
        TLabel *Label5;
        TSDEdit *sePohCarriage;
        TSDEdit *sePodGoods;
  TLabel *Label14;
  TLabel *labPodWQty;
  TLabel *Label51;
  TMemo *memPodDesc;
  TCheckBox *chkPodClose;
  TLabel *Label29;
  TDateEdit *dePodReqDate;
  TLabel *Label30;
  TSDComboBox *scPodFrom;
  TLabel *Label24;
  TSDEdit *sePodAmt;
  TLabel *Label31;
  TLabel *Label37;
  TSDEdit *sePodFromCode;
  TSDEdit *sePodFromLine;
  TSDEdit *sePohPsite;
  TSDEdit *sePohCurrency;
  TSDEdit *sePodUnit;
  TSDEdit *sePodLoc;
  TSDEdit *sePodSodLine;
        TSDComboBox *scPohBuyer;
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall sgPohSelectCell(TObject *Sender, int ACol, int ARow,
        bool &CanSelect);
    void __fastcall sgPohDblClick(TObject *Sender);
    void __fastcall btnOKClick(TObject *Sender);
    void __fastcall btnCancelClick(TObject *Sender);
        void __fastcall sePodGoodsExit(TObject *Sender);
        void __fastcall sePodGoodsButtonClick(TObject *Sender);
        void __fastcall scPodDeptExit(TObject *Sender);
        void __fastcall scPodBatchExit(TObject *Sender);
        void __fastcall scPohTaxCodeExit(TObject *Sender);
  void __fastcall scPohSupplyClick(TObject *Sender);
  void __fastcall sePodQtyExit(TObject *Sender);
  void __fastcall sePodPriceExit(TObject *Sender);
  void __fastcall sePodSoButtonClick(TObject *Sender);
  void __fastcall sePohCurrencyButtonClick(TObject *Sender);
  void __fastcall sePodUnitButtonClick(TObject *Sender);
  void __fastcall sePohPsiteButtonClick(TObject *Sender);
  void __fastcall sePodLocButtonClick(TObject *Sender);
  void __fastcall sePodQtyButtonClick(TObject *Sender);
        void __fastcall sePohCurrencyExit(TObject *Sender);
        void __fastcall scPohSupplyChange(TObject *Sender);
  void __fastcall sePodPriceButtonClick(TObject *Sender);
        void __fastcall sePohCodeExit(TObject *Sender);
private:	// User declarations
    AnsiString pv_GoodsCode;
    AnsiString __fastcall GetDetailValue(int FieldIndex);
    AnsiString __fastcall GetHeadValue(int Index);
    void __fastcall SetHeadValue(int Index ,AnsiString Value);
    void __fastcall SetDetailValue(int Index, AnsiString Value);
    AnsiString __fastcall GetItemStringToGrid();
    void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall SetDetail(AnsiString gc);
    void __fastcall UnDoChange();
public:		// User declarations
    AnsiString FormIniFile;
    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 = false);
    void __fastcall GenrateBill();

    __fastcall TfrmPoh(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPoh *frmPoh;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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