Commit ae0b84f0 by ss.dai

修改送达时间由字符改为时间戳

parent 427a8e0d
......@@ -263,7 +263,7 @@ bool FlowControl::_ConfirmOrder(const QString &orderId, const DeliverObject &del
QString remark(orderObject->remark), deliveryTime;
remark = remark.isEmpty()? "" : QString("\r\n[备注: %1]").arg(remark);
deliveryTime = QString("\r\n[期望送达时间: %1]").arg(orderObject->delivery_time);
deliveryTime = QString("\r\n[期望送达时间: %1]").arg(QDateTime::fromTime_t(orderObject->delivery_time).toString("MM/dd hh:mm"));
emit showAlert(AlertForm::SUCCESS, QString("接单成功!%1%2").arg(remark).arg(deliveryTime));
// 通知主界面移动订单
......
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