1
yxj
2024-04-15 6a483455e0655db79f2669896fc9bb5ed466a74b
WebTM/views/ÁìÁÏ·¢»õ/ÁìÁϳö¿â/Kf_MateOutRequestBill.html
@@ -737,6 +737,14 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                                  , end: function () {
                                    obj.update({
                                     "HMaterID" :OptionData.HMaterID
                                        ,"物料代码" : OptionData.物料代码
                                       , "物料名称" :OptionData.物料名称
                                        ,"规格型号" : OptionData.规格型号
                                })
                                }
                            })
                        }
                        //计量单位
@@ -766,6 +774,12 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                            , end: function () {
                                obj.update({
                                    "HUnitID": OptionData.HItemID
                                    , "计量单位": OptionData.计量单位名称
                                })
                            }
                            })
                        }
                        //仓库
@@ -795,6 +809,12 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                                , end: function () {
                                obj.update({
                                    "HWHID": OptionData.HItemID
                                    , "仓库": OptionData.仓库名称
                                })
                            }
                            })
                        }
                        //仓位
@@ -824,6 +844,12 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                               , end: function () {
                                obj.update({
                                    "HSPID": OptionData.HItemID
                                    , "仓位": OptionData.仓位名称
                                })
                            }
                            })
                        }
                        //库存辅单位
@@ -853,6 +879,12 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                             , end: function () {
                                obj.update({
                                    "HSecUnitID": OptionData.HItemID
                                    , "库存辅单位": OptionData.计量单位名称
                                })
                            }
                            })
                        }
                        //基本单位
@@ -882,6 +914,12 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                               , end: function () {
                                obj.update({
                                    "HBASEUNITID": OptionData.HItemID
                                    , "基本单位": OptionData.计量单位名称
                                })
                            }
                            })
                        }
                        //辅单位
@@ -911,6 +949,12 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                            , end: function () {
                                obj.update({
                                    "HEXTAUXUNITID": OptionData.HItemID
                                    , "辅单位": OptionData.计量单位名称
                                })
                            }
                            })
                        }
@@ -946,7 +990,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '业务员列表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HEmp', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -969,7 +1013,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '主管列表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HManager', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -992,7 +1036,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '往来单位列表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/采购基础资料/Gy_Supplier.html', 'yes']
                    , content: ['../../基础资料/采购基础资料/Gy_Supplier.html?Type=HSup', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -1038,7 +1082,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '领料员列表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HSecManager', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -1061,7 +1105,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '保管员列表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_EmployeeList.html?Type=HKeeper', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -1084,7 +1128,7 @@
                    , area: ['90%', '90%']//大小
                    , title: '仓库列表'//标题
                    , shift: 2//弹出动画
                    , content: ['../../基础资料/公用基础资料/Gy_Warehouse.html', 'yes']
                    , content: ['../../基础资料/公用基础资料/Gy_Warehouse.html?Type=HWH', 'yes']
                    , btn: ['确定', '取消']
                    , btn1: function (index, layero) {//按钮【按钮一】的回调
                        var iframeWindow = window['layui-layer-iframe' + index]  //获取弹框页面
@@ -1113,6 +1157,68 @@
            //以上是layui模块
        });
           // åŸºç¡€èµ„料返回数据
        function GetHSupNameValue(obj)  //返回供应商
       {
            $("#HSupName").val(obj[0].供应商名称);
            $("#HSupID").val(obj[0].HItemID);
        }
        function GetHSecManagerValue(obj)  //返回验收员
        {
            $("#HSecManagerName").val(obj[0].职员名称);
            $("#HSecManagerID").val(obj[0].HItemID);
        }
       function GetHKeeperValue(obj)  //返回保管员
       {
            $("#HKeeperName").val(obj[0].职员名称);
            $("#HKeeperID").val(obj[0].HItemID);
        }
        function GetHWHValue(obj)  //返回仓库
        {
            $("#HWHName").val(obj[0].仓库名称);
            $("#HWHID").val(obj[0].HItemID);
        }
        function GetHDeptNameValue(obj)  //返回部门
        {
            $("#HDeptName").val(obj[0].部门名称);
            $("#HDeptID").val(obj[0].HItemID);
        }
        function GetHEmpValue(obj)  //返回仓管员
        {
            $("#HEmpName").val(obj[0].职员名称);
            $("#HEmpID").val(obj[0].HItemID);
        }
         function GetHManagerValue(obj)  //返回负责人
        {
            $("#HMangerName").val(obj[0].职员名称);
            $("#HManagerID").val(obj[0].HItemID);
        }
          //双击返回物料
         function GetGyMaterial(data) {
             OptionData = data
         }
           //双击返回计量单位
         function GetGyUnit(data) {
             OptionData = data
         }
           //双击返回仓库
         function GetGyWarehouse(data) {
             OptionData = data
         }
          //双击返回仓位
         function GetGyStockPlace(data) {
             OptionData = data
         }
    </script>
</body>
</html>