From 562ac2c071de933e04aec1fb32ee98c7a85d448d Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 11 May 2022 12:15:46 +0800
Subject: [PATCH] add profit
---
src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html | 9 +++++++--
1 files changed, 7 insertions(+), 2 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 61e0930..ab1e3a2 100644
--- a/src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html
+++ b/src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html
@@ -75,7 +75,7 @@
<div class="layui-form-item">
<label class="layui-form-label febs-form-item-require">商品类型</label>
<div class="layui-input-block">
- <select name="goodsType" class="goods-type" lay-filter="goods-type-select">
+ <select name="isNormal" class="goods-type" lay-filter="goods-type-select">
<option value="1">普通商品区</option>
<option value="2">套餐区</option>
</select>
@@ -306,6 +306,8 @@
for (let i = 0; i < hasData.length; i++) {
hasData[i].index = i + 1;
}
+
+ tableSkuData=hasData;
reloadTable(hasData);
}
});
@@ -364,7 +366,7 @@
var data = {};
data.styleName = attrNameVal;
- var index = addTableDate(data);
+ addTableDate(data);
});
function bindUpload(index) {
@@ -384,6 +386,8 @@
tableSkuData[i].skuImage = res.data.src;
}
}
+
+ reloadTable(tableSkuData);
}
});
}
@@ -468,6 +472,7 @@
});
form.on('submit(goods-add-form-submit)', function (data) {
+ console.log(tableSkuData);
data.field.addMallGoodsSkuDtos = tableSkuData;
$.ajax({
'url':ctx + 'admin/goods/addMallGoods',
--
Gitblit v1.9.1