From b9b1be6a7c71938fb93bc57629e0db07275b7740 Mon Sep 17 00:00:00 2001 From: 18516761980 <4761516tqsxp> Date: 星期五, 14 一月 2022 14:40:35 +0800 Subject: [PATCH] #单据类型区分入库单和出库单 --- src/main/webapp/static/js/item/item.js | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/js/item/item.js b/src/main/webapp/static/js/item/item.js index 8ca9f62..c74bfdc 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,9 +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); $.ajax({ url: baseUrl+"/item/"+(mData?'update':'add')+"/auth", @@ -287,6 +285,7 @@ function tableReload(child) { var searchData = {}; + $.each($('#search-box [name]').serializeArray(), function() { searchData[this.name] = this.value; }); -- Gitblit v1.9.1