Administrator
2023-04-17 63fbfddabe08e353ad75e495c2ac8dc5203da88c
提交 | 用户 | 时间
58d006 1 <?xml version="1.0" encoding="UTF-8"?>
A 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:c="http://java.sun.com/jsp/jstl/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:f="http://java.sun.com/jsf/core"
7 xmlns:ui="http://java.sun.com/jsf/facelets">
8 <ui:composition template="/template/nit/tmp_brief.xhtml">
9     <ui:define name="acss"> 
10         <link rel="stylesheet" href="#{request.contextPath}/template/assets/css/jstree/themes/default/style.min.css"/>
11         <style>
12             input.error { 
13                 border: 1px solid #D9534F;
14             }
15             .text-error {
16                 line-height: 34px;
17             padding-left: 10px;
18             }
19             .search {
20             height: 30px;
21             position: relative;
22             top: 2px;
23             }
24             .jss{
25                 background-color: #E8E9EB;
26                 height: 30px;
27                 line-height: 30px; 
28                 padding-left: 10px;
29             }
30             #jstree_Enterprise{
31                 border:1px solid #E8E9EB;
32                 background-color: #fff;
33                 min-height: 400px;
34             }
35             .jstree-icon {
36                 color: #D15B47
37             }
38         </style>
39     </ui:define>
40     <ui:define name="acontent">
41         <div class="col-md-4" id="scrd">
42             
43             <div class="jss" style="font-size: 17px; margin-bottom: 10px; height: 30px;">到货字典</div>
44             <div id="jstree_Enterprise"></div>
45         </div>
46         <div class="col-md-8" style="height: 100%;position: fixed;left: 35%;top: 10%;" >
47             <div class="jss" style="font-size: 17px; height: 30px;" >编辑内容</div>
48             <div  style="border:1px #ddd solid" >
49                 <div style="padding:10px;">
50                     <input type="text" class="search" id="search" placeholder="搜索" style="width: 200px;height: 35px;" />
51                     <button class="btn btn-xs btn-info" id="addSibling">
52                         <i class="ace-icon fa fa-plus bigger-120"> 添加同级</i>
53                     </button>
54                     <button class="btn btn-xs btn-info" id="addChild" data-bind="enable: canAddChild">
55                         <i class="ace-icon fa fa-plus bigger-120"> 添加下级</i>
56                     </button>
57                     <button class="btn btn-xs btn-danger" data-bind="enable: canDelete, click: del">
58                         <i class="ace-icon fa fa-trash-o bigger-120"> 删除</i>
59                     </button>
60                 </div>
61             <form class="form-horizontal" role="form" id="form">
62                 <input  id="form-field-1" placeholder="" class="col-xs-10 col-sm-5" name="bianhao" data-bind="value: o().bianhao" type="hidden" />
63                     <input  id="form-field-1" placeholder="" class="col-xs-10 col-sm-5" name="jishu" data-bind="value: o().jishu" type="hidden" />
64                 <div class="form-group">
65                     <label class="col-sm-1 control-label no-padding-right" for="form-field-1">地区编号</label>
66                     <div class="col-sm-9">
67                         <input type="Number" data-placeholder="请添加两位数字……" id="form-field-1" placeholder="" class="col-xs-10 col-sm-5" name="xsbianhao" data-bind="value: o().xsbianhao" style="width:380px;" />
68                         <span class="text-error"></span>
69                     </div>
70                 </div>
71                 <div class="form-group">
72                     <label class="col-sm-1 control-label no-padding-right" for="form-field-1">地区名称</label>
73
74                     <div class="col-sm-9">
75                         <input type="text" id="form-field-1" placeholder="" class="col-xs-10 col-sm-5" name="name" data-bind="value: o().name" style="width:380px;" />
76                         <span class="text-error"></span>
77                     </div>
78                 </div>
79                 <div class="form-group">
80                     <label class="col-sm-1 control-label no-padding-right" for="form-field-1">物流公司</label>
81
82                     <div class="col-sm-6">
83                         <select data-placeholder="选择物流公司……" id="dp" style="height: 34px; width:380px;" multiple="multiple" class="chosen-select form-control tag-input-style"  data-bind="selectedOptions: selectedList, options: allCMlist, optionsText: 'name', optionsValue: 'companyNo' "></select><!-- -->
84                     </div>
85                     <div class="col-sm-3" style="padding-left: 0px;" data-bind="visible:vm.canGLXJ() " >
86                         <label style="display:block;background: red; width: 90px;margin-bottom: 2px;">修改下级地区</label>
87                         <input type="checkbox" style="zoom:240%;margin-top: 0px;" id="GLXJ" ></input>
88                     </div>
89                 </div>
90                 
91                 <div class="form-group">
92                     <div class="col-sm-9 col-sm-offset-1">
93                         <button class="btn btn-sm btn-success" type="button" id="save">
94                             <i class="ace-icon fa fa-floppy-o bigger-120"> 保存</i>
95                         </button>
96                     </div>
97                 </div>
98             </form>
99             </div>
100         </div>
101         <div id="dialog-confirm" class="hide">
102             <div class="alert alert-info bigger-110" id="modalContent">
103             </div>
104         </div>
105     </ui:define>
106     <ui:define name="myscript">
107         <script type="text/javascript" src="#{request.contextPath}/template/nit/cdn/js/jstree.min.js"></script>
108         <script type="text/javascript" src="#{request.contextPath}/template/assets/js/chosen.jquery.js"></script>
109         <script src="js/area.js"></script>
110     </ui:define>
111 </ui:composition>
112 </html>