duhe
2024-01-18 1c42c958011ff79ce49c17d7e3861a0d4df35822
客户应收账款分析报表:增加根据用户关联客户过滤
2个文件已修改
30 ■■■■■ 已修改文件
WebTM/Properties/PublishProfiles/JFTM.pubxml.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/应收管理/报表分析/YS_CusShouldIncomeReport.html 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/Properties/PublishProfiles/JFTM.pubxml.user
@@ -3258,7 +3258,7 @@
      <publishTime>01/18/2024 10:59:58</publishTime>
    </File>
    <File Include="views/应收管理/报表分析/YS_CusShouldIncomeReport.html">
      <publishTime>01/18/2024 11:08:51</publishTime>
      <publishTime>01/18/2024 16:02:39</publishTime>
    </File>
    <File Include="views/报工平台/ReportPlatform.html">
      <publishTime>07/01/2021 13:15:12</publishTime>
WebTM/views/Ó¦ÊÕ¹ÜÀí/±¨±í·ÖÎö/YS_CusShouldIncomeReport.html
@@ -295,6 +295,11 @@
                sWhere = "'" + HBeginDate + "','" + HEndDate + "','" + HCustomer + "'," + HStockOrgID;
                //根据用户过滤用户关联客户的记录
                sWhere += ",'";
                sWhere += getSWhereByHUser();
                sWhere += "'";
                var ajaxLoad = layer.load();
                $.ajax({
                    type: "GET",
@@ -548,6 +553,29 @@
            }
            //#endregion
            //#region æ ¹æ®ç”¨æˆ·èŽ·å–ç”¨æˆ·å…³è”å®¢æˆ·çš„è¿‡æ»¤æ¡ä»¶
            function getSWhereByHUser() {
                var res = "";
                $.ajax({
                    type: "GET",
                    async: false,
                    url: GetWEBURL() + "/Xs_SeOrderBill/getCusIDListByUser", //方法所在页面和方法名
                    data: { "CurUserID": sessionStorage["Czybm"], "CurUserName": sessionStorage["HUserName"] },
                    success: function (result) {
                        if (result.count == 1) {
                            res = result.data;
                        } else {
                            res = result.data;
                            layer.alert(result.code + result.Message, { icon: 5 });
                        }
                    }, error: function (err) {
                        res = " and 1 = 0";
                        layer.alert("接口请求失败!", { icon: 5 });
                    }
                });
                return res;
            }
            //#endregion
        //#endregion