From 1a0409e260b79b030f79a4fad995078a7f1b945c Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期一, 26 五月 2025 07:59:44 +0800
Subject: [PATCH] 13

---
 src/main/webapp/static/js/orderPakout/order.js |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/static/js/orderPakout/order.js b/src/main/webapp/static/js/orderPakout/order.js
index bedb1f0..15b289a 100644
--- a/src/main/webapp/static/js/orderPakout/order.js
+++ b/src/main/webapp/static/js/orderPakout/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();
@@ -204,6 +211,8 @@
                             orderId: Number(data.field.id),
                             docType: Number(data.field.docType),
                             orderNo: data.field.orderNo,
+                            itemId: Number(data.field.itemId),
+                            itemName: data.field.itemName,
                             orderDetlPakoutList: nList
                         }),
                         contentType:'application/json;charset=UTF-8',
@@ -544,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