From b55d6b0950d527451e8974dd3b7e65c0f5d2ce11 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期四, 25 七月 2024 13:36:09 +0800
Subject: [PATCH] # 12小时登录时间
---
 zy-asrs-wms/src/main/webapp/static/js/stoMan/stoQue.js |   41 ++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 40 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-wms/src/main/webapp/static/js/stoMan/stoQue.js b/zy-asrs-wms/src/main/webapp/static/js/stoMan/stoQue.js
index 83b1da3..4cc1bc2 100644
--- a/zy-asrs-wms/src/main/webapp/static/js/stoMan/stoQue.js
+++ b/zy-asrs-wms/src/main/webapp/static/js/stoMan/stoQue.js
@@ -29,10 +29,12 @@
             ,{field: 'locNo', align: 'center',title: '搴撲綅鍙�'}
             ,{field: 'locSts$', align: 'center',title: '搴撲綅鐘舵��', width: 180, style: 'color: #8E2323'}
             // ,{field: 'whsType$', align: 'center',title: '搴撲綅绫诲瀷'}
+            ,{field: 'barcode', align: 'center',title: '鎵樼洏鐮�'}
             ,{field: 'crnNo', align: 'center',title: '鍫嗗灈鏈哄彿'}
             ,{field: 'row1', align: 'center',title: '鎺�'}
             ,{field: 'bay1', align: 'center',title: '鍒�'}
             ,{field: 'lev1', align: 'center',title: '灞�'}
+            ,{field: 'owner', align: 'center',title: '璐т富'}
             ,{field: 'fullPlt', align: 'center',title: '婊℃澘', templet:function(row){
                     var html = "<input value='fullPlt' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'";
                     if(row.fullPlt === 'Y'){html += " checked ";}
@@ -41,7 +43,7 @@
                 },width:80}
             ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳'}
             ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', width: 180}
-            ,{ fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate'}
+            ,{ fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width: 300}
         ]],
         request: {
             pageName: 'curr',
@@ -166,6 +168,43 @@
                 }
                 locDetlToLayer(data.locNo);
                 break;
+            // 鏌ョ湅鍥剧墖
+            case 'showPic':
+                let imgHtml = '<div style="height:100%;display: flex;justify-content: space-around;align-items: center;flex-wrap: wrap;">';
+                $.ajax({
+                    url: baseUrl+"/locMast/picUrl",
+                    headers: {'token': localStorage.getItem('token')},
+                    data: {
+                        locNo: data.locNo
+                    },
+                    method: 'GET',
+                    traditional:true,
+                    success: function (res) {
+                        if (res.code === 200){
+                            res.data.forEach((item) => {
+                                let tmp = '<img width="600" src="' + item + '" />';
+                                imgHtml += tmp;
+                            })
+                            imgHtml += "</div>";
+
+                            layer.open({
+                                type: 1,
+                                title: '鏌ョ湅鍥剧墖',
+                                area: [top.detailWidth, top.detailHeight],
+                                shadeClose: true,
+                                content: imgHtml,
+                                success: function(layero, index){
+                                }
+                            });
+
+                        } else if (res.code === 403){
+                            top.location.href = baseUrl+"/";
+                        } else {
+                            layer.msg(res.msg)
+                        }
+                    }
+                });
+                break;
         }
     });
 
--
Gitblit v1.9.1