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

📄 prech_n_i.h

📁 速达开源ERP系统
💻 H
字号:
//---------------------------------------------------------------------------

#ifndef Prech_N_IH
#define Prech_N_IH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#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>
#include "GenBaseForm.h"
//---------------------------------------------------------------------------
class PACKAGE TfrmPrech_N_I ;
class TfrmPrech_N_I : public TGenBaseForm
{
__published:	// IDE-managed Components
      TFloatPanel *FloatPanel1;
        TSDGrid *sgPrech_N_I;
    TFloatPanel *FloatPanel2;
    TGroupBox *GroupBox4;
    TLabel *Label20;
    TLabel *Label21;
    TLabel *Label23;
    TLabel *Label18;
    TLabel *Label19;
    TLabel *Label17;
    TLabel *Label22;
    TSDEdit *sePrecdConv;
  TSDEdit *sePrecdQty;
    TSDEdit *sePrecdLine;
    TSDEdit *sePrecdGoodsName;
  TSDEdit *sePrecdDQty;
    TGroupBox *GroupBox6;
    TLabel *Label26;
    TLabel *Label27;
    TSDComboBox *scPrecdBatch;
    TGroupBox *GroupBox5;
    TLabel *Label28;
    TLabel *Label29;
    TLabel *Label30;
    TLabel *Label32;
  TSDEdit *sePrecdVQty;
  TSDEdit *sePrecdEQty;
  TSDEdit *sePrecdBQty;
  TSDEdit *sePrecdIQty;
    TBitBtn *btnOK;
    TBitBtn *btnCancel;
    TFloatPanel *FloatPanel3;
    TLabel *Label36;
    TLabel *Label15;
    TLabel *labUserCode;
    TLabel *labChecker;
    TLabel *Label14;
    TLabel *labSystemDate;
    TLabel *Label34;
    TSDEdit *sePrecdSo;
    TLabel *Label35;
        TCheckBox *cbPrechCheck;
        TCheckBox *cbPrechCancel;
        TCheckBox *cbPrechClose;
        TLabel *Label4;
        TSDEdit *sePrechCode;
        TLabel *Label5;
        TSDComboBox *scPrechFmonth;
        TLabel *Label9;
        TDateEdit *dePrechDate;
        TLabel *Label13;
        TSDComboBox *scPrechPosType;
        TLabel *Label16;
        TDateEdit *dePrechSendDate;
        TLabel *Label2;
        TSDEdit *sePrechTransCode;
        TSDEdit *sePrecdGoods;
        TLabel *Label37;
        TSDEdit *sePrecdPrice;
  TLabel *Label7;
  TSDComboBox *scPrechSupply;
  TLabel *Label8;
  TLabel *Label38;
  TSDEdit *sePrechEnrate;
  TLabel *Label11;
  TLabel *Label3;
  TLabel *Label6;
  TLabel *Label10;
  TLabel *Label12;
  TSDComboBox *scPrechTaxCode;
  TSDComboBox *scPrechTransMode;
  TSDComboBox *scPrechDeliver;
  TSDComboBox *scPrechSettleMode;
  TLabel *Label25;
  TSDEdit *sePrecdAmt;
  TLabel *Label33;
  TLabel *Label39;
  TSDEdit *sePrecdTAmt;
  TSDEdit *sePrecdKAmt;
  TLabel *Label31;
  TLabel *Label40;
  TDateEdit *dePrecdRDate;
  TDateEdit *dePrecdCDate;
  TCheckBox *chkPrecdClose;
  TLabel *Label41;
  TSDComboBox *scPrecdState;
  TLabel *Label42;
  TDateEdit *dePrecdCloseDate;
  TSDEdit *sePrechPsite;
  TSDEdit *sePrecdSodLine;
  TSDEdit *sePrechCurrency;
  TSDEdit *sePrecdLoc;
        TSDEdit *sePrecdUnit;
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormShow(TObject *Sender);
    void __fastcall btnOKClick(TObject *Sender);
    void __fastcall btnCancelClick(TObject *Sender);
    void __fastcall sgPrech_N_ISelectCell(TObject *Sender, int ACol,
      int ARow, bool &CanSelect);
    void __fastcall sgPrech_N_IDblClick(TObject *Sender);
  void __fastcall sePrecdAmtExit(TObject *Sender);
  void __fastcall sePrecdPoExit(TObject *Sender);
  void __fastcall sePrecdLocButtonClick(TObject *Sender);
  void __fastcall sePrecdSoButtonClick(TObject *Sender);
  void __fastcall sePrechCurrencyButtonClick(TObject *Sender);
  void __fastcall sePrechPsiteButtonClick(TObject *Sender);
        void __fastcall sePrecdGoodsButtonClick(TObject *Sender);
        void __fastcall sePrecdGoodsExit(TObject *Sender);
        void __fastcall sePrecdQtyExit(TObject *Sender);
        void __fastcall sePrechCurrencyExit(TObject *Sender);
        void __fastcall sePrecdUnitButtonClick(TObject *Sender);
        void __fastcall scPrechSupplyChange(TObject *Sender);
        void __fastcall sePrechCodeExit(TObject *Sender);
private:	// User declarations
    AnsiString pv_GoodsCode;
    void __fastcall SetHeadValue(int Index ,AnsiString Value);
    AnsiString __fastcall GetDataToGrid();
    void __fastcall RefreshUpdateData(int MsgSrc,int MsgType);
    void __fastcall SetDetail(AnsiString gc);
    void __fastcall GenrateBill(){};
    void __fastcall UnDoChange(){};
public:		// User declarations

    AnsiString FormIniFile;
    AnsiString __fastcall GetDetailValue(int FieldIndex);
    AnsiString __fastcall GetHeadValue(int Index);
    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 SetDetailValue(int Index, AnsiString Value);
    __fastcall TfrmPrech_N_I(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmPrech_N_I *frmPrech_N_I;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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