From 0474a145d356ad5f539b05ddc74129b73fe60b41 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 30 三月 2022 11:11:12 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/common.js | 3 ++-
src/main/webapp/static/js/pakStore/pakStore.js | 10 ++++++++--
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js
index 48c76ed..5799bb9 100644
--- a/src/main/webapp/static/js/common.js
+++ b/src/main/webapp/static/js/common.js
@@ -182,8 +182,9 @@
var detlCols = [
{field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿'}
,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О'}
+ ,{field: 'batch', align: 'center',title: '鎵瑰彿'}
,{field: 'lgnum', align: 'center',title: '瑙勬牸'}
- ,{field: 'type', align: 'center',title: '鍨嬪彿'}
+ ,{field: 'type', align: 'center',title: '鍨嬪彿', hide: true}
,{field: 'supplier', align: 'center',title: '鎵瑰彿', hide: true}
,{field: 'anfme', align: 'center',title: '鏁伴噺'}
,{field: 'altme', align: 'center',title: '鍗曚綅'}
diff --git a/src/main/webapp/static/js/pakStore/pakStore.js b/src/main/webapp/static/js/pakStore/pakStore.js
index 9d61001..0b92abc 100644
--- a/src/main/webapp/static/js/pakStore/pakStore.js
+++ b/src/main/webapp/static/js/pakStore/pakStore.js
@@ -79,11 +79,16 @@
return;
}
}
+ let devpNo = $('#putSiteSelect').val();
+ if (isEmpty(devpNo)) {
+ layer.msg("璇烽�夋嫨鍏ュ簱绔�", {icon: 2});
+ return;
+ }
$.ajax({
url: baseUrl+"/full/store/put/start",
headers: {'token': localStorage.getItem('token')},
data: JSON.stringify({
- devpNo: Number($('#putSiteSelect').val()),
+ devpNo: Number(devpNo),
list: matCodeData
}),
contentType:'application/json;charset=UTF-8',
@@ -95,7 +100,6 @@
matCodeData = [];
$('#focusMatByMat').val("");
tableIns.reload({data: matCodeData,done:function (res) { limit(); getInBound();}});
- document.getElementById("focusMatByMat").focus();
} else if (res.code === 403){
top.location.href = baseUrl+"/";
}else {
@@ -104,6 +108,8 @@
}
})
break;
+ default:
+ break;
}
});
--
Gitblit v1.9.1