Browse Source

配套商品增加不能勾选商品吐司提示

zhengjinyi 3 năm trước cách đây
mục cha
commit
8e4966c35e

+ 2 - 1
src/main/resources/static/js/product/product-supporting.js

@@ -133,7 +133,8 @@ var supporting = new Vue({
             var _self = this;
             var goodsCheckedLength = 0;
             if(_self.disabledChecked(pros)){
-                return
+                CAIMEI.dialog('该商品暂不能购买',false);
+                return;
             }
             pros.isChecked = !pros.isChecked
             _self.supportingList.forEach(el => {