From 69e416081014eaf28986119760dc235b067ef94d Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 26 四月 2021 15:01:10 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/ioWorks/stockOut.js | 17 ++++-------------
1 files changed, 4 insertions(+), 13 deletions(-)
diff --git a/src/main/webapp/static/js/ioWorks/stockOut.js b/src/main/webapp/static/js/ioWorks/stockOut.js
index d391e22..bbdc8d6 100644
--- a/src/main/webapp/static/js/ioWorks/stockOut.js
+++ b/src/main/webapp/static/js/ioWorks/stockOut.js
@@ -45,23 +45,14 @@
if (data.length === 0){
layer.msg('璇峰厛娣诲姞搴撲綅鐗╂枡');
} else {
- // var staNo = $("#staNoSelect").val();
- // if (staNo === "" || staNo === null){
- // layer.msg("璇烽�夋嫨鍑哄簱鍙�");
- // return;
- // }
var locDetls = [];
data.forEach(function(elem) {
- locDetls.push({locNo: elem.locNo, matnr: elem.matnr, count: elem.count});
+ locDetls.push({nodeId: elem.nodeId, matnr: elem.matnr, count: elem.count});
});
- let param = {
- outSite: staNo,
- locDetls: locDetls
- }
$.ajax({
- url: baseUrl+"/plate/out/start",
+ url: baseUrl+"/work/pakout/init",
headers: {'token': localStorage.getItem('token')},
- data: JSON.stringify(param),
+ data: JSON.stringify(locDetls),
contentType:'application/json;charset=UTF-8',
method: 'POST',
success: function (res) {
@@ -71,7 +62,7 @@
limit();
// getOutBound();
}});
- layer.msg(res.msg);
+ layer.msg(res.msg, {icon: 1});
} else if (res.code === 403){
top.location.href = baseUrl+"/";
} else {
--
Gitblit v1.9.1