diff --git a/src/main/resources/templates/pages/depository/table-stock.html b/src/main/resources/templates/pages/depository/table-stock.html index f7bc8dad..7cdcea1b 100644 --- a/src/main/resources/templates/pages/depository/table-stock.html +++ b/src/main/resources/templates/pages/depository/table-stock.html @@ -579,8 +579,8 @@ layer.alert("数据导入完成", { icon: 0 },function (indexForMsg,layero) { - closeShowDataMessage(); layer.close(indexForMsg); + closeShowDataMessage(); table.reload('currentTableId', { url: '/material/findInventory', page: { @@ -632,6 +632,7 @@ closeShowDataMessage = function () { + console.log(1) $("#layui-layer-shade-x"+newIndexShade).remove(); $("#showImportData").hide(); $("#showDataContent").empty(); diff --git a/src/main/resources/templates/pages/material/material-out.html b/src/main/resources/templates/pages/material/material-out.html index 1cbd8444..50733255 100644 --- a/src/main/resources/templates/pages/material/material-out.html +++ b/src/main/resources/templates/pages/material/material-out.html @@ -360,8 +360,8 @@ layer.alert("数据导入完成", { icon: 0 },function (indexForMsg,layero) { - closeShowDataMessage(); layer.close(indexForMsg); + closeShowDataMessage(); table.reload('currentTableId', { url: '/material/material', page: { diff --git a/target/classes/templates/pages/depository/table-stock.html b/target/classes/templates/pages/depository/table-stock.html index f7bc8dad..7cdcea1b 100644 --- a/target/classes/templates/pages/depository/table-stock.html +++ b/target/classes/templates/pages/depository/table-stock.html @@ -579,8 +579,8 @@ layer.alert("数据导入完成", { icon: 0 },function (indexForMsg,layero) { - closeShowDataMessage(); layer.close(indexForMsg); + closeShowDataMessage(); table.reload('currentTableId', { url: '/material/findInventory', page: { @@ -632,6 +632,7 @@ closeShowDataMessage = function () { + console.log(1) $("#layui-layer-shade-x"+newIndexShade).remove(); $("#showImportData").hide(); $("#showDataContent").empty(); diff --git a/target/classes/templates/pages/material/material-out.html b/target/classes/templates/pages/material/material-out.html index 1cbd8444..50733255 100644 --- a/target/classes/templates/pages/material/material-out.html +++ b/target/classes/templates/pages/material/material-out.html @@ -360,8 +360,8 @@ layer.alert("数据导入完成", { icon: 0 },function (indexForMsg,layero) { - closeShowDataMessage(); layer.close(indexForMsg); + closeShowDataMessage(); table.reload('currentTableId', { url: '/material/material', page: {