Browse Source

bug fixes

plf 3 năm trước cách đây
mục cha
commit
dcb1b9036a

+ 2 - 1
src/main/webapp/WEB-INF/views/modules/order/cmPayShopForm.jsp

@@ -505,7 +505,8 @@
 	$('body').on('input propertychange','.used-amount',function() {
 	$('body').on('input propertychange','.used-amount',function() {
 		var thisEle = $(this),
 		var thisEle = $(this),
 			thisVal = Number(thisEle.val()),
 			thisVal = Number(thisEle.val()),
-			totalAmount = Number($('#totalAmount').text()),
+			//totalAmount = Number($('#totalAmount').text()),
+			totalAmount = ${cmPayShop.totalAmount},
 			rebateAmount = Number($('#rebateAmount-hidden').val()),
 			rebateAmount = Number($('#rebateAmount-hidden').val()),
 			ableRebateAmount = Number($('#ableRebateAmount-hidden').val());
 			ableRebateAmount = Number($('#ableRebateAmount-hidden').val());