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/waitPakOut.js | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/jsFiles/waitPakOut.js b/src/main/webapp/jsFiles/waitPakOut.js index 49479d0..3fb798e 100644 --- a/src/main/webapp/jsFiles/waitPakOut.js +++ b/src/main/webapp/jsFiles/waitPakOut.js @@ -26,7 +26,14 @@ sidePagination: "server", //琛ㄧず鏈嶅姟绔姹� columns: //myColumns, [{ - checkbox: true + checkbox: true, + formatter:function (value, row, index) { + if(row.ems_status === 1){//濡傛灉宸茬粡鎿嶄綔绂佹閫夋嫨 + return { disabled : true,} + }else{ + return { disabled : false,} + } + } }, { field: "lgnum", title: "浠撳簱鍙�", @@ -749,12 +756,14 @@ // 鑾峰彇褰撳墠琛� var row = $("#test-table").bootstrapTable('getSelections'); var paramList = []; + if (row.length > 0) { row.map(function (item) { paramList.push({ lgnum: item.lgnum, tanum: item.tanum, tapos: item.tapos, + vlpla: item.vlpla, }) }); } @@ -776,4 +785,17 @@ } }); } +} + +//瀵煎嚭 +function ExportExcel(){ + if(confirm("纭瀵煎嚭excel锛�")){ + var url = "work/exportWaitPakOut.action?"; + url += "matnr=" + $("#search_sheet_no").val(); + url += "&maktx=" + $("#search_mat_no").val(); + url += "&loc_no=" + $("#loc_no").val(); + location.href=url; + }else{ + return false; + } } \ No newline at end of file -- Gitblit v1.9.1