From 26dd2deb404109df6621e0b61b0ff9f06c83d9c3 Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期日, 08 六月 2025 17:06:07 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/orderPakout/order.js | 21 +++++++++++++++++++++ 1 files changed, 21 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..e079284 100644 --- a/src/main/webapp/static/js/orderPakout/order.js +++ b/src/main/webapp/static/js/orderPakout/order.js @@ -44,6 +44,7 @@ {type: 'numbers'}, {field: 'orderNo', title: '鍗曟嵁缂栧彿', templet: '#orderNoTpl'}, {field: 'docType$', align: 'center', title: '绫诲瀷', minWidth: 160, width: 160}, + {field: 'cstmrName', align: 'center', title: '瀹㈡埛'}, {align: 'center', title: '鏄庣粏', toolbar: '#tbLook', minWidth: 160, width: 160}, {field: 'createTime$', title: '鍒涘缓鏃堕棿', minWidth: 200, width: 200}, {field: 'settle$', align: 'center', title: '鐘舵��', templet: '#settleTpl', minWidth: 160, width: 160}, @@ -77,6 +78,13 @@ // 鎼滅储 form.on('submit(tbSearch)', function (data) { insTb.reload({where: data.field, page: {curr: 1}}); + }); + + // 閲嶇疆 + form.on('submit(reset)', function (data) { + pageCurr = 1; + clearFormVal($('#search-box')); + tableReload(false); }); // 娣诲姞 @@ -204,6 +212,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 +554,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