IncomeInput2.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. #if !defined(AFX_IncomeInput2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_IncomeInput2_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // IncomeInput2.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // IncomeInput2 form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "TreeComboBox.h"
  14. class IncomeInput2 : public MyFormView // 其它二销录入 视图窗口;
  15. {
  16. BOOL m_bInit;
  17. CArray<CStringArray, CStringArray>m_List1array;
  18. CArray<CStringArray, CStringArray>expendtypearray;
  19. CArray<CStringArray, CStringArray>itemarray;
  20. protected:
  21. IncomeInput2(); // protected constructor used by dynamic creation
  22. DECLARE_DYNCREATE(IncomeInput2)
  23. public:
  24. enum { IDD = IDD_DLGIncomeInput2 };
  25. CButtonST m_btn;
  26. CComboBox m_combo1;
  27. CComboBox m_combobz;
  28. CSpinButtonCtrl m_spinday;
  29. CSpinButtonCtrl m_spinmonth;
  30. CSpinButtonCtrl m_spinyear;
  31. CTreeComboBox m_comboren;
  32. CNumEdit m_editctrl1;
  33. CSortListCtrl3 m_List1;
  34. CStatic m_static1;
  35. CString m_bz;
  36. CString m_date;
  37. CString m_money;
  38. CString m_name;
  39. CString m_renyuan1;
  40. CString m_renyuan2;
  41. UINT m_year;
  42. UINT m_month;
  43. UINT m_day;
  44. CString m_filter;
  45. public:
  46. void ClearCtrl();
  47. void GetData();
  48. void ListSelChange();
  49. void FillGrid();
  50. // 隐藏顾客联系电话;
  51. void HideCustomerPhone();
  52. public:
  53. virtual void OnInitialUpdate();
  54. virtual BOOL PreTranslateMessage(MSG* pMsg);
  55. protected:
  56. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  57. protected:
  58. virtual ~IncomeInput2();
  59. #ifdef _DEBUG
  60. virtual void AssertValid() const;
  61. virtual void Dump(CDumpContext& dc) const;
  62. #endif
  63. afx_msg void OnBUTsave(); // 录入按钮;
  64. afx_msg void OnBUTdel(); // 删除按钮;
  65. afx_msg void OnBUTclose();
  66. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  67. afx_msg void OnSelchangeList1();
  68. afx_msg void OnChangeEDITyear();
  69. afx_msg void OnChangeEDITmonth();
  70. afx_msg void OnChangeEDITday();
  71. afx_msg void OnBUTprint();
  72. afx_msg void OnButton1();
  73. afx_msg void OnBUTsave2(); // 修改按钮;
  74. afx_msg void OnBUTpay(); // 收款按钮;
  75. afx_msg void OnButton2(); // 查询按钮;
  76. afx_msg void OnButton4(); // 条件查询;
  77. afx_msg void OnButton5();
  78. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  79. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  80. DECLARE_MESSAGE_MAP()
  81. };
  82. #endif