Commit 31985820 by 戴尚尚

Merge branch 'xianfeng' of http://gitlab.freemud.com/shangshang.dai/FmTakeaway into xianfeng

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
parents 287a9c93 53d59e41
...@@ -406,8 +406,8 @@ bool FmPrinter::_fmPrintData(OrderObject* pData) ...@@ -406,8 +406,8 @@ bool FmPrinter::_fmPrintData(OrderObject* pData)
price = QString("%1 x%2 %3").arg(_Penny2Dollar(pData->proList[i]->price)).arg(pData->proList[i]->productAmount) price = QString("%1 x%2 %3").arg(_Penny2Dollar(pData->proList[i]->price)).arg(pData->proList[i]->productAmount)
.arg(_Penny2Dollar(pData->proList[i]->price*pData->proList[i]->productAmount)); .arg(_Penny2Dollar(pData->proList[i]->price*pData->proList[i]->productAmount));
m_pPrintText(name.toLocal8Bit().data(),40); m_pPrintText(name.toLocal8Bit().data(),30);
m_pPrintText(price.toLocal8Bit().data(),40); m_pPrintText(price.toLocal8Bit().data(),30);
} }
m_pPrintHex("\x0A",1); m_pPrintHex("\x0A",1);
m_pPrintText((QString("在线支付:")+_Penny2Dollar(pData->total_fee-pData->discount_fee)).toLocal8Bit().data(),20); m_pPrintText((QString("在线支付:")+_Penny2Dollar(pData->total_fee-pData->discount_fee)).toLocal8Bit().data(),20);
......
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