#
luxiaotao1123
2021-03-26 ab440f3a09ae3c17e3e4d436ce98cd687ab666bb
#
2个文件已修改
17 ■■■■■ 已修改文件
src/main/webapp/static/js/safeSto/safeSto.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/safeSto/safeSto.html 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/safeSto/safeSto.js
@@ -20,14 +20,12 @@
        cellMinWidth: 50,
        cols: [[
            {type: 'numbers', fixed: 'left'}
            ,{field: 'node_name', align: 'center',title: '货位'}
            ,{field: 'matnr', align: 'center',title: '商品编号'}
            ,{field: 'maktx', align: 'center',title: '商品名称'}
            // ,{field: 'nodeId$', align: 'center',title: '关联货位'}
            ,{field: 'node_name', align: 'center',title: '货位'}
            ,{field: 'safe_qua', align: 'center',title: '安全库存'}
            ,{field: 'amount', align: 'center',title: '实际库存'}
            ,{field: 'progress', align: 'center',title: '进度', templet: '#progressTpl'}
            ,{field: 'progress', align: 'center',title: '使用情况', templet: '#progressTpl'}
            ,{field: 'safe_qua', align: 'center',title: '安全库存量', style: 'font-weight: bold'}
            ,{field: 'amount', align: 'center',title: '当前库存量', style: 'font-weight: bold'}
            ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150}
        ]],
        request: {
src/main/webapp/views/safeSto/safeSto.html
@@ -9,6 +9,11 @@
    <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../static/css/cool.css" media="all">
    <link rel="stylesheet" href="../../static/css/common.css" media="all">
    <style>
        .layui-progress {
            margin-top: 10px;
        }
    </style>
</head>
<body>
@@ -66,7 +71,7 @@
    <a class="layui-btn layui-btn-xs btn-edit" lay-event="edit">编辑</a>
</script>
<script type="text/html" id="progressTpl">
    <div class="layui-progress layuiadmin-order-progress" lay-filter="progress-"+ {{ d.orderid }} +"">
    <div class="layui-progress layuiadmin-order-progress">
      <div class="layui-progress-bar layui-bg-blue" lay-percent= {{ d.progress }}></div>
    </div>
</script>