fix minus addorder.js and void and other origami

This commit is contained in:
Yan
2017-11-26 22:23:37 +06:30
parent 6eb3d9399e
commit 87a27250b7
7 changed files with 111 additions and 99 deletions

View File

@@ -855,12 +855,12 @@ $(function() {
$('#'+minus).on("click", function(){
var count = parseInt($('#'+id).val());
var countEl = document.getElementById(id);
// var count = parseInt($('#'+id).val());
// var countEl = document.getElementById(id);
if (count > 1) {
count--;
countEl.value = count;
$('#'+id).val(count);
if (id=="count") {
price = $("#unit_price").text();