Files
SIPAIIS_WMS_JSSW/WebRoot/jsp/whp/baseinfo/WhpTestMethodList.jsp

1 line
15 KiB
Plaintext
Raw Permalink 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"> $(function () { conditionDropDownStatus(); initTableList(); }); //新增弹窗 var addFun = function () { $("#searchForm").bootstrapValidator('validate');//提交验证 $.post(ext.contextPath + '/whp/baseinfo/WhpTestMethod/add.do', {unitId: unitId}, function (data) { console.log(data); $("#subDiv").html(data); openModal('subModal'); }); }; //编辑弹窗 var editFun = function (id) { stopBubbleDefaultEvent(); $.post(ext.contextPath + '/whp/baseinfo/WhpTestMethod/edit.do', {id:id}, function (data) { $("#subDiv").html(data); openModal('subModal'); }); }; //删除 var deleteFun = function (id) { stopBubbleDefaultEvent(); swal({ text: "您确定要删除此记录?", dangerMode: true, buttons: { cancel: { text: "取消", value: null, visible: true, className: "btn btn-default btn-sm", closeModal: true, }, confirm: { text: "确定", value: true, visible: true, className: "btn btn-danger btn-sm",