📄 sellquery.cpp
字号:
// SellQuery.cpp: implementation of the SellQuery class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "MyProject.h"
#include "SellQuery.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
SellQuery::SellQuery()
{
}
SellQuery::~SellQuery()
{
}
void SellQuery::Init()
{
this->m_StaTitle.SetWindowText("开票日期");
this->SetWindowText("销售开票查询");
this->m_DataBaseName="SELECT a.销售票号, b.全称 AS 客户名称, a.开票日期, a.合计数量, a.合计金额, d.姓名 AS 经手人,c.用户名 AS 操作员 FROM 销售记录表 a INNER JOIN 往来单位信息表 b ON a.客户编号 = b.编号 INNER JOIN 操作员信息表 c ON a.操作员 = c.操作员编号 INNER JOIN 员工信息表 d ON a.经手人 = d.编号";
this->m_ListDataBaseName="SELECT a.商品条形码 AS 条形码, b.名称 AS 商品名称,b.规格, b.产地, b.计量单位, a.销售数量,b.销售价格 AS 销售单价,a.合计金额 ,a.销售票号 FROM 销售明细表 a INNER JOIN 商品信息表 b ON a.商品条形码 = b.条形码";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -