仲国强
2021-09-08 1fed9409be74780b52118926d6ed4b2231b2c2ba
修复工序流转卡类型
1个文件已修改
25 ■■■■ 已修改文件
WebTM/views/车间管理/工序流转卡/Sc_ProcessExchangeBill.html 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/³µ¼ä¹ÜÀí/¹¤ÐòÁ÷ת¿¨/Sc_ProcessExchangeBill.html
@@ -567,7 +567,7 @@
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    type: "GET",
                    data: { "HBillType": '7505' },
                    data: { "HBillType": '3772' },
                    success: function (d) {
                        //console.log(d.data);
                        $("#HInterID").val(d.data[0].HInterID);
@@ -583,7 +583,7 @@
                $.ajax({
                    url: GetWEBURL() + "/Web/GetMAXNum",
                    type: "GET",
                    data: { "HBillType": '7505' },
                    data: { "HBillType": '3772' },
                    success: function (d) {
                        //console.log(d.data);
                        $("#HInterID").val(d.data[0].HInterID);
@@ -598,8 +598,7 @@
            else if (OperationType == 3) {//编辑
                $("#HItemID").val(linterid);//修改时主表ID
                //编辑状态时,根据内码,获取信息并写入界面
                RoadBillMain(linterid);
                //RoadBillSub(linterid);
                layer.alert("未知操作类型!", { icon: 5 });
            }
            else if (OperationType == 4) {//浏览
                $("#HItemID").val(linterid);//
@@ -970,24 +969,6 @@
                    }
                });
            });
            function RoadBillMain(linterid)//加载表头
            {
                $.ajax({
                    url: GetWEBURL() + "/Web/GetPonderationBill",
                    type: "GET",
                    data: { "HInterID": linterid },
                    success: function (d) {
                        // console.log(d.data);
                        $("#HInterID").val(d.data[0].HInterID);
                        $("#HBillNo").val(d.data[0].HBillNo);
                        $("#HSourceBillNo").val(d.data[0].HSourceBillNo);
                    }
                })
            }
            //选择产品弹窗