From 72b668c965a3f5308d1a388296eb4c3f8fb7be72 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 12 九月 2025 08:46:01 +0800
Subject: [PATCH] 批量入库,操作成功关闭窗口 完成
---
CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllList.aspx | 64 ++++++++++++++++++++++++++++++-
1 files changed, 61 insertions(+), 3 deletions(-)
diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllList.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllList.aspx
index 43b5eac..ef635ed 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllList.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/AgOutsourcSingleAllList.aspx
@@ -31,12 +31,56 @@
});
}
+
+ //涓篠elect鏂板杩囨护鍔熻兘
+ 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">
@@ -260,11 +304,18 @@
<select id='selWorkStates' runat="server" keepdefaultstyle="true">
<option value="">鍏ㄩ儴</option>
<option value="true">宸插畬宸�</option>
- <option value="false">鏈畬宸�</option>
+ <option value="false" selected="selected">鏈畬宸�</option>
</select>
</td>
</tr>
<tr>
+ <td class="ali03">
+ 浠樻鐘舵�侊細
+ </td>
+ <td>
+ <select id='selPayStates' runat="server" datatextfield="Name" datavaluefield="MeanValue" keepdefaultstyle="true" style="width: 85px">
+ </select>
+ </td>
<td class="ali03">
杩斿洖鏃堕棿锛�
</td>
@@ -277,7 +328,7 @@
<td>
<input id="txtOutOrderId" type="text" runat="server" class='w80px' maxlength='20' />
</td>
- <td style="text-align: right;" colspan="3">
+ <td style="text-align: right;" >
</td>
<td>
<asp:Button ID="btn_Search" Text="鏌ヨ" OnClick="btn_Search_Click" runat="server" />
@@ -425,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>
--
Gitblit v1.9.1