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

70 lines
2.6 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"%>
<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 + "/material/cutterstandard/updateCutter.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');
}
}
</script>
</head>
<body>
<form method="post" class="form">
<input id="id" name="id" type="hidden" value="${cutterStandard.id}"/>
<table class="table">
<tr>
<th>刀号</th>
<td><input id="cutterno" name="cutterno" class="easyui-textbox"
data-options="required:true,validType:'isBlank',prompt:'单击选择'" value="刀具" readonly/>
</td>
</tr>
<tr>
<th>刀补量</th>
<td><input id="stcutteramountvalue" name="stcutteramountvalue" class="easyui-textbox" data-options="required:true,validType:'isBlank'" value="${cutterStandard.stcutteramountvalue}" />
</td>
</tr>
<tr>
<th>首补片数</th>
<td><input id="stfirstpiecenovalue" name="stfirstpiecenovalue" class="easyui-textbox" data-options="required:true,validType:'isBlank'" value="${cutterStandard.stfirstpiecenovalue}" />
</td>
</tr>
<tr>
<th>首补量</th>
<td><input id="stfirstamountvalue" name="stfirstamountvalue" class="easyui-textbox" data-options="required:true,validType:'isBlank'" value="${cutterStandard.stfirstamountvalue}" />
</td>
</tr>
<tr>
<th>自补频率</th>
<td><input id="stautofreqvalue" name="stautofreqvalue" class="easyui-textbox" data-options="required:true,validType:'isBlank'" value="${cutterStandard.stautofreqvalue}" />
</td>
</tr>
<tr>
<th>自补量</th>
<td><input id="stautoamountvalue" name="stautoamountvalue" class="easyui-textbox" data-options="required:true,validType:'isBlank'" value="${cutterStandard.stautoamountvalue}" />
</td>
</tr>
</table>
</form>
</body>
</html>