Commit 6a96f8ff by NitefullWind

1.修复商品券选择页面用户余额显示为0问题。 2.修复最后一行商品券信息展示不全问题。

parent 06b8ad23
...@@ -13,6 +13,7 @@ FMVipCouponList::FMVipCouponList(QDialog *parent) : ...@@ -13,6 +13,7 @@ FMVipCouponList::FMVipCouponList(QDialog *parent) :
QString operator_id = SESSIONDATA_STRING("operator_id"); QString operator_id = SESSIONDATA_STRING("operator_id");
QString business_date = SESSIONDATA_STRING("business_date"); QString business_date = SESSIONDATA_STRING("business_date");
QString fm_id = SESSIONDATA_STRING("fm_open_id"); QString fm_id = SESSIONDATA_STRING("fm_open_id");
double amount = SESSIONDATA_INT("amount")/100.0;
QString score_str = SESSIONDATA_STRING("score"); QString score_str = SESSIONDATA_STRING("score");
QString name = SESSIONDATA_STRING("name"); QString name = SESSIONDATA_STRING("name");
QString birthday = SESSIONDATA_STRING("birthday"); QString birthday = SESSIONDATA_STRING("birthday");
...@@ -22,6 +23,7 @@ FMVipCouponList::FMVipCouponList(QDialog *parent) : ...@@ -22,6 +23,7 @@ FMVipCouponList::FMVipCouponList(QDialog *parent) :
ui->operator_label->setText(operator_id); ui->operator_label->setText(operator_id);
ui->bd_label->setText(business_date); ui->bd_label->setText(business_date);
ui->id_label->setText(fm_id); ui->id_label->setText(fm_id);
ui->balance_label->setText(DOUBLE_STR(amount));
ui->point_label->setText(score_str); ui->point_label->setText(score_str);
ui->name_label->setText(name); ui->name_label->setText(name);
ui->bir_label->setText(birthday); ui->bir_label->setText(birthday);
......
...@@ -134,6 +134,7 @@ ...@@ -134,6 +134,7 @@
max-height: 50px; max-height: 50px;
border: 1 solid silver; border: 1 solid silver;
border-top: 0 solid silver; border-top: 0 solid silver;
border-bottom: 0 solid silver;
background: rgb(223, 224, 223); background: rgb(223, 224, 223);
} }
#ok_btn { #ok_btn {
...@@ -459,7 +460,7 @@ ...@@ -459,7 +460,7 @@
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>550</height> <height>500</height>
</size> </size>
</property> </property>
<property name="frameShape"> <property name="frameShape">
......
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