Files
SIPAIIS_WMS_JSSW/WebRoot/jsp/whp/sample/WhpResidualSampleDisposeList.jsp

1 line
21 KiB
Plaintext
Raw Normal View History

2026-01-16 14:13:44 +08:00
<%@ page language="java" 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" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ page import="com.sipai.entity.base.ServerObject" %> <%@ taglib uri="http://www.springsecurity.org/jsp" prefix="security" %> <%@page import="com.sipai.entity.sparepart.SparePartCommString" %> <%request.setAttribute("AUDIT", SparePartCommString.STATUS_STOCK_AUDIT); %> <%request.setAttribute("START", SparePartCommString.STATUS_STOCK_START); %> <%request.setAttribute("FINISH", SparePartCommString.STATUS_STOCK_FINISH); %> <%request.setAttribute("FAIL", SparePartCommString.STATUS_STOCK_FAIL); %> <!DOCTYPE html> <!-- <html lang="zh-CN"> --> <!-- BEGIN HEAD --> <head> <title><%= ServerObject.atttable.get("TOPTITLE")%> </title> <!-- 引用页头及CSS页--> <jsp:include page="/jsp/inc.jsp"></jsp:include> <!-- bootstrap switch --> <link rel="stylesheet" href="<%=request.getContextPath()%>/node_modules/bootstrap-switch/dist/css/bootstrap3/bootstrap-switch.min.css"/> <script type="text/javascript" src="<%=request.getContextPath()%>/node_modules/bootstrap-switch/dist/js/bootstrap-switch.min.js" charset="utf-8"></script> <!--bootstrap-edittable 表格行内编辑 --> <link rel="stylesheet" href="<%=request.getContextPath()%>/plugins/bootstrap-editable/css/bootstrap-editable.css"/> <script type="text/javascript" src="<%=request.getContextPath()%>/plugins/bootstrap-editable/js/bootstrap-editable.js" charset="utf-8"></script> <script type="text/javascript" src="<%=request.getContextPath()%>/plugins/bootstrap-editable/js/bootstrap-table-editable.js" charset="utf-8"></script> <style type="text/css"> .main-header { display: none; } .content-header { display: none; } .main-footer { display: none; } .select2-container .select2-selection--single { height: 34px; line-height: 34px; } .select2-selection__arrow { margin-top: 3px; } .table-hover > tbody > tr:hover { cursor: pointer; } .input-clear-a { color: white; } .input-content:hover + .input-clear-a { color: #d4d4d4; } </style> <script type="text/javascript"> var datetimeEnd; var datetimeBegin; $(function () { disposeStatusConditonDropDown(); typeConditonDropDown(); disposeTypeConditonDropDown(); initTableList(); initDate3() $('#dateCondition').val(''); datetimeEnd=null; datetimeBegin=null; }); //详情弹窗 var viewFun = function (id) { stopBubbleDefaultEvent(); $.post(ext.contextPath + '/whp/sample/ResidualSampleDispose/view.do', {id: id}, function (data) { $("#subDiv").html(data); openModal('subModal'); }); }; //审核弹窗 var auditFun = function (id) { stopBubbleDefaultEvent(); $.post(ext.contextPath + '/whp/sample/ResidualSampleDispose/edit.do', {id: id}, function (data) { $("#subDiv").html(data); openModal('subModal'); }); }; //搜索条件搜索 var dosearch = function () { $("#table").bootstrapTable('refresh'); }; //对Date的扩展将 Date 转化为指定格式的String //月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符, //年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字) Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份