1
yangle
2024-04-10 09d4c1899342b11cc81787a28a95fe01ea15cc8c
WebTM/views/Éú²ú¹ÜÀí/Éú²úÍ˿ⵥ/Sc_ProductionReturnEdit.html
@@ -622,7 +622,7 @@
                //查询检验方案单是否存在
                var ajaxLoad = layer.load();
                $.ajax({
                    url: GetWEBURL() + "Kf_ProductInBillEdit/cx",
                    url: GetWEBURL() + "Sc_ProductionReturnBill/cx",
                    type: "GET",
                    data: {
                        "HInterID": linterid
@@ -667,7 +667,7 @@
                                    {
                                        "HMaterID":data.HMaterID, "物料代码": data.物料代码, "物料名称": data.物料名称, "规格型号": data.规格型号, "HUnitID": data.HUnitID,
                                        "计量单位": data.计量单位,"HPropertyID":data.HPropertyID,"辅助属性":data.辅助属性,"辅助单位":data.辅助单位,"HSecUnitID": data.HSecUnitID, "辅助计量单位": data.辅助计量单位,
                                         "HSecUnitRate":data.换算率,"HQtyMust": data.应收数量,"HQty": data.数量,"HPrice": data.单价,"HMoney": data.金额,
                                         "HSecUnitRate":data.换算率,"HQtyMust": data.应收数量,"HQty": data.实收数量,"HPrice": data.单价,"HMoney": data.金额,
                                         "HWHID": data.HWHID, "收料仓库": data.收料仓库,"HRemark": data.表体备注,
                                        "HSourceBillNo": data.源单单号,    //源单号
                                        "HSourceBillType": data.源单类型,   //源单类型
@@ -1028,7 +1028,7 @@
                $.ajax({
                    type: "POST",
                    url: GetWEBURL() + "Kf_ProductInBill/ProductInBillEdit", //方法所在页面和方法名
                    url: GetWEBURL() + "Sc_ProductionReturnBill/ProductionReturnBillEdit", //方法所在页面和方法名
                    async: true,
                    data: { "sMainSub": sMainSub },
                    dataType: "json",
@@ -1288,7 +1288,7 @@
                //逻辑审核方法
                $.ajax({
                    type: "GET",
                    url: GetWEBURL() + "/Kf_ProductInBill/CheckKf_ProductInBill", //方法所在页面和方法名
                    url: GetWEBURL() + "/Sc_ProductionReturn/AuditSc_ProductionReturn", //方法所在页面和方法名
                    data: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] },
                    success: function (result) {
                        if (result.count == 1) {
@@ -1594,7 +1594,7 @@
            function getMaterialByMaterID(HMaterID) {
                var resultData = {};
                $.ajax({
                    url: GetWEBURL() + "Kf_ProductInBill/getMaterialByMaterID",
                    url: GetWEBURL() + "Sc_ProductionReturnBill/getMaterialByMaterID",
                    async: false,
                    type: "GET",
                    data: {
@@ -1637,7 +1637,7 @@
            //#region ä¿å­˜åŽæµè§ˆæ–¹æ³•
            function ReRoadBillMain() {
                location.replace('Kf_ProductInBillEdit.html?OperationType=4&linterid=' + linterid + '&HSourceBillType=');
                location.replace('Sc_ProductionReturnEdit.html?OperationType=4&linterid=' + linterid + '&HSourceBillType=');
                //document.location.href('Add_Edit_Gy_Source.html ? OperationType = 4 & linterid=' + linterid + ' & HSouceBillType=');
                $('#set_SaveBill').addClass("layui-btn-disabled").attr("disabled", true);//保存后加载数据时保存按钮禁用
            }