zhangyang 3 年之前
父節點
當前提交
e50af8b187
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      zhipuzi_pos_windows/print/CPosPrinterData.cpp

+ 2 - 2
zhipuzi_pos_windows/print/CPosPrinterData.cpp

@@ -38,7 +38,7 @@ std::string CPosPrinterData::PrintWaimaiOrderShouyin(CWaimaiOrder& order)
 		}
 
 		//打印店铺名字
-        string shop_name = "#" + order.m_restaurant_number + "  " + CLewaimaiString::UTF8ToANSI(order.m_shop_name);
+        string shop_name = CLewaimaiString::UTF8ToANSI(order.m_shop_name);
         POS_TextOut(shop_name, true, true, 1);
 
         POS_FeedLine();
@@ -127,7 +127,7 @@ std::string CPosPrinterData::PrintWaimaiOrderShouyin(CWaimaiOrder& order)
 		*/
 
         //订单来源
-        string from_type = "订单来源:" + CLewaimaiString::UTF8ToANSI(order.m_from_type);
+        string from_type = "订单来源:#"  + order.m_restaurant_number + " " + CLewaimaiString::UTF8ToANSI(order.m_from_type);
         POS_TextOut(from_type);
         POS_FeedLine();