telsale-management/代码/cpp/telsale_aux_kit/source/QTelSalePolicyInfoInputWidg...

56 lines
1.2 KiB
C
Raw Permalink Normal View History

#ifndef QTELSALEPOLICYINFOINPUTWIDGET_H
#define QTELSALEPOLICYINFOINPUTWIDGET_H
#include <vector>
2018-06-02 09:47:28 +00:00
#include <QtWidgets/QtWidgets>
#include "DataManipulation.h"
#include "ui_QTelSalePolicyInfoInputWidget.h"
class QTelSalePolicyInfoInputWidget : public QWidget, public Ui::QTelSalePolicyInfoInputWidget
{
Q_OBJECT
public:
QTelSalePolicyInfoInputWidget(QWidget *parent = 0);
~QTelSalePolicyInfoInputWidget();
public Q_SLOTS:
void onSalerCodeChanged();
void onQuerySalerName();
void onAutoTraderCodeChanged();
void onQueryAutoTraderName();
void onSavePolicy();
void onResetGiftsTable();
void onGiftTableItemChanged( int row, int column );
void onReset();
private:
void init();
void initWidget();
void initSignal();
void initData();
void InitGiftTable();
2018-06-15 02:19:41 +00:00
/************************************************
* \brief
* \param giftList
************************************************/
void readGiftTable( vector<TelSalePolicyGift> & giftList );
private:
2018-06-15 02:19:41 +00:00
string salerCode;
string salerName;
string salerDeptCode;
string salerDeptName;
string salerOfficeCode;
string salerOfficeName;
string autoTraderCode;
string autoTraderName;
vector<TelSalePolicyGift> giftsList;
bool m_initing;
};
#endif // QTELSALEPOLICYINFOINPUTWIDGET_H