duhe
2024-05-28 262cee2e43059f55330b5efda849fcd1d445efd2
WebTM/views/Éú²ú¹ÜÀí/Èռƻ®»ù´¡×ÊÁÏ/JIT_NeedMaterPlanConfigBill_Add.html
@@ -170,6 +170,7 @@
                , toolbar: '#toolbarDemo'
                , limit: 500 //每页默认显示的数量
                , cellMinWidth: 120
                , totalRow: true
                , height: 'full-170'
                , cols: [[ //表头
                    { type: 'checkbox', totalRowText: '合计行' }
@@ -182,14 +183,14 @@
                    , { field: 'HMaterName', title: '物料名称' }
                    , { field: 'HMaterModel', title: '规格型号'}
                    , { field: 'HJITMaterGroup', title: 'JIT物料分类', edit: 'text' }
                    , { field: 'HJITSafeStock', title: 'JIT拉动安全库存量', edit: 'text', width: 200 }
                    , { field: 'HJITMaterDemand', title: 'JIT物料需求供货周期', edit: 'text', width:200}
                    , { field: 'HJITBatchQty', title: 'JIT提货批量', edit: 'text' }
                    , { field: 'HDeliveryPeriod', title: 'JIT提货批量对应周期(天)', edit: 'text', width: 200}
                    , { field: 'HLeadTime', title: 'JIT供货提前期(天)', edit: 'text', width: 200 }
                    , { field: 'HLeadTime_Sec', title: 'JIT到货前置期(天)', edit: 'text', width: 200}
                    , { field: 'HJITSafeStock', title: 'JIT拉动安全库存量', edit: 'text', width: 200, totalRow: true}
                    , { field: 'HJITMaterDemand', title: 'JIT物料需求供货周期', edit: 'text', width: 200, totalRow: true}
                    , { field: 'HJITBatchQty', title: 'JIT提货批量', edit: 'text', totalRow: true }
                    , { field: 'HDeliveryPeriod', title: 'JIT提货批量对应周期(天)', edit: 'text', width: 200, totalRow: true}
                    , { field: 'HLeadTime', title: 'JIT供货提前期(天)', edit: 'text', width: 200, totalRow: true}
                    , { field: 'HLeadTime_Sec', title: 'JIT到货前置期(天)', edit: 'text', width: 200, totalRow: true}
                    , { field: 'HDeliveryMode', title: 'JIT送货方式', edit: 'text' }
                    , { field: 'HDeliveryDaysCtrl', title: 'JIT送货控制天数', edit: 'text', width: 200 }
                    , { field: 'HDeliveryDaysCtrl', title: 'JIT送货控制天数', edit: 'text', width: 200, totalRow: true }
                    , { field: 'HRemark', title: '备注', edit: 'text' }
                    , { fixed: 'right', title: '操作', toolbar: '#barDemo' }
                ]]
@@ -295,6 +296,7 @@
                                Organization += '<option  style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>';
                            }
                            $("#HPRDORGID").append(Organization);
                            $("#HPRDORGID").val(sessionStorage["OrganizationID"]);
                            form.render('select');
                        }
                        layer.closeAll("loading");
@@ -348,7 +350,7 @@
                                , shift: 2 //弹出动画
                                , area: ["90%", "90%"] //窗体大小
                                , maxmin: true //设置最大最小按钮是否显示
                                , content: ["../../Baseset/基础资料/Gy_DepartmentList.html", "yes"]
                                , content: ['../../基础资料/公用基础资料/Gy_DepartmentList.html', 'yes']
                                , btn: ["确定", "取消"]
                                , btn1: function (index, laero) {
                                    //按钮一  çš„回调
@@ -361,8 +363,8 @@
                                    //更新表格缓存的数据
                                    obj.update({
                                        "HWorkShopID": checkStatus.data[0].HItemID
                                        ,"HWorkShopNumber": checkStatus.data[0].HNumber
                                        , "HWorkShopName": checkStatus.data[0].HName
                                        , "HWorkShopNumber": checkStatus.data[0].部门代码
                                        , "HWorkShopName": checkStatus.data[0].部门名称
                                    })
                                    layer.close(index);//关闭弹窗
                                }
@@ -379,7 +381,7 @@
                                , shift: 2 //弹出动画
                                , area: ["90%", "90%"] //窗体大小
                                , maxmin: true //设置最大最小按钮是否显示
                                , content: ["../../Baseset/基础资料/Gy_MaterialList.html", "yes"]
                                , content: ['../../基础资料/公用基础资料/Gy_Material.html', 'yes']
                                , btn: ["确定", "取消"]
                                , btn1: function (index, laero) {
                                    //按钮一  çš„回调
@@ -393,9 +395,9 @@
                                    //更新表格缓存的数据
                                    obj.update({
                                        "HMaterID": checkStatus.data[0].HItemID
                                        , "HMaterNumber": checkStatus.data[0].HNumber
                                        , "HMaterName": checkStatus.data[0].HName
                                        , "HMaterModel": checkStatus.data[0].HModel
                                        , "HMaterNumber": checkStatus.data[0].物料代码
                                        , "HMaterName": checkStatus.data[0].物料名称
                                        , "HMaterModel": checkStatus.data[0].规格型号
                                    })
                                    layer.close(index);//关闭弹窗
                                }