LiWeiMin-real
2018-01-31 96b1bc829c78341d61a0fdd4b2fce697877f0933
30号bug修改
1 files modified
16 ■■■■■ changed files
publish/js/customMin/customS_min.js 16 ●●●●● patch | view | raw | blame | history
publish/js/customMin/customS_min.js
@@ -743,12 +743,13 @@
                        }
                    }
                    //  详细页面的回显
                    var showTreeDiv = ` <div style="word-break:break-all;border-width: 0px;border-style: solid;border-color: rgb(204, 204, 204);width:200px;" class="customShowItemClass edui-default customShowItemClassTemp">
                            ${value}
                                </div>`
                    $('#customShow').find(`#${itemId}ActiveId`).children(':nth-child(4)').remove();
                    $('#customShow').find(`#${itemId}ActiveId`).append(showTreeDiv);
                    $('#' + itemId).parents('div[type="tree"]').find('.citySel').val(value);
                    // var showTreeDiv = ` <div style="word-break:break-all;border-width: 0px;border-style: solid;border-color: rgb(204, 204, 204);width:200px;" class="customShowItemClass edui-default customShowItemClassTemp">
                    //         ${value}
                    //             </div>`
                    // $('#customShow').find(`#${itemId}ActiveId`).children(':nth-child(4)').remove();
                    $('#customShow').find(`[treeitemid=${itemId}]`).html(value);//普通模式树形回显  李伟民  0130
                    // $('#customShow').find(`#${itemId}ActiveId`).append(showTreeDiv);
                    $('#' + itemId).parents('div[name="TreeWin"]').find('.citySel').val(value);
                // }
            } else {
                //  子表单里只有一颗树的时候
@@ -6789,7 +6790,8 @@
                customShow.setShowItem(id, type, value, true);
            }
            else if (customItems[item].type == 'tree') {
                var oNode = '<div style="word-break:break-all;border-width: 0px;border-style: solid;border-color: rgb(204, 204, 204);width:200px;" class="customShowItemClass edui-default customShowItemClassTemp">';
                //普通模式树形回显  李伟民  0130
                var oNode = '<div treeitemid=' + id + ' style="word-break:break-all;border-width: 0px;border-style: solid;border-color: rgb(204, 204, 204);width:200px;" class="customShowItemClass edui-default customShowItemClassTemp">';
                // 2017 /11/7  李元杰  树的回显
                //   var   treeShow = $('#customShow').find('div[type=tree]');