Authored by 郭成尧

bundle-plus

... ... @@ -2,7 +2,7 @@
* @Author: Targaryen
* @Date: 2017-04-06 16:51:52
* @Last Modified by: Targaryen
* @Last Modified time: 2017-04-13 20:22:24
* @Last Modified time: 2017-04-14 18:32:07
*/
const $ = require('yoho-jquery');
... ... @@ -45,6 +45,11 @@ let bundle = {
skuIdsArray.push($(this).data('id'));
});
if ($(e.delegateTarget).data('buynum') >= $(e.delegateTarget).data('maxnum')) {
tip.show('库存不足');
return false;
}
self.incrBundle({
activity_id: $(e.delegateTarget).data('activityid'),
batch_no: $(e.delegateTarget).data('poolbatchno'),
... ...