|
@@ -112,6 +112,15 @@
|
|
|
else num = Math.max(0,++num);
|
|
|
text.value = num;
|
|
|
}
|
|
|
+ });
|
|
|
+ $("body>div#Store>div.lable>input").change(function()
|
|
|
+ {
|
|
|
+ let items = $(this).parent().parent().children("div.goods").children("input");
|
|
|
+ // console.dir(items);
|
|
|
+ for(let i = 0; i < items.length; ++i)
|
|
|
+ {
|
|
|
+ items[i].checked = this.checked;
|
|
|
+ }
|
|
|
})
|
|
|
</script>
|
|
|
</body>
|