|  |  |  | 
|---|
|  |  |  | var cols = [ | 
|---|
|  |  |  | {fixed: 'left', field: 'count', title: '实际数量', align: 'center', edit:'text', width: 120,  style:'color: blue;font-weight: bold'} | 
|---|
|  |  |  | ,{field: 'anfme', align: 'center',title: '数量'} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '序列码(编辑)', edit: true, style: 'font-weight:bold'} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '序列码', edit: true, style: 'font-weight:bold'} | 
|---|
|  |  |  | ,{field: 'threeCode', align: 'center',title: '销售订单号', edit: true, style: 'font-weight:bold'} | 
|---|
|  |  |  | ,{field: 'deadTime', align: 'center',title: '销售订单行号', edit: true, style: 'font-weight:bold'} | 
|---|
|  |  |  | ,{field: 'suppCode', align: 'center',title: '货架码', edit: true, style: 'font-weight:bold'} | 
|---|
|  |  |  | ]; | 
|---|
|  |  |  | arrRemove(detlCols, "field", "zpallet"); | 
|---|
|  |  |  | arrRemove(detlCols, "field", "anfme"); | 
|---|
|  |  |  | arrRemove(detlCols, "field", "batch"); | 
|---|
|  |  |  | arrRemove(detlCols, "field", "threeCode"); | 
|---|
|  |  |  | arrRemove(detlCols, "field", "deadTime"); | 
|---|
|  |  |  | cols.push.apply(cols, detlCols); | 
|---|
|  |  |  | cols.push({fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:80}) | 
|---|
|  |  |  | return cols; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | layer.confirm('确定调整'+currLocNo+'库位的明细吗?', {shadeClose: true}, function(){ | 
|---|
|  |  |  | $.ajax({ | 
|---|
|  |  |  | url: baseUrl+"/locDdetl/adjust/start", | 
|---|
|  |  |  | url: baseUrl+"/agv/locDdetl/adjust/start", | 
|---|
|  |  |  | headers: {'token': localStorage.getItem('token')}, | 
|---|
|  |  |  | data: JSON.stringify({ | 
|---|
|  |  |  | locNo: currLocNo, | 
|---|
|  |  |  | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | function init(locNo) { | 
|---|
|  |  |  | http.post(baseUrl + "/locDetl/list/auth", {locNo: locNo,limit: 1000}, function (res) { | 
|---|
|  |  |  | http.post(baseUrl + "/agv/locDetl/list/auth", {locNo: locNo,limit: 1000}, function (res) { | 
|---|
|  |  |  | matCodeData = []; | 
|---|
|  |  |  | matCodeData = res.data.records; | 
|---|
|  |  |  | for (var i = 0; i<matCodeData.length; i++) { | 
|---|
|  |  |  | 
|---|
|  |  |  | // 库位提示框 | 
|---|
|  |  |  | function locTips(retrieve, locNo) { | 
|---|
|  |  |  | if (retrieve) { | 
|---|
|  |  |  | http.post(baseUrl+"/locMast/"+locNo+"/auth", null, function (res) { | 
|---|
|  |  |  | http.post(baseUrl+"/agv/locMast/"+locNo+"/auth", null, function (res) { | 
|---|
|  |  |  | let data = res.data; | 
|---|
|  |  |  | if (data != null) { | 
|---|
|  |  |  | $(".retrieve").show(); | 
|---|