first commit
This commit is contained in:
85
bin/WebRoot/jsp/material/auxiliaryMaterialPicking.jsp
Normal file
85
bin/WebRoot/jsp/material/auxiliaryMaterialPicking.jsp
Normal file
@ -0,0 +1,85 @@
|
||||
<!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/auxiliarymaterialpicking/save.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="pid" name="pid" type="hidden" value="${auxiliaryMaterialPicking.pid}" />
|
||||
<input id="materialcode" name="materialcode" type="hidden" value="${auxiliaryMaterialPicking.materialcode}" />
|
||||
<input id="keyword" name="keyword" type="hidden" value="${auxiliaryMaterialPicking.keyword}" />
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>BOM物料项目</th>
|
||||
<td><input id="bomprojects" name="bomprojects" class="easyui-textbox" value="${auxiliaryMaterialPicking.bomprojects}" readonly/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>数量</th>
|
||||
<td>
|
||||
<input id="num" name="num" class="easyui-textbox"
|
||||
data-options="required:true,validType:'isBlank'" value="${auxiliaryMaterialPicking.num}" />
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<th>单位</th>
|
||||
<td>
|
||||
<input id="unit" name="unit" class="easyui-textbox"
|
||||
data-options="required:true,validType:'isBlank'" value="${auxiliaryMaterialPicking.unit} " readonly/>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<th>领料人</th>
|
||||
<td>
|
||||
<input id="pickingpeople" name="pickingpeople" class="easyui-textbox"
|
||||
data-options="required:true,validType:'isBlank'" value="${auxiliaryMaterialPicking.pickingpeople}" />
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<th>领料日期</th>
|
||||
<td>
|
||||
<input id="pickingdate" name="pickingdate" class="Wdate" value=""
|
||||
onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})" readonly value="${auxiliaryMaterialPicking.pickingdate}" />
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<th>备注</th>
|
||||
<td>
|
||||
<input id="remark" name="remark" class="easyui-textbox"
|
||||
data-options="required:false,validType:'isBlank'" value="${pickingdate.remark}" />
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user