yangle
12 小时以前 76824fbc74817dc6a87cef54c2ab18705490356e
WebTM/views/Ó¦ÊÕ¹ÜÀí/±¨±í·ÖÎö/Xs_OutDoorBillReport.html
@@ -72,6 +72,16 @@
                                        <input type="text" class="layui-input ForFilteringSchemes" name="HBillNo1" id="HBillNo1">
                                    </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>
@@ -466,6 +476,8 @@
                var HProductName = $("#HProductName").val();//产品名称
                var HProductModel = $("#HProductModel").val();//产品规格
                var HProductType = $("#HProductType").val();//产品类型
                //if (HBeginDate != "" && HEndDate != "") {
                //    sWhere += " and æ—¥æœŸ between ''" + HBeginDate + "'' and ''" + HEndDate + "'' ";
                //} else {
@@ -505,6 +517,16 @@
                    sWhere += " and è§„格型号=''" + HProductModel + "'' ";
                }
                if (HProductType) {
                    if (HProductType == "样品") {
                        sWhere += " and äº§å“ç±»åž‹ = ''样品''";
                    } else if (HProductType == "非样品") {
                        sWhere += " and äº§å“ç±»åž‹ <> ''样品''";
                    } else if (HProductType == "全部") {
                    }
                }
                //任意字段条件过滤 æ¡ä»¶æå–
                var ColName = $("#ColName").val();//复选框
                var Comparator = $("#Comparator").val()