王 垚
2022-04-08 734504c0ecf6db6896966dc8a195dd8cf0ce6dcd
安瑞变更
4个文件已修改
33 ■■■■ 已修改文件
WebSRM/WebSRM.csproj 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebSRM/layuiAdmin.std-v1.2.1/src/views/Baseset/SRM_OpenTmpList.html 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBill_Edit.html 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/xmlSRM_Web_PoBarCodeBillList.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebSRM/WebSRM.csproj
@@ -535,8 +535,6 @@
    <Content Include="layuiAdmin.std-v1.2.1\src\img\6.jpg" />
    <Content Include="layuiAdmin.std-v1.2.1\src\img\background.jpg" />
    <Content Include="layuiAdmin.std-v1.2.1\src\img\Logo.png" />
    <Content Include="layuiAdmin.std-v1.2.1\src\img\安瑞1.jpg" />
    <Content Include="layuiAdmin.std-v1.2.1\src\img\安瑞2.jpg.jpg" />
    <Content Include="layuiAdmin.std-v1.2.1\src\js\jquery-1.9.1.min.js" />
    <Content Include="layuiAdmin.std-v1.2.1\src\js\jquery.min.js" />
    <Content Include="layuiAdmin.std-v1.2.1\src\js\jquery.selectlist.js" />
WebSRM/layuiAdmin.std-v1.2.1/src/views/Baseset/SRM_OpenTmpList.html
@@ -247,6 +247,9 @@
                        url = "UpdatePOInStockBillPrintQty"
                        break;
                }
                //送货单暂不反写打印数量
                if (type == "SRM_POInStockBillList")
                    return;
                //更新打印数量
                $.ajax(
                    {
WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/SRM_POInStockBill_Edit.html
@@ -291,12 +291,14 @@
                    , { field: 'sorderid', title: '序号', width: 80, hide: true, fixed: true }
                    , { field: 'HMTONO', title: '计划跟踪单号', width: 100, fixed: true, edit: 'text', hide: true }
                    , { field: 'HMaterID', title: '物料ID', width: 100, hide: true }
                    , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                    , { field: 'HMaterName', title: '物料名称', width: 200 }
                    , { field: 'HMaterModel', title: '规格型号', width: 200 }
                    , { field: 'HMaterNumber', title: '物料编码', width: 100 }
                    , { field: 'HMaterShortNumber', title: '物料代码', width: 100 }
                    , { field: 'HMaterName', title: '物料名称', width: 120 }
                    , { field: 'HMaterModel', title: '规格型号', width: 120 }
                    , { field: 'HUnitName', title: '计量单位', width: 100 }
                    , { field: 'HUnitNumber', title: '计量单位代码', width: 100, hide: true }
                    , { field: 'HUnitID', title: '计量单位ID', width: 100, hide: true }
                    , { field: 'FPrintCount', title: '打印条码数量', width: 120 }
                    , { field: 'HQty', title: '送货数量', width: 100, edit: 'text', event: "inputHQty" }
                    , { field: 'HRQty', title: '未入库数量', width: 100 }
                    , { field: 'HSQty', title: '源单数量', width: 100 }
@@ -663,6 +665,24 @@
                    layer.msg("物流单号不能为空!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return Result = false;
                }
                if (typeof (sSubStr) != "undefined" && typeof (sSubStr) != "") {
                    sSubStr = JSON.parse(sSubStr);
                    for (var i = 0; i < sSubStr.length; i++) {
                        if (sSubStr[i].FPrintCount == 0) {
                            layer.msg("明细记录第" + (i + 1) + "行,没有进行条码打印,不能生成送货单!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                            return Result = false;
                        }
                        //送货数量 + (源单数量-未入库数量 = 已生成送货单数量) > 打印条码数量 时限制
                        if (parseFloat(sSubStr[i].HQty) + parseFloat(sSubStr[i].HSQty) - parseFloat(sSubStr[i].HRQty) > parseFloat( sSubStr[i].FPrintCount)) {
                            layer.msg("明细记录第" + (i + 1) + "行,送货单数量不能超过已生成条码数量!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                            return Result = false;
                        }
                    }
                }
                else
                {
                    return Result = true;
                }
                return Result;
            }
WebSRM/layuiAdmin.std-v1.2.1/src/views/SRM/xmlSRM_Web_PoBarCodeBillList.aspx
@@ -16,7 +16,7 @@
                //OledbXMLReportData.GenOneRecordset(this, "select * from Customers order by CustomerID");
                //SqlXMLReportData.GenOneRecordset(this, "select * from h_v_Kf_POStockInBillList_K3 where hmainid=1781");
                //SqlXMLReportData.GenOneRecordset(this, "select * from h_v_SRM_BarCodeBillList where HItemID in(" + Request.Params["linterid"] + ") order by 物料代码");
                SqlXMLReportData.GenOneRecordset(this, "select * from h_v_SRM_BarCodeBillList    where HItemID in(" + Request.Params["linterid"] + ") order by 物料代码");
                SqlXMLReportData.GenOneRecordset(this, "select * from h_v_SRM_BarCodeBillList    where HItemID in(" + Request.Params["linterid"] + ") order by 物料代码,内外箱标识");
            }
</script>
</head>