From 2fbf3adb37334f90c29b1f119f0652f37a2608dc Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期二, 19 十一月 2024 10:03:17 +0800
Subject: [PATCH] #优化
---
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