From 2b472bcd7063aa4c43c80c6a9ce529d7c1e09beb Mon Sep 17 00:00:00 2001 From: erdanergou Date: Mon, 27 Feb 2023 10:44:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8B=E8=BD=BD=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E6=A8=A1=E6=9D=BF=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/upload/inventoryImport.xlsx | Bin 9130 -> 9194 bytes .../pages/depository/table-stock.html | 3 +++ .../pages/material/material-out.html | 10 ++++++++-- .../pages/materialtype/materialType_view.html | 8 +++++++- .../static/upload/inventoryImport.xlsx | Bin 9130 -> 9194 bytes .../pages/depository/table-stock.html | 3 +++ .../pages/material/material-out.html | 10 ++++++++-- .../pages/materialtype/materialType_view.html | 8 +++++++- 8 files changed, 36 insertions(+), 6 deletions(-) diff --git a/src/main/resources/static/upload/inventoryImport.xlsx b/src/main/resources/static/upload/inventoryImport.xlsx index 474d9641635db1b334c983f7c6eedfd50b1b126e..476929e1b8fca0762e178445a2e474b33674b11b 100644 GIT binary patch delta 2764 zcmZ8jdpHve7vIdCG1_VxVVI^@E<=~)n)@x}o@*tq7|LZ>%*0BQyc>&{yOCR@l~OJZ zp(2El^pYQwL=j(aC^VfOK?>y&^bNT&Fwbdu9h6!OI-y7_-o3trmdE!*W zgf=9p=)q3MDq%miE%~}rj+uUWc=c#~V(nxngrb@mCX!OUy@I_aJjzdbV$pFesuw?n z$G7r>&g}h@owN78t@bk|IA0?tugYC)do6NKQfG+lCU@w3*Pf?y`~4kTljI^QyxXiF zTLPSx1Q)yCHh%u3x2QI}@BRWTj!tyRdDZS-=i_^*UzZUT-uHY>G<}kqF1{jjHb#o< zbJ(IUSQlsOmuGl=RtRI_zgRkI=$%&x^3Y|4UsTTt0zlP*Hm7 z{tYS5L75CH(X#A~x9`2qtf!|+(?r4#6lUBmoxb&R)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Q|B6zGJ`PktU>G*_jDCF7#TpY~Q+TprFhbIT^(!yE(C-0DbfcZf~G#94( z-q+J`Nyalb3H%-3x=XzZA2D9L9U7E;(3)9O`x4yBXCj@2Aw1(OY|~%@=X3ki%@-l| z745d#Uf1uUUDI!tfJ@ zRCQ)<ytV)996KmPCeu)Eef=3n4P zA7{OHlhfIJpcj#hlf0! zvohDYcvC&n$80;3Wsh;;VsdpM`3(L&vGNq>H{D&<+OdsDO_B9a^JvF-baer2EPRhG z)tw~y@+jN<7{h$GJT{4xw8b;(UGmaRP8^c8QgZK&g#-J8iC_JYNfWR|me<%M+pcBh z;KXXpm(ih?s8iDCvO#8W)XSt&QCd{tqYwOq3Hx^q1HCcDp|na|c$vX!V62!CEVNYB zNUbWQm*>i5m0SAmTjKYhI@5W8FI;nhAGAsvr4Q5OrK1uoK9LJNyjiz@x_s>Q=y{)O z)L+)~M@ih0eca-UEl$Y(qqMZmb0E#P^g1C%0NAoNk*@p1dLC#eQ{IW^zki%L%$+NbNPua}{_l430szv#>ihRR zCeFj`xGIQ8mDFT^H!lDH`Yri|Vu*oCigLe`3jjd=j}Mb3wo6MA!(d?I2N|&NZ?1~C stmMj7L)2C_k^PU!zk=`ftK7wZOMW30Vve!}R~>O!S(z_h@!!导入数据 + @@ -331,6 +332,8 @@ layer.full(index); }); return false; + }else if (obj.event === 'downloadFile') { + window.open("/download/inventoryImportDownload","_self"); } }); diff --git a/src/main/resources/templates/pages/material/material-out.html b/src/main/resources/templates/pages/material/material-out.html index 0f0051a2..80b542d8 100644 --- a/src/main/resources/templates/pages/material/material-out.html +++ b/src/main/resources/templates/pages/material/material-out.html @@ -87,6 +87,7 @@ + @@ -234,7 +235,8 @@ $(window).on("resize", function () { layer.full(index); }); - } else if (obj.event === 'delete') { // 监听删除操作 + } + else if (obj.event === 'delete') { // 监听删除操作 var checkStatus = table.checkStatus('currentTableId') , data = checkStatus.data; var req = {}; @@ -279,7 +281,8 @@ layer.msg("未选中记录,请确认!"); return false; } - } else if (obj.event === 'applicationIn') { + } + else if (obj.event === 'applicationIn') { // 入库申请 var checkStatus = table.checkStatus('currentTableId') , data = checkStatus.data; @@ -321,6 +324,9 @@ }) } + else if (obj.event === 'downloadFile') { + window.open("/download/materialImportDownload","_self"); + } }); //用于导入数据 diff --git a/src/main/resources/templates/pages/materialtype/materialType_view.html b/src/main/resources/templates/pages/materialtype/materialType_view.html index e80c5d51..dcba61b7 100644 --- a/src/main/resources/templates/pages/materialtype/materialType_view.html +++ b/src/main/resources/templates/pages/materialtype/materialType_view.html @@ -64,6 +64,8 @@ + + @@ -173,7 +175,8 @@ $(window).on("resize", function () { layer.full(index); }); - } else if (obj.event === 'delete') { // 监听删除操作 + } + else if (obj.event === 'delete') { // 监听删除操作 var checkStatus = table.checkStatus('currentTableId') , data = checkStatus.data; var req = {}; @@ -219,6 +222,9 @@ return false; } } + else if (obj.event === 'downloadFile') { + window.open("/download/materialTypeImportDownload","_self"); + } }); diff --git a/target/classes/static/upload/inventoryImport.xlsx b/target/classes/static/upload/inventoryImport.xlsx index 474d9641635db1b334c983f7c6eedfd50b1b126e..476929e1b8fca0762e178445a2e474b33674b11b 100644 GIT binary patch delta 2764 zcmZ8jdpHve7vIdCG1_VxVVI^@E<=~)n)@x}o@*tq7|LZ>%*0BQyc>&{yOCR@l~OJZ zp(2El^pYQwL=j(aC^VfOK?>y&^bNT&Fwbdu9h6!OI-y7_-o3trmdE!*W zgf=9p=)q3MDq%miE%~}rj+uUWc=c#~V(nxngrb@mCX!OUy@I_aJjzdbV$pFesuw?n z$G7r>&g}h@owN78t@bk|IA0?tugYC)do6NKQfG+lCU@w3*Pf?y`~4kTljI^QyxXiF zTLPSx1Q)yCHh%u3x2QI}@BRWTj!tyRdDZS-=i_^*UzZUT-uHY>G<}kqF1{jjHb#o< zbJ(IUSQlsOmuGl=RtRI_zgRkI=$%&x^3Y|4UsTTt0zlP*Hm7 z{tYS5L75CH(X#A~x9`2qtf!|+(?r4#6lUBmoxb&R)S|YY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6zGJ`PktU>G*_jDCF7#TpY~Q+TprFhbIT^(!yE(C-0DbfcZf~G#94( z-q+J`Nyalb3H%-3x=XzZA2D9L9U7E;(3)9O`x4yBXCj@2Aw1(OY|~%@=X3ki%@-l| z745d#Uf1uUUDI!tfJ@ zRCQ)<ytV)996KmPCeu)Eef=3n4P zA7{OHlhfIJpcj#hlf0! zvohDYcvC&n$80;3Wsh;;VsdpM`3(L&vGNq>H{D&<+OdsDO_B9a^JvF-baer2EPRhG z)tw~y@+jN<7{h$GJT{4xw8b;(UGmaRP8^c8QgZK&g#-J8iC_JYNfWR|me<%M+pcBh z;KXXpm(ih?s8iDCvO#8W)XSt&QCd{tqYwOq3Hx^q1HCcDp|na|c$vX!V62!CEVNYB zNUbWQm*>i5m0SAmTjKYhI@5W8FI;nhAGAsvr4Q5OrK1uoK9LJNyjiz@x_s>Q=y{)O z)L+)~M@ih0eca-UEl$Y(qqMZmb0E#P^g1C%0NAoNk*@p1dLC#eQ{IW^zki%L%$+NbNPua}{_l430szv#>ihRR zCeFj`xGIQ8mDFT^H!lDH`Yri|Vu*oCigLe`3jjd=j}Mb3wo6MA!(d?I2N|&NZ?1~C stmMj7L)2C_k^PU!zk=`ftK7wZOMW30Vve!}R~>O!S(z_h@!!导入数据 + @@ -331,6 +332,8 @@ layer.full(index); }); return false; + }else if (obj.event === 'downloadFile') { + window.open("/download/inventoryImportDownload","_self"); } }); diff --git a/target/classes/templates/pages/material/material-out.html b/target/classes/templates/pages/material/material-out.html index 0f0051a2..80b542d8 100644 --- a/target/classes/templates/pages/material/material-out.html +++ b/target/classes/templates/pages/material/material-out.html @@ -87,6 +87,7 @@ + @@ -234,7 +235,8 @@ $(window).on("resize", function () { layer.full(index); }); - } else if (obj.event === 'delete') { // 监听删除操作 + } + else if (obj.event === 'delete') { // 监听删除操作 var checkStatus = table.checkStatus('currentTableId') , data = checkStatus.data; var req = {}; @@ -279,7 +281,8 @@ layer.msg("未选中记录,请确认!"); return false; } - } else if (obj.event === 'applicationIn') { + } + else if (obj.event === 'applicationIn') { // 入库申请 var checkStatus = table.checkStatus('currentTableId') , data = checkStatus.data; @@ -321,6 +324,9 @@ }) } + else if (obj.event === 'downloadFile') { + window.open("/download/materialImportDownload","_self"); + } }); //用于导入数据 diff --git a/target/classes/templates/pages/materialtype/materialType_view.html b/target/classes/templates/pages/materialtype/materialType_view.html index e80c5d51..dcba61b7 100644 --- a/target/classes/templates/pages/materialtype/materialType_view.html +++ b/target/classes/templates/pages/materialtype/materialType_view.html @@ -64,6 +64,8 @@ + + @@ -173,7 +175,8 @@ $(window).on("resize", function () { layer.full(index); }); - } else if (obj.event === 'delete') { // 监听删除操作 + } + else if (obj.event === 'delete') { // 监听删除操作 var checkStatus = table.checkStatus('currentTableId') , data = checkStatus.data; var req = {}; @@ -219,6 +222,9 @@ return false; } } + else if (obj.event === 'downloadFile') { + window.open("/download/materialTypeImportDownload","_self"); + } });