chenl
2018-12-21 b0eb34fdb01ccff899f30ab67abccadc3b522d88
不可输入默认选项
2 files modified
14 ■■■■■ changed files
addons/longbing_card/template/goods/editSpe.html 7 ●●●●● patch | view | raw | blame | history
addons/longbing_card/template/manage/speEdit.html 7 ●●●●● patch | view | raw | blame | history
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++)
        {
addons/longbing_card/template/manage/speEdit.html
@@ -165,6 +165,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++)
            {