From 9d7718b8acf9770d7b9335019b19aeed7320483b Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期一, 03 十一月 2025 12:58:39 +0800
Subject: [PATCH] 定时任务订单上报使用orderThreadPool线程池

---
 src/main/webapp/static/js/pakStore/stockOut.js |   49 ++++++++++++++++++++++++++-----------------------
 1 files changed, 26 insertions(+), 23 deletions(-)

diff --git a/src/main/webapp/static/js/pakStore/stockOut.js b/src/main/webapp/static/js/pakStore/stockOut.js
index af9afd9..0810424 100644
--- a/src/main/webapp/static/js/pakStore/stockOut.js
+++ b/src/main/webapp/static/js/pakStore/stockOut.js
@@ -1,4 +1,4 @@
-var admin;
+var locDetlLayerIdx;
 var locDetlData = [];
 function getCol() {
     var cols = [
@@ -14,12 +14,12 @@
 
 layui.config({
     base: baseUrl + "/static/layui/lay/modules/"
-}).use(['admin', 'table','laydate', 'form'], function() {
+}).use(['table','laydate', 'form', 'admin'], function() {
     var table = layui.table;
     var $ = layui.jquery;
     var layer = layui.layer;
     var form = layui.form;
-    admin = layui.admin;
+    var admin = layui.admin;
 
     tableIns = table.render({
         elem: '#chooseData',
@@ -28,6 +28,7 @@
         even: true,
         toolbar: '#toolbar',
         cellMinWidth: 50,
+        limit: 500,
         cols: [getCol()],
         done: function(res, curr, count) {
             limit();
@@ -70,10 +71,10 @@
                     layer.msg('璇峰厛鎻愬彇鍟嗗搧搴撳瓨', {icon: 2});
                 } else {
                     var staNo = $("#staNoSelect").val();
-                    if (staNo === "" || staNo === null){
-                        layer.msg("璇烽�夋嫨鍑哄簱鍙�", {icon: 2});
-                        return;
-                    }
+                    // if (staNo === "" || staNo === null){
+                    //     layer.msg("璇烽�夋嫨鍑哄簱鍙�", {icon: 2});
+                    //     return;
+                    // }
                     let param = {
                         outSite: staNo,
                         locDetls: locDetlData
@@ -134,23 +135,25 @@
             }
         })
     }
+
+
+    $(document).on('click','#mat-query', function () {
+        let loadIndex = layer.msg('璇锋眰涓�...', {icon: 16, shade: 0.01, time: false});
+        locDetlLayerIdx = layer.open({
+            type: 2,
+            title: false,
+            closeBtn: false,
+            maxmin: false,
+            area: ['90%', '85%'],
+            shadeClose: true,
+            content: 'locDetlQuery.html',
+            success: function(layero, index){
+                layer.close(loadIndex);
+            }
+        });
+    })
+
 })
-
-
-var locDetlLayerIdx;
-function getLocDetl() {
-    locDetlLayerIdx = layer.open({
-        type: 2,
-        title: false,
-        closeBtn: false,
-        maxmin: false,
-        area: ['90%', '85%'],
-        shadeClose: true,
-        content: 'locDetlQuery.html',
-        success: function(layero, index){
-        }
-    });
-}
 
 // 娣诲姞琛ㄦ牸鏁版嵁
 function addTableData(data) {

--
Gitblit v1.9.1