自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-10 c8dd6140ad38f5f87e969c8dfe914695b1b80bf6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
layui.use(['table','laydate', 'form'], function() {
    var table = layui.table;
    var $ = layui.jquery;
    var layer = layui.layer;
    var layDate = layui.laydate;
    var form = layui.form;
 
    tableIns = table.render({
        elem: '#chooseData',
        even: true,
        cellMinWidth: 50,
        cols: [[
            {type: 'checkbox', fixed: 'left'},
            {field: 'matNo', align: 'center', title: '物料编码', sort: 'true'},
            {field: 'barcode', align: 'center', title: '条码'},
            {field: 'matName', align: 'center', title: '物料名称'},
            {field: 'str1', align: 'center', title: '物料单位'},
            {field: 'str2', align: 'center', title: '物料规格'},
            {field: 'count', title: '数量', align: 'center', edit:'text', width: 100}
        ]],
        done: function (res, curr, count) {
        }
    });
 
});
 
// 提取物料
var matCodeLayerIdx;
function getMat() {
    matCodeLayerIdx = layer.open({
        type: 2,
        title: '库位物料',
        maxmin: true,
        area: [top.detailWidth, top.detailHeight],
        shadeClose: true,
        content: 'matQuery.html',
        success: function(layero, index){
        }
    });
}