From f66b98a1be56a35e4fc46c22c46fd126657becb9 Mon Sep 17 00:00:00 2001 From: 王佳豪 <g675230687@126.com> Date: 星期四, 03 六月 2021 14:22:59 +0800 Subject: [PATCH] 补仓功能 --- src/main/webapp/views/pda/comb.html | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/views/pda/comb.html b/src/main/webapp/views/pda/comb.html index 24b01a3..b2bb877 100644 --- a/src/main/webapp/views/pda/comb.html +++ b/src/main/webapp/views/pda/comb.html @@ -20,7 +20,7 @@ <header> <div class="layui-input-inline"> <label class="layui-form-label">鏉$爜</label> - <input class="layui-input" type="number" id="code" onkeyup="findCode(this)" placeholder="鎵爜 / 杈撳叆" autocomplete="off"> + <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 style="margin: 5px 5px"> <button id="mat-btn" type="button" class="layui-btn layui-btn-normal" onclick="getMat()"><i class="layui-icon">+</i>鎻愬彇</button> @@ -55,8 +55,8 @@ cellMinWidth: 50, cols: [[ {fixed: 'left', align: 'center', field: 'count', title: '鏁伴噺', style:'color: blue', width:50}, - {field: 'matNo', align: 'center', title: '鐗╂枡缂栫爜'}, - {field: 'matName', align: 'center', title: '鐗╂枡鍚嶇О'} + {field: 'matNo', align: 'center', title: '鍟嗗搧缂栧彿'}, + {field: 'matName', align: 'center', title: '鍟嗗搧鍚嶇О'} ]], done: function (res, curr, count) { } @@ -94,7 +94,7 @@ var matData = []; function addTableData(data) { if (isEmpty(data.matName)){ - tips("鎻愬彇澶辫触"); + tips("鎻愬彇澶辫触", true); return; } let toPush = true; -- Gitblit v1.9.1