From b7e08df5a07b3fa832a46ecc31983e16f2bccc8c Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 24 七月 2023 14:56:01 +0800
Subject: [PATCH] # 出库作业,和库存明细管理 排序
---
src/main/webapp/views/pda/stockIn.html | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/main/webapp/views/pda/stockIn.html b/src/main/webapp/views/pda/stockIn.html
index 524252a..ccc4650 100644
--- a/src/main/webapp/views/pda/stockIn.html
+++ b/src/main/webapp/views/pda/stockIn.html
@@ -72,7 +72,7 @@
<header>
<div class="layui-input-inline">
<label class="layui-form-label">鏉$爜</label>
- <input class="layui-input" type="number" id="code" onkeyup="findCode(this)" maxlength="8" 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" class="layui-form">
<button id="mat-btn" type="button" class="layui-btn layui-btn-normal" onclick="getMat()"><i class="layui-icon">+</i>鎻愬彇</button>
@@ -120,8 +120,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: '浜у搧浠e彿'},
+ {field: 'matName', align: 'center', title: '浜у搧鍚嶇О'}
]],
done: function (res, curr, count) {
@@ -160,12 +160,12 @@
})
}
- // 鎻愬彇鐗╂枡
+ // 鎻愬彇浜у搧
var matCodeLayerIdx;
function getMat() {
matCodeLayerIdx = layer.open({
type: 2,
- title: '鐗╂枡',
+ title: '浜у搧',
shade: [0.3,'#000'],
area: ['90%', '80%'],
content: 'matQuery.html',
@@ -182,7 +182,7 @@
var matData = [];
function addTableData(data) {
if (isEmpty(data.matName)){
- tips("鎻愬彇澶辫触");
+ tips("鎻愬彇澶辫触", true);
return;
}
let toPush = true;
@@ -221,7 +221,7 @@
return;
}
if (matData.length === 0) {
- tips("璇锋彁鍙栫墿鏂�", true);
+ tips("璇锋彁鍙栦骇鍝�", true);
return;
}
// var site = $('input:radio[name="site"]:checked').next("span").html();
--
Gitblit v1.9.1