Commit f449bfeb by shangshang.dai

Add 1:单独针对长泰店来单即打印

parent e9f6f75a
...@@ -269,7 +269,16 @@ bool FlowControl::_PullOrder() ...@@ -269,7 +269,16 @@ bool FlowControl::_PullOrder()
} }
} }
if(orderObject->order_type==3 || orderObject->order_type==4) QString _storeId;
if(m_storeId.startsWith("pos_my_"))
{
_storeId = m_storeId;
}else
{
_storeId = ConfigManger::GetInstance().GetPrefix()+m_storeId;
}
if(orderObject->order_type==3 || orderObject->order_type==4 || (!_storeId.compare("pos_my_780418741636042752") && orderObject->status ==2))
{ {
// 打印 // 打印
QString fileDir = QString("%1/printed").arg(QApplication::applicationDirPath()); QString fileDir = QString("%1/printed").arg(QApplication::applicationDirPath());
......
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