#
luxiaotao1123
2020-06-29 b7c22aa2b23357dee7a0ec78f4bc85c9c910fd76
#
1个文件已修改
23 ■■■■■ 已修改文件
src/main/webapp/views/pda/stockOut.html 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/pda/stockOut.html
@@ -228,11 +228,32 @@
                } else if (res.code === 403){
                    top.location.href = baseUrl+"/";
                }else {
                    layer.msg(res.msg)
                    tips(res.msg, true)
                }
            }
        })
    }
    // 重置
    function reset() {
        $("#matNo").val("");
        $("#locNo").val("");
        locDetlData = [];
        tableIns.reload({data: locDetlData});
        $('input:radio[name="site"]').prop('checked',false);
        tips("");
    }
    /**
     * 提示信息
     * @param msg 提示内容
     * @param warn true:红色字体
     */
    function tips(msg, warn) {
        let tips = $('#tips');
        tips.html(msg);
        tips.css("color", warn?"red":'#666');
    }
</script>
<script type="text/template" id="outSitesTemplate">
    {{#each data}}