From e9bcfdba00460e64307f422bd08303a07b90a288 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sat, 28 May 2022 16:18:54 +0800
Subject: [PATCH] Merge branch 'mall-amz' of http://120.27.238.55:7000/r/xc-mall into mall-amz

---
 src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 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 bfd4d27..3410fd4 100644
--- a/src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html
+++ b/src/main/resources/templates/febs/views/modules/goods/goodsUpdateNew.html
@@ -322,6 +322,9 @@
                 value : 'id',
                 children : 'child'
             },
+            iconfont: {
+                parent: 'hidden',
+            },
             radio: true,
             clickClose: true,
             tree: {
@@ -552,7 +555,6 @@
                 "thumbs": thumbs
             });
 
-            console.log(goodsInfo.categoryId);
             var arr = [];
             arr.push(goodsInfo.categoryId)
             category.setValue(arr);
@@ -588,8 +590,11 @@
                 selector: '#toolbar-container',
                 mode: 'default'
             });
-            tableSkuData = skus;
-            reloadTable(skus);
+
+            if (skus) {
+                tableSkuData = skus;
+                reloadTable(skus);
+            }
         }
 
         form.on('submit(goods-update-form-submit)', function (data) {

--
Gitblit v1.9.1