| | |
| | | ) |
| | | cols.push.apply(cols, locNormalCols); |
| | | cols.push( |
| | | {field: 'warehouse', align: 'center', title: '库区'} |
| | | {field: 'warehouse$', align: 'center', title: '库区'} |
| | | , {field: 'state', align: 'center', title: '出入库状态', templet: '#locNormalState'} |
| | | , {field: 'modiUser$', align: 'center', title: '修改人员', hide: true} |
| | | , {field: 'modiTime$', align: 'center', title: '修改时间', hide: true} |
| | |
| | | records.map(function (item) { |
| | | locArea.map(function (d) { |
| | | if (d.uuid == item.warehouse) { |
| | | item.warehouse = d.name; |
| | | item.warehouse$ = d.name; |
| | | } |
| | | }) |
| | | }); |
| | |
| | | matnr: matnr, |
| | | anfme: count, |
| | | id: id, |
| | | warehouse: obj.data.warehouse, |
| | | supplier: obj.data.supplier, |
| | | mnemonic: obj.data.mnemonic, |
| | | } |
| | | layer.confirm("确定修改" + obj.data.maktx + "的数量吗", { |
| | | btn: ['确定', '取消'] |
| | | }, function () { |
| | | // 按钮1的事件 |
| | | $.ajax({ |
| | | url: baseUrl + "/locNormal/update/auth", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | data: top.reObject(param), |
| | | method: 'POST', |
| | | success: function (res) { |
| | | layer.msg("") |
| | | }, |
| | | }); |
| | | }, function () { |
| | | // 按钮2的事件 |
| | | tableIns.reload(); |
| | | }); |
| | | }); |
| | | |
| | | // 搜索栏重置事件 |