#
luxiaotao1123
2021-03-12 42a908a0a60b27d016231d062bac08be1b64d3e3
#
4个文件已修改
55 ■■■■■ 已修改文件
src/main/webapp/static/js/custOrder/custOrder.js 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/allo/allo.html 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/area/area.html 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/custOrder/custOrder.html 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/custOrder/custOrder.js
@@ -44,11 +44,11 @@
            ,{field: 'number', align: 'center',title: '销售单号'}
            ,{field: 'billDate', align: 'center',title: '单据日期'}
            ,{field: 'btypeId', align: 'center',title: '客户编号'}
            ,{field: 'etypeId', align: 'center',title: '经手人编号'}
            ,{field: 'etypeId', align: 'center',title: '经手人编号', hide: true}
            ,{field: 'userCode', align: 'center',title: '商品编号'}
            ,{field: 'qty', align: 'center',title: '商品数量'}
            ,{field: 'price', align: 'center',title: '商品单价'}
            ,{field: 'comment', align: 'center',title: '商品备注'}
            ,{field: 'price', align: 'center',title: '商品单价', hide: true}
            ,{field: 'comment', align: 'center',title: '商品备注', hide: true}
            ,{field: 'status$', align: 'center',title: '状态'}
            // ,{field: 'createTime$', align: 'center',title: '添加时间'}
            ,{field: 'updateTime$', align: 'center',title: '修改时间'}
src/main/webapp/views/allo/allo.html
@@ -63,6 +63,24 @@
<iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe>
</body>
<script type="text/template" id="parentNodeGroup">
    <option value="">选择库区</option>
    {{#each data}}
    <option value="{{this.key}}">{{this.val}}</option>
    {{/each}}
</script>
<script type="text/javascript">
    getParentNode();
    function getParentNode(el) {
        http.post(baseUrl + "/parent/node/group", {type: 2}, function (res) {
            if (res.data != null) {
                var tpl = $("#parentNodeGroup").html();
                var template = Handlebars.compile(tpl);
                var html = template(res);
                $('#parentId').append(html);
            }
        });
    }
</script>
</html>
src/main/webapp/views/area/area.html
@@ -74,5 +74,18 @@
    <option value="{{this.key}}">{{this.val}}</option>
    {{/each}}
</script>
<script type="text/javascript">
    getParentNode();
    function getParentNode(el) {
        http.post(baseUrl + "/parent/node/group", {type: 1}, function (res) {
            if (res.data != null) {
                var tpl = $("#parentNodeGroup").html();
                var template = Handlebars.compile(tpl);
                var html = template(res);
                $('#parentId').append(html);
            }
        });
    }
</script>
</html>
src/main/webapp/views/custOrder/custOrder.html
@@ -19,7 +19,21 @@
            <input class="layui-input" type="text" name="number" placeholder="销售单号" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input class="layui-input" type="text" name="user_code" placeholder="商品编号" autocomplete="off">
        </div>
    </div>
    <div class="layui-inline">
        <div class="layui-input-inline">
            <select name="status">
                <option value="" style="display: none">选择状态</option>
                <option value="1">待处理</option>
                <option value="2">已完成</option>
                <option value="3">取消</option>
            </select>
        </div>
    </div>
    <!-- 待添加 -->
    <div id="data-search-btn" class="layui-btn-container layui-form-item">
        <button id="search" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="search">搜索</button>