From 15d69d9f596a7529ce5a8b8d5a38b94e5c50b6b6 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 18 六月 2021 09:21:56 +0800 Subject: [PATCH] # 库存跳转上报erp --- src/main/webapp/static/js/pakStore/locCheckOut.js | 32 +++++++++++++------------------- 1 files changed, 13 insertions(+), 19 deletions(-) diff --git a/src/main/webapp/static/js/pakStore/locCheckOut.js b/src/main/webapp/static/js/pakStore/locCheckOut.js index 7013dac..e3e95c4 100644 --- a/src/main/webapp/static/js/pakStore/locCheckOut.js +++ b/src/main/webapp/static/js/pakStore/locCheckOut.js @@ -1,4 +1,13 @@ var pageCurr; +var tableIns; +function getCol() { + var cols = [ + {field: 'locNo$', align: 'center',title: '搴撲綅鍙�'} + ]; + cols.push.apply(cols, detlCols); + return cols; +} + layui.use(['table','laydate', 'form'], function() { var table = layui.table; var $ = layui.jquery; @@ -13,22 +22,7 @@ even: true, toolbar: '#toolbar', cellMinWidth: 50, - cols: [[ - // {field: 'count', align: 'center',title: '鍑哄簱鏁伴噺', edit:'text', width: 130, style:'color: blue;font-weight: bold'} // todo - {field: 'anfme', align: 'center',title: '鏁伴噺'} - ,{field: 'locNo$', align: 'center',title: '搴撲綅鍙�'} - ,{field: 'matnr', align: 'center',title: '鐗╂枡'} - // ,{field: 'lgnum', align: 'center',title: '浠撳簱鍙�', width:80} - // ,{field: 'tbnum', align: 'center',title: '杞偍璇锋眰缂栧彿'} - // ,{field: 'tbpos', align: 'center',title: '琛岄」鐩�'} - // ,{field: 'zmatid', align: 'center',title: '鐗╂枡鏍囩ID', width:200} - ,{field: 'maktx', align: 'center',title: '鐗╂枡鎻忚堪'} - // ,{field: 'werks', align: 'center',title: '宸ュ巶'} - ,{field: 'altme', align: 'center',title: '鍗曚綅'} - ,{field: 'zpallet', align: 'center',title: '鎵樼洏鏉$爜'} - // ,{field: 'bname', align: 'center',title: '鐢ㄦ埛ID'} - // ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:80} // todo - ]], + cols: [getCol()], done: function(res, curr, count) { limit(); getOutBound(); @@ -125,7 +119,7 @@ // 鑾峰彇鍑哄簱鍙� function getOutBound(){ $.ajax({ - url: baseUrl+"/available/take/site", + url: baseUrl+"/available/take/check/site", headers: {'token': localStorage.getItem('token')}, method: 'POST', async: false, @@ -151,11 +145,11 @@ function getLocDetl() { locDetlLayerIdx = layer.open({ type: 2, - title: '鎻愬彇鐗╂枡', + title: '鎻愬彇鍑鸿揣鍐呭', maxmin: true, area: [top.detailWidth, top.detailHeight], shadeClose: true, - content: 'locDetlQuery.html', + content: 'locDetlCheckQuery.html', success: function(layero, index){ } }); -- Gitblit v1.9.1