From 84e8be6264c5f8194067680f7361df029e46892a Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Sun, 14 Jun 2026 17:15:38 +0800
Subject: [PATCH] refactor(goods): 移除商品更新页面中的冗余代码
---
src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html | 9 ---------
1 files changed, 0 insertions(+), 9 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 a258d79..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,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;
--
Gitblit v1.9.1