hjg
2023-11-18 bb48edb3d9faaaeab0088151c86fc24137acdb08
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition template="/template/nit/tmp_brief.xhtml">
    <ui:define name="acss">
        <link rel="stylesheet" href="#{request.contextPath}/template/assets/css/jstree/themes/default/style.min.css"/>
        <style>
            input.error {
                border: 1px solid #D9534F;
            }
            .text-error {
                line-height: 34px;
            padding-left: 10px;
            }
            .search {
            height: 30px;
            position: relative;
            top: 2px;
            }
            .jss{
                background-color: #E8E9EB;
                height: 30px;
                line-height: 30px;
                padding-left: 10px;
            }
            #jstree_Enterprise{
                border:1px solid #E8E9EB;
                background-color: #fff;
                min-height: 400px;
            }
            .jstree-icon {
                color: #D15B47
            }
        </style>
    </ui:define>
    <ui:define name="acontent">
        <div class="col-md-4" id="scrd">
 
            <div class="jss" style="font-size: 17px; margin-bottom: 10px; height: 30px;">到货字典</div>
            <div id="jstree_Enterprise"></div>
            <div id="pagdiv" ></div>
        </div>
        <div class="col-md-8" style="height: 100%;position: fixed;left: 35%;top: 10%;" >
 
            <div class="jss" style="font-size: 17px; height: 30px;" >编辑内容</div>
            <div  style="border:1px #ddd solid" >
                <div style="padding:10px;">
                    <input type="text" class="search" id="search" placeholder="点击Enter键进行检索.." style="width: 200px;height: 35px;" />
                </div>
            <form class="form-horizontal" role="form" id="form">
                <input  id="form-field-1" placeholder="" class="col-xs-10 col-sm-5" name="bianhao" data-bind="value: o().bianhao" type="hidden" />
                    <input  id="form-field-1" placeholder="" class="col-xs-10 col-sm-5" name="jishu" data-bind="value: o().jishu" type="hidden" />
                <div class="form-group">
                    <label class="col-sm-1 control-label no-padding-right" for="form-field-1">地区编号</label>
                    <div class="col-sm-9">
                        <input type="text" id="form-field-1" placeholder="" class="col-xs-10 col-sm-5" name="code" data-bind="value: o().code" style="width:380px;"  readonly="readonly" />
                        <span class="text-error"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label no-padding-right" for="form-field-1">地区名称</label>
 
                    <div class="col-sm-9">
                        <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;" readonly="readonly" />
                        <span class="text-error"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label no-padding-right" for="form-field-1">业务厂区</label>
 
                    <div class="col-sm-9">
                        <!-- <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;" readonly="readonly" /> -->
                        <select data-bind="value: ywdyNoVal,event: {change: ywdychange}">
                            <option value="103">科技厂区</option>
                            <option value="102">郑州厂区</option>
                            <option value="111">明晟厂区</option>
                            <option value="114">义瑞厂区</option>
                        </select>
                        <span class="text-error"></span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label no-padding-right" for="form-field-1">物流公司</label>
 
                    <div class="col-sm-6">
                        <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><!-- -->
                    </div>
                    <div class="col-sm-3" style="padding-left: 0px;" data-bind="visible: canGLXJ" >
                        <label style="display:block;background: red; width: 90px;margin-bottom: 2px;">修改下级地区</label>
                        <input type="checkbox" style="zoom:240%;margin-top: 0px;" id="GLXJ" ></input>
                    </div>
                </div>
 
                <div class="form-group">
                    <div class="col-sm-9 col-sm-offset-1">
                        <button class="btn btn-sm btn-success" type="button" id="save">
                            <i class="ace-icon fa fa-floppy-o bigger-120"> 保存</i>
                        </button>
                    </div>
                </div>
            </form>
            </div>
        </div>
        <div id="dialog-confirm" class="hide">
            <div class="alert alert-info bigger-110" id="modalContent">
            </div>
        </div>
    </ui:define>
    <ui:define name="myscript">
        <script type="text/javascript" src="#{request.contextPath}/template/nit/cdn/js/jstree.min.js"></script>
        <script type="text/javascript" src="#{request.contextPath}/template/assets/js/chosen.jquery.js"></script>
        <script src="js/area.js?v=#{sessionScope.login_page_vesion}"></script>
    </ui:define>
</ui:composition>
</html>