| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@include file="/context/mytags.jsp"%>
- <!DOCTYPE html>
- <html>
- <head>
- <title>餐费扣除标准</title>
- <t:base type="jquery,easyui,tools,DatePicker"></t:base>
- <script src="plug-in/layer/layer.js"></script>
- <script>
- function btn_ok(){
- $("#btnsub").click();
- }
- function callback(data){
-
-
- if(data.success){
- layer.alert(data.msg, function(index){
- window.location.href="mealsDeductController.do?list"
- layer.close(index);
- });
- }
- else{
- layer.alert(data.msg);
- }
- }
- </script>
- <script type="text/javascript">
- //编写自定义JS代码
- </script>
- </head>
- <body>
- <t:formvalid formid="formobj" dialog="false" usePlugin="password" layout="table" action="mealsDeductController.do?doAdd" tiptype="1" callback="callback">
- <input id="id" name="id" type="hidden" value="${mealsDeductPage.id }"/>
- <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
- <tr>
- <td align="right">
- <label class="Validform_label">
- 补贴类型:
- </label>
- </td>
- <td class="value">
- <t:dictSelect field="subsidyType" type="list" typeGroupCode="" datatype="*" defaultVal="${mealsDeductPage.subsidyType}" hasLabel="false" title="补贴类型"></t:dictSelect>
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;">补贴类型</label>
- </td>
- </tr>
- <tr>
- <td align="right">
- <label class="Validform_label">
- 左值:
- </label>
- </td>
- <td class="value">
- <input id="leftHours" name="leftHours" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" />
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;">左值</label>
- </td>
- </tr>
- <tr>
- <td align="right">
- <label class="Validform_label">
- 右值:
- </label>
- </td>
- <td class="value">
- <input id="rightHours" name="rightHours" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" />
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;">右值</label>
- </td>
- </tr>
- <tr>
- <td align="right">
- <label class="Validform_label">
- 扣除数:
- </label>
- </td>
- <td class="value">
- <input id="deductNum" name="deductNum" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" />
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;">扣除数</label>
- </td>
- </tr>
- <tr>
- <td align="right">
- <label class="Validform_label">
- 计量单位:
- </label>
- </td>
- <td class="value">
- <input id="calcuUnit" name="calcuUnit" type="text" style="width: 150px" class="inputxt" datatype="*" ignore="checked" />
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;">计量单位</label>
- </td>
- </tr>
-
- <tr>
- <td height="50px" align="center" colspan="2">
- <a style="margin-left:80px" href="#" class="easyui-linkbutton l-btn" plain="true" iconcls="icon-le-back" onclick="history.go(-1)">返回</a>
- <div style="display:none"><input type="submit" id ="btnsub" value=""/></div>
- <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-le-ok" onclick="btn_ok()">提交</a>
- </td>
- </tr>
- </table>
- </t:formvalid>
- </body>
- <script src = "webpage/cn/com/lzt/mealsdeduct/mealsDeduct.js"></script>
|