From e641c7fbc7cda2b28f8518f8c7ec20629821af3a Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 18 五月 2023 16:06:30 +0800
Subject: [PATCH] 数据源配置,通过ui配置application.yml

---
 src/main/webapp/static/wms/js/wrkMast/wrkMast.js |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/static/wms/js/wrkMast/wrkMast.js b/src/main/webapp/static/wms/js/wrkMast/wrkMast.js
index 51263ba..7e4e1e6 100644
--- a/src/main/webapp/static/wms/js/wrkMast/wrkMast.js
+++ b/src/main/webapp/static/wms/js/wrkMast/wrkMast.js
@@ -11,11 +11,13 @@
     var layDate = layui.laydate;
     var form = layui.form;
 
+    $('#wrkNo').val(parent.wrkNo);
     // 鏁版嵁娓叉煋
     tableIns = table.render({
         elem: '#wrkMast',
         headers: {token: localStorage.getItem('token')},
         url: baseUrl + '/wrkMast/list/auth',
+        where: {wrk_no: parent.wrkNo},
         page: true,
         limit: 16,
         limits: [16, 30, 50, 100, 200, 500],
@@ -395,6 +397,19 @@
                     , style: 'box-shadow: 1px 1px 10px rgb(0 0 0 / 12%);' //璁剧疆棰濆鏍峰紡
                 });
                 break;
+            case 'commandShow'://鏌ョ湅鎸囦护
+                wrkNo = data.wrkNo;
+                layer.open({
+                    type: 2,
+                    title: 'WMS浠诲姟鎸囦护',
+                    maxmin: true,
+                    area: [top.detailWidth, top.detailHeight],
+                    shadeClose: true,
+                    content: '../commandManage/commandManage.html',
+                    success: function(layero, index){
+                    }
+                });
+                break;
         }
     });
 

--
Gitblit v1.9.1