chenhaozhe
2025-08-26 24c17d84fcf660d5b51125728720389a461d4e71
修改 公用基础资料 物料编辑 和领料出库缓存
2个文件已修改
52 ■■■■ 已修改文件
WebTM/views/基础资料/公用基础资料/Add_Edit_Gy_Material.html 48 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/领料出库/Kf_MateOutBillList.html 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Add_Edit_Gy_Material.html
@@ -1422,8 +1422,8 @@
                                , "HTela_M": data.毛纱名称及规格
                                , "HUnderTela_M": data.底丝
                                , "HSizing_M": data.定型浆料
                                , "HLotcardQty": data.单个流转卡数量
                                , "HCubicleQty": data.工位数量
                                , "HLotcardQty": data.单个流转卡数量 || 0
                                , "HCubicleQty": data.工位数量 || 0
                                , "HMakeEmp": data["创建人"]
                                , "HMakeDate": data["创建日期"] == null ? "" : Format(new Date(data["创建日期"]), "yyyy-MM-dd")
                                , "HCheckEmp": data["审核人"]
@@ -1679,29 +1679,29 @@
                    }
                }
                var HMinPickQty = $('#HMinPickQty').val();
                if (HMinPickQty.substring(HMinPickQty.length - 1, HMinPickQty.length) == ".") {
                    layer.msg("最小包装量的结尾不能是.!");
                    return;
                } else {
                    var ref = /^[0-9]+\.?[0-9]*$/;
                    if (!ref.test(HMinPickQty)) {
                        layer.msg("最小包装量请输正确入数字!");
                        return;
                    }
                }
                //var HMinPickQty = $('#HMinPickQty').val();
                //if (HMinPickQty.substring(HMinPickQty.length - 1, HMinPickQty.length) == ".") {
                //    layer.msg("最小包装量的结尾不能是.!");
                //    return;
                //} else {
                //    var ref = /^[0-9]+\.?[0-9]*$/;
                //    if (!ref.test(HMinPickQty)) {
                //        layer.msg("最小包装量请输正确入数字!");
                //        return;
                //    }
                //}
                var HLotcardQty = $('#HLotcardQty').val();
                if (HLotcardQty.substring(HLotcardQty.length - 1, HLotcardQty.length) == ".") {
                    layer.msg("最小包装量的结尾不能是.!");
                    return;
                } else {
                    var ref = /^[0-9]+\.?[0-9]*$/;
                    if (!ref.test(HLotcardQty)) {
                        layer.msg("最小包装量请输正确入数字!");
                        return;
                    }
                }
                //var HLotcardQty = $('#HLotcardQty').val();
                //if (HLotcardQty.substring(HLotcardQty.length - 1, HLotcardQty.length) == ".") {
                //    layer.msg("最小包装量的结尾不能是.!");
                //    return;
                //} else {
                //    var ref = /^[0-9]+\.?[0-9]*$/;
                //    if (!ref.test(HLotcardQty)) {
                //        layer.msg("最小包装量请输正确入数字!");
                //        return;
                //    }
                //}
                var HPERUNITSTANDHOUR = $('#HPERUNITSTANDHOUR').val();
                if (HPERUNITSTANDHOUR.substring(HPERUNITSTANDHOUR.length - 1, HPERUNITSTANDHOUR.length) == ".") {
WebTM/views/ÁìÁÏ·¢»õ/ÁìÁϳö¿â/Kf_MateOutBillList.html
@@ -846,8 +846,10 @@
                if (HEndDate) {
                    sWhere += " and CONVERT(varchar(100),日期, 23) <= '" + HEndDate + "'";
                }
                if(subType) {
                if (subType) {
                    sWhere += " and HBillSubType = N'" + subType + "'";  // æ ¹æ®é€’入单据类型的不同筛选不同的单据
                } else {
                    sWhere += " and HBillSubType = N'1204'"
                }
                $.ajax({
                    url: GetWEBURL() + '/Kf_MateOutBill/GetMateOutBillList',