Files
SIPAIIS_WMS_JSSW/bin/WebRoot/jsp/quality/abnormalQualityEdit.jsp
2026-01-16 14:13:44 +08:00

202 lines
9.7 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" import="java.util.*" 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"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
<title></title>
<jsp:include page="../inc.jsp"></jsp:include>
<script type="text/javascript">
function dosave(dialog,grid) {
if ($(".form").form('validate')) {
$.post(ext.contextPath + "/quality/abnormalQuality/update.do", $(".form").serialize(), function(data) {
if (data.res == 1) {
top.$.messager.alert('提示', "保存成功", 'info', function() {
//刷新列表
grid.datagrid('reload');
dialog.dialog('destroy');
});
}else if(data.res == 0){
top.$.messager.alert('提示', "保存失败", 'info');
}else{
top.$.messager.alert('提示', data.res, 'info');
}
},'json');
}
}
var productLock = function() {
var dialog = parent.ext.modalDialog({
title : '白片和丝印追溯',
width:950,
url : ext.contextPath + '/quality/abnormalQuality/trace.do',
});
};
</script>
</head>
<body>
<form method="post" class="form">
<table class="table">
<input id="id" name="id" type="hidden" value="${ abnormalQuality.id}"/>
<tr>
<th >发出部门</th>
<td ><input id="senddept" name="senddept" class="easyui-textbox" data-options="required:true,validType:'isBlank'" style="overflow:auto;" value="${abnormalQuality.senddept}" /></td>
<th >发件人</th>
<td ><input id="sender" name="sender" class="easyui-textbox"data-options="required:true,validType:'isBlank'" style="overflow:auto;" value="${abnormalQuality.sender}" /></td>
</tr>
<tr>
<th >发件时间</th>
<td ><input id="sendtime" name="sendtime" class="Wdate"
value="${fn:substring(abnormalQuality.sendtime,0,19)}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
readonly/></td>
<th >表单号</th>
<td ><input id="formnumber" name="formnumber" class="easyui-textbox" data-options="required:true" style="overflow:auto;" value="${abnormalQuality.formnumber}" /></td>
</tr>
<tr>
<th >接收部门</th>
<td ><input id="acceptdept" name="acceptdept" class="easyui-textbox" data-options="required:true,validType:'isBlank'" style="overflow:auto;" value="${abnormalQuality.acceptdept}" /></td>
<th >接收人</th>
<td ><input id="recipient" name="recipient" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.recipient}" /></td>
</tr>
<tr>
<th >收件时间</th>
<td ><input id="accepttime" name="accepttime" class="Wdate"
value="${fn:substring(abnormalQuality.accepttime,0,19)}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
readonly/></td>
<th >收件确认</th>
<td ><input id="confirmreceipt" name="confirmreceipt" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.confirmreceipt}" /></td>
</tr>
<tr>
<th >问题发生区域</th>
<td ><input id="problemarea" name="problemarea" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.problemarea}" /></td>
<th >严重程度</th>
<td ><select id="severity" name="severity" class="easyui-combobox" data-options="panelHeight:'auto'">
<option value="一般" <c:if test="${equipmentclass.severity=='一般' }">selected</c:if>>一般</option>
<option value="严重" <c:if test="${equipmentclass.severity=='严重' }">selected</c:if>>严重</option>
<option value="特严重" <c:if test="${equipmentclass.severity=='特严重' }">selected</c:if>>特严重</option>
</select></td>
</tr>
<tr>
<th >问题出现次数</th>
<td ><input id="problemnumber" name="problemnumber" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.problemnumber}" /></td>
</tr>
<tr>
<th >不良现象描述</th>
<td colspan="3"><input id="descriptionbadphenomena" name="descriptionbadphenomena" class="easyui-textbox" data-options="multiline:true" style="overflow:auto;width:100%;height:80px;"
value="${abnormalQuality.descriptionbadphenomena}"
validtype="length[0,250]" invalidMessage="有效长度0-250"/></td>
</tr>
<tr>
<th >确认</th>
<td ><input id="confirmor1" name="confirmor1" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.confirmor1}" /></td>
<th >日期</th>
<td ><input id="date1" name="date1" class="Wdate"
value="${fn:substring(abnormalQuality.date1,0,19)}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
readonly /></td>
</tr>
<tr>
<th >原因分析</th>
<td colspan="3"><input id="causeanalysis" name="causeanalysis" class="easyui-textbox" data-options="multiline:true" style="overflow:auto;width:100%;height:80px;" value="${abnormalQuality.causeanalysis}"
validtype="length[0,250]" invalidMessage="有效长度0-250"/></td>
</tr>
<tr>
<th >定制</th>
<td ><input id="todevelop" name="todevelop" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.todevelop}" /></td>
<td>
<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true"
onclick="productLock();">异常产品锁定</a>
</td>
</tr>
<tr>
<th >确认</th>
<td ><input id="confirmor2" name="confirmor2" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.confirmor2}" /></td>
<th >日期</th>
<td ><input id="date2" name="date2" class="Wdate"
value="${fn:substring(abnormalQuality.date2,0,19)}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
readonly/></td>
</tr>
<tr>
<th >应急解决措施</th>
<td colspan="3"><input id="emergencymeasuresplan" name="emergencymeasuresplan" class="easyui-textbox" data-options="multiline:true" style="overflow:auto;width:100%;height:80px;" value="${abnormalQuality.emergencymeasuresplan}"
validtype="length[0,250]" invalidMessage="有效长度0-250"/></td>
</tr>
<tr>
<th >预计完成时限</th>
<td ><input id="estimatedfinishtime" name="estimatedfinishtime" class="Wdate"
value="${fn:substring(abnormalQuality.estimatedfinishtime,0,19)}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
readonly/></td>
<th >实际完成时间</th>
<td ><input id="actualcompletiontime" name="actualcompletiontime" class="Wdate"
value="${fn:substring(abnormalQuality.actualcompletiontime,0,19)}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
readonly/></td>
</tr>
<tr>
<th >定制</th>
<td ><input id="todevelop1" name="todevelop1" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.todevelop1}" /></td>
<td>
<a href="javascript:void(0);" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true"
onclick="productLock();">异常产品解锁</a>
</td>
</tr>
<tr>
<th >确认</th>
<td ><input id="confirmor3" name="confirmor3" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.confirmor3}" /></td>
<th >日期</th>
<td ><input id="date3" name="date3" class="Wdate"
value="${fn:substring(abnormalQuality.date3,0,19)}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
readonly /></td>
</tr>
<tr>
<th >预防解决措施</th>
<td colspan="3"><input id="preventivemeasures" name="preventivemeasures" class="easyui-textbox" data-options="multiline:true" style="overflow:auto;width:100%;height:80px;" value="${abnormalQuality.preventivemeasures}"
validtype="length[0,250]" invalidMessage="有效长度0-250"/></td>
</tr>
<tr>
<th >预计完成时限</th>
<td ><input id="estimatedfinishtime1" name="estimatedfinishtime1" class="Wdate"
value="${fn:substring(abnormalQuality.estimatedfinishtime1,0,19)}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
readonly/></td>
<th >实际完成时间</th>
<td ><input id="actualcompletiontime1" name="actualcompletiontime1" class="Wdate"
value="${fn:substring(abnormalQuality.actualcompletiontime1,0,19)}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
readonly /></td>
</tr>
<tr>
<th >定制</th>
<td ><input id="todevelop2" name="todevelop2" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.todevelop2}" /></td>
</tr>
<tr>
<th >确认</th>
<td ><input id="confirmor4" name="confirmor4" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.confirmor4}" /></td>
<th >日期</th>
<td ><input id="date4" name="date4" class="Wdate"
value="${fn:substring(abnormalQuality.date4,0,19)}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
readonly /></td>
</tr>
<tr>
<th >效果追踪</th>
<td colspan="3"><input id="effecttracking" name="effecttracking" class="easyui-textbox" data-options="multiline:true" style="overflow:auto;width:100%;height:80px;" value=""
validtype="length[0,250]" invalidMessage="有效长度0-250"/></td>
</tr>
<tr>
<th >确认</th>
<td ><input id="confirmor5" name="confirmor5" class="easyui-textbox" style="overflow:auto;" value="${abnormalQuality.confirmor5}" /></td>
<th >日期</th>
<td ><input id="date5" name="date5" class="Wdate"
value="${fn:substring(abnormalQuality.date5,0,19)}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"
readonly/></td>
</tr>
</table>
</form>
</body>
</html>