From ae140bdf4a53ca84e50433459f7e6d46de428ea5 Mon Sep 17 00:00:00 2001 From: wangziyangyang <707231019@qq.com> Date: Tue, 9 Mar 2021 17:31:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=AE=A2=E5=8D=95=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/order/production/list.ftl | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/mes/src/main/resources/templates/order/production/list.ftl b/mes/src/main/resources/templates/order/production/list.ftl index f4756b8..870c7ea 100644 --- a/mes/src/main/resources/templates/order/production/list.ftl +++ b/mes/src/main/resources/templates/order/production/list.ftl @@ -88,7 +88,7 @@ maxScale: "months", minScale: "days", waitText: "请稍后...", - itemsPerPage: 15, + itemsPerPage: 14, tnTitle1: '物料编码', tnTitle2: '计划/实际', onItemClick: function (data) { @@ -127,14 +127,15 @@ * 搜索按钮事件 */ form.on('submit(js-search-filter)', function (data) { - tableIns.reload({ - where: data.field, - page: { - // 重新从第 1 页开始 - curr: 1 - } - }); + // 阻止表单跳转。如果需要表单跳转,去掉这段即可。 + return false; + }); + /** + * 新增订单功能 + */ + form.on('submit(js-add-order)', function (data) { + modifyPlan(); // 阻止表单跳转。如果需要表单跳转,去掉这段即可。 return false; });