From 67826a2c51bbc013db409dd1a5e29dd4ba52fd72 Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期二, 20 一月 2026 09:27:47 +0800
Subject: [PATCH] 初始化
---
src/main/webapp/views/pda/comb.html | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/pda/comb.html b/src/main/webapp/views/pda/comb.html
index 13b9cb1..6612aea 100644
--- a/src/main/webapp/views/pda/comb.html
+++ b/src/main/webapp/views/pda/comb.html
@@ -19,7 +19,7 @@
<!-- 澶撮儴 -->
<header>
<div class="layui-input-inline">
- <label class="layui-form-label">鏉$爜</label>
+ <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 style="margin: 5px 5px">
@@ -56,7 +56,10 @@
cols: [[
{fixed: 'left', align: 'center', field: 'anfme', title: '鏁伴噺', style:'color: blue', width:50},
{field: 'matnr', align: 'center', title: '鍟嗗搧缂栧彿'},
- {field: 'maktx', align: 'center', title: '鍟嗗搧鍚嶇О'}
+ {field: 'maktx', align: 'center', title: '鍟嗗搧鍚嶇О'},
+ {field: 'specs', align: 'center', title: '瑙勬牸'},
+ {field: 'unit', align: 'center', title: '鍗曚綅'},
+ {field: 'barcode', align: 'center', title: '鏉$爜'}
]],
done: function (res, curr, anfme) {
}
@@ -130,6 +133,13 @@
tips("鏉$爜蹇呴』涓�8浣�", true);
return;
}
+ if (!barcode.startsWith("5") &&
+ !barcode.startsWith("6") &&
+ !barcode.startsWith("7") &&
+ !barcode.startsWith("8")){
+ tips("鎵樼洏鏉$爜鏍煎紡閿欒", true);
+ return;
+ }
if (matData.length === 0) {
tips("璇锋彁鍙栫墿鏂�", true);
return;
--
Gitblit v1.9.1