Browse Source

赠品数量显示

qihanjiao 7 years ago
parent
commit
10e8fa6e36
1 changed files with 2 additions and 2 deletions
  1. 2 2
      aiberle/order-details.html

+ 2 - 2
aiberle/order-details.html

@@ -149,9 +149,9 @@
 									mui(this.salesUserGiftList).each(function(index) {
 	                                    var txt_gift = this;
 	                                    if (index == 0) {
-	                                        a += '<h6>赠品:' + txt_gift.giftName + '&nbsp;&nbsp;&nbsp;&nbsp;数量:' + txt_gift.userGiftCount + '</h6>';
+	                                        a += '<h6>赠品:' + txt_gift.giftName + '&nbsp;&nbsp;&nbsp;&nbsp;数量:' + txt_gift.userGiftCount*num + '</h6>';
 	                                    } else {
-	                                        a += '<h6>&nbsp;&nbsp;&nbsp;&nbsp;' + txt_gift.giftName + '&nbsp;&nbsp;&nbsp;&nbsp;数量:' + txt_gift.userGiftCount + '</h6>';
+	                                        a += '<h6>&nbsp;&nbsp;&nbsp;&nbsp;' + txt_gift.giftName + '&nbsp;&nbsp;&nbsp;&nbsp;数量:' + txt_gift.userGiftCount*num + '</h6>';
 	                                    }
 	                                });
 	                                str += a