| | |
| | | cellMinWidth: 50, |
| | | cols: [[ |
| | | {fixed: 'left', align: 'center', field: 'count', title: '数量', style:'color: blue', width:50}, |
| | | {field: 'matNo', align: 'center', title: '物料编码'}, |
| | | {field: 'matName', align: 'center', title: '物料名称'} |
| | | {field: 'matNo', align: 'center', title: '产品代号'}, |
| | | {field: 'matName', align: 'center', title: '产品名称'} |
| | | ]], |
| | | done: function (res, curr, count) { |
| | | } |
| | |
| | | function getMat() { |
| | | matCodeLayerIdx = layer.open({ |
| | | type: 2, |
| | | title: '提取物料', |
| | | title: '提取产品', |
| | | shade: [0.3,'#000'], |
| | | area: ['90%', '80%'], |
| | | content: 'matQuery.html', |
| | |
| | | return; |
| | | } |
| | | if (matData.length === 0) { |
| | | tips("请提取物料", true); |
| | | tips("请提取产品", true); |
| | | return; |
| | | } |
| | | $.ajax({ |