From c3793ad938cefba5fa76258d70e0cbc37bcf151c Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 22 Nov 2023 16:39:54 +0800
Subject: [PATCH] 匹配
---
src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html b/src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html
index 6d52229..d341c85 100644
--- a/src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html
+++ b/src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html
@@ -86,7 +86,7 @@
<div class="layui-col-lg6">
<label class="layui-form-label febs-form-item-require">抵扣现金(%):</label>
<div class="layui-input-block">
- <input type="text" name="scorePercent" lay-verify="required|integer" placeholder="" autocomplete="off" class="layui-input">
+ <input type="text" name="scorePercent" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
<div class="layui-word-aux">设置50,即商品价格1000,积分可抵扣的最大金额为1000*50%=500,填写整数,如【50】</div>
</div>
</div>
@@ -682,6 +682,8 @@
"presentPrice": goodsInfo.presentPrice,
"costPrice": goodsInfo.costPrice,
"isSku": goodsInfo.isSku,
+ "hasCarriage": goodsInfo.hasCarriage,
+ "carriage": goodsInfo.carriage,
"thumb": goodsInfo.thumb,
"star": goodsInfo.star,
"sortCnt": goodsInfo.sortCnt,
@@ -697,6 +699,10 @@
$(".tc-set").show();
}
+ if (goodsInfo.hasCarriage == 1) {
+ $(".carriage-input").show();
+ }
+
if (goodsInfo.isSku == 1) {
$(".multi-sku-table").show();
--
Gitblit v1.9.1