From 960d4eff85f99f138eda0ac360d2870882156a47 Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期四, 25 三月 2021 10:47:16 +0800
Subject: [PATCH] 1.0.5 1.小太阳需求改动

---
 src/main/webapp/views/pda/combPro.html |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/main/webapp/views/pda/combPro.html b/src/main/webapp/views/pda/combPro.html
index 83b94c9..93a6cb2 100644
--- a/src/main/webapp/views/pda/combPro.html
+++ b/src/main/webapp/views/pda/combPro.html
@@ -55,13 +55,13 @@
 <body>
 <!-- 澶撮儴 -->
 <header>
-    <div class="layui-input-inline">
-        <label class="layui-form-label">鏉$爜</label>
-        <input class="layui-input" type="number" id="code" onkeyup="findCode(this)" oninput="if(value.length>8)value=value.slice(0,8)" placeholder="鎵爜 / 杈撳叆" autocomplete="off">
-    </div>
     <div class="layui-input-inline" style="margin-top: 5px">
-        <label class="layui-form-label">鍗曞彿</label>
-        <input class="layui-input" id="billNo" oninput="find(this)" placeholder="鎵爜 / 杈撳叆" autocomplete="off" style="width: 75%; height: 40px; margin-right: 0;">
+        <label class="layui-form-label">&nbsp;&nbsp;&nbsp;鍗曞彿</label>
+        <input class="layui-input" id="billNo" oninput="find(this)" placeholder="鎵爜 / 杈撳叆" autocomplete="off" style="width: 70%; height: 40px; margin-right: 0;">
+    </div>
+    <div class="layui-input-inline">
+        <label class="layui-form-label">鎵樼洏鐮�</label>
+        <input class="layui-input" type="number" id="code" onkeyup="findCode(this)" oninput="if(value.length>8)value=value.slice(0,8)" placeholder="鎵爜 / 杈撳叆" autocomplete="off">
     </div>
 </header>
 
@@ -105,7 +105,7 @@
 
 </body>
 <script>
-    window.onload = function(){document.getElementById("code").focus();}
+    window.onload = function(){document.getElementById("billNo").focus();}
     var tableIns;
     var countLayer;
     layui.use(['table','laydate', 'form'], function() {
@@ -120,9 +120,9 @@
             limit: 500,
             cellMinWidth: 50,
             cols: [[
-                {fixed: 'left', align: 'center', field: 'count', title: '鏁伴噺', event: 'modify', style:'cursor: pointer;color: blue', width:50},
                 {field: 'matNo', align: 'center', title: '鐗╂枡缂栫爜'},
-                {field: 'warehouse', align: 'center', title: '鐢熶骇鍗曞彿'}
+                {field: 'mnemonic', align: 'center', title: '鐢熶骇鍗曞彿'},
+                {fixed: 'right', align: 'center', field: 'count', title: '鏁伴噺', event: 'modify', style:'cursor: pointer;color: blue', width:50},
 //                {field: 'matName', align: 'center', title: '鐗╂枡鍚嶇О'}
             ]],
             done: function (res, curr, count) {
@@ -156,9 +156,9 @@
     });
 
     function findCode(el) {
-        if (el.value.length === 7) {
-            $('#billNo').focus();
-        }
+//        if (el.value.length === 7) {
+//            $('#code').focus();
+//        }
     }
 
     // 娣诲姞琛ㄦ牸鏁版嵁
@@ -177,7 +177,7 @@
             }
         }
         tableIns.reload({data: matData});
-        $("#comb-btn").focus();
+//        $("#comb-btn").focus();
     }
 
 
@@ -215,7 +215,7 @@
                     tips(res.msg, true)
                 }
             }
-        })
+        });
     }
 
     /*************************************  鏁伴噺  ****************************************/

--
Gitblit v1.9.1