From 6f7a815b2d6e4f30e7ccf901b24d5103aaa72078 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期一, 25 十二月 2023 10:23:08 +0800 Subject: [PATCH] Merge branch 'tzskasrs-1' of http://47.97.1.152:5880/r/zy-asrs into tzskasrs-1 --- src/main/webapp/views/pda/locDetlIframe.html | 31 ++++++++++++++++--------------- 1 files changed, 16 insertions(+), 15 deletions(-) diff --git a/src/main/webapp/views/pda/locDetlIframe.html b/src/main/webapp/views/pda/locDetlIframe.html index 62ad122..4850f1f 100644 --- a/src/main/webapp/views/pda/locDetlIframe.html +++ b/src/main/webapp/views/pda/locDetlIframe.html @@ -13,7 +13,7 @@ <style> .form-box { padding: 15px 5px 5px 5px; - font-size: 12px; + font-size: 16px; text-align: center; } @@ -22,16 +22,15 @@ } .form-box span { - font-size: 12px; display: inline-block; text-align: right; - width: 50px; + width: 70px; } .form-box input { width: 120px; margin-left: 10px; padding-left: 5px; - height: 20px; + height: 30px; border: 1px solid #777777; overflow:hidden; white-space:nowrap; @@ -51,19 +50,19 @@ } .number-tool button { background-color: #fff; - margin-top: 2px; - font-size: 13px; - height: 18px; + margin-top: 3px; + font-size: 16px; + height: 25px; float: left; - width: 20px; + width: 25px; border: 1px solid #777777; } .number-tool input { text-align: center; - height: 20px; + height: 30px; float: left; margin: 0 5px; - width: 30px; + width: 40px; padding: 0; } @@ -80,7 +79,7 @@ <input id="locNo" type="text" disabled="disabled"> </div> <div class="form-item"> - <span>鐗╂枡缂栫爜</span> + <span>鐗╂枡鍙�</span> <input id="matnr" type="text" disabled="disabled"> </div> <div class="form-item"> @@ -90,7 +89,9 @@ <div class="form-item"> <span style="vertical-align: middle">鏁伴噺</span> <div class="number-tool" style="vertical-align: middle"> - <button onclick="reduce()">-</button><input id="count" type="number"><button onclick="add()">+</button> + <button onclick="reduce()">-</button> + <input id="count" type="number"> +<!-- <button onclick="add()">+</button>--> </div> </div> <button class="form-button" id="save" onclick="save()">淇濆瓨</button> @@ -101,8 +102,8 @@ var countDom = $('#count'); function save() { - if (countDom.val() <= 1) { - alert("鏁伴噺蹇呴』澶т簬0") + console.log(countDom.val()) + if (countDom.val() < 1) { return; } parent.updateTableData({ @@ -132,4 +133,4 @@ countDom.val(countDom.val() - 1); } </script> -</html> \ No newline at end of file +</html> -- Gitblit v1.9.1