diff --git a/src/main/resources/templates/pages/depository/table-stock.html b/src/main/resources/templates/pages/depository/table-stock.html index ae45566d..1e538ff0 100644 --- a/src/main/resources/templates/pages/depository/table-stock.html +++ b/src/main/resources/templates/pages/depository/table-stock.html @@ -443,7 +443,7 @@ var placeCode = obj.getAttribute("code"); var mid = obj.id; // 当前点击行中的计量单位按钮 - let unitBtn = obj.parentNode.parentNode.parentNode.childNodes[5].childNodes[0].childNodes[1]; + let unitBtn = obj.parentNode.parentNode.parentNode.childNodes[6].childNodes[0].childNodes[1]; let unit = unitBtn.innerText; var index = layer.open({ title: '选择库位', diff --git a/target/classes/templates/pages/depository/table-stock.html b/target/classes/templates/pages/depository/table-stock.html index ae45566d..1e538ff0 100644 --- a/target/classes/templates/pages/depository/table-stock.html +++ b/target/classes/templates/pages/depository/table-stock.html @@ -443,7 +443,7 @@ var placeCode = obj.getAttribute("code"); var mid = obj.id; // 当前点击行中的计量单位按钮 - let unitBtn = obj.parentNode.parentNode.parentNode.childNodes[5].childNodes[0].childNodes[1]; + let unitBtn = obj.parentNode.parentNode.parentNode.childNodes[6].childNodes[0].childNodes[1]; let unit = unitBtn.innerText; var index = layer.open({ title: '选择库位',