From f14bb52ddab40bf589304b6b43331ddaccea69f6 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期六, 27 十二月 2025 16:03:36 +0800
Subject: [PATCH] 1.完善AGV任务创建和下发 2.完善数据孪生 3.新增拍照获取照片 4.新增PDA配盘出库单立即出库 5.新增PDA配盘入库单下拉框获取订单号

---
 src/main/webapp/static/js/stoMan/stoQue.js |   42 +++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 41 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/stoMan/stoQue.js b/src/main/webapp/static/js/stoMan/stoQue.js
index 95d3552..034eebb 100644
--- a/src/main/webapp/static/js/stoMan/stoQue.js
+++ b/src/main/webapp/static/js/stoMan/stoQue.js
@@ -56,7 +56,7 @@
             ,{field: 'locType3$', align: 'center',title: '杞婚噸绫诲瀷', hide:true}
             ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true}
             ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', width: 180, hide:false}
-            ,{ fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate'}
+            ,{ fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width: 180}
         ]],
         request: {
             pageName: 'curr',
@@ -181,6 +181,46 @@
                 }
                 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 locNo = item.locNo;
+                                let pics = item.pics;
+                                pics.forEach((pic) => {
+                                    let tmp = '<div><div><img width="600" src="' + pic + '" /></div><div>' + locNo + '</div></div>';
+                                    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