From e235d483194ab95bf62d1cfd343a172ff12781e8 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期六, 13 四月 2024 14:58:24 +0800 Subject: [PATCH] 聚乳酸库存明细 1.批号与包号排序需同步,增加水分,挥发段,分解段搜索,按照最大最小范围,包装类型跟托盘类型增加删选功能。 2.已经出库的物料,在明细表里面隐藏掉,但是数据保留。 3.增加二个跟聚乳酸一样的明细表,分改性树脂,纯树脂库存明细表,所有功能跟总的聚乳酸库存明细表一样 4.明细表整体框架调整一下,相对压缩一下,搜索功能框看看能否弄成二行 5.表里面的包装类型与托盘类型这些不主要的信息放到指标后面 6.关于分包再处理,举例原有系统里面销售选定的10包物料,再二次重新弄后,车间打印新标签,使用新的包号,在明细表里面体现原有所有指标信息及批号,包号,牌号跟新的关联 7.出库时候时间可选历史,不要就只能出现4天 8.提取库存里面需要有最大包号跟最小包号选择 --- src/main/webapp/static/js/locDetl/locDetl.js | 42 ++++++++---------------------------------- 1 files changed, 8 insertions(+), 34 deletions(-) diff --git a/src/main/webapp/static/js/locDetl/locDetl.js b/src/main/webapp/static/js/locDetl/locDetl.js index 7c9a734..0d5e4da 100644 --- a/src/main/webapp/static/js/locDetl/locDetl.js +++ b/src/main/webapp/static/js/locDetl/locDetl.js @@ -5,11 +5,10 @@ {field: 'matnr', align: 'center',title: '鍟嗗搧缂栧彿', sort:true} ,{field: 'maktx', align: 'center',title: '鍟嗗搧鍚嶇О', sort:true} ,{field: 'orderNo', align: 'center',title: '鍗曟嵁缂栧彿', hide: false} - ,{field: 'batch', align: 'center',title: '搴忓垪鐮�', width: 300, sort:true} + ,{field: 'batch', align: 'center',title: '鎵瑰彿', width: 200, sort:true} ,{field: 'anfme', align: 'center',title: '鏁伴噺'} - ,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'} - - ,{field: 'specs', align: 'center',title: '閰嶇疆'} + ,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜',hide: true} + ,{field: 'specs', align: 'center',title: '閰嶇疆',hide: true} ,{field: 'model', align: 'center',title: '浠g爜', hide: true} ,{field: 'color', align: 'center',title: '棰滆壊', hide: true} ,{field: 'brand', align: 'center',title: '鍝佺墝', hide: true} @@ -23,7 +22,7 @@ ,{field: 'manuDate', align: 'center',title: '鐢熶骇鏃ユ湡', hide: true} ,{field: 'itemNum', align: 'center',title: '鍝侀」鏁�', hide: true} ,{field: 'safeQty', align: 'center',title: '瀹夊叏搴撳瓨閲�', hide: true} - ,{field: 'weight', align: 'center',title: '鍗曠鍑�閲�', hide: true} + ,{field: 'weight', align: 'center',title: '閲嶉噺', hide: false} ,{field: 'length', align: 'center',title: '鍗曠姣涢噸', hide: true} ,{field: 'volume', align: 'center',title: '鍗曠浣撶Н', hide: true} ,{field: 'threeCode', align: 'center',title: '绠卞瓙灏哄', hide: true} @@ -35,6 +34,7 @@ ,{field: 'source$', align: 'center',title: '鍒惰喘', hide: true} ,{field: 'check$', align: 'center',title: '瑕佹眰妫�楠�', hide: true} ,{field: 'danger$', align: 'center',title: '鍗遍櫓鍝�', hide: true} + ,{field: 'owner$', align: 'center',title: '璐т富', hide: false} ]; @@ -58,11 +58,8 @@ headers: {token: localStorage.getItem('token')}, url: baseUrl+'/locDetl/list/auth', page: true, - limit: 20, - where:{ - unreason: false - }, - limits: [20, 30, 50, 100, 200, 500], + limit: 16, + limits: [16, 30, 50, 100, 200, 500], even: true, toolbar: '#toolbar', cellMinWidth: 50, @@ -446,6 +443,7 @@ // 鎼滅储鏍忔悳绱簨浠� form.on('submit(search)', function (data) { + debugger; pageCurr = 1; tableReload(false); }); @@ -456,29 +454,6 @@ pageCurr = 1; clearFormVal($('#search-box')); tableReload(false); - }); - - //鏌ョ湅寮傚父鏁版嵁 - form.on('submit(unreason)', function (data) { - pageCurr = 1; - - tableIns.reload({ - where: { - unreason: true - }, - page: { - curr: pageCurr - }, - done: function (res, curr, count) { - - if (res.code === 403) { - top.location.href = baseUrl+"/"; - } - pageCurr=curr; - - limit(child); - } - }); }); // 鏃堕棿閫夋嫨鍣� @@ -501,7 +476,6 @@ function tableReload(child) { var searchData = { - unreason: false }; $.each($('#search-box [name]').serializeArray(), function() { searchData[this.name] = this.value; -- Gitblit v1.9.1