diff --git a/target/classes/templates/pages/depository/table-out_mobile.html b/target/classes/templates/pages/depository/table-out_mobile.html index fc600746..8c0d52e2 100644 --- a/target/classes/templates/pages/depository/table-out_mobile.html +++ b/target/classes/templates/pages/depository/table-out_mobile.html @@ -301,11 +301,7 @@ $(window).on("resize", function () { layer.full(index); }); - } - - $('body').on('click', '[data-refresh]', function () { - location.reload(); - }) + }; }); diff --git a/target/classes/templates/pages/depository/table-stock_mobile.html b/target/classes/templates/pages/depository/table-stock_mobile.html index 3f2a2ac5..2705a120 100644 --- a/target/classes/templates/pages/depository/table-stock_mobile.html +++ b/target/classes/templates/pages/depository/table-stock_mobile.html @@ -335,9 +335,6 @@ return false; } - $('body').on('click', '[data-refresh]', function () { - location.reload(); - }) }); diff --git a/target/classes/templates/pages/showInventory/showInventoryForLocation.html b/target/classes/templates/pages/showInventory/showInventoryForLocation.html index 4ae16713..8fe6adf4 100644 --- a/target/classes/templates/pages/showInventory/showInventoryForLocation.html +++ b/target/classes/templates/pages/showInventory/showInventoryForLocation.html @@ -104,7 +104,7 @@ let size = 8; $(function () { - let loading2 = layer.open({ type: 3, shade: [0.25, '#000'], icon: 2, speed: 0}); + let loading2 = layer.open({type: 3, shade: [0.25, '#000'], icon: 2, speed: 0}); $.ajax({ url: "/place/findLocationById", data: JSON.stringify({"id": id, "type": type}), @@ -142,10 +142,6 @@ }); - - - - updateFlowShowForLocation = function () { let req = {}; req.depositoryId = depositoryId; @@ -161,7 +157,7 @@ req.size = size; req.page = page; $.ajax({ - url:"/material/findInventoryForStockTaking", + url: "/material/findInventoryForStockTaking", data: req, type: 'get', dataType: 'json', @@ -173,21 +169,22 @@ let splitInventory = result[i].splitInventory; let keys = Object.keys(splitInventory); let InventoryItem = ""; - let brandItem ='
' + "物料品牌:"+result[i].mbrand + '
'; - if(result[i].mbrand === ""){ + let brandItem = '' + "物料品牌:" + result[i].mbrand + '
'; + if (result[i].mbrand === "") { brandItem = ""; } for (let j = 0; j < keys.length; j++) { let key = keys[j]; - let item = '' + "计量单位:" + key + ";对应库存:" + splitInventory[key] + '
'; + let item = '' + "计量单位:" + key + ";对应库存:" + splitInventory[key] + '
'; InventoryItem += item; } - lis.push('' + "物料编码:"+result[i].mcode + '
' - + '' + "物料型号:"+result[i].version + '
' + + '' + "物料编码:" + result[i].mcode + '
' + + '' + "物料型号:" + result[i].version + '
' + brandItem - + '' + "所处位置:"+result[i].dname+"-"+result[i].kingdeecode + '
' + + '' + "所处位置:" + result[i].dname + "-" + result[i].kingdeecode + '
' + InventoryItem + '