Kirin 3 years ago
parent
commit
de32aeff39
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/admin/view/store/placeorder/index.php

+ 2 - 0
app/admin/view/store/placeorder/index.php

@@ -330,6 +330,8 @@
                         }
                         console.log(pass);
                         if ((item.num * 1) + (pass * type) > 0) {
+                            console.log((item.num * 1))
+                            console.log((pass * type))
                             //修改商品数量
                             that.changeCartShop(item.cartId, (item.num * 1) + pass * type).then(function (data) {
                                 console.log(data.data.status);