From 8d1fc05a7976cf67d2c685f092c844f6087ab2b3 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 07 四月 2021 08:20:25 +0800
Subject: [PATCH] #
---
src/main/webapp/views/pda/stockCheck.html | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/main/webapp/views/pda/stockCheck.html b/src/main/webapp/views/pda/stockCheck.html
index 525e933..f45778d 100644
--- a/src/main/webapp/views/pda/stockCheck.html
+++ b/src/main/webapp/views/pda/stockCheck.html
@@ -114,7 +114,7 @@
cellMinWidth: 50,
cols: [[
{fixed: 'left', align: 'center', field: 'count', title: '鏁伴噺', event: 'modify', style:'font-weight: bold;', width:50},
- {field: 'matnr', align: 'center', title: '鍟嗗搧缂栧彿', event: 'modify'},
+ // {field: 'matnr', align: 'center', title: '鍟嗗搧缂栧彿', event: 'modify'},
{field: 'maktx', align: 'center', title: '鍟嗗搧鍚嶇О', event: 'modify'}
]],
done: function (res, curr, count) {
@@ -299,9 +299,13 @@
tips("璐т綅涓嶈兘涓虹┖", true);
return;
}
- if (locDetlData.length === 0) {
- tips("璇锋彁鍙栫墿鏂�", true);
- return;
+ if (locDetlData.length > 0) {
+ for (var i = 0; i<locDetlData.length; i++) {
+ if (locDetlData[i].count === null || locDetlData[i].count === 0) {
+ tips(locDetlData[i].matnr + "鍟嗗搧鏁伴噺閿欒", true);
+ return;
+ }
+ }
}
$.ajax({
url: baseUrl+"/work/stock/check",
--
Gitblit v1.9.1