杨乐
2022-02-15 d471b1453ab4c599c7324f777ffb28c8505a7903
库存查询模块扫描完条码后没有显示仓库
1个文件已修改
79 ■■■■ 已修改文件
WebTM/views/仓存管理/条码库存/KF_ICInventoryByMaterID.html 79 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/²Ö´æ¹ÜÀí/ÌõÂë¿â´æ/KF_ICInventoryByMaterID.html
@@ -167,7 +167,7 @@
                    , { field: 'HBatchNo', title: '批次', width: 150 }
                    , { field: 'HAuxPropName', title: '辅助属性', width: 150 }
                    , { field: 'HAuxPropID', title: 'HAuxPropID', width: 150, hide: true }
                    , { field: 'HWhName', title: '仓库', width: 150}
                    , { field: 'HWHName', title: '仓库', width: 150}
                    , { field: 'HWhID', title: 'HWhID', width: 150, hide: true }
                    , { field: 'HSPName', title: '仓位', width: 150 }
                    , { field: 'HSPID', title: 'HSPID', width: 150, hide: true }
@@ -364,7 +364,7 @@
                        , { field: 'HBatchNo', title: '批次', width: 150 }
                        , { field: 'HAuxPropName', title: '辅助属性', width: 150 }
                        , { field: 'HAuxPropID', title: 'HAuxPropID', width: 150, hide: true }
                        , { field: 'HWhName', title: '仓库', width: 150 }
                        , { field: 'HWHName', title: '仓库', width: 150 }
                        , { field: 'HWhID', title: 'HWhID', width: 150, hide: true }
                        , { field: 'HSPName', title: '仓位', width: 150 }
                        , { field: 'HSPID', title: 'HSPID', width: 150, hide: true }
@@ -401,45 +401,44 @@
                    //var Flag = sessionStorage["SourceFlag"];
                    //判断条码是否为空  new
                    if (HBarCode == '') {
                            playSound();
                            layer.msg("条码为空,不能扫描!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                            return false;
                        }
                        if (HBarCode != "") {
                            $('#HBarCode').val("");
                        playSound();
                        layer.msg("条码为空,不能扫描!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        return false;
                    }
                                    layer.load(3)
                                    table.render({
                                        elem: '#wl-table'
                                        , url: GetWEBURL() + '/KF_ICInventoryByMaterID/GetBillEntry_TmpList_Pack'
                                        , toolbar: '#toolbarDemo'
                                        , defaultToolbar: []
                                        , where: { HBarCode: HBarCode, sHWHID: sHWHID, sHSPID: sHSPID,HOWNERID: sessionStorage["OrganizationID"], sWhere: '' }
                                        , cols: [[
                                            { type: 'radio' }
                                            , { field: 'HQty', title: '数量', width: 150 }
                                            , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                            , { field: 'HMaterName', title: '物料名称', width: 150 }
                                            , { field: 'HMaterModel', title: '规格型号', width: 150 }
                                            , { field: 'HMaterID', title: '物料ID', width: 150, hide: true }
                                            , { field: 'HBatchNo', title: '批次', width: 150 }
                                            , { field: 'HAuxPropName', title: '辅助属性', width: 150 }
                                            , { field: 'HAuxPropID', title: 'HAuxPropID', width: 150, hide: true }
                                            , { field: 'HWhName', title: '仓库', width: 150 }
                                            , { field: 'HWhID', title: 'HWhID', width: 150, hide: true }
                                            , { field: 'HSPName', title: '仓位', width: 150 }
                                            , { field: 'HSPID', title: 'HSPID', width: 150, hide: true }
                                            , { field: 'HOWNERName', title: '组织', width: 150 }
                                        ]]
                                        // , data: [linterid]
                                        // , page: true
                                        , height: 500
                                        , done: function () {
                                            layer.closeAll("loading");
                                        }
                                    });
                        layer.closeAll("loading");
                    if (HBarCode != "") {
                        $('#HBarCode').val("");
                    }
                    layer.load(3)
                    table.render({
                        elem: '#wl-table'
                        , url: GetWEBURL() + '/KF_ICInventoryByMaterID/GetBillEntry_TmpList_Pack'
                        , toolbar: '#toolbarDemo'
                        , defaultToolbar: []
                        , where: { HBarCode: HBarCode, sHWHID: sHWHID, sHSPID: sHSPID, HOWNERID: sessionStorage["OrganizationID"], sWhere: '' }
                        , cols: [[
                            { type: 'radio' }
                            , { field: 'HQty', title: '数量', width: 150 }
                            , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                            , { field: 'HMaterName', title: '物料名称', width: 150 }
                            , { field: 'HMaterModel', title: '规格型号', width: 150 }
                            , { field: 'HMaterID', title: '物料ID', width: 150, hide: true }
                            , { field: 'HBatchNo', title: '批次', width: 150 }
                            , { field: 'HAuxPropName', title: '辅助属性', width: 150 }
                            , { field: 'HAuxPropID', title: 'HAuxPropID', width: 150, hide: true }
                            , { field: 'HWHName', title: '仓库', width: 150 }
                            , { field: 'HWhID', title: 'HWhID', width: 150, hide: true }
                            , { field: 'HSPName', title: '仓位', width: 150 }
                            , { field: 'HSPID', title: 'HSPID', width: 150, hide: true }
                            , { field: 'HOWNERName', title: '组织', width: 150 }
                        ]]
                        // , data: [linterid]
                        // , page: true
                        , height: 500
                        , done: function () {
                            layer.closeAll("loading");
                        }
                    });
                    layer.closeAll("loading");
                }
            });