first commit
This commit is contained in:
113
bin/WebRoot/jsp/sfc/WarehouseTest.jsp
Normal file
113
bin/WebRoot/jsp/sfc/WarehouseTest.jsp
Normal file
@ -0,0 +1,113 @@
|
||||
<!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 RFIDResultsend() {
|
||||
if ($(".form").form('validate')) {
|
||||
$.post(ext.contextPath + "/sfc/warehouse/rfidresultsend.do", $(".form").serialize(), function(data) {
|
||||
if (data!=null) {
|
||||
alert('testResult: '+data);
|
||||
|
||||
}else{
|
||||
top.$.messager.alert('提示', data, 'info');
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
function inRequest() {
|
||||
if ($(".form").form('validate')) {
|
||||
$.post(ext.contextPath + "/sfc/warehouse/inrequest.do", $(".form").serialize(), function(data) {
|
||||
if (data!=null) {
|
||||
alert('testResult: '+data);
|
||||
|
||||
}else{
|
||||
top.$.messager.alert('提示', data, 'info');
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
function outRequest() {
|
||||
if ($(".form").form('validate')) {
|
||||
$.post(ext.contextPath + "/sfc/warehouse/outrequest.do", $(".form").serialize(), function(data) {
|
||||
if (data!=null) {
|
||||
alert('testResult: '+data);
|
||||
|
||||
}else{
|
||||
top.$.messager.alert('提示', data, 'info');
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
function storageRequest() {
|
||||
if ($(".form").form('validate')) {
|
||||
$.post(ext.contextPath + "/sfc/warehouse/storagerequest.do", $(".form").serialize(), function(data) {
|
||||
if (data!=null) {
|
||||
alert('testResult: '+data);
|
||||
|
||||
}else{
|
||||
top.$.messager.alert('提示', data, 'info');
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form method="post" class="form">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th >立库系统webservice接口函数地址</th>
|
||||
<td ><input id="address" name="address" class="easyui-textbox" data-options="required:false,validType:'isBlank'" style="overflow:auto;width:60%" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >AGV系统webservice接口函数命名空间</th>
|
||||
<td ><input id="namespace" name="namespace" class="easyui-textbox" data-options="required:false,validType:'isBlank'" style="overflow:auto;width:60%" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >AGV系统webservice接口方法名</th>
|
||||
<td ><input id="funcname" name="funcname" class="easyui-textbox" data-options="required:false,validType:'isBlank'" style="overflow:auto;" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >入库物料信息</th>
|
||||
<td ><input id="inmaterial" name="inmaterial" class="easyui-textbox" data-options="required:false,validType:'isBlank'" style="overflow:auto;width:60%" value="" />
|
||||
<a href="#" class="easyui-linkbutton" onclick="RFIDResultsend();" >发送RFID物料信息</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >入库物料信息datajson</th>
|
||||
<td ><input id="datajson" name="datajson" class="easyui-textbox" data-options="required:false,validType:'isBlank'" style="overflow:auto;width:60%" value="" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >入库物料信息entryjson</th>
|
||||
<td ><input id="entryjson" name="entryjson" class="easyui-textbox" data-options="required:false,validType:'isBlank'" style="overflow:auto;width:60%" value="" />
|
||||
<a href="#" class="easyui-linkbutton" onclick="inRequest();" >请求入库</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >出库物料信息</th>
|
||||
<td ><input id="outmaterial" name="outmaterial" class="easyui-textbox" data-options="required:false,validType:'isBlank'" style="overflow:auto;width:60%" value="" />
|
||||
<a href="#" class="easyui-linkbutton" onclick="outRequest();" >请求出库</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th >请求查询库存信息-盒子号</th>
|
||||
<td ><input id="boxnumber" name="boxnumber" class="easyui-textbox" data-options="required:false,validType:'isBlank'" style="overflow:auto;" value="" />
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<th >请求查询库存信息-类型</th>
|
||||
<td ><input id="type" name="type" class="easyui-textbox" data-options="required:false,validType:'isBlank'" style="overflow:auto;" value="" />
|
||||
<a href="#" class="easyui-linkbutton" onclick="storageRequest();" >下发询问库位</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user