username@email.com
11 小时以前 72b668c965a3f5308d1a388296eb4c3f8fb7be72
CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllList.aspx
@@ -31,12 +31,56 @@
            });
        }
        //为Select新增过滤功能
        function SelectAddSearch() {
            $("select[SelInputHtml='True']").each(function (i, v) {
                $(this).unbind("blur");
                var old = $(this).html();
                var oldObject = $(this).clone();
                var sign = "selectS" + i;
                $(v).attr("sign", sign);
                var inputClass = "input_" + sign;
                var html = "<span style='margin-left:10px'>过滤:</span><input type='text' class='" + inputClass + "' style='width:80px;height:18px;line-height:18px;'/>";//<span onclick='showCustomer()' style=\"padding-left:10px;\" class=\"a_under\">新增供应商</span>
                $(v).after(html);
                $("." + inputClass).blur(function () {
                    var nowval = $(this).val().trim();
                    var output = "";
                    if (nowval == "" || nowval == null) {
                        output = old;
                    } else {
                        output += "<option value=''>请选择</option>";
                        var valueArr = new Array();
                        oldObject.find("option").each(function (ii, vv) {
                            var value = $.trim($(vv).attr("value"));
                            var text = $.trim($(vv).text());
                            if (text.indexOf(nowval) >= 0)
                                valueArr.push(value + "|||" + text);
                        });
                        for (var ss in valueArr) {
                            var s = valueArr[ss];
                            if (s.split("|||").length == 2) {
                                var value1 = s.split("|||")[0];
                                var text1 = s.split("|||")[1];
                                output += "<option value='" + value1 + "'>" + text1 + "</option>";
                            }
                        }
                    }
                    $(v).html(output);
                });
            });
        }
        
        $(function () {
            $(".UnRecive").each(function (ii, vv) {
                $(vv).remove();
            });
            SelectAddSearch();
        });
@@ -250,7 +294,7 @@
                        外协厂商:
                    </td>
                    <td>
                        <select id='selOutFirm' runat="server" keepdefaultstyle="true">
                        <select id='selOutFirm' runat="server" keepdefaultstyle="true" selinputhtml="True"   class="w122px" >
                        </select>
                    </td>
                    <td class="ali03">
@@ -432,6 +476,13 @@
                </tbody>
            </table>
            <uc:UCPager ID="UCPager1" runat="server" />
             <select keepdefaultstyle='true' id='ddlPageSize' runat="server" style="float:right;margin-top:10px;" >
                           <option value="25">25条/页</option>
                            <option value="50">50条/页</option>
                            <option value="100">100条/页</option>
                        <option value="200">200条/页</option>
                        </select>
            <div style="height:100px;"></div>
        </div>
    </div>
    </form>