删除效期预警不用JSP

master
e 2018-10-23 22:08:58 +08:00
parent aa20a99ad5
commit 7edc0e9228
4 changed files with 0 additions and 608 deletions

View File

@ -1,290 +0,0 @@
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>效期预警</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="online/template/ledefault/css/vendor.css">
<link rel="stylesheet" href="online/template/ledefault/css/bootstrap-theme.css">
<link rel="stylesheet" href="online/template/ledefault/css/bootstrap.css">
<link rel="stylesheet" href="online/template/ledefault/css/app.css">
<link rel="stylesheet" href="plug-in/Validform/css/metrole/style.css" type="text/css"/>
<link rel="stylesheet" href="plug-in/Validform/css/metrole/tablefrom.css" type="text/css"/>
<script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.js"></script>
<script type="text/javascript" src="plug-in/tools/dataformat.js"></script>
<script type="text/javascript" src="plug-in/easyui/jquery.easyui.min.1.3.2.js"></script>
<script type="text/javascript" src="plug-in/easyui/locale/zh-cn.js"></script>
<script type="text/javascript" src="plug-in/tools/syUtil.js"></script>
<script type="text/javascript" src="plug-in/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="plug-in/lhgDialog/lhgdialog.min.js"></script>
<script type="text/javascript" src="plug-in/tools/curdtools_zh-cn.js"></script>
<script type="text/javascript" src="plug-in/tools/easyuiextend.js"></script>
<script type="text/javascript" src="plug-in/Validform/js/Validform_v5.3.1_min_zh-cn.js"></script>
<script type="text/javascript" src="plug-in/Validform/js/Validform_Datatype_zh-cn.js"></script>
<script type="text/javascript" src="plug-in/Validform/js/datatype_zh-cn.js"></script>
<script type="text/javascript" src="plug-in/Validform/plugin/passwordStrength/passwordStrength-min.js"></script>
<script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
//编写自定义JS代码
</script>
</head>
<body>
<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="mvStockYjController.do?doAdd" tiptype="1" >
<input type="hidden" id="btn_sub" class="btn_sub"/>
<input type="hidden" id="id" name="id"/>
<div class="tab-wrapper">
<!-- tab -->
<ul class="nav nav-tabs">
<li role="presentation" class="active"><a href="javascript:void(0);">效期预警</a></li>
</ul>
<!-- tab内容 -->
<div class="con-wrapper" id="con-wrapper1" style="display: block;">
<div class="row form-wrapper">
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>库存类型:</b>
</div>
<div class="col-xs-3">
<input id="kuctype" name="kuctype" type="text" class="form-control"
ignore="checked"
datatype="*" />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">库存类型</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>基本数量:</b>
</div>
<div class="col-xs-3">
<input id="baseGoodscount" name="baseGoodscount" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">基本数量</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>基本单位:</b>
</div>
<div class="col-xs-3">
<input id="baseUnit" name="baseUnit" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">基本单位</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>储位:</b>
</div>
<div class="col-xs-3">
<input id="kuWeiBianMa" name="kuWeiBianMa" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">储位</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>托盘:</b>
</div>
<div class="col-xs-3">
<input id="binId" name="binId" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">托盘</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>客户编码:</b>
</div>
<div class="col-xs-3">
<input id="cusCode" name="cusCode" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">客户编码</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>客户名称:</b>
</div>
<div class="col-xs-3">
<input id="zhongWenQch" name="zhongWenQch" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">客户名称</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>商品编码:</b>
</div>
<div class="col-xs-3">
<input id="goodsId" name="goodsId" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">商品编码</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>商品名称:</b>
</div>
<div class="col-xs-3">
<input id="shpMingCheng" name="shpMingCheng" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">商品名称</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>生产日期:</b>
</div>
<div class="col-xs-3">
<input id="goodsProData" name="goodsProData" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">生产日期</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>保质期:</b>
</div>
<div class="col-xs-3">
<input id="bzhiQi" name="bzhiQi" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">保质期</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>到期日:</b>
</div>
<div class="col-xs-3">
<input id="dqr" name="dqr" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">到期日</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>取货次序:</b>
</div>
<div class="col-xs-3">
<input id="quHuoCiXu" name="quHuoCiXu" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">取货次序</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>上架次序:</b>
</div>
<div class="col-xs-3">
<input id="shangJiaCiXu" name="shangJiaCiXu" type="text" class="form-control"
ignore="ignore"
/>
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">上架次序</label>
</div>
</div>
<div class="row" id = "sub_tr" style="display: none;">
<div class="col-xs-12 layout-header">
<div class="col-xs-6"></div>
<div class="col-xs-6"><button type="button" onclick="neibuClick();" class="btn btn-default">提交</button></div>
</div>
</div>
</div>
</div>
<div class="con-wrapper" id="con-wrapper2" style="display: block;"></div>
</div>
</t:formvalid>
<script type="text/javascript">
$(function(){
//查看模式情况下,删除和上传附件功能禁止使用
if(location.href.indexOf("load=detail")!=-1){
$(".jeecgDetail").hide();
}
if(location.href.indexOf("mode=read")!=-1){
//查看模式控件禁用
$("#formobj").find(":input").attr("disabled","disabled");
}
if(location.href.indexOf("mode=onbutton")!=-1){
//其他模式显示提交按钮
$("#sub_tr").show();
}
});
var neibuClickFlag = false;
function neibuClick() {
neibuClickFlag = true;
$('#btn_sub').trigger('click');
}
</script>
</body>
<script src = "webpage/com/zzjee/mvyj/mvStockYj.js"></script>
</html>

View File

@ -1,290 +0,0 @@
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>效期预警</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="online/template/ledefault/css/vendor.css">
<link rel="stylesheet" href="online/template/ledefault/css/bootstrap-theme.css">
<link rel="stylesheet" href="online/template/ledefault/css/bootstrap.css">
<link rel="stylesheet" href="online/template/ledefault/css/app.css">
<link rel="stylesheet" href="plug-in/Validform/css/metrole/style.css" type="text/css"/>
<link rel="stylesheet" href="plug-in/Validform/css/metrole/tablefrom.css" type="text/css"/>
<script type="text/javascript" src="plug-in/jquery/jquery-1.8.3.js"></script>
<script type="text/javascript" src="plug-in/tools/dataformat.js"></script>
<script type="text/javascript" src="plug-in/easyui/jquery.easyui.min.1.3.2.js"></script>
<script type="text/javascript" src="plug-in/easyui/locale/zh-cn.js"></script>
<script type="text/javascript" src="plug-in/tools/syUtil.js"></script>
<script type="text/javascript" src="plug-in/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="plug-in/lhgDialog/lhgdialog.min.js"></script>
<script type="text/javascript" src="plug-in/tools/curdtools_zh-cn.js"></script>
<script type="text/javascript" src="plug-in/tools/easyuiextend.js"></script>
<script type="text/javascript" src="plug-in/Validform/js/Validform_v5.3.1_min_zh-cn.js"></script>
<script type="text/javascript" src="plug-in/Validform/js/Validform_Datatype_zh-cn.js"></script>
<script type="text/javascript" src="plug-in/Validform/js/datatype_zh-cn.js"></script>
<script type="text/javascript" src="plug-in/Validform/plugin/passwordStrength/passwordStrength-min.js"></script>
<script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="plug-in/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
//编写自定义JS代码
</script>
</head>
<body>
<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="mvStockYjController.do?doUpdate" tiptype="1" >
<input type="hidden" id="btn_sub" class="btn_sub"/>
<input type="hidden" name="id" value='${mvStockYjPage.id}' >
<div class="tab-wrapper">
<!-- tab -->
<ul class="nav nav-tabs">
<li role="presentation" class="active"><a href="javascript:void(0);">效期预警</a></li>
</ul>
<!-- tab内容 -->
<div class="con-wrapper" id="con-wrapper1" style="display: block;">
<div class="row form-wrapper">
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>库存类型:</b>
</div>
<div class="col-xs-3">
<input id="kuctype" name="kuctype" type="text" class="form-control"
ignore="checked"
datatype="*" value='${mvStockYjPage.kuctype}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">库存类型</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>基本数量:</b>
</div>
<div class="col-xs-3">
<input id="baseGoodscount" name="baseGoodscount" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.baseGoodscount}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">基本数量</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>基本单位:</b>
</div>
<div class="col-xs-3">
<input id="baseUnit" name="baseUnit" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.baseUnit}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">基本单位</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>储位:</b>
</div>
<div class="col-xs-3">
<input id="kuWeiBianMa" name="kuWeiBianMa" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.kuWeiBianMa}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">储位</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>托盘:</b>
</div>
<div class="col-xs-3">
<input id="binId" name="binId" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.binId}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">托盘</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>客户编码:</b>
</div>
<div class="col-xs-3">
<input id="cusCode" name="cusCode" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.cusCode}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">客户编码</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>客户名称:</b>
</div>
<div class="col-xs-3">
<input id="zhongWenQch" name="zhongWenQch" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.zhongWenQch}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">客户名称</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>商品编码:</b>
</div>
<div class="col-xs-3">
<input id="goodsId" name="goodsId" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.goodsId}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">商品编码</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>商品名称:</b>
</div>
<div class="col-xs-3">
<input id="shpMingCheng" name="shpMingCheng" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.shpMingCheng}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">商品名称</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>生产日期:</b>
</div>
<div class="col-xs-3">
<input id="goodsProData" name="goodsProData" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.goodsProData}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">生产日期</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>保质期:</b>
</div>
<div class="col-xs-3">
<input id="bzhiQi" name="bzhiQi" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.bzhiQi}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">保质期</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>到期日:</b>
</div>
<div class="col-xs-3">
<input id="dqr" name="dqr" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.dqr}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">到期日</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>取货次序:</b>
</div>
<div class="col-xs-3">
<input id="quHuoCiXu" name="quHuoCiXu" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.quHuoCiXu}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">取货次序</label>
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 text-center">
<b>上架次序:</b>
</div>
<div class="col-xs-3">
<input id="shangJiaCiXu" name="shangJiaCiXu" type="text" class="form-control"
ignore="ignore"
value='${mvStockYjPage.shangJiaCiXu}' />
<span class="Validform_checktip" style="float:left;height:0px;"></span>
<label class="Validform_label" style="display: none">上架次序</label>
</div>
</div>
<div class="row" id = "sub_tr" style="display: none;">
<div class="col-xs-12 layout-header">
<div class="col-xs-6"></div>
<div class="col-xs-6"><button type="button" onclick="neibuClick();" class="btn btn-default">提交</button></div>
</div>
</div>
</div>
</div>
<div class="con-wrapper" id="con-wrapper2" style="display: block;"></div>
</div>
</t:formvalid>
<script type="text/javascript">
$(function(){
//查看模式情况下,删除和上传附件功能禁止使用
if(location.href.indexOf("load=detail")!=-1){
$(".jeecgDetail").hide();
}
if(location.href.indexOf("mode=read")!=-1){
//查看模式控件禁用
$("#formobj").find(":input").attr("disabled","disabled");
}
if(location.href.indexOf("mode=onbutton")!=-1){
//其他模式显示提交按钮
$("#sub_tr").show();
}
});
var neibuClickFlag = false;
function neibuClick() {
neibuClickFlag = true;
$('#btn_sub').trigger('click');
}
</script>
</body>
<script src = "webpage/com/zzjee/mvyj/mvStockYj.js"></script>
</html>

View File

@ -1,28 +0,0 @@
//通用弹出式文件上传
function commonUpload(callback){
$.dialog({
content: "url:systemController.do?commonUpload",
lock : true,
title:"文件上传",
zIndex:2100,
width:700,
height: 200,
parent:windowapi,
cache:false,
ok: function(){
var iframe = this.iframe.contentWindow;
iframe.uploadCallback(callback);
return true;
},
cancelVal: '关闭',
cancel: function(){
}
});
}
function decode(value, id) {//value传入值,id接受值
var last = value.lastIndexOf("/");
var filename = value.substring(last + 1, value.length);
$("#" + id).text(decodeURIComponent(filename));
}