1 line
12 KiB
Plaintext
1 line
12 KiB
Plaintext
<!DOCTYPE html
|
||
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
<%@ page language="java" pageEncoding="utf-8" %>
|
||
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
|
||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
||
<style type="text/css">
|
||
.select2-container .select2-selection--single {
|
||
height: 34px;
|
||
line-height: 34px;
|
||
}
|
||
|
||
.select2-selection__arrow {
|
||
margin-top: 3px;
|
||
}
|
||
|
||
.foot {
|
||
display: flex;
|
||
padding-left: 50px;
|
||
}
|
||
|
||
/*.layout{*/
|
||
/* display: flex;*/
|
||
/* padding-left: 15px;*/
|
||
/*}*/
|
||
.form-horizontal {
|
||
padding-top: 20px;
|
||
|
||
}
|
||
|
||
.select2-container--default .select2-selection--single {
|
||
border: none;
|
||
}
|
||
|
||
.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
|
||
border: none;
|
||
}
|
||
|
||
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
||
border: none;
|
||
border-style: unset
|
||
}
|
||
|
||
.select2-container--default.select2-container--disabled .select2-selection--single {
|
||
background-color: #FFFFFF;
|
||
}
|
||
|
||
.right {
|
||
margin-left: 50px;
|
||
}
|
||
</style>
|
||
<script type="text/javascript">
|
||
$(function () {
|
||
|
||
typeConditionDropDownList();
|
||
});
|
||
|
||
//下拉范例,不用删掉
|
||
function typeConditionDropDownList() {
|
||
var select_Data = jQuery.parseJSON('${typeConditionDropDownList}');
|
||
console.log(select_Data);
|
||
var select_3 = $("#liquidWasteType").select2({
|
||
data: select_Data,
|
||
cache: false,
|
||
placeholder: '请选择',//默认文字提示
|
||
// allowClear: true,//允许清空
|
||
escapeMarkup: function (markup) {
|
||
return markup;
|
||
}, // 自定义格式化防止xss注入
|
||
language: "zh-CN",
|
||
minimumInputLength: 0,
|
||
minimumResultsForSearch: 10,//数据超过十个启用搜索框
|
||
formatResult: function formatRepo(repo) {
|
||
return repo.text;
|
||
}, // 函数用来渲染结果
|
||
formatSelection: function formatRepoSelection(repo) {
|
||
return repo.text;
|
||
} // 函数用于呈现当前的选择
|
||
});
|
||
$(".select2-selection--single").css({'height': '30px', 'paddingTop': '4px'});
|
||
//单选赋值
|
||
select_3.val('${bean.liquidWasteType}').trigger("change");
|
||
|
||
}
|
||
|
||
|
||
</script>
|
||
<div class="modal fade" id="subModal">
|
||
<div class="modal-dialog " style="width: 65%">
|
||
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||
<span aria-hidden="true">×</span></button>
|
||
<h4 class="modal-title">废液处置详情</h4>
|
||
</div>
|
||
<div class="modal-body">
|
||
<div class="row">
|
||
<div class="col-md-12 col-xs-13">
|
||
<!-- 新增界面formid强制为editForm -->
|
||
<form class="form-horizontal" id="editForm" enctype="multipart/form-data">
|
||
<div id="alertDiv"></div>
|
||
<%-- <input type="hidden" name="id" value="${user.id }" />--%>
|
||
<!-- 界面提醒div强制id为alertdiv -->
|
||
|
||
<input type="hidden" name="id" id="id" class="form-control" value="${bean.id}">
|
||
<div class="form-group">
|
||
<label class="col-sm-2 control-label">* 废液代码及名称:</label>
|
||
<div class="col-sm-4">
|
||
<select name="liquidWasteType" id="liquidWasteType"
|
||
disabled="true" class="form-control"
|
||
value="${bean.liquidWasteType}"></select>
|
||
</div>
|
||
|
||
<label class="col-sm-2 control-label">* 废物来源:</label>
|
||
<div class="col-sm-4">
|
||
<p class="form-control-static">${bean.source}</p>
|
||
<%-- <input type="text" name="source" id="source" class="form-control"--%>
|
||
<%-- value="${bean.source}">--%>
|
||
</div>
|
||
</div>
|
||
<%-- <label class="col-sm-2 control-label">* 入库日期:</label>--%>
|
||
<%-- <div class="col-sm-4"><input type="text" name="inputTime" id="inputTime"--%>
|
||
<%-- class="form-control" value="${bean.inputTime}"></div>--%>
|
||
<div class="form-group">
|
||
<label class="col-sm-2 control-label">* 数量:</label>
|
||
<div class="col-sm-4">
|
||
<p class="form-control-static">${bean.number}</p>
|
||
<%-- <input type="text" name="number" id="number" class="form-control"--%>
|
||
<%-- value="${bean.number}">--%>
|
||
</div>
|
||
<label class="col-sm-2 control-label">* 容器材质:</label>
|
||
<div class="col-sm-4">
|
||
<p class="form-control-static">${bean.containerType}</p>
|
||
<%-- <input type="text" name="containerType" id="containerType"--%>
|
||
<%-- class="form-control" value="${bean.containerType}">--%>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
|
||
<label class="col-sm-2 control-label">* 容量:</label>
|
||
<div class="col-sm-4">
|
||
<p class="form-control-static">${bean.capacity}</p>
|
||
<%-- <input type="text" name="capacity" id="capacity" class="form-control"--%>
|
||
<%-- value="${bean.capacity}">--%>
|
||
</div>
|
||
<label class="col-sm-2 control-label">* 废物存放位置:</label>
|
||
<div class="col-sm-4">
|
||
<p class="form-control-static">${bean.location}</p>
|
||
<%-- <input type="text" name="location" id="location"--%>
|
||
<%-- class="form-control" value="${bean.location}">--%>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
|
||
|
||
<label class="col-sm-2 control-label">* 废物运送经办人名称:</label>
|
||
<div class="col-sm-4">
|
||
<p class="form-control-static">${bean.transportUserName}</p>
|
||
<%-- <input type="text" name="transportUserName" id="transportUserName"--%>
|
||
<%-- class="form-control" value="${bean.transportUserName}"--%>
|
||
<%-- onclick="selectTransportUser()">--%>
|
||
<%-- <input type="text" name="transportUserId" id="transportUserId"--%>
|
||
<%-- class="form-control" value="${bean.transportUserId}">--%>
|
||
</div>
|
||
<label class="col-sm-2 control-label">* 登记人姓名:</label>
|
||
<div class="col-sm-4">
|
||
<p class="form-control-static">${bean.createUserName}</p>
|
||
<%-- <input type="text" name="createUserName" id="createUserName"--%>
|
||
<%-- class="form-control" value="${bean.createUserName}">--%>
|
||
</div>
|
||
<%-- <label class="col-sm-2 control-label">* 登记人id:</label>--%>
|
||
<%-- <div class="col-sm-4">--%>
|
||
<%-- <p class="form-control-static">${bean.createUserId}</p>--%>
|
||
<%-- <%– <input type="text" name="createUserId" id="createUserId"–%>--%>
|
||
<%-- <%– class="form-control" value="${bean.createUserId}">–%>--%>
|
||
<%-- </div>--%>
|
||
</div>
|
||
|
||
|
||
<div class="form-group">
|
||
|
||
|
||
|
||
<label class="col-sm-2 control-label">* 废物贮存经办人名称:</label>
|
||
<div class="col-sm-4">
|
||
<p class="form-control-static">${bean.repositionUserName}</p>
|
||
<%-- <input type="text" name="repositionUserName"--%>
|
||
<%-- id="repositionUserName" class="form-control"--%>
|
||
<%-- value="${bean.repositionUserName}">--%>
|
||
</div>
|
||
<%-- <label class="col-sm-2 control-label">* 废物贮存经办人id:</label>--%>
|
||
<%-- <div class="col-sm-4">--%>
|
||
<%-- <p class="form-control-static">${bean.repositionUserId}</p>--%>
|
||
<%-- <%– <input type="text" name="repositionUserId" id="repositionUserId"–%>--%>
|
||
<%-- <%– class="form-control" value="${bean.repositionUserId}">–%>--%>
|
||
<%-- </div>--%>
|
||
</div>
|
||
<div class="form-group">
|
||
|
||
|
||
</div>
|
||
<%-- <label class="col-sm-2 control-label">* 状态:</label>--%>
|
||
<%-- <div class="col-sm-4"><select name="status" id="status" class="form-control"></select></div>--%>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button type="button" class="btn btn-default " data-dismiss="modal">关闭
|
||
</button>
|
||
<button type="button" class="btn btn-primary " style="margin-left: 10px"
|
||
onclick="updateSaveFun()">保存
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<!-- /.modal-content -->
|
||
</div>
|
||
<!-- /.modal-dialog -->
|
||
</div>
|
||
|
||
|
||
|
||
|