From fa95312c1ab6031e08c170c39ea210c519a4052a Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期六, 07 六月 2025 16:35:38 +0800
Subject: [PATCH] 盘点
---
src/main/webapp/static/js/orderPakin/order.js | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/js/orderPakin/order.js b/src/main/webapp/static/js/orderPakin/order.js
index 7b6bfb8..6e95f20 100644
--- a/src/main/webapp/static/js/orderPakin/order.js
+++ b/src/main/webapp/static/js/orderPakin/order.js
@@ -79,6 +79,13 @@
insTb.reload({where: data.field, page: {curr: 1}});
});
+ // 閲嶇疆
+ form.on('submit(reset)', function (data) {
+ pageCurr = 1;
+ clearFormVal($('#search-box'));
+ tableReload(false);
+ });
+
// 娣诲姞
$("#orderAddBtn").click(function () {
showEditModel();
@@ -546,3 +553,14 @@
,range: true
});
});
+
+function tableReload(child) {
+ var searchData = {};
+ $.each($('#search-box [name]').serializeArray(), function() {
+ searchData[this.name] = this.value;
+ });
+ insTb.reload({
+ where: searchData,
+ page: {curr: pageCurr}
+ });
+}
--
Gitblit v1.9.1