ch
2022-01-10 cefdce29f548ea202d744bdc4797611cdd8f10cf
新增了基础资料根据组织过滤 其他单据缓存列表  报错提示音频
5个文件已添加
21个文件已修改
982 ■■■■■ 已修改文件
WebTM/WebTM.csproj 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/WebTM.csproj.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/Baseset/基础资料/Gy_OrganizationtList.html 127 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/Baseset/基础资料/Gy_StockPlaceListNew.html 132 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/Baseset/基础资料/Gy_WarehouseListNew.html 131 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/user/login.html 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/video/1.wav 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/video/success.wav 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/仓存管理/仓库调拨/Kf_MoveStockBill_Fast.html 275 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/仓存管理/仓库调拨/Kf_MoveStockBill_FastList.html 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/其他出库/Kf_OtherOutBill_Fast.html 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/其他出库/Kf_OtherOutBill_FastList.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/委外出库/Kf_EntrustOutBill_Fast.html 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/委外出库/Kf_EntrustOutBill_FastList.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/销售出库/Kf_SellOutBill_Fast.html 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/销售出库/Kf_SellOutBill_FastList.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/领料出库/Kf_MateOutBill_Fast.html 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/领料出库/Kf_MateOutBill_FastList.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/产品入库/Kf_ProductInBill_Fast.html 136 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/产品入库/Kf_ProductInBill_FastList.html 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/其他入库/Kf_OtherInBill_Fast.html 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/其他入库/Kf_OtherInBill_FastList.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/外购入库/Kf_POStockInBill_Fast.html 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/外购入库/Kf_POStockInBill_FastList.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/委外入库/Kf_EntrustInBill_Fast.html 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/委外入库/Kf_EntrustInBill_FastList.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/WebTM.csproj
@@ -86,7 +86,10 @@
    <Content Include="layuiadmin\PubCustom.js" />
    <Content Include="layuiadmin\PubJs\PubCheck.js" />
    <Content Include="views\Baseset\HBarPlanPrint.html" />
    <Content Include="views\Baseset\基础资料\Gy_OrganizationtList.html" />
    <Content Include="views\Baseset\基础资料\Gy_QCCheckProjectListView.html" />
    <Content Include="views\Baseset\基础资料\Gy_StockPlaceListNew.html" />
    <Content Include="views\Baseset\基础资料\Gy_WarehouseListNew.html" />
    <Content Include="views\Baseset\基础资料\Sc_ICMOBillListView2.html" />
    <Content Include="views\Baseset\基础资料\Sc_ProcessExchangeBillListView.html" />
    <Content Include="views\Baseset\基础资料\Gy_QCCheckItemListView.html" />
@@ -125,6 +128,7 @@
    <Content Include="views\ReportHtml.html" />
    <Content Include="views\test\testRenderAutomationList.html" />
    <Content Include="views\video\jingbao.wav" />
    <Content Include="views\video\success.wav" />
    <Content Include="views\仓存管理\仓库调拨\Kf_MoveStockStepOutBill_Fast.html" />
    <Content Include="views\仓存管理\分步式调入单\Fb_StepFoldinBillList.html" />
    <Content Include="views\基础资料\公用基础资料\Add_Edit_Gy_OrderBackInfo.html" />
WebTM/WebTM.csproj.user
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <NameOfLastUsedPublishProfile>D:\智云MES\MESWMS-LayUI\WebTM\Properties\PublishProfiles\JFTM.pubxml</NameOfLastUsedPublishProfile>
    <NameOfLastUsedPublishProfile>JFTM</NameOfLastUsedPublishProfile>
    <ProjectView>ShowAllFiles</ProjectView>
    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
    <UseIISExpress>true</UseIISExpress>
WebTM/views/Baseset/»ù´¡×ÊÁÏ/Gy_OrganizationtList.html
New file
@@ -0,0 +1,127 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>组织列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
</head>
<body>
    <div class="layui-fluid">
        <div class="layui-card">
            <!--<div class="layui-card-header"></div>-->
            <div class="layui-card-body" style="padding: 15px;">
                <form class="layui-form" action="" lay-filter="component-form-group">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">过滤列</label>
                            <div class="layui-input-inline">
                                <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="请输入过滤列" class="layui-input">
                            </div>
                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">快速查询</button>
                            <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">返回</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <table class="layui-hide" id="mainTable"></table>
    <script src="../../../layuiadmin/layui/layui.js"></script>
    <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
    <script>
        function getUrlVars() {
            var vars = [], hash;
            var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
            for (var i = 0; i < hashes.length; i++) {
                hash = hashes[i].split('=');
                vars.push(hash[0]);
                vars[hash[0]] = hash[1];
            }
            return vars;
        }
        var params = getUrlVars();
        var Type = params[params[0]];
        layui.use(['table', 'form', 'layer'], function () {
            var table = layui.table
            , form = layui.form
            , layer = layui.layer;
            form.on('submit(HQuery)', function () {//选择组织
                //var sMainStr = JSON.stringify(table.cache['mainTable']);
                RoadQuery($('#Value').val());
            });
            form.on('submit(FH)', function () {//选择组织
                //var sMainStr = JSON.stringify(table.cache['mainTable']);
                var checkStatus = table.checkStatus('mainTable')
                 , data = checkStatus.data;
                switch (Type) {
                    case "HStockInOrgID":  //返回调入组织
                        parent.GetHOrgNameValue(data);
                        break;
                    case "HStockOutOrgID":  //返回调出组织
                        parent.GetHOutOrgNameValue(data);
                        break;
                }
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            RoadQuery($('#Value').val());
            table.render({
                elem: '#mainTable'
                // , url: '/demo/table/user/'
               , data: []
              , cellMinWidth: 80 //全局定义常规单元格的最小宽度,layui 2.2.1 æ–°å¢ž
              , cols: [[
                  { type: 'radio' }
                , { field: 'HItemID', title: '组织ID', hide: true }
                , { field: 'HNumber', title: '组织代码' }
                , { field: 'HName', title: '组织名称', sort: true }
              ]]
              , page: true
            });
            ///加载显示数据
            function RoadQuery(Where) {
                var Value = Where;
                if (Value == null) {
                    Value = '';
                }
                $.ajax({
                    type: "get",
                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetDepartmentList_Json",
                    url: GetWEBURL() + "/Web/GetOrganizationList_Json",
                    async: true,
                    //data: { "Department": Value },
                    data: {},
                    //data: { "Value": Value },
                    success: function (result) {
                        ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
                        table.reload('mainTable', {
                            data: ajaxReturnData
                            , height: 'full-10'
                            , loading: false
                            , done: function (index, res) {
                            }
                        });
                    },
                    error: function (result) {
                        console.log(result);
                        //layer.msg('获取采购订单出现异常', { icon: 2, time: 2000 });
                    }
                });
            };
        });
    </script>
</body>
</html>
WebTM/views/Baseset/»ù´¡×ÊÁÏ/Gy_StockPlaceListNew.html
New file
@@ -0,0 +1,132 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>仓位列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
</head>
<body>
    <div class="layui-fluid">
        <div class="layui-card">
            <!--<div class="layui-card-header"></div>-->
            <div class="layui-card-body" style="padding: 15px;">
                <form class="layui-form" action="" lay-filter="component-form-group">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">过滤列</label>
                            <div class="layui-input-inline">
                                <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="请输入过滤列" class="layui-input">
                            </div>
                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">快速查询</button>
                            <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">返回</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <table class="layui-hide" id="mainTable"></table>
    <script src="../../../layuiadmin/layui/layui.js"></script>
    <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
    <script>
        function getUrlVars() {
            var vars = [], hash;
            var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
            for (var i = 0; i < hashes.length; i++) {
                hash = hashes[i].split('=');
                vars.push(hash[0]);
                vars[hash[0]] = hash[1];
            }
            return vars;
        }
        var params = getUrlVars();
        var HWhID = params[params[0]];
        var Type = params[params[1]];
        layui.use(['table', 'form', 'layer'], function () {
            var table = layui.table
            , form = layui.form
            , layer = layui.layer;
            form.on('submit(HQuery)', function () {//选择仓库
                //var sMainStr = JSON.stringify(table.cache['mainTable']);
                RoadQuery($('#Value').val(), 0);
            });
            form.on('submit(FH)', function () {//选择仓库
                //var sMainStr = JSON.stringify(table.cache['mainTable']);
                var checkStatus = table.checkStatus('mainTable')
                 , data = checkStatus.data;
                switch (Type) {
                    case "HSpID":  //返回调入仓位
                        parent.GetHSpValue(data);
                        break;
                    case "HOSpID":  //返回调出仓位
                        parent.GetHOutStockPlaceIDValue(data);
                        break;
                }
               // parent.GetHSCWValue(data);
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            RoadQuery($('#Value').val(), 0);   //参数0改变量
            table.render({
                elem: '#mainTable'
                // , url: '/demo/table/user/'
               , data: []
              , cellMinWidth: 80 //全局定义常规单元格的最小宽度,layui 2.2.1 æ–°å¢ž
              , cols: [[
                  { type: 'radio' }
                , { field: 'HItemID', width: 150, title: '仓位ID', hide: true }
                , { field: 'HNumber', width: 150, title: '仓位代码' }
                , { field: 'HName', width: 150, title: '仓位名称', sort: true }
              ]]
              , page: true
            });
            ///加载显示数据
            function RoadQuery(Where, HWhID,HOrgID) {
                var Value = Where;
                if (Value == null) {
                    Value = '';
                }
                if (HWhID == null)
                {
                    HWhID = 0;
                }
                if (HOrgID == null) {
                    HOrgID = 0;
                }
                $.ajax({
                    type: "get",
                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetStockPlaceList_Json",
                    url: GetWEBURL() + "/Web/GetStockPlaceList_Json_New",
                    async: true,
                    data: { "StockPlace": Value, "HWhID": HWhID, "HOrgID": HOrgID },
                    //data: { "Value": Value },
                    success: function (result) {
                        ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
                        table.reload('mainTable', {
                            data: ajaxReturnData
                            , height: 'full-10'
                            , loading: false
                            , done: function (index, res) {
                            }
                        });
                    },
                    error: function (result) {
                        console.log(result);
                        //layer.msg('获取采购订单出现异常', { icon: 2, time: 2000 });
                    }
                });
            };
        });
    </script>
</body>
</html>
WebTM/views/Baseset/»ù´¡×ÊÁÏ/Gy_WarehouseListNew.html
New file
@@ -0,0 +1,131 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>仓库列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
</head>
<body>
    <div class="layui-fluid">
        <div class="layui-card">
            <!--<div class="layui-card-header"></div>-->
            <div class="layui-card-body" style="padding: 15px;">
                <form class="layui-form" action="" lay-filter="component-form-group">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">过滤列</label>
                            <div class="layui-input-inline">
                                <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="请输入过滤列" class="layui-input">
                            </div>
                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">快速查询</button>
                            <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">返回</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <table class="layui-hide" id="mainTable"></table>
    <script src="../../../layuiadmin/layui/layui.js"></script>
    <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
    <script>
        function getUrlVars() {
            var vars = [], hash;
            var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
            for (var i = 0; i < hashes.length; i++) {
                hash = hashes[i].split('=');
                vars.push(hash[0]);
                vars[hash[0]] = hash[1];
            }
            return vars;
        }
        var params = getUrlVars();
        var Type = params[params[0]];
        var HOtherOrgID = params[params[1]];
        layui.use(['table', 'form', 'layer'], function () {
            var table = layui.table
            , form = layui.form
            , layer = layui.layer;
            form.on('submit(HQuery)', function () {//选择仓库
                //var sMainStr = JSON.stringify(table.cache['mainTable']);
                RoadQuery($('#Value').val());
            });
            form.on('submit(FH)', function () {//选择仓库
                //var sMainStr = JSON.stringify(table.cache['mainTable']);
                var checkStatus = table.checkStatus('mainTable')
                 , data = checkStatus.data;
                //parent.GetHWHValue(data);
                switch (Type) {
                    case "HWHID":  //返回调入仓库
                        parent.GetHWHValue(data);
                        break;
                    case "HSCWHID":  //返回调出仓库
                        parent.GetHSCWHNAMEValue(data);
                        break;
                }
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            RoadQuery($('#Value').val());
            table.render({
                elem: '#mainTable'
                // , url: '/demo/table/user/'
               , data: []
              , cellMinWidth: 80 //全局定义常规单元格的最小宽度,layui 2.2.1 æ–°å¢ž
              , cols: [[
                  { type: 'radio' }
                , { field: 'HItemID', width: 150, title: '仓库ID', hide: true }
                , { field: 'HNumber', width: 150, title: '仓库代码' }
                , { field: 'HName', width: 150, title: '仓库名称', sort: true }
              ]]
              , page: true
            });
            ///加载显示数据
            function RoadQuery(Where, HOrgID) {
                var Value = Where;
                if (Value == null) {
                    Value = '';
                }
                //if (HOtherOrgID > 0) {
                //    Value = HOtherOrgID;
                //}
                if (HOrgID == null) {
                    HOrgID = 0;
                }
                $.ajax({
                    type: "get",
                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetWarehouseList_Json",
                    url: GetWEBURL() + "/Web/GetWarehouseList_Json_New",
                    async: true,
                    data: { "Warehouse": Value, "HOrgID": HOtherOrgID},
                    //data: { "Value": Value },
                    success: function (result) {
                        ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
                        table.reload('mainTable', {
                            data: ajaxReturnData
                            , height: 'full-10'
                            , loading: false
                            , done: function (index, res) {
                            }
                        });
                    },
                    error: function (result) {
                        console.log(result);
                        //layer.msg('获取采购订单出现异常', { icon: 2, time: 2000 });
                    }
                });
            };
        });
    </script>
</body>
</html>
WebTM/views/user/login.html
@@ -44,6 +44,8 @@
                <div class="layui-form-item">
                    <!--<input type="button" onclick="playSound('wavFileId');" value="play" />-->
                    <button type="button" lay-submit="" class="layui-btn layui-btn-fluid" id="LAY-user-login-submit" name="LAY-user-login-submit" lay-filter="LAY-user-login-submit">登 å…¥</button>
                    <!--<button type="button" lay-submit="" class="layui-btn layui-btn-fluid" id="LAY-user-login-yp" name="LAY-user-login-yp" lay-filter="LAY-user-login-yp">音频</button>-->
                </div>
            </div>
        </div>
@@ -129,10 +131,15 @@
            form.on("submit(LAY-user-login-submit)", function (obj) {
                loging();
            })
            //音频
            form.on("submit(LAY-user-login-yp)", function (obj) {
                playSound();
            })
            //密码框回车执行登录
            $('#LAY-user-login-password').on('keydown', function (e) {
                if (e.keyCode == 13) {
                    playSound();
                    //playSound();
                }
            });
            //用户名框回车光标移到密码框
@@ -144,8 +151,10 @@
            //登录
            function loging() {
                if ($("#Organization").val() == 0) {
                    //playSound();
                    layer.msg("请选择组织!");
                    return;
                }
                var UserName = $("#LAY-user-login-username").val();
                var PassWord = $("#LAY-user-login-password").val();
WebTM/views/video/1.wav
Binary files differ
WebTM/views/video/success.wav
Binary files differ
WebTM/views/²Ö´æ¹ÜÀí/²Ö¿âµ÷²¦/Kf_MoveStockBill_Fast.html
@@ -50,9 +50,9 @@
                                                <option value="3720">生产任务单-投料</option>
                                                <option value="1243">调拨申请单</option>
                                                <!--<option value="1201">委外订单-投料</option>
                                                <option value="1402">发货通知单</option>
                                                <option value="1234">下架通知单</option>
                                                <option value="1243">调拨申请单</option>-->
                                <option value="1402">发货通知单</option>
                                <option value="1234">下架通知单</option>
                                <option value="1243">调拨申请单</option>-->
                                            </select>
                                            <!--<input type="text" name="cmbSourceType" id="cmbSourceType" lay-verify="cmbSourceType" autocomplete="off" class="layui-input">-->
                                        </div>
@@ -78,6 +78,47 @@
                                        </div>
                                        <div class="layui-col-xs3">
                                            <input type="text" name="HInterID" id="HInterID" lay-verify="HInterID" disabled="disabled" autocomplete="off" class="layui-input mobile">
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <div class="layui-row">
                                        <div class="layui-col-xs3">
                                            <label class="layui-form-label" style="width:60px;padding-left:0px;">调拨类型</label>
                                        </div>
                                        <div class="layui-col-xs8">
                                            <select name=" HStockStyle" id="HStockStyle">
                                                <option value="1">组织内调拨</option>
                                                <option value="2">跨组织调拨</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item" style="padding:0px;margin:0px">
                                    <div class="layui-row">
                                        <div class="layui-col-xs3">
                                            <label class="layui-form-label" style="width:60px;padding-left:0px;">调拨方向</label>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <input type="text" name="HDBFXName" id="HDBFXName" lay-verify="HDBFXName" autocomplete="off" class="layui-input">
                                            <input type="hidden" name="HDBFXID" id="HDBFXID" lay-verify="HDBFXID" value="0" autocomplete="off" class="layui-input">
                                        </div>
                                        <div class="layui-col-xs3">
                                            <button type="button" id="HDBFXID-BT" lay-submit="" class="layui-btn" lay-filter="HDBFXID-BT">...</button>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item" style="padding:0px;margin:0px">
                                    <div class="layui-row">
                                        <div class="layui-col-xs3">
                                            <label class="layui-form-label" style="width:60px;padding-left:0px;">出货类型</label>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <input type="text" name="HCHLXName" id="HCHLXName" lay-verify="HCHLXName" autocomplete="off" class="layui-input">
                                            <input type="hidden" name="HCHLXID" id="HCHLXID" lay-verify="HCHLXID" value="0" autocomplete="off" class="layui-input">
                                        </div>
                                        <div class="layui-col-xs3">
                                            <button type="button" id="HCHLXID-BT" lay-submit="" class="layui-btn" lay-filter="HCHLXID-BT">...</button>
                                        </div>
                                    </div>
                                </div>
@@ -199,6 +240,34 @@
                                <div class="layui-form-item" style="padding:0px;margin:0px">
                                    <div class="layui-row">
                                        <div class="layui-col-xs3">
                                            <label class="layui-form-label" style="width:30px;padding-left:0px;">调出组织</label>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <input type="text" name="HStockOutOrgName" id="HStockOutOrgName" lay-verify="HStockOutOrgName" autocomplete="off" class="layui-input">
                                            <input type="hidden" name="HStockOutOrgID" id="HStockOutOrgID" lay-verify="HStockOutOrgID" value="0" autocomplete="off" class="layui-input">
                                        </div>
                                        <div class="layui-col-xs3">
                                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HStockOutOrgID-BT">...</button>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item" style="padding:0px;margin:0px">
                                    <div class="layui-row">
                                        <div class="layui-col-xs3">
                                            <label class="layui-form-label" style="width:30px;padding-left:0px;">调入组织</label>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <input type="text" name="HStockInOrgName" id="HStockInOrgName" lay-verify="HStockInOrgName" autocomplete="off" class="layui-input">
                                            <input type="hidden" name="HStockInOrgID" id="HStockInOrgID" lay-verify="HStockInOrgID" value="0" autocomplete="off" class="layui-input">
                                        </div>
                                        <div class="layui-col-xs3">
                                            <button type="button" lay-submit="" class="layui-btn" lay-filter="HStockInOrgID-BT">...</button>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-form-item" style="padding:0px;margin:0px">
                                    <div class="layui-row">
                                        <div class="layui-col-xs3">
                                            <label class="layui-form-label" style="width:30px;padding-left:0px;display:none">制单人</label>
                                        </div>
                                        <div class="layui-col-xs6">
@@ -210,15 +279,15 @@
                                    </div>
                                </div>
                                <!--<div class="layui-form-item" >
                                    <label class="layui-form-label" style="width:60px;padding-left:0px;">调拨类型</label>
                                    <div class="layui-input-inline">
                                        <select name=" HBillType" id="HBillType">
                                            <option value="">仓库调拨</option>
                                            <option value="">领料调拨</option>
                                        </select>
                                        <input type="text" name="cmbSourceType" id="cmbSourceType" lay-verify="cmbSourceType" autocomplete="off" class="layui-input">
                                    </div>
                                </div>-->
                    <label class="layui-form-label" style="width:60px;padding-left:0px;">调拨类型</label>
                    <div class="layui-input-inline">
                        <select name=" HBillType" id="HBillType">
                            <option value="">仓库调拨</option>
                            <option value="">领料调拨</option>
                        </select>
                        <input type="text" name="cmbSourceType" id="cmbSourceType" lay-verify="cmbSourceType" autocomplete="off" class="layui-input">
                    </div>
                </div>-->
                            </div>
                            <!--明细信息-->
                            <div class="layui-tab-item">
@@ -244,27 +313,37 @@
                            </div>
                        </div>
                        <!--<div class="layui-form-item" style="margin-bottom: 20px;">
                            <div class="layui-row">
                                <div class="layui-col-xs3">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="Saver">提交</button>
                                </div>
                                <div class="layui-col-xs3">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdModify">编辑</button>
                                </div>
                                <div class="layui-col-xs3">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="Delete">删除</button>
                                </div>
                                <div class="layui-col-xs3">
                                    <button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">退出</button>
                                </div>
                            </div>
                        </div>-->
            <div class="layui-row">
                <div class="layui-col-xs3">
                    <button type="button" lay-submit="" class="layui-btn" lay-filter="Saver">提交</button>
                </div>
                <div class="layui-col-xs3">
                    <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdModify">编辑</button>
                </div>
                <div class="layui-col-xs3">
                    <button type="button" lay-submit="" class="layui-btn" lay-filter="Delete">删除</button>
                </div>
                <div class="layui-col-xs3">
                    <button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">退出</button>
                </div>
            </div>
        </div>-->
                    </div>
                    <div class="layer-footer" style="z-index: 10; position: fixed; text-align: center; bottom: 0; width:100%; height:50px">
                        <button type="button" lay-submit="" class="layui-btn" lay-filter="Saver">提交</button>
                        <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdModify">编辑</button>
                        <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdDelete">删除</button>
                        <button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">退出</button>
                    </div>
                    <div id="" style="display:none;">
                        <audio id="cs" hidden controls>
                            <source src="../../video/jingbao.wav" type="audio/ogg">
                        </audio>
                    </div>
                    <div id="" style="display:none;">
                        <audio id="cs2" hidden controls>
                            <source src="../../video/success.wav" type="audio/ogg">
                        </audio>
                    </div>
                </form>
            </div>
@@ -309,6 +388,11 @@
            $("#HBillerID").hide();
            $("#HOrgID").val(sessionStorage["OrganizationID"]);
            $("#HOrgID").hide();
            $("#HStockOutOrgID").val(sessionStorage["OrganizationID"]);
            $("#HStockOutOrgName").val(sessionStorage["Organization"]);
            $("#HStockInOrgID").val(sessionStorage["OrganizationID"]);
            $("#HStockInOrgName").val(sessionStorage["Organization"]);
            var HSourceFlag = sessionStorage["SourceFlag"];
            //判断是否登录 æœªç™»å½•则跳到登录页
            if (sessionStorage.login != "login") {
@@ -344,6 +428,9 @@
                        $("#HBillNo").val(d.data[0].HBillNo);
                        $("#HBillType").val(d.data[0].HSourceBillType);
                        $("#HSourceBillNo").val(d.data[0].HSourceBillNo);
                        $("#HSourceBillNo").attr("disabled","true");
                        //$("#HSourceBillNo").append.readonly = true;
                        HSourceFlag = true;
                        //$("#HWHID").val(d.data[0].HWhID);
                        //$("#HKeeperID").val(d.data[0].HKeeperID);
                        //$("#HSecManagerID").val(d.data[0].HSecManagerID);
@@ -361,9 +448,10 @@
                    elem: '#wl-table'
                    , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
                    , toolbar: '#toolbarDemo'
                    , defaultToolbar: []
                    , where: { HBillID: linterid, HBillType: '1207', sWhere: '' }
                    , cols: [[
                        { type: 'radio' }
                          { type: 'radio' }
                        , { field: 'HQty', title: '数量', width: 150 }
                        , { field: 'HQtyMust', title: '应收数量', width: 150 }
                        , { field: 'HMaterNumber', title: '物料代码', width: 150 }
@@ -409,6 +497,7 @@
            //选择调入仓库
            form.on('submit(HWHID-BT)', function () {//选择调入仓库
                var HStockInOrgID = $("#HStockInOrgID").val();
                layer.open({
                    type: 2
                    , area: ['100%', '100%']
@@ -416,7 +505,41 @@
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../../views/Baseset/基础资料/Gy_WarehouseList.html?Type=HWHID', 'yes']
                    , content: ['../../../views/Baseset/基础资料/Gy_WarehouseListNew.html?Type=HWHID&HOrgID=' + HStockInOrgID + '', 'yes']
                    , resize: false
                    , cancel: function () {
                    }
                })
            });
            //选择调入组织
            form.on('submit(HStockInOrgID-BT)', function () {//选择调入组织
                layer.open({
                    type: 2
                    , area: ['100%', '100%']
                    , title: '组织列表'
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../../views/Baseset/基础资料/Gy_OrganizationtList.html?Type=HStockInOrgID', 'yes']
                    , resize: false
                    , cancel: function () {
                    }
                })
            });
            //选择调出组织
            form.on('submit(HStockOutOrgID-BT)', function () {//选择调出组织
                layer.open({
                    type: 2
                    , area: ['100%', '100%']
                    , title: '组织列表'
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../../views/Baseset/基础资料/Gy_OrganizationtList.html?Type=HStockOutOrgID', 'yes']
                    , resize: false
                    , cancel: function () {
                    }
@@ -425,6 +548,7 @@
            //选择调入仓位
            form.on('submit(HSpID-BT)', function () {//选择调入仓位
                layer.open({
                    type: 2
                    , area: ['100%', '100%']
@@ -432,7 +556,7 @@
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../../views/Baseset/基础资料/Gy_StockPlaceList.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HSpID', 'yes']
                    , content: ['../../../views/Baseset/基础资料/Gy_StockPlaceListNew.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HSpID&HOrgID=HStockInOrgID', 'yes']
                    , resize: false
                    , cancel: function () {
                    }
@@ -441,6 +565,7 @@
            //选择调出仓库
            form.on('submit(HSCWHID-BT)', function () {//选择调出仓库
                var HStockOutOrgID = $("#HStockOutOrgID").val();
                layer.open({
                    type: 2
                    , area: ['100%', '100%']
@@ -448,7 +573,7 @@
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../../views/Baseset/基础资料/Gy_WarehouseList.html?Type=HSCWHID', 'yes']
                    , content: ['../../../views/Baseset/基础资料/Gy_WarehouseListNew.html?Type=HSCWHID&HOrgID=' + HStockOutOrgID + '', 'yes']
                    , resize: false
                    , cancel: function () {
                        //$(".layui-btn").removeClass("layui-btn-disabled");
@@ -465,7 +590,7 @@
                    , shade: 0.6 //遮罩透明度
                    , maxmin: true //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../../views/Baseset/基础资料/Gy_StockPlaceList.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HOSpID', 'yes']
                    , content: ['../../../views/Baseset/基础资料/Gy_StockPlaceListNew.html?HWhID=' + sessionStorage["HWHID"] + '&Type=HOSpID&HOrgID=HStockOutOrgID', 'yes']
                    , resize: false
                    , cancel: function () {
                        //$(".layui-btn").removeClass("layui-btn-disabled");
@@ -640,6 +765,7 @@
                                    , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
                                    , cellMinWidth: 80
                                    , toolbar: '#toolbarDemo'
                                    , defaultToolbar: []
                                    , where: { HBillID: sInterID, HBillType: '1207', sWhere: '' }
                                    , cols: [[
                                        { type: 'radio' }
@@ -745,7 +871,14 @@
                var SCSPID = $("#HOutStockPlaceID").val()//调出仓位
                var HMaker = $("#HMaker").val();//制单人
                var HOrgID = $("#HOrgID").val();//组织
                var sBillType = '1207'
                var sBillType = '1207';
                var sSourceBillNo = $("#HSourceBillNo").val();//源单号
                if (sSourceBillNo == null)
                {
                    sSourceBillNo = "";
                }
                if (sQty == "") {
                    sQty = 0;
                }
@@ -767,6 +900,7 @@
                                            elem: '#wl-table'
                                            , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
                                            , toolbar: '#toolbarDemo'
                                            , defaultToolbar: []
                                            , where: { HBillID: sInterID, HBillType: '1207', sWhere: '' }
                                            , cols: [[
                                                { type: 'radio' }
@@ -807,6 +941,7 @@
                            $('#HQty').val("");
                        }
                        if ($("#HWHNAME").val() == '') {
                            playSound();
                            layer.msg("调入仓库没有选择!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                            return false;
                        }
@@ -819,17 +954,19 @@
                        //    return false;
                        //}
                        if ($("#HBillNo").val() == '') {
                            playSound();
                            layer.msg("错误的单据号!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                            return false;
                        }
                        if ($("#HInterID").val() == '') {
                            playSound();
                            layer.msg("错误的内码!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                            return false;
                        }
                        $.ajax({
                            url: GetWEBURL() + "/MoveStockBill/get_InfoByBarCode_Source_Json",
                            type: "GET",
                            data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sQty": sQty, "HWHID": HWHID, "HSPID": HSPID, "SCWhID": SCWhID, "SCSPID": SCSPID, "HMaker": HMaker, "HOrgID": HOrgID },
                            data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sQty": sQty, "HWHID": HWHID, "HSPID": HSPID, "SCWhID": SCWhID, "SCSPID": SCSPID, "HMaker": HMaker, "HOrgID": HOrgID, "HSourceBillNo": sSourceBillNo, "HSourceBillType":  sHBillType },
                            success: function (result) {
                                if (result.count == 1) {
                                    element.tabChange('tab-MoveStockBill', '3');
@@ -846,6 +983,7 @@
                                        elem: '#wl-table'
                                        , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
                                        , toolbar: '#toolbarDemo'
                                        , defaultToolbar: []
                                        , totalRow: true
                                        , where: { HBillID: sInterID, HBillType: '1207', sWhere: '' }
                                        , cols: [[
@@ -872,9 +1010,11 @@
                                            layer.closeAll("loading");
                                        }
                                    });
                                    playSound1();
                                    var sSubStr = table.cache['wl-table'];
                                }
                                else {
                                    playSound();
                                    layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                                }
                                layer.closeAll("loading");
@@ -890,12 +1030,39 @@
                }
            });
            function playSound() {
                console.log("playSound");
                //var audio = document.getElementById("cs");
                //$("appendAut").html("");
                //if (audio == null)
                //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
                //$("appendAut").attr("src","../../video/jingbao.wav")
                var audio = document.getElementById("cs");
                audio.play();
            }
            function playSound1() {
                console.log("playSound1");
                //var audio = document.getElementById("cs");
                //$("appendAut").html("");
                //if (audio == null)
                //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/success.wav" type = "audio/ogg"> </audio >');
                //$("appendAut").attr("src", "../../video/success.wav")
                var audio = document.getElementById("cs2");
                audio.play();
            }
            //扫源单
            $('#HSourceBillNo').on('keydown', function (event) {      //扫源单
                var HSourceBillNo = $('#HSourceBillNo').val()
                var sInterID = $("#HInterID").val()
                var sBillNo = $("#HBillNo").val()
                var HSourceBillType = $("#HBillType").val()
                if (HSourceBillType == '1243')
                {
                }
                if (event.keyCode == 13) {
                    $.ajax({
                        url: GetWEBURL() + "/MoveStockBill/set_SavePonderationBillMain_Temp_Source_Fast_Json",
@@ -903,12 +1070,38 @@
                        data: { "HSourceBillType": HSourceBillType, "HSourceBillNo": HSourceBillNo, "sInterID": sInterID, "sBillNo": sBillNo },
                        success: function (result) {
                            if (result.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†ï¼Œ
                                if (result.data[0].HSourceBillType == '1243')
                                {
                                    $("#HStockStyle").val(result.data[0].HStockStyle);
                                    $("#HStockInOrgID").val(result.data[0].HSTOCKINORGID);
                                    $("#HStockInOrgName").val(result.data[0].HSTOCKINORGName);
                                    $("#HStockOutOrgID").val(result.data[0].HSTOCKOUTORGID);
                                    $("#HStockOutOrgName").val(result.data[0].HSTOCKOUTORGName);
                                }
                                $("#HDeptID").val(result.data[0].HDeptID);
                                $("#HDeptName").val(result.data[0].HDeptName);
                                $("#HWHID").val(result.data[0].HWhID);
                                $("#HWHNAME").val(result.data[0].HWhName);
                                //if (!DBUtility.ClsPub.ObjToBool(DS.Tables[0].Rows[0]["HIsStockMgr"])) {
                                //    $("#HStockPlaceName").Enabled = false;
                                //    $("#HStockPlaceID").Enabled = false;
                                //}
                                //else {
                                //    $("#HStockPlaceName").Enabled = true;
                                //    $("#HStockPlaceID").Enabled = true;
                                //}
                                layer.load(3);
                                element.tabChange('tab-MoveStockBill', '2');
                                table.render({
                                    elem: '#wl-table'
                                    , url: GetWEBURL() + '/MoveStockBill/DisBillEntryList_Webs_Json'
                                    , toolbar: '#toolbarDemo'
                                    , defaultToolbar: []
                                    , where: { HBillID: sInterID, HBillType: '1207', sWhere: '' }
                                    , cols: [[
                                        { type: 'radio' }
@@ -1055,6 +1248,20 @@
            //sessionStorage["HWHID"] = obj[0].HItemID;
            $("#HWHID").val(obj[0].HItemID);
        }
        function GetHOrgNameValue(obj)  //返回调入组织
        {
            $("#HStockInOrgName").val(obj[0].HName);
            $("#HStockInOrgID").val(obj[0].HItemID);
        }
        function GetHOutOrgNameValue(obj)  //返回调出组织
        {
            $("#HStockOutOrgName").val(obj[0].HName);
            $("#HStockOutOrgID").val(obj[0].HItemID);
        }
        function GetHSpValue(obj) {  //返回调入仓位
            $("#HStockPlaceName").val(obj[0].HName);
            $("#HStockPlaceID").val(obj[0].HItemID);
WebTM/views/²Ö´æ¹ÜÀí/²Ö¿âµ÷²¦/Kf_MoveStockBill_FastList.html
@@ -36,8 +36,8 @@
                    </div>-->
                    <div class="layui-tab" lay-filter="tab-MoveStockBillList">
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">单据列表</li>
                            <li lay-id="2">源单生单</li>
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
@@ -163,6 +163,7 @@
                elem: '#dj-table'
                , url: GetWEBURL() + '/Web/chanpinruk'
                , toolbar: '#toolbarDemo'
                , defaultToolbar: []
                , where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                , cols: [[
                    { type: 'radio' }
@@ -184,6 +185,7 @@
                    elem: '#yd-table'
                    , url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
                    , toolbar: '#toolbarDemo'
                    , defaultToolbar: []
                    , where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                    , cols: [[
                        { type: 'radio' }
@@ -291,7 +293,8 @@
                table.render({
                    elem: '#dj-table'
                    , url: GetWEBURL() + '/Web/chanpinruk'
                    ,toolbar: '#toolbarDemo'
                    , toolbar: '#toolbarDemo'
                    , defaultToolbar: []
                    , where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                    , cols: [[
                          { type: 'radio' }
@@ -315,6 +318,7 @@
            elem: '#yd-table'
            , url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
            , toolbar: '#toolbarDemo'
            , defaultToolbar: []
            , where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
            , cols: [[
                { type: 'radio' }
WebTM/views/ÁìÁÏ·¢»õ/ÆäËû³ö¿â/Kf_OtherOutBill_Fast.html
@@ -664,6 +664,7 @@
            //}
            if (event.keyCode == 13) {
                if (sBarCode == '') {
                    playSound();
                    layer.msg("条码为空,不能扫描!", { icon: 5, btn: ['确定'], time: 100000, offset: 't' });
                    return false;
                }
@@ -777,6 +778,7 @@
                        else {
                            // $("#verifycode").click();
                            //layer.msg(result.Message, { icon: 5 });
                            playSound();
                            layer.msg(result.Message, { icon: 5, btn: ['退出'], time: 100000, offset: 't' });
                        }
                        layer.closeAll("loading");
@@ -790,6 +792,16 @@
            //layer.closeAll("loading");
            //}
        });
        function playSound() {
            var audio = document.getElementById("cs");
            if (audio == null)
                $("body").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
            var audio = document.getElementById("cs");
            audio.play();
        }
        $('#HSourceBillNo').on('keydown', function (event) {
            var HSourceBillNo = $('#HSourceBillNo').val()
            var sInterID = $("#HInterID").val()
WebTM/views/ÁìÁÏ·¢»õ/ÆäËû³ö¿â/Kf_OtherOutBill_FastList.html
@@ -36,8 +36,8 @@
                    </div>-->
                    <div class="layui-tab" lay-filter="tab-POStockInBillList">
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">单据列表</li>
                            <li lay-id="2">源单生单</li>
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
WebTM/views/ÁìÁÏ·¢»õ/ίÍâ³ö¿â/Kf_EntrustOutBill_Fast.html
@@ -640,6 +640,7 @@
            }
            if (event.keyCode == 13) {
                if (sBarCode == '') {
                    playSound();
                    layer.msg("条码为空,不能扫描!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return false;
                }
@@ -683,6 +684,7 @@
                            });
                        }
                        else {
                            playSound();
                            $("#rizhi").val(RZ += Format(new Date(), "yyyy-MM-dd hh:mm:ss.S") + "扫条码,失败\n");
                            layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        }
@@ -692,6 +694,15 @@
            }
        });
        function playSound() {
            var audio = document.getElementById("cs");
            if (audio == null)
                $("body").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
            var audio = document.getElementById("cs");
            audio.play();
        }
        //扫源单号
        $('#HSourceBillNo').on('keydown', function (event) {
            var HSourceBillNo = $('#HSourceBillNo').val()
WebTM/views/ÁìÁÏ·¢»õ/ίÍâ³ö¿â/Kf_EntrustOutBill_FastList.html
@@ -36,8 +36,8 @@
                    </div>-->
                    <div class="layui-tab" lay-filter="tab-POStockInBillList">
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">单据列表</li>
                            <li lay-id="2">源单生单</li>
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
WebTM/views/ÁìÁÏ·¢»õ/ÏúÊÛ³ö¿â/Kf_SellOutBill_Fast.html
@@ -237,6 +237,16 @@
                        <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdDelete">删除</button>
                        <button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">退出</button>
                    </div>
                    <div id="" style="display:none;">
                        <audio id="cs" hidden controls>
                            <source src="../../video/jingbao.wav" type="audio/ogg">
                        </audio>
                    </div>
                    <div id="" style="display:none;">
                        <audio id="cs2" hidden controls>
                            <source src="../../video/success.wav" type="audio/ogg">
                        </audio>
                    </div>
                </form>
            </div>
        </div>
@@ -381,6 +391,8 @@
                        $("#HBillNo").val(d.data[0].HBillNo);
                        $("#HBillType").val(d.data[0].HSourceBillType);
                        $("#HSourceBillNo").val(d.data[0].HSourceBillNo);
                        HSourceFlag = true;
                        //$("#HWHID").val(d.data[0].HWhID);
                        //$("#HStockPlaceID").val(d.data[0].HSPID);
                        //$("#HKeeperID").val(d.data[0].HKeeperID);
@@ -436,6 +448,7 @@
                    //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
                    , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
                    , toolbar: '#toolbarDemo'
                    , defaultToolbar: []
                    , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' }
                    , cols: [[
                        { type: 'radio' }
@@ -701,6 +714,7 @@
                                   , url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json'
                                   , cellMinWidth: 80
                                   , toolbar: '#toolbarDemo'
                                   , defaultToolbar: []
                                   , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' }
                                   , cols: [[
                                      { type: 'radio' }
@@ -846,6 +860,7 @@
                                            // , url: 'http://61.130.49.162:9090/WMSAPI///OtherInStockBill/DisBillEntryList_Webs_Json'
                                            , url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json'
                                            , toolbar: '#toolbarDemo'
                                            , defaultToolbar: []
                                            , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' }
                                            , cols: [[
                                                { type: 'radio' }
@@ -877,17 +892,22 @@
                                    }
                                    else {
                                        layer.msg(data.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                                    }
                                },
                                error: function (err) {
                                    layer.msg('错误' + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                                }
                            });
                    }
                    else {
                        var sBarCode = $('#HBarCode').val()
                        if (sBarCode == '') {
                            //
                            playSound();
                            layer.msg("条码为空,不能扫描!", { icon: 5, btn: ['确定'], time: 100000, offset: 't' });
                            //11
                            return false;
                        }
                        if (sBarCode != "") {
@@ -898,6 +918,7 @@
                            type: "GET",
                            data: { "sCode": sBarCode, "sInterID": sInterID, "HBillType": sBillType, "sBillNo": sBillNo, "sMaker": sMaker, "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": HSourceFlag, "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": sessionStorage["OrganizationID"] },
                            success: function (result) {
                                playSound1();
                                if (result.count == 1) {
                                    if (result.data.HBarType == '仓库条码') {
                                        $("#HWHNAME").val(result.data.HWhName);
@@ -977,6 +998,7 @@
                                        // , url: 'http://61.130.49.162:9090/WMSAPI///OtherInStockBill/DisBillEntryList_Webs_Json'
                                        , url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json'
                                        , toolbar: '#toolbarDemo'
                                        , defaultToolbar: []
                                        , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' }
                                        , cols: [[
                                            { type: 'radio' }
@@ -1009,17 +1031,44 @@
                                else {
                                    // $("#verifycode").click();
                                    //layer.msg(result.Message, { icon: 5 });
                                    //
                                    playSound();
                                    layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                                    //11
                                }
                                layer.closeAll("loading");
                            },
                            error: function (err) {
                                playSound();
                                layer.msg("接口请求失败!" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                                //11
                            }
                        });
                    }
                }
            });
            function playSound() {
                console.log("playSound");
                //var audio = document.getElementById("cs");
                //$("appendAut").html("");
                //if (audio == null)
                //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
                //$("appendAut").attr("src","../../video/jingbao.wav")
                var audio = document.getElementById("cs");
                audio.play();
            }
            function playSound1() {
                console.log("playSound1");
                //var audio = document.getElementById("cs");
                //$("appendAut").html("");
                //if (audio == null)
                //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/success.wav" type = "audio/ogg"> </audio >');
                //$("appendAut").attr("src", "../../video/success.wav")
                var audio = document.getElementById("cs2");
                audio.play();
            }
            $('#HStockPlaceName').on('keydown', function (event) {      //扫仓位
                var HBarCode = $('#HStockPlaceName').val()
@@ -1151,7 +1200,8 @@
                                table.render({
                                    elem: '#wl-table'
                                    , url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json'
                                  , toolbar: '#toolbarDemo'
                                    , toolbar: '#toolbarDemo'
                                    , defaultToolbar: []
                                  , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' }
                                  , cols: [[
                                      { type: 'radio' }
WebTM/views/ÁìÁÏ·¢»õ/ÏúÊÛ³ö¿â/Kf_SellOutBill_FastList.html
@@ -36,8 +36,8 @@
                    </div>-->
                    <div class="layui-tab" lay-filter="tab-POStockInBillList">
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">单据列表</li>
                            <li lay-id="2">源单生单</li>
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
WebTM/views/ÁìÁÏ·¢»õ/ÁìÁϳö¿â/Kf_MateOutBill_Fast.html
@@ -251,6 +251,7 @@
        $("#HMakerID").hide();
        $("#HBillerID").val(sessionStorage["HBillerID"]);
        $("#HBillerID").hide();
        var HSourceFlag = sessionStorage["SourceFlag"];
        //获取参数
@@ -280,6 +281,8 @@
                    $("#HBillNo").val(d.data[0].HBillNo);
                    $("#HBillType").val(d.data[0].HSourceBillType);
                    $("#HSourceBillNo").val(d.data[0].HSourceBillNo);
                    HSourceFlag = true;
                    //$("#HWHID").val(d.data[0].HWhID);
                    //$("#HKeeperID").val(d.data[0].HKeeperID);
                    //$("#HSecManagerID").val(d.data[0].HSecManagerID);
@@ -703,6 +706,7 @@
            }
            if (event.keyCode == 13) {
                if (sBarCode == '') {
                    playSound();
                    layer.msg("条码为空,不能扫描!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return false;
                }
@@ -714,6 +718,7 @@
                }
                if (sHWHID == "184154") {
                    if (sHSPID == "0") {
                        playSound();
                        layer.msg("仓位为空,请选择仓位!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        return false;
                    }
@@ -722,7 +727,7 @@
                    url: GetWEBURL() + "/MateOutBill/get_CheckTypeByBarCode_Json",
                    type: "GET",
                    //data: { "sCode": '1001456360', "sInterID": 122554, "HBillType": '1204', "sBillNo": 'MATO00000055', "sMaker": sessionStorage["HUserName"], "WhID": 484080, "SPID": 0, "sQty": 0, "sRedBlue": false, "SourceFlag": sessionStorage["SourceFlag"], "sSourceBillNo": 'PPBOM202112226', "sSourceType": '3720', "HOWNERID": sessionStorage["OrganizationID"] },
                    data: { "sCode": sBarCode, "sInterID": sInterID, "HBillType": sBillType, "sBillNo": sBillNo, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": sessionStorage["SourceFlag"], "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": sessionStorage["OrganizationID"] },
                    data: { "sCode": sBarCode, "sInterID": sInterID, "HBillType": sBillType, "sBillNo": sBillNo, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": HSourceFlag, "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": sessionStorage["OrganizationID"] },
                    success: function (result) {
                        if (result.count == 1) {
                            if (result.data.HBarType == '仓库条码') {
@@ -820,6 +825,7 @@
                            });
                        }
                        else {
                            playSound();
                            layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        }
                        layer.closeAll("loading");
@@ -828,6 +834,15 @@
            }
        });
        function playSound() {
            var audio = document.getElementById("cs");
            if (audio == null)
                $("body").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
            var audio = document.getElementById("cs");
            audio.play();
        }
        //扫源单
        $('#HSourceBillNo').on('keydown', function (event) {
            var HSourceBillNo = $('#HSourceBillNo').val()
WebTM/views/ÁìÁÏ·¢»õ/ÁìÁϳö¿â/Kf_MateOutBill_FastList.html
@@ -36,8 +36,8 @@
                    </div>-->
                    <div class="layui-tab" lay-filter="tab-POStockInBillList">
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">单据列表</li>
                            <li lay-id="2">源单生单</li>
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
WebTM/views/ÑéÊÕÈë¿â/²úÆ·Èë¿â/Kf_ProductInBill_Fast.html
@@ -44,13 +44,14 @@
                                            <label class="layui-form-label" style="width:60px;padding-left:0px;">单据类型</label>
                                        </div>
                                        <div class="layui-col-xs8">
                                            <!--<input type="text" value="生产订单" name="HBillTypeCHN" id="HBillTypeCHN" lay-verify="HBillTypeCHN" autocomplete="off" class="layui-input" readonly>
                                            <input type="hidden" value="3710" name="HBillType" id="HBillType" lay-verify="HBillType" autocomplete="off" class="layui-input">-->
                                            <input type="text" value="生产汇报单" name="HBillTypeCHN" id="HBillTypeCHN" lay-verify="HBillTypeCHN" autocomplete="off" class="layui-input" readonly>
                                            <input type="hidden" value="3711" name="HBillType" id="HBillType" lay-verify="HBillType" autocomplete="off" class="layui-input">
                                            <input type="text" value="生产订单" name="HBillTypeCHN" id="HBillTypeCHN" lay-verify="HBillTypeCHN" autocomplete="off" class="layui-input" readonly>
                                            <input type="hidden" value="3710" name="HBillType" id="HBillType" lay-verify="HBillType" autocomplete="off" class="layui-input">
                                            <!--<input type="text" value="生产汇报单" name="HBillTypeCHN" id="HBillTypeCHN" lay-verify="HBillTypeCHN" autocomplete="off" class="layui-input" readonly>
                            <input type=-->
                                            <!--"hidden" value="3711" name="HBillType" id="HBillType" lay-verify="HBillType" autocomplete="off" class="layui-input">-->
                                            <!--<select name="HBillType" id="HBillType">
                                                <option value="3711">生产汇报单</option>
                                            </select>-->
                                <option value="3711">生产汇报单</option>
                            </select>-->
                                        </div>
                                    </div>
                                </div>
@@ -212,8 +213,18 @@
                    <div class="layer-footer" style="z-index: 10; position: fixed; text-align: center; bottom: 0; width:100%; height:50px">
                        <button type="button" lay-submit="" class="layui-btn" lay-filter="Saver">提交</button>
                        <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdModify">编辑</button>
                        <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdDelete">删除</button>
                        <!-- <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdDelete">删除</button>-->
                        <button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">退出</button>
                    </div>
                    <div id="" style="display:none;">
                        <audio id="cs" hidden controls>
                            <source src="../../video/jingbao.wav" type="audio/ogg">
                        </audio>
                    </div>
                    <div id="" style="display:none;">
                        <audio id="cs2" hidden controls>
                            <source src="../../video/success.wav" type="audio/ogg">
                        </audio>
                    </div>
                </form>
            </div>
@@ -343,6 +354,7 @@
                        //$("#HStockPlaceID").val(d.data[0].HSPID);
                        //$("#HKeeperID").val(d.data[0].HKeeperID);
                        //$("#HSecManagerID").val(d.data[0].HSecManagerID);
                        HSourceFlag = true;
                    }
                })
            }
@@ -358,6 +370,7 @@
                    //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
                    , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
                    , toolbar: '#toolbarDemo'
                    , defaultToolbar: []
                    , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
                    , cols: [[
                          { type: 'radio' }
@@ -606,35 +619,61 @@
               {
                   type: "Get",
                   //url: "http://61.130.49.162:9090/WMSAPI///ProductIn/Delete_Json", //方法所在页面和方法名
                   url: GetWEBURL() + "/ProductIn/Delete_Json",
                    url: GetWEBURL() + "/ProductIn/Delete_Json_AN",
                   async: true,
                   data: { "HInterID": sInterID, "HMaterID": sMaterID, "HAuxPropID": sAuxPropID, "HMTONo": sMTONo, "HSourceInterID": sSourceInterID, "HSourceEntryID": sSourceEntryID, "sHBillType": sBillType, },
                   dataType: "json",
                   success: function (data) {
                       if (data.count == 1) { // è¯´æ˜ŽéªŒè¯æˆåŠŸäº†
                         //  table.render({
                         //      elem: '#wl-table'
                         //      //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Mate_Webs_Json'
                         //      , url: GetWEBURL() + '/ProductIn/DisPlayBarCodeList_Json'
                         //, cellMinWidth: 80
                         //, toolbar: '#toolbarDemo'
                         //      , where: { HBillID: sInterID, HBillNo: HBillNo, HBillType: '1202', sMouldManagerCtl: sMouldManagerCtl, sFIFOCtl: sFIFOCtl}
                         //, cols: [[
                         //       { type: 'radio' }
                         //       , { field: 'HQty', title: '数量', width: 80 }
                         //       , { field: 'HQtyMust', title: '应收数量', width: 80 }
                         //       , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                         //       , { field: 'HMaterName', title: '物料名称', width: 150 }
                         //       , { field: 'HMaterModel', title: '规格型号', width: 100 }
                         //       , { field: 'HSourceInterID', title: '源单主内码', width: 100 }
                         //       , { field: 'HSourceEntryID', title: '源单子内码', width: 100 }
                         //       , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                         //       , { field: 'HBatchNo', title: '批次', width: 100 }
                         //       , { field: 'HAuxPropID', title: '辅助属性', width: 100 }
                         //       , { field: 'HMTONo', title: '计划跟踪号', width: 100 }
                         //       , { field: 'HMaterID', title: '物料ID', width: 100 }
                         //]]
                         //, height: 500
                         //  })
                           table.render({
                               elem: '#wl-table'
                               //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Mate_Webs_Json'
                               , url: GetWEBURL() + '/ProductIn/DisPlayBarCodeList_Json'
                         , cellMinWidth: 80
                         , toolbar: '#toolbarDemo'
                               , where: { HBillID: sInterID, HBillNo: HBillNo, HBillType: '1202', sMouldManagerCtl: sMouldManagerCtl, sFIFOCtl: sFIFOCtl}
                         , cols: [[
                                { type: 'radio' }
                                , { field: 'HQty', title: '数量', width: 80 }
                                , { field: 'HQtyMust', title: '应收数量', width: 80 }
                                , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                                , { field: 'HMaterName', title: '物料名称', width: 150 }
                                , { field: 'HMaterModel', title: '规格型号', width: 100 }
                                , { field: 'HSourceInterID', title: '源单主内码', width: 100 }
                                , { field: 'HSourceEntryID', title: '源单子内码', width: 100 }
                                , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                                , { field: 'HBatchNo', title: '批次', width: 100 }
                                , { field: 'HAuxPropID', title: '辅助属性', width: 100 }
                                , { field: 'HMTONo', title: '计划跟踪号', width: 100 }
                                , { field: 'HMaterID', title: '物料ID', width: 100 }
                         ]]
                         , height: 500
                               //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
                               , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
                               , toolbar: '#toolbarDemo'
                               , defaultToolbar: []
                               , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
                               , cols: [[
                                   { type: 'radio' }
                                   , { field: 'HQty', title: '数量', width: 150 }
                                   , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                   , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                   , { field: 'HMaterName', title: '物料名称', width: 150 }
                                   , { field: 'HMaterModel', title: '规格型号', width: 150 }
                                   , { field: 'HSourceInterID', title: '源单主内码', width: 150 }
                                   , { field: 'HSourceEntryID', title: '源单子内码', width: 150 }
                                   , { field: 'HSourceBillNo', title: '源单单号', width: 150 }
                                   , { field: 'HBatchNo', title: '批次', width: 150 }
                               ]]
                               // , data: [linterid]
                               // , page: true
                               , height: 500
                               , done: function () {
                                   layer.closeAll("loading");
                               }
                           })
                       }
                       else {
@@ -747,6 +786,7 @@
                                        //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
                                        , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
                                        , toolbar: '#toolbarDemo'
                                        , defaultToolbar: []
                                        , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
                                        , cols: [[
                                            { type: 'radio' }
@@ -783,9 +823,9 @@
                    if (sQty == "") {
                        sQty = 0;
                    }
                        //判断条码是否为空  new
                        if (sBarCode == '') {
                    //判断条码是否为空  new
                    if (sBarCode == '') {
                            playSound();
                            layer.msg("条码为空,不能扫描!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                            return false;
                        }
@@ -809,6 +849,7 @@
                            data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": HSourceFlag, "sSourceBillNo": sSourceBillNo, "sSourceType": sHBillType, "HOWNERID": sessionStorage["OrganizationID"] },
                            success: function (result) {
                                //debugger;
                                playSound1();
                                if (result.count == 1) {
                                    if (result.data.HBarType == '仓库条码') {
                                        $("#HWHNAME").val(result.data.HWhName);
@@ -882,6 +923,7 @@
                                        //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
                                        , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
                                        , toolbar: '#toolbarDemo'
                                        , defaultToolbar: []
                                        , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
                                        , cols: [[
                                            { type: 'radio' }
@@ -904,18 +946,43 @@
                                    });
                                }
                                else {
                                    playSound();
                                    layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                                }
                                layer.closeAll("loading");
                            },
                            error: function (err) {
                                playSound();
                                layer.msg("接口请求异常:" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                                console.log(err);
                            }
                        });
                    }
                }
        });
            });
            function playSound() {
                console.log("playSound");
                //var audio = document.getElementById("cs");
                //$("appendAut").html("");
                //if (audio == null)
                //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
                //$("appendAut").attr("src","../../video/jingbao.wav")
                var audio = document.getElementById("cs");
                audio.play();
            }
            function playSound1() {
                console.log("playSound1");
                //var audio = document.getElementById("cs");
                //$("appendAut").html("");
                //if (audio == null)
                //$("appendAut").append('<audio id="cs" hidden controls> <source src = "../../video/success.wav" type = "audio/ogg"> </audio >');
                //$("appendAut").attr("src", "../../video/success.wav")
                var audio = document.getElementById("cs2");
                audio.play();
            }
        //扫源单
        $('#HSourceBillNo').on('keydown', function (event) {   //扫源单
@@ -944,7 +1011,8 @@
                                elem: '#wl-table'
                                //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json'
                              , url: GetWEBURL() + '/ProductIn/DisBillEntryList_Webs_Json'
                              , toolbar: '#toolbarDemo'
                                , toolbar: '#toolbarDemo'
                                , defaultToolbar: []
                              , where: { HBillID: sInterID, HBillType: '1202', sWhere: '' }
                              , cols: [[
                                  { type: 'radio' }
WebTM/views/ÑéÊÕÈë¿â/²úÆ·Èë¿â/Kf_ProductInBill_FastList.html
@@ -36,8 +36,8 @@
                    </div>-->
                    <div class="layui-tab" lay-filter="tab-POStockInBillList">
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">单据列表</li>
                            <li lay-id="2">源单生单</li>
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
@@ -221,6 +221,7 @@
                elem: '#dj-table'
                ,url: GetWEBURL() + '/Web/chanpinruk'
                , toolbar: '#toolbarDemo'
                , defaultToolbar: []
                , where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                , cols: [[
                    { type: 'radio' }
@@ -242,6 +243,7 @@
                elem: '#yd-table'
                , url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
                , toolbar: '#toolbarDemo'
                , defaultToolbar: []
                , where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                , cols: [[
                    { type: 'radio' }
@@ -350,7 +352,8 @@
                table.render({
                    elem: '#dj-table'
                    , url: GetWEBURL() + '/Web/chanpinruk'
                    ,toolbar: '#toolbarDemo'
                    , toolbar: '#toolbarDemo'
                    , defaultToolbar: []
                    , where: { HBillType: sBillType, sHMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"]}
                    , cols: [[
                          { type: 'radio' }
@@ -375,6 +378,7 @@
                elem: '#yd-table'
                , url: GetWEBURL() + '/Web/DisBillUpdateLoad_Json'
                , toolbar: '#toolbarDemo'
                , defaultToolbar: []
                , where: { HBillType: sBillType, HMaker: sessionStorage["HUserName"], HOrgID: sessionStorage["OrganizationID"] }
                , cols: [[
                      { type: 'radio' }
WebTM/views/ÑéÊÕÈë¿â/ÆäËûÈë¿â/Kf_OtherInBill_Fast.html
@@ -719,6 +719,7 @@
            }
            if (event.keyCode == 13) {
                if (sBarCode == '') {
                    playSound();
                    layer.msg("条码为空,不能扫描!", { icon: 5, btn: ['确定'], time: 100000, offset: 't' });
                    return false;
                }
@@ -842,6 +843,14 @@
            //}
        });
        function playSound() {
            var audio = document.getElementById("cs");
            if (audio == null)
                $("body").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
            var audio = document.getElementById("cs");
            audio.play();
        }
        $('#HStockPlaceName').on('keydown', function (event) {      //扫仓位
            var HBarCode = $('#HStockPlaceName').val()
            if (event.keyCode == 13) {
WebTM/views/ÑéÊÕÈë¿â/ÆäËûÈë¿â/Kf_OtherInBill_FastList.html
@@ -36,8 +36,8 @@
                    </div>-->
                    <div class="layui-tab" lay-filter="tab-POStockInBillList">
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">单据列表</li>
                            <li lay-id="2">源单生单</li>
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
WebTM/views/ÑéÊÕÈë¿â/Í⹺Èë¿â/Kf_POStockInBill_Fast.html
@@ -333,6 +333,7 @@
                    //$("#HDeptID").val(d.data[0].HDeptID);
                    //$("#HBarCode").val(d.data[0].HBarCode);
                    //$("#HQty").val(d.data[0].HQty);
                    HSourceFlag = true;
                    RoadSup();
                }
            })
@@ -780,7 +781,7 @@
                                $.ajax({
                                    url: GetWEBURL() + "/POStockInBill/get_CheckTypeByBarCode_Json",
                                    type: "GET",
                                    data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": sessionStorage["SourceFlag"], "sSourceBillNo": sSourceBillNo, "sSourceType": '1103', "HOWNERID": sessionStorage["OrganizationID"] },
                                    data: { "sCode": sBarCode, "sInterID": sInterID, "sBillNo": sBillNo, "sBillType": sBillType, "sMaker": sessionStorage["HUserName"], "WhID": sHWHID, "SPID": sHSPID, "sQty": sQty, "sRedBlue": false, "SourceFlag": true, "sSourceBillNo": sSourceBillNo, "sSourceType": '1103', "HOWNERID": sessionStorage["OrganizationID"] },
                                    success: function (result) {
                                        if (result.count == 1) {
                                            if (result.data.HBarType == '仓库条码') {
WebTM/views/ÑéÊÕÈë¿â/Í⹺Èë¿â/Kf_POStockInBill_FastList.html
@@ -36,8 +36,8 @@
                    </div>-->
                    <div class="layui-tab" lay-filter="tab-POStockInBillList">
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">单据列表</li>
                            <li lay-id="2">源单生单</li>
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">
WebTM/views/ÑéÊÕÈë¿â/ίÍâÈë¿â/Kf_EntrustInBill_Fast.html
@@ -658,6 +658,7 @@
                if (event.keyCode == 13) {
                    //判断条码是否为空  new
                    if (sBarCode == '') {
                        playSound();
                        layer.msg("条码为空,不能扫描!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        return false;
                    }
@@ -780,11 +781,13 @@
                            else {
                                // $("#verifycode").click();
                                //layer.msg(result.Message, { icon: 5 });
                                playSound();
                                layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                            }
                            layer.closeAll("loading");
                        },
                        error: function (err) {
                            playSound();
                            layer.msg("错误:" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        }
                    });
@@ -797,6 +800,15 @@
                //}
            });
            function playSound() {
                var audio = document.getElementById("cs");
                if (audio == null)
                    $("body").append('<audio id="cs" hidden controls> <source src = "../../video/jingbao.wav" type = "audio/ogg"> </audio >');
                var audio = document.getElementById("cs");
                audio.play();
            }
            //扫源单方法
            $('#HSourceBillNo').on('keydown', function (event) {
                var HSourceBillNo = $('#HSourceBillNo').val()
WebTM/views/ÑéÊÕÈë¿â/ίÍâÈë¿â/Kf_EntrustInBill_FastList.html
@@ -36,8 +36,8 @@
                    </div>-->
                    <div class="layui-tab" lay-filter="tab-POStockInBillList">
                        <ul class="layui-tab-title" lay-filter="tab-all">
                            <li lay-id="1">单据列表</li>
                            <li lay-id="2">源单生单</li>
                            <li lay-id="1">缓存列表</li>
                            <li lay-id="2">已上传列表</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item  layui-show">