From cb54d3d6086cebeae5e41a3675957b16ae005baa Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 27 五月 2021 15:26:11 +0800
Subject: [PATCH] #
---
src/main/webapp/views/pda/stockCheck.html | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/views/pda/stockCheck.html b/src/main/webapp/views/pda/stockCheck.html
index 0262dce..0c7476c 100644
--- a/src/main/webapp/views/pda/stockCheck.html
+++ b/src/main/webapp/views/pda/stockCheck.html
@@ -50,6 +50,17 @@
padding: 5px 20px;
color: darkred;
}
+
+ /**缁胯壊鍕�*/
+ #node-ok {
+ float: left;
+ width: 15px;
+ height: 15px;
+ border-radius: 50%;
+ margin-top: 13px;
+ background-color: #2ac845;
+ display: none;
+ }
</style>
</head>
<body>
@@ -58,6 +69,7 @@
<div class="layui-input-inline" style="margin-top: 0px">
<label class="layui-form-label">璐т綅</label>
<input class="layui-input" id="locNo" onkeyup="find(this)" placeholder="鎵爜 / 杈撳叆" autocomplete="off" style="width: 75%; height: 40px; margin-right: 0;">
+ <span id="node-ok"></span>
</div>
<div style="margin: 5px 5px">
<button id="replenish-btn" type="button" class="layui-btn layui-btn-normal" onclick="replenish()"><i class="layui-icon">+</i>琛ュ厖</button>
@@ -150,6 +162,7 @@
*/
function find(el){
if (isEmpty(el.value)) {
+ $('#node-ok').hide();
return;
}
$.ajax({
@@ -164,6 +177,9 @@
if (res.data != null) {
locDetlData = [];
initTableData(res.data);
+ $('#node-ok').show();
+ } else {
+ $('#node-ok').hide();
}
} else if (res.code === 403) {
top.location.href = baseUrl + "/pda";
@@ -289,6 +305,7 @@
// 閲嶇疆
function reset() {
$('#locNo').val("");
+ $('#node-ok').hide();
locDetlData = [];
tableIns.reload({data: locDetlData});
}
--
Gitblit v1.9.1