提料计划信息列表:
退出 设置为需要进行确认
子表弹窗选择的地方设置为可以双击返回
2个文件已修改
52 ■■■■ 已修改文件
WebTM/Properties/PublishProfiles/JFTM.pubxml.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/日计划基础资料/Cg_PODemandPlanConfigBill_Add.html 50 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/Properties/PublishProfiles/JFTM.pubxml.user
@@ -5071,7 +5071,7 @@
      <publishTime>02/25/2025 13:54:19</publishTime>
    </File>
    <File Include="views/生产管理/日计划基础资料/Cg_PODemandPlanConfigBill_Add.html">
      <publishTime>03/28/2024 10:03:22</publishTime>
      <publishTime>02/25/2025 14:04:31</publishTime>
    </File>
    <File Include="views/生产管理/日计划基础资料/Cg_PODemandPlanConfigBill_Excel.html">
      <publishTime>09/14/2023 13:59:10</publishTime>
WebTM/views/Éú²ú¹ÜÀí/Èռƻ®»ù´¡×ÊÁÏ/Cg_PODemandPlanConfigBill_Add.html
@@ -70,7 +70,7 @@
    </script>
    <script>
        var HDataEmp = {};
        layui.config({
            base: '../../../layuiadmin/' //静态资源所在路径
        }).extend({
@@ -222,11 +222,14 @@
            //退出
            form.on('submit(Cancel)', function () {
                if ((OperationType == 1 ) || OperationType == 3) {
                    Pub_Close(1);
                } else {
                    Pub_Close(2);
                }
                //逻辑删除方法
                layer.confirm("退出前请确保数据已保存,是否继续退出?", { title: "退出确认" }, function (index) {
                    if ((OperationType == 1) || OperationType == 3) {
                        Pub_Close(1);
                    } else {
                        Pub_Close(2);
                    }
                })
            })
            //保存提交
@@ -318,7 +321,7 @@
                                , shift: 2 //弹出动画
                                , area: ["90%", "90%"] //窗体大小
                                , maxmin: true //设置最大最小按钮是否显示
                                , content: ["../../基础资料/采购基础资料/Gy_Supplier.html", "yes"]
                                , content: ['../../基础资料/采购基础资料/Gy_Supplier.html?Type=HSup', "yes"]
                                , btn: ["确定", "取消"]
                                , btn1: function (index, laero) {
                                    //按钮一  çš„回调
@@ -336,10 +339,22 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                    if (typeof (HDataEmp.HItemID) != "undefined") {
                                        //更新表格缓存的数据
                                        obj.update({
                                            "HSupplierID": HDataEmp.HItemID
                                            , "HSupplierNumber": HDataEmp.供应商代码
                                            , "HSupplierName": HDataEmp.供应商名称
                                        })
                                        HDataEmp = {};
                                    }
                                }
                            })
                        }
                        //物料
                        if (obj.event == "HMaterID") {
                            var HOrgID = $("#HPRDORGID").val();
                            //打开物料  å°çª—体
                            layer.open({
                                type: 2
@@ -349,7 +364,7 @@
                                , shift: 2 //弹出动画
                                , area: ["90%", "90%"] //窗体大小
                                , maxmin: true //设置最大最小按钮是否显示
                                , content: ['../../基础资料/公用基础资料/Gy_Material.html', 'yes']
                                , content: ['../../基础资料/公用基础资料/Gy_Material.html?openType=2&HOrgID=' + HOrgID, 'yes']
                                , btn: ["确定", "取消"]
                                , btn1: function (index, laero) {
                                    //按钮一  çš„回调
@@ -368,6 +383,18 @@
                                        , "HMaterModel": checkStatus.data[0].规格型号
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                    if (typeof (HDataEmp.HItemID) != "undefined") {
                                        //更新表格缓存的数据
                                        obj.update({
                                            "HMaterID": HDataEmp.HItemID
                                            , "HMaterNumber": HDataEmp.物料代码
                                            , "HMaterName": HDataEmp.物料名称
                                            , "HMaterModel": HDataEmp.规格型号
                                        })
                                        HDataEmp = {};
                                    }
                                }
                            })
                        }
@@ -454,7 +481,14 @@
        });
        function GetHSupNameValue(obj) {
            HDataEmp = obj[0];
        }       //供应商
        function GetGyMaterial(obj)           //物料名称
        {
            HDataEmp = obj;
        }
    </script>
</body>
</html>