From 111d09d2f3fadf841e3df1c72dfd423ea1c91649 Mon Sep 17 00:00:00 2001 From: 18516761980 <4761516tqsxp> Date: 星期五, 14 一月 2022 13:59:30 +0800 Subject: [PATCH] #单据类型区分入库单和出库单 --- src/main/webapp/static/js/item/item.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/item/item.js b/src/main/webapp/static/js/item/item.js index 8ca9f62..15ee0ef 100644 --- a/src/main/webapp/static/js/item/item.js +++ b/src/main/webapp/static/js/item/item.js @@ -72,7 +72,7 @@ statusCode: 200 }, done: function(res, curr, count) { - console.log(res.data) + if (res.code === 403) { top.location.href = baseUrl+"/"; } @@ -177,7 +177,7 @@ success: function (layero, dIndex) { layDateRender(); form.val('detail', mData); - console.log(mData) + form.on('submit(editSubmit)', function (data) { var loadIndex = layer.load(2); @@ -287,6 +287,7 @@ function tableReload(child) { var searchData = {}; + $.each($('#search-box [name]').serializeArray(), function() { searchData[this.name] = this.value; }); -- Gitblit v1.9.1