From b0eb34fdb01ccff899f30ab67abccadc3b522d88 Mon Sep 17 00:00:00 2001
From: chenl <461625388@qq.com>
Date: Fri, 21 Dec 2018 11:21:35 +0800
Subject: [PATCH] 不可输入默认选项

---
 addons/longbing_card/template/goods/editSpe.html |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/addons/longbing_card/template/goods/editSpe.html b/addons/longbing_card/template/goods/editSpe.html
index dfec827..3e1ca57 100644
--- a/addons/longbing_card/template/goods/editSpe.html
+++ b/addons/longbing_card/template/goods/editSpe.html
@@ -106,6 +106,13 @@
         title: '请输入选项名',
     }, function(value, index, elem){
         layer.close(index);
+        
+        <!-- 2018-12-21 不可输入默认选项 chenlei start -->
+        if ('默认' == value) {
+            layer.msg('不可输入默认!');
+            return false;
+        }
+        <!-- 2018-12-21 不可输入默认选项 chenlei end -->
 
         for (var i = 0; i < json.length; i++)
         {

--
Gitblit v1.8.0