| | |
| | | {field: 'maktx', title: '商品名称', width: 160}, |
| | | {field: 'batch', title: '序列码'}, |
| | | {field: 'anfme', title: '数量'}, |
| | | {field: 'qty', title: '作业数量', style: 'font-weight: bold'}, |
| | | // {field: 'unit', title: '单位'}, |
| | | {field: 'workQty', title: '作业数量', style: 'font-weight: bold'}, |
| | | {field: 'qty', title: '完成数量'}, |
| | | // { |
| | | // field: 'createTime$', title: '创建时间', sort: true, templet: function (d) { |
| | | // return util.toDateString(d.createTime); |
| | |
| | | condition: decodeURI(docName) |
| | | }, |
| | | success: function (res) { |
| | | $("#docType").val(res.data[0].id) |
| | | $(document.getElementById("docType$")).val(res.data[0].value) |
| | | if (res.code == 200) { |
| | | if (res.data.length > 0) { |
| | | $("#docType").val(res.data[0].id); |
| | | $(document.getElementById("docType$")).val(res.data[0].value) |
| | | } |
| | | } |
| | | } |
| | | }) |
| | | |