Commit fe831517 by 李定达

1.打印中不再提示;2.送出时间调整;3.修复无打印机名称无法保存打印配置的bug;4.修改版本号

parent 50e8bc98
...@@ -35,10 +35,10 @@ bool orderprintwork::event(QEvent *e) ...@@ -35,10 +35,10 @@ bool orderprintwork::event(QEvent *e)
map[EVENT_KEY_MSG].toInt() == DEFAULT_LOCATION_PRINT) map[EVENT_KEY_MSG].toInt() == DEFAULT_LOCATION_PRINT)
{ {
QVariantMap smap; // QVariantMap smap;
smap.insert(EVENT_KEY_ORDERSTATUS, 0); // smap.insert(EVENT_KEY_ORDERSTATUS, 0);
smap.insert(EVENT_KEY_MSG, QString::fromLocal8Bit("打印中...")); // smap.insert(EVENT_KEY_MSG, QString::fromLocal8Bit("打印中..."));
POSTEVENTTYPE(PosEvent::s_opt_status,smap,QVariantMap); // POSTEVENTTYPE(PosEvent::s_opt_status,smap,QVariantMap);
OrderObject order; OrderObject order;
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
#include <winver.h> #include <winver.h>
#endif #endif
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,0,0,4 FILEVERSION 3,0,0,6
PRODUCTVERSION 3,0,0,4 PRODUCTVERSION 3,0,0,6
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG FILEFLAGS VS_FF_DEBUG
...@@ -22,12 +22,12 @@ VS_VERSION_INFO VERSIONINFO ...@@ -22,12 +22,12 @@ VS_VERSION_INFO VERSIONINFO
BEGIN BEGIN
VALUE "CompanyName", "ShangHai Freemud Co., Ltd." VALUE "CompanyName", "ShangHai Freemud Co., Ltd."
VALUE "FileDescription", "FREEMUD Manager System" VALUE "FileDescription", "FREEMUD Manager System"
VALUE "FileVersion", "3.0.0.4" VALUE "FileVersion", "3.0.0.6"
VALUE "InternalName", "FREEMUD" VALUE "InternalName", "FREEMUD"
VALUE "LegalCopyright", "Copyright (C)2017-2020" VALUE "LegalCopyright", "Copyright (C)2017-2020"
VALUE "OriginalFilename", "fmTakeout.exe" VALUE "OriginalFilename", "fmTakeout.exe"
VALUE "ProductName", "fmTakeout" VALUE "ProductName", "fmTakeout"
VALUE "ProductVersion", "3.0.0.4" VALUE "ProductVersion", "3.0.0.6"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"
......
...@@ -140,7 +140,10 @@ void DetailForm::InitData(OrderObject *orderObject) ...@@ -140,7 +140,10 @@ void DetailForm::InitData(OrderObject *orderObject)
ui->detailLab3->setText(orderObject->address); ui->detailLab3->setText(orderObject->address);
ui->detailLab4->setText(QString::fromLocal8Bit("[配送方式]%1 [配送费]%2").arg(orderObject->delivery_party, ui->detailLab4->setText(QString::fromLocal8Bit("[配送方式]%1 [配送费]%2").arg(orderObject->delivery_party,
Penny2Dollar(orderObject->send_fee))); Penny2Dollar(orderObject->send_fee)));
ui->detailLab5->setText(orderObject->delivery_time==0? QString::fromLocal8Bit("立即送出") : QDateTime::fromTime_t(orderObject->delivery_time).toString("MM/dd hh:mm")); if(orderObject->order_type == 1 || orderObject->order_type == 2)
ui->detailLab5->setText(orderObject->srcdlv_time==0? QString::fromLocal8Bit("立即送出") : QDateTime::fromTime_t(orderObject->srcdlv_time).toString("MM/dd hh:mm"));
else
ui->detailLab5->setText(orderObject->srcdlv_time==0? QString::fromLocal8Bit("") : QDateTime::fromTime_t(orderObject->srcdlv_time).toString("MM/dd hh:mm"));
// ui->detailLab6->setText(orderObject->courier_name.isEmpty() ? QString::fromLocal8Bit("暂未指定") : QString::fromLocal8Bit("[姓名]%1 [电话]%2") // ui->detailLab6->setText(orderObject->courier_name.isEmpty() ? QString::fromLocal8Bit("暂未指定") : QString::fromLocal8Bit("[姓名]%1 [电话]%2")
// .arg(orderObject->courier_name, orderObject->courier_phone)); // .arg(orderObject->courier_name, orderObject->courier_phone));
if(orderObject->disList.size() > 0) if(orderObject->disList.size() > 0)
......
...@@ -373,9 +373,12 @@ void PrtSettingForm::on_pushButton_save_clicked() ...@@ -373,9 +373,12 @@ void PrtSettingForm::on_pushButton_save_clicked()
QLOG_DEBUG() << "printf file name : " << filename; QLOG_DEBUG() << "printf file name : " << filename;
if(Wigth.isEmpty() || name.isEmpty()) if(Wigth.isEmpty())
return ; return ;
if(name.isEmpty())
name = "test01" ;
QString confilename = qApp->applicationDirPath() + "/" + CONFIG_NAME; QString confilename = qApp->applicationDirPath() + "/" + CONFIG_NAME;
QString tmpconfilename = qApp->applicationDirPath() + "/" + PREINTER_NEED; QString tmpconfilename = qApp->applicationDirPath() + "/" + PREINTER_NEED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment