From a5ee5055f053cbb4f13710fc251adbd780f3a43f Mon Sep 17 00:00:00 2001
From: 18516761980 <56479841@qq.com>
Date: 星期三, 31 八月 2022 17:28:52 +0800
Subject: [PATCH] #

---
 src/main/webapp/jsFiles/waitPakOutLog.js |   42 ++++++++++++++++++++++++++++--------------
 1 files changed, 28 insertions(+), 14 deletions(-)

diff --git a/src/main/webapp/jsFiles/waitPakOutLog.js b/src/main/webapp/jsFiles/waitPakOutLog.js
index ca33f05..1e91af7 100644
--- a/src/main/webapp/jsFiles/waitPakOutLog.js
+++ b/src/main/webapp/jsFiles/waitPakOutLog.js
@@ -4,7 +4,7 @@
 var myColumns=[];
 $(function(){
 	getColumns();
-	
+
 	$('#test-table').bootstrapTable('destroy');
 	$('#test-table').bootstrapTable({
 		method : 'GET',
@@ -23,8 +23,8 @@
 		clickToSelect: true, // 鍗曞嚮琛屽嵆鍙互閫変腑
 		search : false,//鏄剧ず鎼滅礌琛ㄥ崟
 		silent : true, //鍒锋柊浜嬩欢蹇呴』璁剧疆
-		sidePagination : "server", //琛ㄧず鏈嶅姟绔姹�  
-		columns ://myColumns, 
+		sidePagination : "server", //琛ㄧず鏈嶅姟绔姹�
+		columns ://myColumns,
 		[{
 			field : "lgnum",
 			title : "浠撳簱鍙�",
@@ -41,7 +41,7 @@
 			field : "tapos",
 			title : "琛岄」鐩�",
 			align : "center",
-			valign : "middle",		
+			valign : "middle",
 		}, {
 			field : "matnr",
 			title : "鐗╂枡",
@@ -153,15 +153,15 @@
 //		onCheck:function(row){
 ////			alert(row.menu_name);
 //		},onUncheck:function(row){
-////          alert('鍙栨秷閫変腑');       
+////          alert('鍙栨秷閫変腑');
 //        },
         onClickRow:function (row,$element) {
             $('.info').removeClass('info');
             $($element).addClass('info');
         }
 	});
-	
-}); 
+
+});
 
 function operateFormatter(value, row, index) {
 	return [
@@ -191,10 +191,10 @@
 //					valign : "middle"
 //		        });
 				myColumns.push({
-					title: '搴忓彿',  
-				    field: '',  
-				    formatter: function (value, row, index) {  
-				        return index+1;  
+					title: '搴忓彿',
+				    field: '',
+				    formatter: function (value, row, index) {
+				        return index+1;
 				    }
 		        });
 //				myColumns.push({
@@ -218,7 +218,7 @@
 //					align : "left",
 //					valign : "middle"
 //		        });
-				
+
 //				myColumns.push({
 //					field : "io_status",
 //					title : "鐘舵��",
@@ -276,10 +276,24 @@
 	$("#addDlg").modal("hide");
 	$("#info").text("");
 	$("#infos").text("");
-	
+
 	$('#myform').data('bootstrapValidator', null);
 	$("#addForm").data('bootstrapValidator',null);
 	formValidator();
 	//$('#mydlg').data('bootstrapValidator').resetForm(true);
 	$("input[type=reset]").trigger("click");
-}
\ No newline at end of file
+}
+
+//瀵煎嚭
+function ExportExcel(){
+	if(confirm("纭瀵煎嚭excel锛�")){
+		var url = "work/exportWaitPakOutLog.action?";
+		url += "matnr=" + $("#search_sheet_no").val();
+		url += "&maktx=" + $("#search_mat_no").val();
+		url += "&begin_date=" + $("#begin_date").val();
+		url += "&end_date=" + $("#end_date").val();
+		location.href=url;
+	}else{
+		return false;
+	}
+}

--
Gitblit v1.9.1