From 39eda46cbbf3ebb393c3770a5a19e923cace2a13 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期四, 22 四月 2021 14:05:54 +0800 Subject: [PATCH] # --- src/main/webapp/views/pda/stockCheck.html | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/views/pda/stockCheck.html b/src/main/webapp/views/pda/stockCheck.html index 525e933..0262dce 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) { @@ -264,6 +264,7 @@ content: 'matQuery.html', success: function(layero, index){ $('.layui-layer-title').css('font-size', '16px'); + $('.layui-layer.layui-layer-iframe').css('border-radius', '8px'); }, end: function () { // $('#mat-btn').focus(); @@ -299,9 +300,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