From 3004639ff851e76ecf2cb378a7b21dbe2caa3505 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Sun, 14 Jun 2026 17:01:38 +0800
Subject: [PATCH] refactor(goods): 移除优惠券规则和运费规则的前端处理逻辑

---
 src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html b/src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html
index 9183f84..3ed03ba 100644
--- a/src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html
+++ b/src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html
@@ -789,18 +789,8 @@
 
         form.on('submit(goods-add-form-submit)', function (data) {
             data.field.goodsType = 1;
-            let couponRuleList = couponRule.getValue ? couponRule.getValue() : [];
-            if (couponRuleList && 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');
-            var carriageRuleId = carriageRule.getValue ? carriageRule.getValue('valueStr') : '';
-            data.field.carriageRuleId = carriageRuleId;
             // let content = layedit.getContent();
             // alert(content);
             // data.field.goodsDetails = content;

--
Gitblit v1.9.1