| | |
| | | } |
| | | } |
| | | // 详细页面的回显 |
| | | 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 { |
| | | // 子表单里只有一颗树的时候 |
| | |
| | | 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]'); |
| | | |