| | |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'specs', align: 'center',title: '规格'} |
| | | ,{field: 'weight', align: 'center',title: '库位总重量', hide: false} |
| | | ,{field: 'weight', align: 'center',title: '库位总重量', hide: true} |
| | | |
| | | ,{field: 'batch', align: 'center',title: '批号', width: 300, sort:true, hide: true} |
| | | ,{field: 'batch', align: 'center',title: '批号', sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码'} |
| | | ,{field: 'model', align: 'center',title: '代码', hide: true} |
| | |
| | | ,{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} |
| | | ,{field: 'payment$', align: 'center',title: '货物形态', hide: false} |
| | | ,{field: 'status$', align: 'center',title: '明细锁', hide: false} |
| | | |
| | | ]; |
| | | |
| | | // cols.push.apply(cols, detlCols); |
| | | cols.push({field: 'modiUser$', align: 'center',title: '修改人员',hide: true} |
| | | // ,{field: 'stockFreeze', align: 'center',title: '库存冻结', templet: '#stockFreezeTpl'} |
| | | ,{field: 'modiTime$', align: 'center',title: '修改时间'} |
| | | ) |
| | | return cols; |
| | |
| | | if (res.code === 403) { |
| | | top.location.href = baseUrl+"/"; |
| | | } |
| | | tableData = table.cache.locDetl; |
| | | console.log(tableData); |
| | | pageCurr=curr; |
| | | limit(); |
| | | form.on('checkbox(tableCheckbox)', function (data) { |
| | |
| | | elem: '#appeTime\\$', |
| | | type: 'datetime' |
| | | }); |
| | | //库存冻结监听 |
| | | form.on('switch(stockFreezeSwitch)', function (obj) { |
| | | let index = obj.othis.parents('tr').attr("data-index"); |
| | | let data = tableData[index]; |
| | | data[this.stockFreeze] = obj.elem.checked?1:0; |
| | | http.post(baseUrl + "/manlocDetl/updateStockFreeze/auth", { |
| | | locNo: data.locNo, |
| | | matnr: data.matnr, |
| | | stockFreeze: data[this.stockFreeze] |
| | | }, function (res) { |
| | | layer.msg(res.msg, {icon: 1}); |
| | | }); |
| | | }) |
| | | |
| | | |
| | | }); |