yusijie
2025-05-07 9043b5ee12d804b5ee11622b4b868b91394723d8
WebTM/views/Ó¦ÊÕ¹ÜÀí/±¨±í·ÖÎö/Kf_SellOutEntryReport.html
@@ -55,6 +55,16 @@
                                            <input type="text" class="layui-input" name="HEmpName" id="HEmpName">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">产品类型</label>
                                        <div class="layui-input-inline">
                                            <select name="HProductType" id="HProductType" lay-filter="HProductType" style="width: 180px; ">
                                                <option style="color:blue;" value="全部">全部</option>
                                                <option style="color:blue;" value="非样品">非样品</option>
                                                <option style="color:blue;" value="样品">样品</option>
                                            </select>
                                        </div>
                                    </div>
                                    <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch">
                                        <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                                    </button>
@@ -645,6 +655,8 @@
                var HCusName = $("#HCusName").val();//客户名称
                var HEmpName = $("#HEmpName").val();//客户名称
                var HProductType = $("#HProductType").val();//产品类型
                //任意字段过滤
                var ColName = $("#ColName").val();//复选框
                var Comparator = $("#Comparator").val()
@@ -732,6 +744,16 @@
                    sWhere += " and ä¸šåŠ¡å‘˜ like ''%" + HEmpName + "%''";
                }
                if (HProductType) {
                    if (HProductType=="样品") {
                        sWhere += " and äº§å“ç±»åž‹ = ''样品''";
                    } else if (HProductType == "非样品") {
                        sWhere += " and äº§å“ç±»åž‹ <> ''样品''";
                    } else if (HProductType == "全部") {
                    }
                }
               /* sWhere += " and ç»„织内码 = " + sessionStorage["OrganizationID"];*/
                //根据用户过滤用户关联客户的记录