From e235d483194ab95bf62d1cfd343a172ff12781e8 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期六, 13 四月 2024 14:58:24 +0800
Subject: [PATCH] 聚乳酸库存明细 1.批号与包号排序需同步,增加水分,挥发段,分解段搜索,按照最大最小范围,包装类型跟托盘类型增加删选功能。 2.已经出库的物料,在明细表里面隐藏掉,但是数据保留。 3.增加二个跟聚乳酸一样的明细表,分改性树脂,纯树脂库存明细表,所有功能跟总的聚乳酸库存明细表一样 4.明细表整体框架调整一下,相对压缩一下,搜索功能框看看能否弄成二行 5.表里面的包装类型与托盘类型这些不主要的信息放到指标后面 6.关于分包再处理,举例原有系统里面销售选定的10包物料,再二次重新弄后,车间打印新标签,使用新的包号,在明细表里面体现原有所有指标信息及批号,包号,牌号跟新的关联 7.出库时候时间可选历史,不要就只能出现4天 8.提取库存里面需要有最大包号跟最小包号选择
---
src/main/webapp/views/pda/locDetlIframe.html | 121 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 120 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/views/pda/locDetlIframe.html b/src/main/webapp/views/pda/locDetlIframe.html
index a30033b..9a9e927 100644
--- a/src/main/webapp/views/pda/locDetlIframe.html
+++ b/src/main/webapp/views/pda/locDetlIframe.html
@@ -10,8 +10,127 @@
<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/handlebars/handlebars-v4.5.3.js"></script>
+ <style>
+ .form-box {
+ padding: 15px 5px 5px 5px;
+ font-size: 16px;
+ text-align: center;
+ }
+
+ .form-item {
+ margin-bottom: 10px;
+ }
+
+ .form-box span {
+ display: inline-block;
+ text-align: right;
+ width: 70px;
+ }
+ .form-box input {
+ width: 120px;
+ margin-left: 10px;
+ padding-left: 5px;
+ height: 30px;
+ border: 1px solid #777777;
+ overflow:hidden;
+ white-space:nowrap;
+ text-overflow:ellipsis;
+ }
+
+ .number-tool {
+ margin-left: 10px;
+ padding: 1px 0 1px 5px;
+ display: inline-block;
+ width: 120px;
+ }
+ .number-tool:after {
+ clear: both;
+ content: "";
+ display: table;
+ }
+ .number-tool button {
+ background-color: #fff;
+ margin-top: 3px;
+ font-size: 16px;
+ height: 25px;
+ float: left;
+ width: 25px;
+ border: 1px solid #777777;
+ }
+ .number-tool input {
+ text-align: center;
+ height: 30px;
+ float: left;
+ margin: 0 5px;
+ width: 40px;
+ padding: 0;
+ }
+
+ .form-button {
+ margin: 5px 10px 0 10px;
+ padding: 5px 15px;
+ }
+ </style>
</head>
<body>
-
+<div class="form-box">
+ <div class="form-item">
+ <span>搴撲綅鍙�</span>
+ <input id="locNo" type="text" disabled="disabled">
+ </div>
+ <div class="form-item">
+ <span>鍟嗗搧缂栧彿</span>
+ <input id="matnr" type="text" disabled="disabled">
+ </div>
+ <div class="form-item">
+ <span>鍟嗗搧鍚嶇О</span>
+ <input id="maktx" type="text" disabled="disabled">
+ </div>
+ <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>-->
+ </div>
+ </div>
+ <button class="form-button" id="save" onclick="save()">淇濆瓨</button>
+ <button class="form-button" id="remove" onclick="remove()">绉婚櫎</button>
+</div>
</body>
+<script>
+ var countDom = $('#count');
+
+ function save() {
+ console.log(countDom.val())
+ if (countDom.val() < 1) {
+ return;
+ }
+ parent.updateTableData({
+ locNo: $('#locNo').val(),
+ matnr: $('#matnr').val(),
+ maktx: $('#maktx').val(),
+ count: countDom.val()
+ })
+ parent.layer.closeAll();
+ }
+
+ function remove() {
+ parent.removeTableData({
+ locNo: $('#locNo').val(),
+ matnr: $('#matnr').val(),
+ })
+ parent.layer.closeAll();
+ }
+
+ function add() {
+ countDom.val(Number(countDom.val()) + 1);
+ }
+ function reduce() {
+ if (countDom.val() <= 1) {
+ return;
+ }
+ countDom.val(countDom.val() - 1);
+ }
+</script>
</html>
\ No newline at end of file
--
Gitblit v1.9.1