dever 3 years ago
parent
commit
5d5f3e0dc5

+ 1 - 1
app/factory/assets/pc/html/cashier.html

@@ -343,7 +343,7 @@
 			cash += goods[i].price * goods[i].num;
 		}
 		$(".totalQuantity").html(num);
-		$(".totalMoney").html(cash); 
+		$(".totalMoney").html(cash.toFixed(2)); 
 	}
 
 	function setFactory()

+ 1 - 1
app/factory/assets/pc/html/setGoods.html

@@ -264,7 +264,7 @@
             cash += goods[i].p_price * goods[i].num;
         }
         $(".totalQuantity").html(num);
-        $(".totalMoney").html(cash); 
+        $(".totalMoney").html(cash.toFixed(2)); 
     }
 
     function setFactory()