username@email.com
1 天以前 eb07d0be014b11568d4263b470d46b5cd427fe9b
CY_ECommercePlatform/CY.WebForm/Pages/procurement/ProcurementList.aspx
@@ -35,6 +35,48 @@
        //为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);
                });
            });
        }
        /*
确认批量开票申请
*/
@@ -100,6 +142,11 @@
            var url = "/Pages/business/Caigoufukuanshenqing.aspx?id=" + orderId + "&&orderno=" + orderno;
            top.Dialog.open({ URL: url, Title: "采购付款申请", Height: 600, Width: 580 });
        }
        $(function () {
            SelectAddSearch();
        });
    </script>
</head>
<body>
@@ -118,7 +165,7 @@
                        供应商:
                    </td>
                    <td>
                        <select id="selSuppliers" runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true' class="Sreq w122px">
                        <select id="selSuppliers" runat="server" datatextfield="Name" datavaluefield="Keyid" keepdefaultstyle='true' selinputhtml="True"   class="Sreq w122px">
                        </select>
                    </td>
                    <td class="ali03  ">
@@ -230,6 +277,9 @@
                            <th>
                                单价
                            </th>
                             <th>
                                吨价
                            </th>
                            <th>
                                数量
                            </th>
@@ -244,6 +294,9 @@
                            </th>
                            <th>
                                存放仓库
                            </th>
                              <th>
                                备注
                            </th>
                            <th>
                                采购时间
@@ -286,6 +339,9 @@
                        <td>
                            <%#Eval("Price", "{0:F2}")%>
                        </td>
                         <td>
                            <%#Eval("tanPrice", "{0:F2}")%>
                        </td>
                        <td>
                            <%#Eval("Quantity", "{0:F0}")%>
                        </td>
@@ -299,6 +355,9 @@
                            <%#Eval("PurchaseStatus")%>
                        </td>
                        <td>
                            <%#Eval("WarehouseName")%>
                        </td>
                         <td>
                            <%#Eval("Remark")%>
                        </td>
                        <td>