From 3b8a7732f6cdcd4634b9631aa922ff7a6fe49ab7 Mon Sep 17 00:00:00 2001 From: erdanergou Date: Thu, 5 Jan 2023 16:22:41 +0800 Subject: [PATCH] =?UTF-8?q?bug=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/pages/group/group-out.html | 19 ++++++++++++++++++- .../templates/pages/group/group-out.html | 19 ++++++++++++++++++- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/pages/group/group-out.html b/src/main/resources/templates/pages/group/group-out.html index c3ece2a7..83e15e58 100644 --- a/src/main/resources/templates/pages/group/group-out.html +++ b/src/main/resources/templates/pages/group/group-out.html @@ -91,6 +91,7 @@ @@ -142,7 +143,7 @@ {field: 'quantity', width: 200, title: '物料数量'}, {field: 'createTime', width: 200, title: '创建时间'}, {field: 'state', title: '状态', minWidth: 100, templet: '#switchTpl'}, - {title: '出库', minWidth: 200, toolbar: '#currentTableBarForOut', align: "center"}, + {title: '出入库', minWidth: 200, toolbar: '#currentTableBarForOut', align: "center"}, {title: '操作', minWidth: 200, toolbar: '#currentTableBar', align: "center"}, @@ -337,6 +338,22 @@ layer.full(index1); }); } + else if (obj.event === 'applicationIn'){ + let gid = data.id; + + var index2 = layer.open({ + title: '组合出库', + type: 2, + shade: 0.2, + maxmin: true, + shadeClose: true, + area: ['100%', '100%'], + content: '/applicationInForGroup?gid='+gid+'&type=one', + }); + $(window).on("resize", function () { + layer.full(index2); + }); + } }); diff --git a/target/classes/templates/pages/group/group-out.html b/target/classes/templates/pages/group/group-out.html index c3ece2a7..83e15e58 100644 --- a/target/classes/templates/pages/group/group-out.html +++ b/target/classes/templates/pages/group/group-out.html @@ -91,6 +91,7 @@ @@ -142,7 +143,7 @@ {field: 'quantity', width: 200, title: '物料数量'}, {field: 'createTime', width: 200, title: '创建时间'}, {field: 'state', title: '状态', minWidth: 100, templet: '#switchTpl'}, - {title: '出库', minWidth: 200, toolbar: '#currentTableBarForOut', align: "center"}, + {title: '出入库', minWidth: 200, toolbar: '#currentTableBarForOut', align: "center"}, {title: '操作', minWidth: 200, toolbar: '#currentTableBar', align: "center"}, @@ -337,6 +338,22 @@ layer.full(index1); }); } + else if (obj.event === 'applicationIn'){ + let gid = data.id; + + var index2 = layer.open({ + title: '组合出库', + type: 2, + shade: 0.2, + maxmin: true, + shadeClose: true, + area: ['100%', '100%'], + content: '/applicationInForGroup?gid='+gid+'&type=one', + }); + $(window).on("resize", function () { + layer.full(index2); + }); + } });