From dafedc4516f8fcec837e1a2b93c9b70bc7ff169a Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 30 Nov 2021 18:04:19 +0800
Subject: [PATCH] fix

---
 zq-erp/src/main/resources/templates/views/admin/shop/shopProduct-form.html |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/shop/shopProduct-form.html b/zq-erp/src/main/resources/templates/views/admin/shop/shopProduct-form.html
index ff5c0b5..96cde1a 100644
--- a/zq-erp/src/main/resources/templates/views/admin/shop/shopProduct-form.html
+++ b/zq-erp/src/main/resources/templates/views/admin/shop/shopProduct-form.html
@@ -827,15 +827,9 @@
 
                 //兑换所需金额
                 var scorePrice = tds.eq(length - 2).find("input").val();
-                if(scorePrice == ""){
-                    scorePrice = 0;
-                }
                 sku.scorePrice = scorePrice;
                 //兑换所需积分
                 var scoreCount = tds.eq(length - 1).find("input").val();
-                if(scoreCount == ""){
-                    scoreCount = 0;
-                }
                 sku.scoreCount = scoreCount;
 
                 skus.push(sku);

--
Gitblit v1.9.1