Browse Source

修改字段显示

dq 6 years ago
parent
commit
008b158131

+ 2 - 0
kmall-admin/src/main/webapp/js/shop/goods.js

@@ -446,6 +446,8 @@ var vm = new Vue({
             var goodsBizType = opt.value;
             if (vm.goods.goodsBizType == '10' || vm.goods.goodsBizType == '02') {
                 vm.showInput = false;
+            } else {
+                vm.showInput = true;
             }
         },
         handleView(name) {

+ 2 - 0
kmall-admin/src/main/webapp/js/shop/storeProductStock.js

@@ -127,6 +127,8 @@ var vm = new Vue({
                 $.get("../goods/info/" + goodsId, function (r) {
                     if (r.goods.goodsBizType == 11) {
                         vm.showInput = true;
+                    } else {
+                        vm.showInput = false;
                     }
                 });
             }