1
yangle
2024-04-10 09d4c1899342b11cc81787a28a95fe01ea15cc8c
WebTM/views/²É¹º¹ÜÀí/ÍËÁÏ֪ͨµ¥/Add_Edit_Cg_POInStockBackBillList.html
@@ -1101,7 +1101,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]  //获取弹框页面
@@ -1298,7 +1298,15 @@
                                    //按钮【按钮二】的回调
                                    //return false å¼€å¯è¯¥ä»£ç å¯ç¦æ­¢ç‚¹å‡»è¯¥æŒ‰é’®å…³é—­
                                },
                                end: function () {
                                 end: function () {
                                  obj.update({
                                      "HMaterID" :OptionData.HMaterID
                                        ,"物料代码" : OptionData.物料代码
                                       , "物料名称" :OptionData.物料名称
                                        ,"规格型号" : OptionData.规格型号
                                        ,"HUnitID" :OptionData.HUnitID
                                        ,"计量单位" : OptionData.计量单位名称
                                })
                                }
                            });
                        }
@@ -1329,6 +1337,12 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                              , end: function () {
                                obj.update({
                                    "HUnitID": OptionData.HItemID
                                    , "计量单位": OptionData.计量单位名称
                                })
                            }
                            })
                        }
                        //退料仓库
@@ -1358,6 +1372,12 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                              , end: function () {
                                obj.update({
                                    "HWHID": OptionData.HItemID
                                    , "退料仓库": OptionData.仓库名称
                                })
                            }
                            })
                        }
                        //退料仓位
@@ -1387,6 +1407,12 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                             , end: function () {
                                obj.update({
                                    "HSPID": OptionData.HMainID
                                    , "仓位名称": OptionData.仓位名称
                                })
                            }
                            })
                        }
                        //辅助单位
@@ -1416,6 +1442,12 @@
                                    })
                                    layer.close(index);//关闭弹窗
                                }
                            , end: function () {
                                obj.update({
                                    "HSecUnitID": OptionData.HItemID
                                    , "辅助单位": OptionData.计量单位名称
                                })
                            }
                            })
                        }
                        obj.event = "";
@@ -1665,6 +1697,26 @@
            $("#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
         }
         //#region å¤„理小数显示位数(data:需要处理的数据;num:数据的类型(如1:数量;2:金额;3:单价))
        function dealDoubleToFixed(data, num) {
            //用于设置小数位数