wumu
2023-09-20 332ab3cdf6fd91e5cee4f0a773ab2b270df2ed66
internal_system_v1/clientmainwindow.cpp
@@ -7,6 +7,7 @@
#include <QSqlRecord>
extern int g_comId;
QString g_auditDate;
ClientMainWindow::ClientMainWindow(QWidget *parent) :
    QMainWindow(parent),
@@ -14,6 +15,8 @@
{
    ui->setupUi(this);
    ui->dateEdit->setDate(QDate::currentDate());
    g_auditDate = QDate::currentDate().toString("yyyy-MM-dd");
    initUi();
}
@@ -104,7 +107,8 @@
        if(comName.isValid()){
            if(!readDataFromSQL(comName.toString())){
                QMessageBox::information(this,"导入中断","请确认公司基本信息已经存在");
                return;
                break;
                //return;
            }
            qDebug()<<comName<<g_comId;
        }
@@ -280,3 +284,9 @@
    return false;
}
void ClientMainWindow::on_dateEdit_dateChanged(const QDate &date)
{
    g_auditDate = date.toString("yyyy-MM-dd");
    qDebug()<<g_auditDate;
}