Administrator
2026-06-14 84e8be6264c5f8194067680f7361df029e46892a
src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html
@@ -789,17 +789,8 @@
        form.on('submit(goods-add-form-submit)', function (data) {
            data.field.goodsType = 1;
            let couponRuleList = couponRule.getValue();
            if (couponRuleList.length > 0) {
                var couponIds = [];
                layui.each(couponRuleList, function (key, item) {
                    couponIds.push(item.id)
                });
                data.field.couponIds=couponIds;
            }
            data.field.addMallGoodsSkuDtos = tableSkuData;
            data.field.categoryId = category.getValue('valueStr');
            data.field.carriageRuleId = carriageRule.getValue('valueStr');
            // let content = layedit.getContent();
            // alert(content);
            // data.field.goodsDetails = content;