增加了工序流转卡维护器具清单功能  进站接收单职员模糊查询功能
6个文件已修改
2712 ■■■■■ 已修改文件
WebTM/Properties/PublishProfiles/JFTM.pubxml.user 2389 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/layuiadmin/Scripts/webConfig.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产任务单/Sc_ICMOBillList.html 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/车间管理/工序出站汇报单/Cj_StationOutBill.html 122 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/车间管理/工序流转卡/Sc_ProcessExchangeBillList.html 151 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/车间管理/工序进站接收单/Cj_StationInBill.html 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/Properties/PublishProfiles/JFTM.pubxml.user
Diff too large
WebTM/layuiadmin/Scripts/webConfig.js
@@ -8,7 +8,7 @@
    //var WEBURL = "http://localhost:8082/lubao";   //颜晓军本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //杨露本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //章紫柔本地配置
    var WEBURL = "http://localhost:8082/LuBaoAPI/";    //杨乐本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //杨乐本地配置
    //var WEBURL = "http://10.1.4.155/API/";   //江丰客户NEW
    //var WEBURL = "http://47.96.97.237/API/";   //智云服务器
    //var WEBURL = "http://183.129.128.86:9090/API/";   //凯贝奈特客户服务器外网
WebTM/views/Éú²ú¹ÜÀí/Éú²úÈÎÎñµ¥/Sc_ICMOBillList.html
@@ -118,6 +118,7 @@
                                                <!--  <option value="全部">全部</option>-->
                                                <option value="已下推">已下推</option>
                                                <option value="未下推">未下推</option>
                                                <option value="全部">全部</option>
                                            </select>
                                        </div>
@@ -450,6 +451,17 @@
                var HStatus = $("#HStatus").val();//单据号
                var HBillType = $("#HBillType").val();//单据类型
                var HSF = $("#HSF").val();//单据类型
                if (HSF) {//判断打印状态
                    if (HSF == "全部") {
                        sWhere = "";
                    }
                    if (HSF == "已下推") {
                        sWhere = " and æ˜¯å¦ä¸‹æŽ¨ç”Ÿæˆæµè½¬å¡ like '%" + HSF + "%' ";
                    }
                    if (HSF == "未下推") {
                        sWhere = " and æ˜¯å¦ä¸‹æŽ¨ç”Ÿæˆæµè½¬å¡ like '%" + HSF + "%' ";
                    }
                }
                if (HDate) {
                    sWhere += " and æ—¥æœŸ >= '" + HDate + "'";
                }
@@ -477,9 +489,9 @@
                if (HErpID) {
                    sWhere += " and å”¯ä¸€ID like '%" + HErpID + "%'";
                }
                if (HSF) {
                    sWhere += " and æ˜¯å¦ä¸‹æŽ¨ç”Ÿæˆæµè½¬å¡ like '%" + HSF + "%'";
                }
                //if (HSF) {
                //    sWhere += " and æ˜¯å¦ä¸‹æŽ¨ç”Ÿæˆæµè½¬å¡ like '%" + HSF + "%'";
                //}
                get_Display(sWhere);
                sWhere = "";//调用接口后清空sWhere缓存
            }
WebTM/views/³µ¼ä¹ÜÀí/¹¤Ðò³öÕ¾»ã±¨µ¥/Cj_StationOutBill.html
@@ -179,6 +179,7 @@
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label"><span style="color:red;">*</span>操作员</label>
                                            <div class="layui-input-inline">
                                                <input type="text" class="layui-input" name="HEmpNumber" id="HEmpNumber">
                                                <input type="text" class="layui-input" name="HEmpName" id="HEmpName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
                                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT" id="HEmployeeID-BT" style="width: 40px; padding: 0 10px;">
                                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
@@ -280,6 +281,7 @@
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label">职员2</label>
                                            <div class="layui-input-inline">
                                                <input type="text" class="layui-input" name="HEmpNumber2" id="HEmpNumber2">
                                                <input type="text" class="layui-input" name="HEmpName2" id="HEmpName2" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
                                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT2" id="HEmployeeID-BT2" style="width: 40px; padding: 0 10px;">
                                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
@@ -290,6 +292,7 @@
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label">职员3</label>
                                            <div class="layui-input-inline">
                                                <input type="text" class="layui-input" name="HEmpNumber3" id="HEmpNumber3">
                                                <input type="text" class="layui-input" name="HEmpName3" id="HEmpName3" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
                                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT3" id="HEmployeeID-BT3" style="width: 40px; padding: 0 10px;">
                                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
@@ -308,6 +311,7 @@
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label">职员4</label>
                                            <div class="layui-input-inline">
                                                <input type="text" class="layui-input" name="HEmpNumber4" id="HEmpNumber4">
                                                <input type="text" class="layui-input" name="HEmpName4" id="HEmpName4" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
                                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT4" id="HEmployeeID-BT4" style="width: 40px; padding: 0 10px;">
                                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
@@ -318,6 +322,7 @@
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label">职员5</label>
                                            <div class="layui-input-inline">
                                                <input type="text" class="layui-input" name="HEmpNumber5" id="HEmpNumber5">
                                                <input type="text" class="layui-input" name="HEmpName5" id="HEmpName5" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
                                                <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HEmployeeID-BT5" id="HEmployeeID-BT5" style="width: 40px; padding: 0 10px;">
                                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
@@ -952,6 +957,123 @@
                });
            })
            $('#HEmpNumber').on('keydown', function (event) {
                var HEmpNumber = $("#HEmpNumber").val();
                if (event.keyCode == 13) {
                    $.ajax({
                        url: GetWEBURL() + '/Cj_StationInBill/GetMessageByEmpNumber',
                        type: "GET",
                        data: { "HEmpNumber": HEmpNumber },
                        success: function (data1) {
                            if (data1.count == 1) {
                                $("#HEmpNumber").val(data1.data[0].HNumber);
                                $("#HEmpName").val(data1.data[0].HName);
                                $("#HEmpID").val(data1.data[0].HItemID);
                                layer.alert($("#HEmpID").val());
                            }
                            else {
                                layer.alert(data1.code + data1.Message, { icon: 5 });
                            }
                        }, error: function () {
                            layer.alert("接口请求失败!", { icon: 5 });
                        }
                    });
                }
            });
            $('#HEmpNumber2').on('keydown', function (event) {
                var HEmpNumber2 = $("#HEmpNumber2").val();
                if (event.keyCode == 13) {
                    $.ajax({
                        url: GetWEBURL() + '/Cj_StationInBill/GetMessageByEmpNumber',
                        type: "GET",
                        data: { "HEmpNumber": HEmpNumber2 },
                        success: function (data1) {
                            if (data1.count == 1) {
                                $("#HEmpNumber2").val(data1.data[0].HNumber);
                                $("#HEmpName2").val(data1.data[0].HName);
                                $("#HEmpID2").val(data1.data[0].HItemID);
                                layer.alert($("#HEmpID2").val());
                            }
                            else {
                                layer.alert(data1.code + data1.Message, { icon: 5 });
                            }
                        }, error: function () {
                            layer.alert("接口请求失败!", { icon: 5 });
                        }
                    });
                }
            });
            $('#HEmpNumber3').on('keydown', function (event) {
                var HEmpNumber3 = $("#HEmpNumber3").val();
                if (event.keyCode == 13) {
                    $.ajax({
                        url: GetWEBURL() + '/Cj_StationInBill/GetMessageByEmpNumber',
                        type: "GET",
                        data: { "HEmpNumber": HEmpNumber3 },
                        success: function (data1) {
                            if (data1.count == 1) {
                                $("#HEmpNumber3").val(data1.data[0].HNumber);
                                $("#HEmpName3").val(data1.data[0].HName);
                                $("#HEmpID3").val(data1.data[0].HItemID);
                                layer.alert($("#HEmpID3").val());
                            }
                            else {
                                layer.alert(data1.code + data1.Message, { icon: 5 });
                            }
                        }, error: function () {
                            layer.alert("接口请求失败!", { icon: 5 });
                        }
                    });
                }
            });
            $('#HEmpNumber4').on('keydown', function (event) {
                var HEmpNumber4 = $("#HEmpNumber4").val();
                if (event.keyCode == 13) {
                    $.ajax({
                        url: GetWEBURL() + '/Cj_StationInBill/GetMessageByEmpNumber',
                        type: "GET",
                        data: { "HEmpNumber": HEmpNumber4 },
                        success: function (data1) {
                            if (data1.count == 1) {
                                $("#HEmpNumber4").val(data1.data[0].HNumber);
                                $("#HEmpName4").val(data1.data[0].HName);
                                $("#HEmpID4").val(data1.data[0].HItemID);
                                layer.alert($("#HEmpID4").val());
                            }
                            else {
                                layer.alert(data1.code + data1.Message, { icon: 5 });
                            }
                        }, error: function () {
                            layer.alert("接口请求失败!", { icon: 5 });
                        }
                    });
                }
            });
            $('#HEmpNumber5').on('keydown', function (event) {
                var HEmpNumber5 = $("#HEmpNumber5").val();
                if (event.keyCode == 13) {
                    $.ajax({
                        url: GetWEBURL() + '/Cj_StationInBill/GetMessageByEmpNumber',
                        type: "GET",
                        data: { "HEmpNumber": HEmpNumber5 },
                        success: function (data1) {
                            if (data1.count == 1) {
                                $("#HEmpNumber5").val(data1.data[0].HNumber);
                                $("#HEmpName5").val(data1.data[0].HName);
                                $("#HEmpID5").val(data1.data[0].HItemID);
                                layer.alert($("#HEmpID5").val());
                            }
                            else {
                                layer.alert(data1.code + data1.Message, { icon: 5 });
                            }
                        }, error: function () {
                            layer.alert("接口请求失败!", { icon: 5 });
                        }
                    });
                }
            });
            //提交
            form.on('submit(Saver)', function (data) {//提交
                var tableData = data.field;
WebTM/views/³µ¼ä¹ÜÀí/¹¤ÐòÁ÷ת¿¨/Sc_ProcessExchangeBillList.html
@@ -84,12 +84,36 @@
                                                <input type="text" class="layui-input" name="HBillNo" id="HBillNo">
                                            </div>
                                        </div>
                                        <div class="layui-inline">
                                            <label class="layui-form-label">唯一ID</label>
                                            <div class="layui-input-block">
                                                <input type="text" class="layui-input" name="HErpID" id="HErpID">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <table class="" id="mainTable" lay-filter="mainTable"></table>
                        <table class="" id="mainTable2" lay-filter="mainTable2"></table>
                        <!--<table class="" id="mainTable" lay-filter="mainTable"></table>
    <table class="" id="mainTable2" lay-filter="mainTable2"></table>-->
                        <div class="layui-tab layui-tab-card">
                            <ul class="layui-tab-title">
                                <li class="layui-this">工艺流程</li>
                                <li>器具清单</li>
                                <li>工艺参数清单</li>
                            </ul>
                            <div class="layui-tab-content">
                                <div class="layui-tab-item layui-show">
                                    <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table>
                                </div>
                                <div class="layui-tab-item layui-show">
                                    <table class="layui-hide" id="mainTable1" lay-filter="mainTable1"></table>
                                </div>
                                <div class="layui-tab-item">
                                    <table class="layui-hide" id="mainTable2" lay-filter="mainTable2"></table>
                                </div>
                            </div>
                        </div>
                        <script type="text/html" id="toolbarDemo">
                            <div class="layui-btn-container">
                                <button type="button" class="layui-btn layui-btn-sm" lay-event="set_AddNew"><i class="layui-icon layui-icon-file-b"></i>新增</button>
@@ -242,6 +266,7 @@
                var HWorkBillNo = $("#HWorkBillNo").val();
                var SHname = $("#SHname").val();//物料|子件名称|子件规格
                var HBillNo = $("#HBillNo").val();//单据号
                var HErpID = $("#HErpID").val();//唯一ID
                if (SHPrintQty) {//判断打印状态
                    if (SHPrintQty == "全部") {
                        sWhere = " and æ‰“印次数 >= 0 ";
@@ -269,10 +294,13 @@
                    sWhere += " and è®¢å•跟踪号 like '%" + HOrderProcNO + "%'";
                }
                if (SHname) {
                    sWhere += " and å­ä»¶åç§° like '%" + SHname + "%' or å­ä»¶è§„æ ¼ like '%" + SHname + "%'"
                    sWhere += " and  å­ä»¶ä»£ç  like '%" + SHname + "%'";
                }
                if (HBillNo) {
                    sWhere += " and å•据号 like '%" + HBillNo + "%'"
                }
                if (HErpID) {
                    sWhere += " and å”¯ä¸€ID like '%" + HErpID + "%'";
                }
                get_Display(sWhere);
                sWhere = "";//调用接口后清空sWhere缓存
@@ -309,11 +337,80 @@
                        layer.close(wait);
                        layer.alert("接口失效!", { icon: 5 });
                    }
                });
                });
                DisPlay_HideColumn_Sec();
                set_ClearBill(HMainID);    //器具清单
            });
            //#endregion
            function set_ClearBill(HMainID) {
                resultTableHead = []; //清空表头列,防止重复渲染
                //初始查询
                get_Display(HMainID);
            }
            //#endregion
            //#region æŸ¥è¯¢
            function get_Display(HMainID) {
                var ajaxLoad = layer.load();
                $.ajax({
                    url: GetWEBURL() + '/Sc_ProcessExchangeBillList/QJQD',
                    type: "GET",
                    data: { "HMainID": HMainID },
                    success: function (data1) {
                        if (data1.count == 1) {
                            var data = [];
                            //给空的数组赋值
                            for (var key in data1.list) {
                                data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType });
                            }
                            for (var i = 0; i < data.length; i++) {
                                if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') {
                                    col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //隐藏id列
                                }
                                else {
                                    switch (data[i].Type) {
                                        //int
                                        case 'DateTime':
                                            col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 });
                                            break;
                                        default:
                                            col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200 });
                                    }
                                }
                            }
                            //动态显示列名
                            table.render({
                                elem: '#mainTable1'
                                , cols: [col]
                                , data: data1.data
                                , height: 550
                                , page: true
                                , cellMinWidth: 90
                                , limit: 50
                                , limits: [50, 500, 5000, 20000]
                            });
                            layer.close(ajaxLoad);
                            //layer.alert("查询成功", { icon: 1 });
                        } else {
                            layer.close(ajaxLoad);
                            layer.alert(data1.code + data1.Message, { icon: 5 });
                        }
                    }, error: function () {
                        layer.close(ajaxLoad);
                        layer.alert("接口请求失败!", { icon: 5 });
                    }
                });
            }
            //初始化主表列表
@@ -328,7 +425,7 @@
                    , limits: [50, 500, 5000, 20000]
                    , cols: [[
                        { type: 'checkbox', fixed: 'left' }
                        , { field: 'hmainid', title: 'hmainid', width: 90, hide: true}
                        , { field: 'hmainid', title: 'hmainid', width: 90, hide: true }
                        , { field: '打印次数', title: '打印次数' }
                        , { field: '类型', title: '类型' }
                        , {
@@ -341,24 +438,26 @@
                        }
                        , { field: '订单跟踪号', title: '订单跟踪号', width: 120 }
                        , { field: '单据号', title: '单据号', width: 190 }
                        , { field: 'hicmointerid', title: 'hicmointerid', width: 80, hide: true}
                        , { field: 'hicmointerid', title: 'hicmointerid', width: 80, hide: true }
                        , { field: '任务单号', title: '任务单号', width: 140 }
                        , { field: 'HWorkShopID', title: 'HWorkShopID', width: 80, hide: true}
                        , { field: 'HDeptID', title: 'HDeptID', width: 80, hide: true}
                        , { field: '唯一ID', title: '唯一ID', width: 140 }
                        , { field: '日计划工单日期', title: '日计划工单日期', width: 140 }
                        , { field: 'HWorkShopID', title: 'HWorkShopID', width: 80, hide: true }
                        , { field: 'HDeptID', title: 'HDeptID', width: 80, hide: true }
                        , { field: '生产车间代码', title: '生产车间代码', width: 115 }
                        , { field: '生产车间', title: '生产车间' }
                        , { field: '委外标记', title: '委外标记' }
                        , { field: 'HMaterID', title: 'HMaterID', width: 80, hide: true}
                        , { field: 'HMaterID', title: 'HMaterID', width: 80, hide: true }
                        , { field: '子件代码', title: '子件代码' }
                        , { field: '子件名称', title: '子件名称' }
                        , { field: '子件规格', title: '子件规格' }
                        , { field: '批号', title: '批号' }
                        , { field: '原料批次号', title: '原料批次号' }
                        , { field: 'HMaterID2', title: 'HMaterID2', width: 80, hide: true}
                        , { field: 'HMaterID2', title: 'HMaterID2', width: 80, hide: true }
                        , { field: '产品代码', title: '产品代码' }
                        , { field: '产品名称', title: '产品名称' }
                        , { field: '规格型号', title: '规格型号' }
                        , { field: 'HUnitID', title: 'HUnitID', width: 80, hide: true}
                        , { field: 'HUnitID', title: 'HUnitID', width: 80, hide: true }
                        , { field: '单位代码', title: '单位代码' }
                        , { field: '单位', title: '单位' }
                        , { field: '设备模具代码', title: '设备模具代码' }
@@ -380,8 +479,8 @@
                        , { field: '关闭日期', title: '关闭日期' }
                        , { field: '作废人', title: '作废人' }
                        , { field: '作废日期', title: '作废日期' }
                        , { field: 'HBillType', title: 'HBillType', width: 80, hide: true}
                        , { field: 'hsubid', title: 'hsubid', width: 80, hide: true}
                        , { field: 'HBillType', title: 'HBillType', width: 80, hide: true }
                        , { field: 'hsubid', title: 'hsubid', width: 80, hide: true }
                        , { field: '拆分数量', title: '拆分数量' }
                        , { field: '源单客户编码', title: '源单客户编码', width: 80 }
                        , { field: '包装标识', title: '包装标识', width: 80 }
@@ -416,20 +515,20 @@
                        , { field: '工作中心代码', title: '工作中心代码', width: 115 }
                        , { field: '工作中心', title: '工作中心' }
                        , { field: '计划数量', title: '计划数量' }
                        , { field: 'hmainid', title: 'hmainid', hide: true}
                        , { field: 'hmainid', title: 'hmainid', hide: true }
                        , { field: '日期', title: '日期', sort: true }
                        , { field: '单据号', title: '单据号', width: 150 }
                        , { field: 'hicmointerid', title: 'hicmointerid', hide: true}
                        , { field: '任务单号', title: '任务单号', width: 100}
                        , { field: 'HWorkShopID', title: 'HWorkShopID', hide: true}
                        , { field: 'hicmointerid', title: 'hicmointerid', hide: true }
                        , { field: '任务单号', title: '任务单号', width: 100 }
                        , { field: 'HWorkShopID', title: 'HWorkShopID', hide: true }
                        , { field: '生产车间代码', title: '生产车间代码', width: 115 }
                        , { field: '生产车间', title: '生产车间' }
                        , { field: 'HMaterID', title: 'HMaterID', hide: true}
                        , { field: 'HMaterID', title: 'HMaterID', hide: true }
                        , { field: '产品代码', title: '产品代码' }
                        , { field: '产品名称', title: '产品名称' }
                        , { field: '规格型号', title: '规格型号' }
                        , { field: '批号', title: '批号' }
                        , { field: 'HUnitID', title: 'HUnitID', hide: true}
                        , { field: 'HUnitID', title: 'HUnitID', hide: true }
                        , { field: '单位代码', title: '单位代码' }
                        , { field: '单位', title: '单位' }
                        , { field: '生产数量', title: '生产数量' }
@@ -437,11 +536,11 @@
                        , { field: '计划完工日期', title: '计划完工日期' }
                        , { field: '摘要', title: '摘要' }
                        , { field: '内部单据号', title: '内部单据号' }
                        , { field: 'HSupID', title: 'HSupID', hide: true}
                        , { field: 'HSupID', title: 'HSupID', hide: true }
                        , { field: '委外加工单位代码', title: '委外加工单位代码' }
                        , { field: '委外加工单位', title: '委外加工单位' }
                        , { field: '表头备注', title: '表头备注' }
                        , { field: 'HBillType', title: 'HBillType', hide: true}
                        , { field: 'HBillType', title: 'HBillType', hide: true }
                        , { field: '行关闭人', title: '行关闭人' }
                        , { field: '关闭类型', title: '关闭类型' }
                        , { field: '表体备注', title: '表体备注' }
@@ -464,10 +563,10 @@
            function get_Display(sWhere) {
                sWhere += " and HPRDORGID=" + sessionStorage["OrganizationID"] + " ";
                var ajaxLoad = layer.load();
                $.ajax({
                $.ajax({
                    url: GetWEBURL() + '/LEMS/MES_Sc_ProcessExchangeBillQuery_Json',
                    type: "GET",
                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]},
                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] },
                    success: function (data1) {
                        if (data1.count == 1) {
                            option.data = data1.data;
@@ -482,7 +581,7 @@
                        layer.close(ajaxLoad);
                        layer.alert("接口请求失败!", { icon: 5 });
                    }
                });
                });
                DisPlay_HideColumn();
            }
@@ -631,7 +730,7 @@
                $.ajax({
                    url: GetWEBURL() + '/Xt_grdAlignment_WMES/grdAlignmentWMESList',
                    type: "GET",
                    data: { "HModName": HModName+"_Sec", "user": sessionStorage["HUserName"] },
                    data: { "HModName": HModName + "_Sec", "user": sessionStorage["HUserName"] },
                    success: function (data1) {
                        if (data1.data.length != 0) {
@@ -841,7 +940,7 @@
                            , content: '../../车间管理/工序出站汇报单/Cj_StationOutBill.html?OperationType=2&HBillNo=' + HBillNo + '&HProcNo=' + HProcNo
                        })
                    }
                } else {
                    layer.msg('请选择一行数据下推!');
                }
WebTM/views/³µ¼ä¹ÜÀí/¹¤Ðò½øÕ¾½ÓÊÕµ¥/Cj_StationInBill.html
@@ -177,6 +177,7 @@
                                        <div class="layui-col-xs4 layui-inline">
                                            <label class="layui-form-label"><span style="color:red;">*</span>接收人</label>
                                            <div class="layui-input-inline">
                                                <input type="text" class="layui-input" name="HEmpNumber" id="HEmpNumber">
                                                <input type="text" class="layui-input" name="HEmpName" id="HEmpName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly>
                                                <button type="button" class="layui-btn" lay-submit="" lay-filter="HEmployeeID-BT" id="HEmployeeID-BT" style="width: 40px; padding: 0 10px;">
                                                    <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
@@ -976,6 +977,35 @@
                    }
                })
            });
            //
            $('#HEmpNumber').on('keydown', function (event) {
                var HEmpNumber = $("#HEmpNumber").val();
                if (event.keyCode == 13) {
                    $.ajax({
                        url: GetWEBURL() + '/Cj_StationInBill/GetMessageByEmpNumber',
                        type: "GET",
                        data: { "HEmpNumber": HEmpNumber },
                        success: function (data1) {
                            if (data1.count == 1) {
                                $("#HEmpNumber").val(data1.data[0].HNumber);
                                $("#HEmpName").val(data1.data[0].HName);
                                $("#HEmpID").val(data1.data[0].HItemID);
                                layer.alert($("#HEmpID").val());
                            }
                            else {
                                layer.alert(data1.code + data1.Message, { icon: 5 });
                            }
                        }, error: function () {
                            layer.alert("接口请求失败!", { icon: 5 });
                        }
                    });
                }
            });
            //选择工作中心弹窗
            form.on('submit(HWorkingProcedure-BT)', function () {//选择工作中心
                layer.open({