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

📄 soh.h

📁 速达开源ERP系统
💻 H
字号:
//---------------------------------------------------------------------------
#ifndef SohH
#define SohH
//---------------------------------------------------------------------------
#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 <Grids.hpp>
#include <ImgList.hpp>
#include <Mask.hpp>
#include <Menus.hpp>
#include <ToolWin.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmSoh;
class  TfrmSoh : public TBillBaseForm
{
__published:	// IDE-managed Components
        TFloatPanel *FloatPanel1;
        TFloatPanel *FloatPanel2;
        TGroupBox *GpDetail1;
        TLabel *Label31;
        TLabel *Label32;
        TLabel *Label33;
        TLabel *Label34;
        TLabel *Label35;
        TLabel *Label37;
        TLabel *Label38;
        TLabel *Label40;
        TSDEdit *seSodLine;
        TSDEdit *seSodQty;
        TSDEdit *seSodConv;
        TSDEdit *seSodGoodsName;
  TSDEdit *seSodPrice;
  TSDEdit *seSodDisc;
        TGroupBox *GpDetailClose;
        TLabel *Label22;
        TCheckBox *cheSodClose;
        TDateEdit *deSodCloseDate;
        TBitBtn *btnOK;
        TBitBtn *btnCancel;
        TGroupBox *GpDetail2;
        TLabel *Label41;
        TLabel *Label45;
        TLabel *Label23;
        TSDEdit *seSodPoCode;
        TDateEdit *deSodRecDate;
  TDateEdit *deSodSendDate;
        TSDGrid *sgSod;
        TLabel *Label28;
        TFloatPanel *FloatPanel3;
        TLabel *Label17;
        TCheckBox *cheSohCheck;
        TCheckBox *cheSohCancel;
        TLabel *Label14;
        TCheckBox *cheSohClose;
        TSDEdit *scSohUser;
        TSDEdit *seSodGoods;
  TLabel *Label1;
  TLabel *Label2;
  TLabel *Label3;
  TLabel *Label4;
  TSDEdit *seSohCode;
  TSDComboBox *scSohType;
  TDateEdit *deSohDate;
  TLabel *Label7;
  TLabel *Label26;
  TSDEdit *seSohEnrate;
  TSDEdit *seSohClient;
  TSDEdit *seSohCurrency;
  TLabel *Label9;
  TLabel *Label24;
  TLabel *Label5;
  TLabel *Label15;
  TLabel *Label11;
  TLabel *Label13;
  TLabel *lbSohSysDate;
  TLabel *Label42;
  TSDComboBox *scSohSettleMode;
  TSDComboBox *scSohPayTrans;
  TSDComboBox *scSohSaler;
  TMemo *memSohDesc;
  TSDEdit *seSohDj;
  TLabel *Label6;
  TSDEdit *seSohContract;
  TLabel *Label43;
  TLabel *Label10;
  TSDComboBox *scSohDeliver;
  TSDComboBox *scSohTransMode;
  TLabel *Label8;
  TSDComboBox *scSohTaxCode;
  TSDEdit *seSohSsite;
  TLabel *Label44;
  TSDComboBox *scSodState;
  TLabel *Label12;
  TMemo *meSodDesc;
  TSDEdit *seSodSptCode;
  TLabel *Label16;
  TLabel *Label18;
  TLabel *Label19;
  TSDEdit *seSodDAmt;
  TSDEdit *seSodAmt;
  TSDEdit *seSodTaxAmt;
  TLabel *Label20;
  TLabel *Label21;
  TLabel *Label25;
  TLabel *Label27;
  TLabel *Label29;
  TSDEdit *seSodSQty;
  TSDEdit *seSodPQty;
  TSDEdit *seSodBQty;
  TSDEdit *seSodFQty;
  TSDEdit *seSodEQty;
  TSDEdit *seSodUnit;
        TSDEdit *seSohChecker;
        void __fastcall FormShow(TObject *Sender);
        void __fastcall sgSodSelectCell(TObject *Sender, int ACol, int ARow,
             bool &CanSelect);
        void __fastcall sgSodDblClick(TObject *Sender);
        void __fastcall btnOKClick(TObject *Sender);
        void __fastcall btnCancelClick(TObject *Sender);
        void __fastcall seSodPriceExit(TObject *Sender);
        void __fastcall seSodQtyExit(TObject *Sender);
        void __fastcall seSodGoodsButtonClick(TObject *Sender);
        void __fastcall seSodGoodsExit(TObject *Sender);
        void __fastcall seSohCodeKeyDown(TObject *Sender, WORD &Key,
          TShiftState Shift);
  void __fastcall seSohClientButtonClick(TObject *Sender);
  void __fastcall seSohCurrencyButtonClick(TObject *Sender);
  void __fastcall seSodDiscExit(TObject *Sender);
  void __fastcall seSohSsiteButtonClick(TObject *Sender);
  void __fastcall seSodSptCodeButtonClick(TObject *Sender);
  void __fastcall seSodQtyButtonClick(TObject *Sender);
  void __fastcall seSodPriceButtonClick(TObject *Sender);
        void __fastcall seSodUnitButtonClick(TObject *Sender);
private:	// User declarations
        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 RefreshUpdateData(int MsgSrc,int MsgType);
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 Browse);
        __fastcall TfrmSoh(TComponent* Owner);

        void __fastcall CalculateAmt();
        void __fastcall SetRelativeState(AnsiString GoodsCode);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmSoh *frmSoh;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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