#pragma once #include "afxcmn.h" #include "afxwin.h" #include "ListSortCtrl.h" // CDlgServiceTrackingInfo 对话框 class CDlgServiceTrackingInfo : public CDialog { DECLARE_DYNAMIC(CDlgServiceTrackingInfo) public: CDlgServiceTrackingInfo(CWnd* pParent = NULL); // 标准构造函数 virtual ~CDlgServiceTrackingInfo(); // 对话框数据 enum { IDD = DLG_SERVICE_TRACKING_INFO }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 DECLARE_MESSAGE_MAP() public: virtual BOOL OnInitDialog(); public: BOOL m_bModify; CStringArray *m_pAryString; void GetServiceTrackingRecord(); protected: virtual void OnOK(); public: afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); afx_msg void OnBnClickedAddRecord(); CListSortCtrl m_list; // 项目id;s CString m_strId; // 订单号; CString m_strOrder; // 开单人; CString m_strOrderTaker; // 收款项目; CString m_strReceiptItem; // 应收款; CString m_strReceivables; CComboBox m_cbox_state; CTreeComboBox m_cbox_pickup_man; afx_msg void OnBnClickedFlatReceived(); CTreeComboBox m_cbox_order_taker; afx_msg void OnCbnCloseupOrderTaker(); public:// 返回给父窗口的变量; // 对接人; CString m_strPickupMan; // 对接部门; CString m_strPickupDept; // 服务状态; CString m_strServiceState; // 实收款; CString m_strReceived; };