Commit a498c1bc by 刘帅

修改展示商品金额字段

parent b1026174
......@@ -234,7 +234,7 @@ void DetailForm::partialRefundDetail(QByteArray detail)
{
QVariantMap product = variant.toMap();
QTreeWidgetItem *cItem = new QTreeWidgetItem( QStringList()<< product["name"].toString()
<< Util::Penny2Dollar(product["refund_price"].toInt())
<< Util::Penny2Dollar(product["orginal_price"].toInt())
<< QString::number(product["product_amount"].toInt()) );
cItem->setTextAlignment(0, Qt::AlignCenter);
cItem->setTextAlignment(1, Qt::AlignCenter);
......
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