Commit 356877ef by anxiaohe

bug修改

parent f993934f
...@@ -429,11 +429,11 @@ ...@@ -429,11 +429,11 @@
btn: ['确定', '关闭'], btn: ['确定', '关闭'],
success: function () { success: function () {
// $("#scanResult").focus(); // $("#scanResult").focus();
debugger
scanStart(); scanStart();
renderScanTable(); renderScanTable();
}, },
yes: function (index, layero) { yes: function (index, layero) {
debugger
var selectTableData = getSelectScanTable(); var selectTableData = getSelectScanTable();
if (!selectTableData.length) { if (!selectTableData.length) {
jp.alert('至少选择一条数据'); jp.alert('至少选择一条数据');
...@@ -466,6 +466,10 @@ ...@@ -466,6 +466,10 @@
var data = res.rows || []; var data = res.rows || [];
if (data.length) { if (data.length) {
var item = data[0]; var item = data[0];
if (!item) {
jp.warning('不是有效的二维码');
return;
}
// //
// /*** // /***
// * 重复的物资编码去重 // * 重复的物资编码去重
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment