Commit 0206ea0d by shangshang.dai

Fix 1:【销售单】

remark 写 接口发送订单的时间 备注:原先写的平台服务费作废
ocrDate 写 订单创建时间
Fix 2:【费用单】
fileDate 写 订单创建时间
note 写 接口发送订单的时间
parent b53b9e34
...@@ -454,7 +454,7 @@ QByteArray FmPlugin::_GetOrderEntryData(const OrderObject *orderObject, const QS ...@@ -454,7 +454,7 @@ QByteArray FmPlugin::_GetOrderEntryData(const OrderObject *orderObject, const QS
rObj.insert("contactor", orderObject->customer); rObj.insert("contactor", orderObject->customer);
rObj.insert("phoneNumber", orderObject->phone); rObj.insert("phoneNumber", orderObject->phone);
rObj.insert("deliverAddress", orderObject->address); rObj.insert("deliverAddress", orderObject->address);
rObj.insert("remark", serviceFee); rObj.insert("remark", QDateTime::currentDateTime().toString("yyyy-MM-ddThh:mm:ss.zzz+0800"));
rObj.insert("ocrDate", QDateTime::fromTime_t(orderObject->create_time).toString("yyyy-MM-ddThh:mm:ss.zzz+0800")); rObj.insert("ocrDate", QDateTime::fromTime_t(orderObject->create_time).toString("yyyy-MM-ddThh:mm:ss.zzz+0800"));
rObj.insert("membercode", memberCode); rObj.insert("membercode", memberCode);
rObj.insert("filler", "*"); rObj.insert("filler", "*");
...@@ -555,9 +555,9 @@ QByteArray FmPlugin::_GetFeeData(const OrderObject *orderObject, QString uuid) ...@@ -555,9 +555,9 @@ QByteArray FmPlugin::_GetFeeData(const OrderObject *orderObject, QString uuid)
rObj.insert("cls","外卖费用"); rObj.insert("cls","外卖费用");
rObj.insert("busType",orderObject->channelName); rObj.insert("busType",orderObject->channelName);
rObj.insert("platform",orderObject->channelName); rObj.insert("platform",orderObject->channelName);
rObj.insert("filDate",QDateTime::currentDateTime().toString("yyyy-MM-ddThh:mm:ss.zzz+0800")); rObj.insert("filDate",QDateTime::fromTime_t(orderObject->create_time).toString("yyyy-MM-ddThh:mm:ss.zzz+0800"));
rObj.insert("filler","非码外卖"); rObj.insert("filler","非码外卖");
rObj.insert("note",""); rObj.insert("note", QDateTime::currentDateTime().toString("yyyy-MM-ddThh:mm:ss.zzz+0800"));
rObj.insert("total", serviceFee+sendFee); rObj.insert("total", serviceFee+sendFee);
rObj.insert("customFieldS1", m_storeId); rObj.insert("customFieldS1", m_storeId);
rObj.insert("customFieldS2", uuid); rObj.insert("customFieldS2", uuid);
......
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